/* 2.7.94.22 – innehållskompatlagret som tidigare låg i td-host-compat.css
   td-host-compat.css är nu borttagen; detta lager äger endast content-/wrapper-/courseware-kompat
   och ska inte användas för unified header.
   2.7.95.1: denna fil är nu uttrycklig huvudägare för global content-start, wrappers, stackar och första-kortets grundplacering.
   Featurefiler får inte längre sätta .td-main/.td-main__body/.td-shell-content/.td-view-stack-geometri härifrån och ut. */

:root{
  --td-final-content-max: var(--td-shell-content-max);
  --td-final-content-pad: var(--td-shell-content-pad);
  --td-final-stack-gap: var(--td-shell-stack-gap);
  --td-final-card-pad: var(--td-shell-card-pad);
  --td-final-card-radius: var(--td-shell-card-radius);
  --td-final-card-title-size: var(--td-shell-card-title-size);
  --td-final-topbar-mobile: var(--td-shell-topbar-mobile);
  --td-final-topbar-desktop: var(--td-shell-topbar-desktop);
}

body.td-page .td-shell,
body.td-page .td-app-shell,
body.td-page .td-shell-content,
body.td-page .td-view-stack,
body.td-page .td-stack{
  box-sizing:border-box;
}

body.td-page .td-shell-content,
body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-container.td-wrap{
  width:min(100%, var(--td-final-content-max));
  max-width:var(--td-final-content-max);
  margin-inline:auto;
  padding-inline:var(--td-final-content-pad);
}

body.td-page .td-main{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body.td-page .td-main__body{
  width:100%;
  max-width:var(--td-final-content-max);
  margin:0 auto;
  padding:0 0 18px;
  box-sizing:border-box;
}

body.td-page .td-main__body > .td-content{
  display:grid;
  gap:var(--td-final-stack-gap);
  align-items:start;
}

body.td-page .td-main__body > .td-content > *{
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
}

body.td-page .td-view-stack,
body.td-page .td-stack{
  display:grid;
  gap:var(--td-final-stack-gap);
}

body.td-page .td-view-stack > *,
body.td-page .td-stack > *,
body.td-page .td-shell-content > *{
  min-width:0;
}

body.td-page .td-card,
body.td-page .td-section-card,
body.td-page .td-edit-section-card,
body.td-page .td-course-layout__surface,
body.td-page .td-postit,
body.td-page .td-dashboard-card,
body.td-page .td-panel{
  width:100%;
  max-width:none;
  margin:0 !important;
  padding:var(--td-final-card-pad) !important;
  border-radius:var(--td-final-card-radius) !important;
  box-sizing:border-box;
}

body.td-page .td-card .td-card,
body.td-page .td-section-card .td-card,
body.td-page .td-edit-section-card .td-card,
body.td-page .td-course-layout__surface .td-card,
body.td-page .td-panel .td-card{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.td-page .td-card > * + *,
body.td-page .td-section-card > * + *,
body.td-page .td-edit-section-card > * + *,
body.td-page .td-course-layout__surface > * + *{
  margin-top:12px !important;
}

body.td-page .td-card h2,
body.td-page .td-card h3,
body.td-page .td-section-card h2,
body.td-page .td-section-card h3,
body.td-page .td-edit-section-card h2,
body.td-page .td-edit-section-card h3,
body.td-page .td-course-layout__surface h1,
body.td-page .td-course-layout__surface h2,
body.td-page .td-course-layout__surface h3,
body.td-page .td-card__title,
body.td-page .td-panel__title{
  font-size:var(--td-final-card-title-size) !important;
  line-height:1.25 !important;
  margin:0 !important;
}

body.td-page .td-card p:last-child,
body.td-page .td-section-card p:last-child,
body.td-page .td-edit-section-card p:last-child,
body.td-page .td-course-layout__surface p:last-child{
  margin-bottom:0 !important;
}



@media (max-width: 781px){
  
  body.td-page .td-shell-content,
  body.td-page .td-view-stack,
  body.td-page .td-stack,
  body.td-page .td-container.td-wrap{
    padding-inline:14px;
  }
}

body.td-courseware-app .wpcw_fe_module,
body.td-courseware-app .wpcw_fe_progress_box,
body.td-courseware-app .wpcw_fe_navigation_box,
body.td-courseware-app .wpcw_fe_quiz_box,
body.td-courseware-app .wpcw_fe_course_progress,
body.td-courseware-app .wpcw_widget_progress,
body.td-courseware-app .wpcw_fe_course,
body.td-courseware-app .wpcw_fe_unit{
  border-radius:var(--td-final-card-radius) !important;
  overflow:hidden;
}

@media (max-width: 781px){
  
  
  body.td-courseware-app .td-content--courseware{
    padding-top:calc(var(--td-final-topbar-mobile) + 4px) !important;
    padding-bottom:calc(104px + env(safe-area-inset-bottom)) !important;
  }
  body.admin-bar.td-courseware-app .td-content--courseware{
    padding-top:calc(var(--td-final-topbar-mobile) + 4px) !important;
  }
}

body.td-courseware-app .td-content--courseware > .td-view-stack,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body,
body.td-courseware-app .td-course-layout,
body.td-courseware-app .td-course-layout__surface{
  gap:12px !important;
}

body.td-courseware-app .td-content--courseware > :first-child:empty,
body.td-courseware-app .td-content--courseware > .td-view-stack > :first-child:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > :first-child:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > div:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > section:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > article:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_progress_box_markers:empty,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_progress_wrap:empty{
  display:none !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_navigation_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_progress_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_unit_meta,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_quiz_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_module{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  margin:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_navigation_box .wpcw_fe_btn,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_navigation_box .wpcw_btn,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_navigation_box .button,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_progress_box .button,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_unit_meta .button,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_quiz_box .button{
  margin-top:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_navigation_box + *,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_fe_progress_box + *,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body > .wpcw_unit_meta + *{
  margin-top:0 !important;
}

body.td-courseware-app .td-course-layout__surface{
  align-content:start !important;
}

@media (max-width: 781px){
  
  body.admin-bar.td-courseware-app .td-content--courseware{
    padding-top:calc(var(--td-final-topbar-mobile) + 4px) !important;
  }
}

body.td-courseware-app .td-content--courseware > .td-view-stack > .td-card--courseware.td-wpcw-shell{
  overflow:hidden !important;
}

body.td-courseware-app .td-card__body--courseware{
  display:grid !important;
  gap:12px !important;
  align-content:start !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body{
  display:grid !important;
  gap:12px !important;
  align-content:start !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body > *{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body > :last-child{
  margin-bottom:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_navigation_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw-navigation-wrap,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_progress_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_unit_meta{
  margin:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_navigation_box,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw-navigation-wrap{
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_navigation_box .wpcw_fe_btn,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_navigation_box .wpcw_btn,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw-navigation-wrap .wpcw_fe_btn,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw-navigation-wrap .wpcw_btn{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw_fe_navigation_box + *,
body.td-courseware-app .td-card__body--courseware > .td-courseware-body .wpcw-navigation-wrap + *{
  margin-top:0 !important;
}

body.td-courseware-app .td-card__body--courseware .elementor-widget-container:empty,
body.td-courseware-app .td-card__body--courseware .elementor-widget-wrap:empty,
body.td-courseware-app .td-card__body--courseware .elementor-column-gap-default:empty,
body.td-courseware-app .td-card__body--courseware .elementor-widget-spacer,
body.td-courseware-app .td-card__body--courseware .elementor-spacer{
  display:none !important;
}

body.td-courseware-app td.wpcw_fe_unit,
body.td-courseware-app th.wpcw_fe_unit,
body.td-courseware-app .wpcw_fe_module td,
body.td-courseware-app .wpcw_fe_module th{
  border-radius:0 !important;
  overflow:visible !important;
}

.td-heading--reset-top{margin-top:0!important;}
.td-heading--mb8{margin-bottom:8px!important;}
.td-heading--reset{margin:0!important;}
.td-paragraph--reset-top{margin-top:0!important;}
.td-paragraph--mb10{margin-bottom:10px!important;}
.td-form--reset-margin{margin:0!important;}
.td-hidden{display:none!important;}
.td-overflow-auto{overflow:auto;}
.td-nowrap{white-space:nowrap;}
.td-mt8{margin-top:8px;}
.td-card--my10{margin:10px 0;}
.td-card--mt12{margin-top:12px;}
.td-card--radius16{border-radius:16px;}
.td-tombola-entry-card{margin:12px 0;border-radius:8px;}
.td-tombola-filter-card{margin:10px 0;border-radius:8px;}
.td-entry-meta-icon{vertical-align:middle;margin-right:6px;}
.td-entry-answer-block__answer--spaced{margin-top:6px;}
.td-filter-col--min220{min-width:220px;}
.td-filter-col__title{font-weight:600;margin-bottom:4px;}
.td-description-small{font-size:12px;}
.td-checkbox-inline{display:inline-flex;align-items:center;gap:6px;}
.td-checkbox-inline--gap10{display:inline-block;margin-right:10px;}
.td-checkbox-inline--row{display:flex;align-items:center;gap:10px;margin:0;}
.td-checkbox-block{display:block;}
.td-checkbox-block--mb4{margin-bottom:4px;}
.td-checkbox-block--tight{margin:2px 0;}
.td-tombola-cat-boxes{border:1px solid #ddd;border-radius:6px;padding:8px;max-height:180px;overflow:auto;}
.td-list--reset-pad18{margin:0;padding-left:18px;}
.td-actions--courses-toggle{margin:10px 0 14px;display:flex;gap:8px;flex-wrap:wrap;}
.td-table--min720{min-width:720px;}
.td-table--min980{min-width:980px;}
.td-col--w160{width:160px;}
.td-col--w260{width:260px;}
.td-progress-inline{display:flex;align-items:center;gap:10px;}
.td-progress-inline__bar{width:220px;}
.td-filter-form{margin:0 0 12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;}
.td-filter-form__field{display:flex;flex-direction:column;gap:2px;}
.td-filter-form__label{font-size:12px;}
.td-filter-select--area{min-width:180px;max-width:260px;}
.td-filter-select--level{min-width:120px;max-width:160px;}
.td-filter-input--search{min-width:220px;max-width:320px;}
.td-stack--gap4{display:flex;flex-direction:column;gap:4px;}
.td-units-mass-bar{padding:12px;margin:0 0 12px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.td-section-gap-y{margin:10px 0;}
.td-list--muted{color:inherit;}
.td-list--mt8-pad18{margin:8px 0 0;padding-left:18px;}
.td-card__header--between{display:flex;justify-content:space-between;align-items:center;gap:10px;}

.td-quickpass__desc{margin-top:6px;}
.td-quickpass__missing-template{margin-top:10px;}
.td-quickpass__missing-template .td-muted{margin:0;}
.td-quickpass__form{margin-top:12px;}
.td-quickpass__actions{display:flex;gap:10px;flex-wrap:wrap;}
.td-home__empty{margin:0;}
.td-home__source{margin:0 0 10px;}
.td-home__frame-wrap{border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;}
.td-home__frame{width:100%;height:70vh;border:0;}
.td-eval__title{margin:0;}
.td-eval__invalid{margin:0;}

.td-muted--mt10{margin-top:10px!important;}
.td-filter-form--compare{margin:10px 0;display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;}
.td-filter-form--compare-spaced{margin:10px 0 14px;display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;}
.td-filter-form--compare-tight{margin:10px 0;}
.td-filter-col--min180{min-width:180px;}
.td-filter-col--min240{min-width:240px;}
.td-filter-form__actions{display:flex;}
.td-filter-form__actions--end{align-self:flex-end;}
.td-flat-actions{margin:16px 0;padding:12px;display:flex;justify-content:flex-end;}
.td-flat-actions--wrap{gap:10px;flex-wrap:wrap;}
.td-icon-btn--square44{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;line-height:1;}
.td-align-right{text-align:right;}
.td-mb8{margin:0 0 8px 0;}
.td-empty-actions--mt10{margin-top:10px;}

.td-margin--reset{margin:0!important;}
.td-button-row--mt10{margin-top:10px;}

.td-field--w100{width:100%!important;}
.td-muted--reset{margin:0!important;}
.td-textarea--answer{width:100%;min-height:120px;}
.td-title--reset{margin:0!important;}

:root{
  --td-shell-frame-max-standard: 980px;
  --td-shell-frame-max-wide: 1240px;
  --td-shell-frame-max-course: 920px;
  --td-shell-gutter: clamp(12px, 2.2vw, 24px);
  --td-shell-card-pad-responsive: 20px;
  --td-shell-stack-gap-responsive: 16px;
}

body.td-shell,
body.td-help-single,
body.td-courseware-app{
  --td-shell-content-pad: 0px;
  --td-shell-card-pad: var(--td-shell-card-pad-responsive);
  --td-shell-card-gap: var(--td-shell-stack-gap-responsive);
}

body.td-shell .td-main,
body.td-help-single .td-main,
body.td-courseware-app .td-main{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 var(--td-shell-gutter) 0 !important;
  box-sizing:border-box !important;
}

body.td-shell .td-main__body,
body.td-help-single .td-main__body,
body.td-courseware-app .td-main__body{
  width:100% !important;
  max-width:var(--td-shell-content-max) !important;
  margin:0 auto !important;
  padding:0 0 18px !important;
  box-sizing:border-box !important;
}

/* 2.7.95.8 – desktop frame is owned centrally here. Main body must never float back to full viewport width. */
body.td-page .td-shell__content.td-main__body,
body.td-page .td-main__body{
  width:min(100%, var(--td-shell-content-max)) !important;
  max-width:var(--td-shell-content-max) !important;
  margin-inline:auto !important;
}

body.td-page .td-card__header,
body.td-page .td-card__body,
body.td-page .td-section-card > .td-card__body,
body.td-page .td-edit-section-card > .td-card__body,
body.td-page .td-card--course-surface .td-card__body,
body.single-course .td-card--course-surface .td-card__body,
body.single-course_unit .td-card--course-surface .td-card__body{
  padding-left:var(--td-shell-card-pad) !important;
  padding-right:var(--td-shell-card-pad) !important;
}

body.td-shell .td-shell-content,
body.td-help-single .td-shell-content,
body.td-courseware-app .td-shell-content,
body.td-shell .td-content,
body.td-help-single .td-content,
body.td-courseware-app .td-content,
body.td-shell .td-view-stack,
body.td-help-single .td-view-stack,
body.td-courseware-app .td-view-stack,
body.td-shell .td-stack,
body.td-help-single .td-stack,
body.td-courseware-app .td-stack{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

body.td-shell .td-view-stack,
body.td-help-single .td-view-stack,
body.td-courseware-app .td-view-stack,
body.td-shell .td-stack,
body.td-help-single .td-stack,
body.td-courseware-app .td-stack{
  display:grid !important;
  gap:var(--td-shell-card-gap) !important;
  align-items:start !important;
}

body.td-shell .td-view-stack > *,
body.td-help-single .td-view-stack > *,
body.td-courseware-app .td-view-stack > *,
body.td-shell .td-stack > *,
body.td-help-single .td-stack > *,
body.td-courseware-app .td-stack > *{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
}

body.td-shell .td-card,
body.td-help-single .td-card,
body.td-courseware-app .td-card{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

body.td-shell .td-card__header,
body.td-shell .td-card__body,
body.td-help-single .td-card__header,
body.td-help-single .td-card__body,
body.td-courseware-app .td-card__header,
body.td-courseware-app .td-card__body{
  padding-left:var(--td-shell-card-pad) !important;
  padding-right:var(--td-shell-card-pad) !important;
}

body.td-shell .td-plan-v1,
body.td-shell .td-train-v1,
body.td-shell .td-evaluate-v1,
body.td-shell .td-dashboard-v1,
body.td-help-single .td-help-archive-layout,
body.td-courseware-app .td-course-surface{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

body.td-shell .td-plan-v1,
body.td-shell .td-train-v1,
body.td-shell .td-evaluate-v1,
body.td-shell .td-dashboard-v1{
  display:grid !important;
  gap:var(--td-shell-card-gap) !important;
}

body.td-courseware-app .td-card--course-surface .td-card__header,
body.td-courseware-app .td-card--course-surface .td-card__body{
  padding-left:var(--td-shell-card-pad) !important;
  padding-right:var(--td-shell-card-pad) !important;
}

body.td-courseware-app .td-card--course-surface{margin:0 !important;}

@media (max-width: 781px){
  :root{
    --td-shell-gutter: 12px;
    --td-shell-card-pad-responsive: 16px;
    --td-shell-stack-gap-responsive: 12px;
  }

  body.td-page,
  body.td-shell,
  body.td-help-single,
  body.td-courseware-app{
    --td-final-stack-gap: var(--td-space-2);
  }
}

@media (max-width: 480px){
  :root{
    --td-shell-gutter: 12px;
    --td-shell-card-pad-responsive: 16px;
    --td-shell-stack-gap-responsive: 12px;
  }
}

@media (min-width: 1024px){
  body.td-page,
  body.td-shell,
  body.td-help-single{
    --td-shell-content-max: var(--td-shell-frame-max-standard);
  }

  body.td-page.td-view-home,
  body.td-page.td-view-dashboard,
  body.td-page.td-view-list,
  body.td-page.td-view-calendar{
    --td-shell-content-max: var(--td-shell-frame-max-wide);
  }

  body.td-courseware-app{
    --td-shell-content-max: var(--td-shell-frame-max-course);
  }
}

body.td-shell .td-main--view .td-main__body,
body.td-shell .td-main--edit .td-main__body{
  max-width:980px !important;
  padding-top:8px !important;
}
body.td-shell .td-main--view .td-view-stack,
body.td-shell .td-main--edit .td-view-stack,
body.td-shell .td-main--view .td-stack,
body.td-shell .td-main--edit .td-stack{
  gap:var(--td-shell-card-gap) !important;
}
@media (min-width:1024px){
  body.td-shell{
    --td-shell-content-max: 980px;
  }
  body.td-help-single{
    --td-shell-content-max: 980px;
  }
  body.td-courseware-app{
    --td-shell-content-max: 920px;
  }
}

body.td-page .td-page-frame__stack{
  display:flex;
  flex-direction:column;
  gap:var(--td-space-4, 20px);
}

body.td-page.td-view-home .td-page-frame__stack,
body.td-page.td-view-plan .td-page-frame__stack,
body.td-page.td-view-train .td-page-frame__stack,
body.td-page.td-view-evaluate .td-page-frame__stack,
body.td-page.td-view-stats .td-page-frame__stack{
  gap:var(--td-space-5, 24px);
}

@media (min-width:1024px){
  body.td-page.td-view-list .td-list-layout{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:var(--td-space-4,20px) !important;
    align-items:start !important;
  }
  body.td-page.td-view-list .td-list-layout__sidebar{
    display:grid !important;
    gap:var(--td-space-4,20px) !important;
    align-items:start !important;
  }
  body.td-page.td-view-list .td-list-layout__sidebar:empty{display:none !important;}

  body.td-page .td-dash-card--inspiration,
  body.td-page .td-desktop-home--embedded .td-dash-card--inspiration{
    display:grid !important;
    grid-template-columns:200px minmax(0,1fr) !important;
    grid-template-areas:"title title" "image headline" "image excerpt" "image actions" !important;
    gap:var(--td-space-4,20px) !important;
    align-items:start !important;
  }
  body.td-page .td-dash-card--inspiration .td-dash-title{grid-area:title !important;margin-bottom:0 !important;}
  body.td-page .td-dash-card--inspiration .td-dash-insp__img{grid-area:image !important;min-height:180px !important;overflow:hidden !important;}
  body.td-page .td-dash-card--inspiration .td-dash-insp__title{grid-area:headline !important;line-height:1.15 !important;}
  body.td-page .td-dash-card--inspiration .td-dash-insp__excerpt{grid-area:excerpt !important;margin:0 !important;max-width:30ch !important;}
  body.td-page .td-dash-card--inspiration .td-dash-actions{grid-area:actions !important;margin-top:var(--td-space-3,14px) !important;}
  body.td-page .td-dash-card--qa .td-dash-actions{margin-top:var(--td-space-4,20px) !important;}
  body.td-page .td-dash-card--qa .td-dash-qa__block + .td-dash-qa__block{margin-top:var(--td-space-4,20px) !important;padding-top:0 !important;border-top:0 !important;}

  body.td-page.td-view-calendar .td-calendar-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:var(--td-space-4,20px);
    align-items:start;
  }
  body.td-page.td-view-calendar .td-calendar-layout--no-sidebar{grid-template-columns:minmax(0,1fr);}
  body.td-page.td-view-calendar .td-calendar-layout__main,
  body.td-page.td-view-calendar .td-calendar-layout__sidebar{min-width:0;}
  body.td-page.td-view-calendar .td-calendar-layout__sidebar{display:grid;gap:var(--td-space-4,20px);}
}

@media (max-width:1023px){
  body.td-page.td-view-calendar .td-calendar-layout{display:flex;flex-direction:column;gap:var(--td-space-4,20px);}
}

@media (min-width:1024px){
  

  
}

@media (min-width:1024px){
  body.td-pagetype-td_view_settings .td-dogs-row,
  body.td-pagetype-td_view_settings .td-dogs-add,
  body.td-page [data-td-content-view="settings"] .td-dogs-row,
  body.td-page [data-td-content-view="settings"] .td-dogs-add{
    display:grid !important;
    grid-template-columns:96px minmax(0,1fr) !important;
    column-gap:var(--td-space-4,20px) !important;
    row-gap:var(--td-space-3,14px) !important;
    align-items:start !important;
  }
  body.td-pagetype-td_view_settings .td-dogs-row__header,
  body.td-pagetype-td_view_settings .td-dogs-add__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__header{grid-column:1 / -1 !important;display:grid !important;grid-template-columns:96px minmax(0,1fr) !important;gap:var(--td-space-4,20px) !important;align-items:start !important;}
  body.td-pagetype-td_view_settings .td-dogs-row__avatar,
  body.td-pagetype-td_view_settings .td-dogs-add__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__avatar{grid-column:1 !important;width:96px !important;min-height:96px !important;}
  body.td-page.td-view-settings .td-dogs-row__identity,
  body.td-page.td-view-settings .td-dogs-add__identity{grid-column:2 !important;display:grid !important;gap:var(--td-space-3,14px) !important;min-width:0 !important;}
  body.td-page.td-view-settings .td-dogs-row__name,
  body.td-page.td-view-settings .td-dogs-add__name,
  body.td-page.td-view-settings .td-dogs-row__upload,
  body.td-page.td-view-settings .td-dogs-add__upload,
  body.td-page.td-view-settings .td-dogs-row__meta,
  body.td-page.td-view-settings .td-dogs-add__meta,
  body.td-page.td-view-settings .td-dogs-row__body,
  body.td-page.td-view-settings .td-dogs-add__body,
  body.td-pagetype-td_view_settings .td-dogs-row__actions,
  body.td-pagetype-td_view_settings .td-dogs-add__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__actions{grid-column:2 !important;width:100% !important;min-width:0 !important;}
  body.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__meta{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:var(--td-space-3,14px) !important;}
  body.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__body{display:grid !important;grid-template-columns:1fr !important;gap:var(--td-space-3,14px) !important;}
  body.td-page.td-view-settings .td-card--settings-dogs{margin-bottom:var(--td-space-5,24px) !important;}

  body.td-page.td-view-qa .td-card--qa-ask,
  body.td-page.td-view-qa .td-card--qa-mine,
  body.td-page.td-view-suggestions .td-card{margin-bottom:var(--td-space-4,20px) !important;}
  body.td-page.td-view-qa .td-card--qa-ask + .td-card--qa-mine,
  body.td-page.td-view-suggestions .td-card + .td-card{margin-top:0 !important;}
}

body.td-page.td-view-suggestions .td-save-fallback--suggestions,
body.td-page.td-view-suggestions .td-save-fallback--suggestions .button,
body.td-page.td-view-suggestions .td-card .td-save-fallback--suggestions{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
body.td-page.td-view-suggestions input[type="file"],
body.td-page.td-view-qa input[type="file"]{
  width:min(100%, 460px) !important;
  max-width:100% !important;
  overflow:visible !important;
  background:transparent !important;
  border:0 !important;
}
body.td-page.td-view-suggestions input[type="file"]::file-selector-button,
body.td-page.td-view-qa input[type="file"]::file-selector-button{border-radius:5px !important;}

body.td-page .td-units-list__row{gap:12px !important;}
body.td-page .td-units-list__row input[type="checkbox"]{margin-top:2px !important;flex:0 0 auto !important;}
body.td-page .td-units-list__title{padding-left:2px;}

body.td-help-single .entry-header,
body.td-help-archive .page-header,
body.td-help-archive .archive-header{display:none !important;}

body.td-help-single .td-help-article-layout,
body.td-help-archive .td-help-list-wrap,
body.td-help-archive .td-help-search-card{
  width:100%;
  max-width:none;
}

@media (max-width:768px){
  body.td-help-single .td-shell-family__content,
  body.td-help-archive .td-shell-family__content{padding-left:var(--td-shell-gutter) !important;padding-right:var(--td-shell-gutter) !important;}
  body.td-help-single .td-help-article-layout,
  body.td-help-archive .td-help-list-wrap,
  body.td-help-archive .td-help-search-card{border-radius:18px !important;}
  body.td-help-single .td-help-article-layout .td-card__body > *:nth-child(even),
  body.td-help-archive .td-help-list-wrap .td-card:nth-child(even),
  body.td-view-help .td-card:nth-child(even){background:rgba(0,0,0,.03) !important;}
  body.td-help-single .td-help-single-title,
  body.td-help-archive .td-dash-title,
  body.td-view-help .td-dash-title{font-size:clamp(1.1rem,1rem + .45vw,1.3rem) !important;line-height:1.2 !important;}
}

body.td-page .td-dash-card--latest .td-dash-card__row,
body.td-page .td-dash-card--next-entry .td-dash-card__row,
body.td-page .td-dash-card--qa-block .td-dash-card__row,
body.td-page .td-train-section .td-card__row,
body.td-page .td-evaluate-v1 .td-card__row,
body.td-page .td-eval-v1 .td-card__row{
  border:0 !important;
  box-shadow:none !important;
}
body.td-page .td-dash-card--latest [class*="sep"],
body.td-page .td-dash-card--next-entry [class*="sep"],
body.td-page .td-dash-card--qa-block [class*="sep"]{border:0 !important;}

body.td-page.td-view-edit .td-main__body > .td-card,
body.td-page.td-view-edit .td-main__body > .td-card > form{
  background:var(--td-card-bg-app, #fff9f3) !important;
}

body.td-page.td-view-edit .td-main__body > .td-card > form > .td-edit-section-card,
body.td-page.td-view-edit .td-main__body > .td-card > .td-edit-section-card,
body.td-page.td-view-edit .td-main__body > .td-card > form > .td-weekplan-inline-section,
body.td-page.td-view-edit .td-main__body > .td-card > form > .td-weekplan-add-wrap{
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}

body.td-page.td-view-edit .td-entry-view__header{
  display:none !important;
}

body.td-page.td-view-edit .td-entry-inline-header{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin:0 0 18px !important;
  padding:0 0 12px !important;
}

body.td-page.td-view-edit .td-entry-inline-title,
body.td-page.td-view-edit .td-entry-inline-title--edit{
  margin:0 !important;
  font-size:32px !important;
  line-height:1.08 !important;
  font-weight:700 !important;
}

body.td-page.td-view-edit .td-entry-inline-header__actions,
body.td-page.td-view-edit .td-entry-inline-header__actions .td-entry-actions-bar,
body.td-page.td-view-edit .td-entry-inline-header__actions .td-actions--context,
body.td-page.td-view-edit .td-entry-actions-bar,
body.td-page.td-view-edit .td-actions--context{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  visibility:visible !important;
  opacity:1 !important;
}

body.td-page.td-view-edit .td-entry-inline-header__actions .td-entry-actions-bar,
body.td-page.td-view-edit .td-entry-actions-bar{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border-radius:0 !important;
}

body.td-page.td-view-edit .td-main__body > .td-card > form > * + *,
body.td-page.td-view-edit .td-main__body > .td-card > form .td-edit-section-card > * + *,
body.td-page.td-view-edit .td-main__body > .td-card > form .td-weekplan-inline-section > * + *{
  margin-top:16px !important;
}

body.td-page.td-view-edit .td-main__body > .td-card > form > label,
body.td-page.td-view-edit .td-main__body > .td-card > form .td-grid > label,
body.td-page.td-view-edit .td-main__body > .td-card > form .td-edit-section-card label{
  display:block !important;
}

body.td-page.td-view-edit .td-main__body > .td-card > form .td-grid,
body.td-page.td-view-edit .td-main__body > .td-card > form .td-weekplan-editor__filters{
  row-gap:14px !important;
}

body.td-page.td-view-edit .td-weekplan-editor__filters{
  margin-top:16px !important;
  margin-bottom:4px !important;
}

body.td-page.td-view-edit .td-weekplan-editor__list--suggested,
body.td-page.td-view-edit .td-weekplan-editor__list--passes,
body.td-page.td-view-edit .td-weekplan-editor__list{
  padding-left:1.25rem !important;
}

body.td-page.td-view-edit .td-weekplan-editor__item,
body.td-page.td-view-edit .td-weekplan-editor__item + .td-weekplan-editor__item,
body.td-page.td-view-edit .td-ac-item,
body.td-page.td-view-edit .td-ac-item + .td-ac-item{
  margin-top:10px !important;
}

body.td-page.td-view-edit .td-weekplan-editor__empty{
  margin-left:1.25rem !important;
  list-style:disc outside !important;
}

body.td-page.td-view-edit hr,
body.td-page.td-view-edit .td-sep,
body.td-page.td-view-edit [class*="separator"]{
  display:none !important;
}

@media (min-width:1024px){
  
}

body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title{
  margin:18px 0 0 !important;
  font-size:1.125rem !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

body.td-page .td-entry-answer-block:first-of-type .td-entry-question-title,
body.td-page .td-edit-section-card .td-edit-question:first-of-type .td-edit-question-title{
  margin-top:0 !important;
}

body.td-page .td-entry-group-title--group,
body.td-page .td-edit-group-title{
  margin:20px 0 4px !important;
  font-size:1.375rem !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

body.td-page .td-field-subtitle,
body.td-page .td-weekplan-editor__filter-label,
body.td-page .td-crit-field__label{
  display:block !important;
  margin:12px 0 4px !important;
  font-size:0.95rem !important;
  line-height:1.25 !important;
  font-weight:700 !important;
  color:inherit !important;
}

body.td-page .td-edit-question textarea{
  margin-top:0 !important;
}

body.td-page .td-weekplan-editor__title,
body.td-page h3.td-weekplan-editor__title{
  margin:18px 0 0 !important;
}

body.td-page .td-weekplan-editor__title + *,
body.td-page h3.td-weekplan-editor__title + *{
  margin-top:0 !important;
}

body.td-page.td-view-view .td-entry-inline-header{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:0 0 18px !important;
  padding:0 0 12px !important;
}

body.td-page.td-view-view .td-entry-inline-header__main,
body.td-page.td-view-view .td-entry-inline-title{
  display:block !important;
}

body.td-page.td-view-view .td-entry-inline-title{
  margin:0 !important;
}

body.td-page.td-view-edit .td-save-fallback{
  display:block !important;
  position:static !important;
  bottom:auto !important;
  z-index:auto !important;
  margin-top:18px !important;
}

body.td-page.td-view-edit .td-sticky-bar{
  display:none !important;
}

/* 2.7.95.23: duplicate bottomnav media block removed from td-content-compat. */


body.td-page .td-entry-template-description--view{
  margin:0 0 16px !important;
}

body.td-page .td-group-title.td-entry-group-title,
body.td-page .td-group-title.td-edit-group-title,
body.td-page .td-group-title.td-create-picker__group-title{
  margin:22px 0 6px !important;
  font-size:1.5rem !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title{
  margin:16px 0 0 !important;
}

body.td-page .td-edit-question,
body.td-page .td-entry-answer-block{
  margin-top:0 !important;
}

body.td-page .td-edit-question + .td-edit-question,
body.td-page .td-entry-answer-block + .td-entry-answer-block{
  margin-top:14px !important;
}

body.td-page .td-weekplan-exercises-editor,
body.td-page #td-weekplan-exercises{
  border-top:0 !important;
  box-shadow:none !important;
}

@media (max-width:781px){
  html{margin-top:0 !important;}
  body.admin-bar #wpadminbar{display:none !important;}

  body.td-page .td-shell-content,
  body.td-page .td-container.td-wrap,
  body.td-page .td-page-frame__content.td-main__body{
    padding-left:var(--td-shell-gutter) !important;
    padding-right:var(--td-shell-gutter) !important;
  }

  body.td-page .td-page-frame__stack,
  body.td-page .td-view-stack,
  body.td-page .td-stack{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-page .td-page-frame__content.td-main__body{
    padding-bottom:calc(100px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 2.7.95.23: duplicate bottomnav selector removed. */


  body.td-page .td-page-frame__content.td-main__body::after{
    content:"";
    display:block;
    height:56px;
    margin:12px 0 calc(var(--td-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px)) 0;
    background:url("../images/td-dog-silhouettes-brown.png") center bottom / contain no-repeat;
    opacity:.16;
    pointer-events:none;
  }

  body.td-page .td-group-title.td-entry-group-title,
  body.td-page .td-group-title.td-edit-group-title,
  body.td-page .td-group-title.td-create-picker__group-title{
    margin-top:18px !important;
    margin-bottom:6px !important;
    font-size:1.25rem !important;
    line-height:1.2 !important;
  }

  body.td-page .td-entry-question-title,
  body.td-page .td-edit-question-title,
  body.td-page .td-field-title{
    margin-top:14px !important;
    margin-bottom:0 !important;
    font-size:1rem !important;
    line-height:1.25 !important;
  }

  body.td-page .td-field-subtitle,
  body.td-page .td-weekplan-editor__filter-label,
  body.td-page .td-crit-field__label{
    font-size:.9rem !important;
  }

  body.td-page .td-weekplan-editor__item,
  body.td-page .td-weekplan-editor__item--selected,
  body.td-page .td-weekplan-editor__item--suggested{
    display:grid !important;
    grid-template-columns:32px minmax(0,1fr) !important;
    column-gap:10px !important;
    align-items:start !important;
  }

  body.td-page .td-weekplan-editor__check{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
    padding-top:4px !important;
    margin:0 !important;
  }

  body.td-page .td-weekplan-editor__check input[type="checkbox"],
  body.td-page .td-units-list__row input[type="checkbox"]{
    margin:0 !important;
    transform:translateY(2px);
  }
}

body.td-page .td-entry-inline-header__main,
body.single-td_entry .td-entry-inline-header__main{
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
}

body.td-page .td-entry-inline-title,
body.td-page .td-entry-inline-title--edit,
body.td-page .td-entry-view__title:not(.screen-reader-text),
body.single-td_entry .td-entry-inline-title,
body.single-td_entry .td-entry-view__title:not(.screen-reader-text){
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  font-family:var(--e-global-typography-primary-font-family, inherit) !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
  line-height:1.08 !important;
  text-transform:none !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  hyphens:none !important;
}

body.td-page.td-view-view .td-entry-inline-title,
body.td-page.td-view-edit .td-entry-inline-title,
body.td-page.td-view-edit .td-entry-inline-title--edit,
body.single-td_entry .td-entry-inline-title{
  font-size:32px !important;
}

@media (max-width:768px){
  body.td-page.td-view-view .td-entry-inline-title,
  body.td-page.td-view-edit .td-entry-inline-title,
  body.td-page.td-view-edit .td-entry-inline-title--edit,
  body.single-td_entry .td-entry-inline-title{
    font-size:22px !important;
    line-height:1.12 !important;
  }
}

body.td-page .td-group-title.td-entry-group-title,
body.td-page .td-group-title.td-edit-group-title,
body.td-page .td-group-title.td-create-picker__group-title{
  display:block !important;
  clear:both !important;
  margin:24px 0 8px !important;
  font-size:1.5rem !important;
  line-height:1.2 !important;
  font-weight:700 !important;
}

body.td-page .td-edit-section-card > .td-group-title:first-child,
body.td-page .td-edit-section-card > .td-grid > .td-group-title:first-child,
body.td-page .td-entry-view-card > .td-group-title:first-child{
  margin-top:4px !important;
}

body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title{
  display:block !important;
  margin:16px 0 0 !important;
  font-size:1.125rem !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

body.td-page .td-field-subtitle,
body.td-page .td-field-subtitle--input,
body.td-page .td-weekplan-editor__filter-label,
body.td-page .td-crit-field__label{
  display:block !important;
  margin:12px 0 4px !important;
  font-size:.95rem !important;
  line-height:1.25 !important;
  font-weight:700 !important;
}

body.td-page .td-entry-template-description--view,
body.td-page .td-quickpass__desc{
  margin:0 0 16px !important;
}

body.td-page .td-entry-view-card--quickpass .td-entry-inline-header,
body.td-page .td-entry-view-card--criteria .td-entry-inline-header,
body.td-page .td-entry-view-card--skillcheck .td-entry-inline-header{
  margin-bottom:16px !important;
}

body.td-page .td-entry-view-card--quickpass .td-entry-answer-block--quickpass .td-entry-question-title{
  margin-top:0 !important;
}

@media (max-width:768px){
  body.td-page .td-group-title.td-entry-group-title,
  body.td-page .td-group-title.td-edit-group-title,
  body.td-page .td-group-title.td-create-picker__group-title{
    margin-top:18px !important;
    margin-bottom:6px !important;
    font-size:1.25rem !important;
  }

  body.td-page .td-edit-section-card > .td-group-title:first-child,
  body.td-page .td-edit-section-card > .td-grid > .td-group-title:first-child,
  body.td-page .td-entry-view-card > .td-group-title:first-child{
    margin-top:2px !important;
  }

  body.td-page .td-entry-question-title,
  body.td-page .td-edit-question-title,
  body.td-page .td-field-title{
    margin-top:14px !important;
    font-size:1rem !important;
  }

  body.td-page .td-field-subtitle,
  body.td-page .td-field-subtitle--input,
  body.td-page .td-weekplan-editor__filter-label,
  body.td-page .td-crit-field__label{
    font-size:.9rem !important;
  }
}

body.td-page .td-entry-inline-title,
body.td-page .td-entry-inline-title--edit,
body.td-page .td-group-title,
body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title,
body.td-page .td-weekplan-editor__title,
body.td-page .td-field-subtitle,
body.td-page .td-field-subtitle--input,
body.td-page .td-weekplan-editor__filter-label,
body.td-page .td-crit-field__label{
  padding-left:2px !important;
  overflow:visible !important;
}

@media (max-width:768px){
  body.td-page .td-entry-inline-header__copy,
  body.td-page .td-edit-section-card,
  body.td-page .td-entry-view-card,
  body.td-page .td-weekplan-inline-section,
  body.td-page .td-weekplan-add-wrap{
    overflow:visible !important;
  }
}

body.td-page .td-entry-view--form .td-entry-view__header{
  display:none !important;
}

body.td-page .td-entry-template-description--view{
  margin:0 0 14px !important;
}

body.td-page .td-entry-inline-header + .td-entry-template-description--view{
  margin-top:0 !important;
}

body.td-page .td-entry-template-description--view + .td-entry-meta{
  margin-top:0 !important;
}

body.td-page .td-entry-inline-header,
body.td-page .td-entry-inline-header__copy,
body.td-page .td-entry-view__title:not(.screen-reader-text),
body.td-page .td-entry-inline-title,
body.td-page .td-entry-inline-title--edit,
body.td-page .td-group-title,
body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title,
body.td-page .td-weekplan-editor__title,
body.td-page .td-field-subtitle,
body.td-page .td-field-subtitle--input,
body.td-page .td-weekplan-editor__filter-label,
body.td-page .td-crit-field__label{
  overflow:visible !important;
}

body.td-page .td-entry-inline-title,
body.td-page .td-entry-inline-title--edit,
body.td-page .td-entry-view__title:not(.screen-reader-text),
body.td-page .td-group-title,
body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title,
body.td-page .td-weekplan-editor__title,
body.td-page .td-field-subtitle,
body.td-page .td-field-subtitle--input,
body.td-page .td-weekplan-editor__filter-label,
body.td-page .td-crit-field__label{
  padding-left:0 !important;
}

@media (max-width:768px){
  body.td-page .td-entry-inline-title,
  body.td-page .td-entry-inline-title--edit,
  body.td-page .td-entry-view__title:not(.screen-reader-text),
  body.td-page .td-group-title,
  body.td-page .td-entry-question-title,
  body.td-page .td-edit-question-title,
  body.td-page .td-field-title,
  body.td-page .td-weekplan-editor__title,
  body.td-page .td-field-subtitle,
  body.td-page .td-field-subtitle--input,
  body.td-page .td-weekplan-editor__filter-label,
  body.td-page .td-crit-field__label{
    padding-left:0 !important;
  }

  body.td-page .td-entry-inline-header__copy{
    padding-left:0 !important;
    margin-left:0 !important;
  }
}

body.td-page .td-entry-view--form-shell > .td-entry-view__header,
body.td-page .td-entry-view--edit-shell > .td-entry-view__header,
body.td-view-form .td-entry-view--page-route > .td-entry-view__header,
body.td-view-edit .td-entry-view--page-route > .td-entry-view__header{
  display:none !important;
}

body.td-page,
body.td-page .td-page-frame,
body.td-page .td-main,
body.td-page .td-main__body,
body.td-page .td-entry-view,
body.td-page .td-entry-view__content,
body.td-page .td-card{
  max-width:100% !important;
  box-sizing:border-box !important;
}

html, body{
  overflow-x:hidden;
}

@media (max-width:781px){
  body.td-page .td-page-frame__content.td-main__body::after,
  body.td-shell .td-shell-content::after,
  body.td-entry-single .td-entry-view-wrapper::after{
    content:"" !important;
    display:block !important;
    width:100% !important;
    min-height:64px !important;
    height:64px !important;
    margin:12px 0 calc(var(--td-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px)) 0 !important;
    background:url("../images/td-dog-silhouettes-brown.png") center bottom / contain no-repeat !important;
    opacity:.22 !important;
    pointer-events:none !important;
    clear:both !important;
  }

  
}

@media (max-width:781px){
  body.td-page .td-main__body::after,
  body.td-page .td-page-frame__content.td-main__body::after,
  body.td-shell .td-main__body::after,
  body.td-shell .td-shell-content::after,
  body.single-td_entry .td-main__body::after,
  body.td-entry-single .td-main__body::after,
  body.td-view-entry .td-main__body::after,
  body.td-entry-single .td-entry-view-wrapper::after{
    content:none !important;
    display:none !important;
    background:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
  }

  body.td-page .td-page-frame,
  body.td-shell .td-page-frame,
  body.td-entry-single .td-page-frame{
    display:flex !important;
    flex-direction:column !important;
    min-height:100% !important;
  }

  body.td-page .td-page-frame__main,
  body.td-shell .td-page-frame__main,
  body.td-entry-single .td-page-frame__main{
    flex:1 1 auto !important;
  }

  body.td-page .td-page-frame__footer,
  body.td-page .td-shell__footer,
  body.td-shell .td-page-frame__footer,
  body.td-shell .td-shell__footer,
  body.td-entry-single .td-page-frame__footer,
  body.td-entry-single .td-shell__footer{
    display:block !important;
    clear:both !important;
    position:relative !important;
    z-index:1 !important;
    margin:0 !important;
    padding:0 var(--td-shell-gutter) calc(var(--td-mobile-bottom-nav-height, 72px) + env(safe-area-inset-bottom, 0px)) !important;
    background:none !important;
    min-height:0 !important;
    height:auto !important;
  }

  
}

body.td-page .td-postits-grid .td-postit,
body.td-page .td-dash-card--most-important .td-postit,
body.td-view-home .td-postits-grid .td-postit,
body.td-view-dashboard .td-postits-grid .td-postit{
  border:1px solid var(--td-shell-border, rgba(47,42,38,.12)) !important;
  border-radius:5px !important;
  box-shadow:var(--td-shell-shadow, 0 6px 18px rgba(47,42,38,.04)) !important;
  overflow:hidden !important;
}

body.td-page .td-postit .button,
body.td-page .td-postit a.button,
body.td-page .td-postit button.button,
body.td-page .td-empty-actions .button,
body.td-page .td-empty-actions a.button,
body.td-page .td-empty-actions button.button{
  border-radius:5px !important;
}

body.td-page .td-dash-card .td-dash-title,
body.td-page .td-postit .td-dash-title,
body.td-page .td-card__header .td-dash-title,
body.td-view-home .td-dash-card .td-dash-title,
body.td-view-dashboard .td-dash-card .td-dash-title{
  padding-left:2px !important;
  overflow:visible !important;
}

body.td-page .td-dash-card--inspiration .td-dash-insp__img,
body.td-view-home .td-dash-card--inspiration .td-dash-insp__img,
body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__img{
  min-height:180px !important;
  height:100% !important;
  align-self:stretch !important;
  overflow:hidden !important;
}

body.td-page .td-dash-card--inspiration .td-dash-insp__img img,
body.td-view-home .td-dash-card--inspiration .td-dash-insp__img img,
body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__img img{
  width:100% !important;
  height:100% !important;
  min-height:180px !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
}

@media (min-width:1024px){
  body.td-page .td-main__body::after,
  body.td-page .td-page-frame__content.td-main__body::after,
  body.td-shell .td-main__body::after,
  body.td-shell .td-shell-content::after,
  body.single-td_entry .td-main__body::after,
  body.td-entry-single .td-main__body::after,
  body.td-view-entry .td-main__body::after{
    content:none !important;
    display:none !important;
    background:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
  }

  body.td-page .td-page-frame__footer,
  body.td-page .td-shell__footer,
  body.td-shell .td-page-frame__footer,
  body.td-shell .td-shell__footer,
  body.td-entry-single .td-page-frame__footer,
  body.td-entry-single .td-shell__footer{
    display:block !important;
    clear:both !important;
    position:relative !important;
    z-index:1 !important;
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
    height:auto !important;
    background:none !important;
  }

  

  
}

body.td-page .td-postits-grid .td-postit,
body.td-page .td-dash-card--most-important .td-postit,
body.td-view-home .td-postits-grid .td-postit,
body.td-view-dashboard .td-postits-grid .td-postit{
  background:#fff6cc !important;
  border:1px solid #e6d8a8 !important;
  border-radius:0 !important;
  box-shadow:0 2px 6px rgba(0,0,0,.04) !important;
  padding:18px 18px 16px !important;
  overflow:visible !important;
}

body.td-page .td-postit .td-card__header,
body.td-page .td-postit .td-card__body,
body.td-view-home .td-postit .td-card__header,
body.td-view-home .td-postit .td-card__body,
body.td-view-dashboard .td-postit .td-card__header,
body.td-view-dashboard .td-postit .td-card__body{
  padding-left:0 !important;
  padding-right:0 !important;
}

body.td-page .td-postit .td-card__header{margin:0 0 10px !important;}
body.td-page .td-postit .td-dash-title,
body.td-view-home .td-postit .td-dash-title,
body.td-view-dashboard .td-postit .td-dash-title{
  margin:0 0 8px !important;
  padding:0 !important;
  overflow:visible !important;
}
body.td-page .td-postit .td-dash-title a,
body.td-view-home .td-postit .td-dash-title a,
body.td-view-dashboard .td-postit .td-dash-title a{
  display:inline-block !important;
  padding-left:0 !important;
}
body.td-page .td-postit .td-card__meta,
body.td-view-home .td-postit .td-card__meta,
body.td-view-dashboard .td-postit .td-card__meta{
  margin:0 0 12px !important;
}
body.td-page .td-postit .td-postit-list,
body.td-view-home .td-postit .td-postit-list,
body.td-view-dashboard .td-postit .td-postit-list{
  margin:0 !important;
  padding-left:18px !important;
}
body.td-page .td-postit .td-empty-actions,
body.td-view-home .td-postit .td-empty-actions,
body.td-view-dashboard .td-postit .td-empty-actions{
  padding-top:14px !important;
}

@media (min-width: 1024px){
  body.td-view-home .td-dash-card--inspiration,
  body.td-view-dashboard .td-dash-card--inspiration{
    display:grid !important;
    grid-template-columns:240px minmax(0,1fr) !important;
    grid-template-areas:
      "title title"
      "image headline"
      "image excerpt"
      "image actions" !important;
    grid-auto-rows:auto !important;
    gap:16px !important;
    align-items:stretch !important;
  }

  body.td-view-home .td-dash-card--inspiration .td-dash-title,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-title{grid-area:title !important; margin-bottom:0 !important;}
  body.td-view-home .td-dash-card--inspiration .td-dash-insp__img,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__img{
    grid-area:image !important;
    min-height:224px !important;
    height:100% !important;
    align-self:stretch !important;
    border-radius:18px !important;
    overflow:hidden !important;
    background:#e7ddd2 !important;
  }
  body.td-view-home .td-dash-card--inspiration .td-dash-insp__img img,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__img img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    aspect-ratio:auto !important;
  }
  body.td-view-home .td-dash-card--inspiration .td-dash-insp__title,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__title{grid-area:headline !important; align-self:start !important;}
  body.td-view-home .td-dash-card--inspiration .td-dash-insp__excerpt,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-insp__excerpt{grid-area:excerpt !important; align-self:start !important; margin:0 !important;}
  body.td-view-home .td-dash-card--inspiration .td-dash-actions,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-actions{grid-area:actions !important; align-self:end !important; margin:0 !important;}
  body.td-view-home .td-dash-card--inspiration .td-dash-actions .button,
  body.td-view-dashboard .td-dash-card--inspiration .td-dash-actions .button{width:100% !important;}
}

@media (min-width: 1024px){
  body.td-page .td-main::after,
  body.td-shell .td-main::after,
  body.td-help-single .td-main::after,
  body.td-help-archive .td-main::after{
    content:none !important;
    display:none !important;
    background:none !important;
  }

  

  
}

@media (min-width: 1024px){
  body.td-page.td-view-view .td-main__body,
  body.td-page.td-view-view .td-page-frame__stack{
    width:100% !important;
    max-width:960px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.td-page.td-view-form .td-main__body,
  body.td-page.td-view-edit .td-main__body,
  body.td-page.td-view-quickpass .td-main__body,
  body.td-page.td-view-form .td-page-frame__stack,
  body.td-page.td-view-edit .td-page-frame__stack,
  body.td-page.td-view-quickpass .td-page-frame__stack{
    width:100% !important;
    max-width:1240px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body.td-page.td-view-view .td-main__body > .td-card,
  body.td-page.td-view-view .td-page-frame__stack > .td-card,
  body.td-page.td-view-view .td-page-frame__stack > article{
    width:100% !important;
    max-width:960px !important;
  }

  body.td-page.td-view-form .td-main__body > .td-card,
  body.td-page.td-view-edit .td-main__body > .td-card,
  body.td-page.td-view-quickpass .td-main__body > .td-card,
  body.td-page.td-view-form .td-page-frame__stack > .td-card,
  body.td-page.td-view-edit .td-page-frame__stack > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > .td-card,
  body.td-page.td-view-form .td-page-frame__stack > article,
  body.td-page.td-view-edit .td-page-frame__stack > article,
  body.td-page.td-view-quickpass .td-page-frame__stack > article{
    width:100% !important;
    max-width:1240px !important;
  }
}

body.td-view-plan .td-plan-v2__columns,
body.td-view-train .td-train-v2__grid,
body.td-view-evaluate .td-eval-v2__grid{
  display:grid !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-view-plan .td-plan-v2__col,
body.td-view-train .td-train-v2__col,
body.td-view-evaluate .td-eval-v2__col{
  display:grid !important;
  gap:16px !important;
  align-content:start !important;
}
/* 2.7.95.18 / 2103: vyfamiljernas vertikala rytm ägs av grid-gap, inte extra margin-top på enstaka sektioner. */
body.td-view-plan .td-plan-v2__columns .td-card,
body.td-view-train .td-train-v2__grid .td-card,
body.td-view-evaluate .td-eval-v2__grid .td-card{margin:0 !important;}

@media (min-width: 1024px){
  body.td-view-plan .td-plan-v2__columns{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }

  body.td-view-train .td-train-v2__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }

  body.td-view-evaluate .td-eval-v2__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
}

body.td-page.td-view-qa .td-page-frame__stack--qa,
body.td-page.td-view-suggestions .td-view-stack,
body.td-page.td-view-plan .td-plan-v2,
body.td-page.td-view-train .td-train-v2,
body.td-page.td-view-evaluate .td-eval-v2{
  display:grid !important;
  gap:16px !important;
}
body.td-page.td-view-qa .td-card--qa-ask,
body.td-page.td-view-qa .td-card--qa-mine,
body.td-page.td-view-suggestions .td-card,
body.td-page.td-view-plan .td-card,
body.td-page.td-view-train .td-card,
body.td-page.td-view-evaluate .td-card{
  margin:0 !important;
}

body.td-view-plan .td-plan-v2__columns,
body.td-view-train .td-train-v2__grid,
body.td-view-evaluate .td-eval-v2__grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-view-plan .td-plan-v2__col,
body.td-view-train .td-train-v2__col,
body.td-view-evaluate .td-eval-v2__col{
  display:grid !important;
  gap:16px !important;
  min-width:0 !important;
}
body.td-view-train .td-train-section--upcoming,
body.td-view-train .td-train-section--quickpass,
body.td-view-train .td-train-section--recent,
body.td-view-train .td-train-section--templates,
body.td-view-plan .td-plan-section,
body.td-view-evaluate .td-section{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}
body.td-view-train .td-train-section--templates,
body.td-view-evaluate .td-eval-compare,
body.td-view-evaluate .td-eval-templates{
  grid-column:1 / -1 !important;
}
@media (max-width: 1023px){
  body.td-view-plan .td-plan-v2__columns,
  body.td-view-train .td-train-v2__grid,
  body.td-view-evaluate .td-eval-v2__grid{
    grid-template-columns:minmax(0,1fr) !important;
  }
}


@media (min-width: 1024px){
  body.td-view-plan .td-plan-v2__columns{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr) !important;
    align-items:start !important;
  }

  body.td-view-train .td-train-v2__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr) !important;
    align-items:start !important;
  }

  body.td-view-evaluate .td-eval-v2__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.95fr) !important;
    align-items:start !important;
  }
}


body.td-view-plan .td-postits-grid,
body.td-view-home .td-postits-grid,
body.td-view-dashboard .td-postits-grid{
  display:grid !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-view-plan .td-postits-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
body.td-view-home .td-postits-grid,
body.td-view-dashboard .td-postits-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
@media (max-width: 1200px){
  body.td-view-plan .td-postits-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width: 767px){
  body.td-view-plan .td-postits-grid,
  body.td-view-home .td-postits-grid,
  body.td-view-dashboard .td-postits-grid{grid-template-columns:minmax(0,1fr) !important;}
}

body.td-page .td-pass-list,
body.td-page .td-compact-list{display:grid !important;gap:10px !important;}
body.td-page .td-pass-list__item,
body.td-page .td-compact-list__item{border-top:0 !important;padding:0 !important;margin:0 !important;}
body.td-page .td-pass-list__group-title{margin:0 0 8px !important;}

body.td-view-plan .td-plan-upcoming__footer{margin-top:12px !important;}

body.td-view-evaluate .td-eval-featured-list{display:grid !important;gap:12px !important;}
body.td-view-evaluate .td-eval-featured-list__item{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:12px !important;}
body.td-view-evaluate .td-eval-featured-list__title{font-weight:700 !important;}

body.td-page.td-view-calendar .td-calendar-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 320px !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-page.td-view-calendar .td-calendar-layout__main,
body.td-page.td-view-calendar .td-calendar-layout__sidebar{min-width:0 !important;}
body.td-page.td-view-calendar .td-calendar-layout__sidebar{display:grid !important;gap:16px !important;}
body.td-page.td-view-calendar .td-calendar-layout__sidebar::before{
  content:"";
  display:block;
  min-height:180px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(236,226,202,.9) 0%, rgba(246,241,234,0) 100%);
}
body.td-page.td-view-calendar .td-calendar-next{margin-top:0 !important;}
@media (max-width: 767px){
  body.td-page.td-view-calendar .td-calendar-layout{grid-template-columns:minmax(0,1fr) !important;}
  body.td-page.td-view-calendar .td-calendar-layout__sidebar::before{display:none !important;}
}

body.td-page .td-suggestions-form .td-file-input--suggestion{
  border:1px solid rgba(47,42,38,.16) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  background:#fff !important;
  box-shadow:none !important;
  outline:none !important;
}
body.td-page .td-suggestions-form .td-sticky-bar{margin-top:12px !important;}
@media (min-width: 783px){
  body.td-page .td-suggestions-form .td-sticky-bar{
    position:static !important;
    background:none !important;
    padding:0 !important;
    box-shadow:none !important;
  }
  body.td-page .td-suggestions-form .td-sticky-bar__inner{padding:0 !important;}
}

body.td-page.td-view-qa .td-card--qa-session + .td-card--qa-session,
body.td-page.td-view-qa .td-card--qa-session + .td-card--qa-ask,
body.td-page.td-view-qa .td-card--qa-ask + .td-card--qa-mine{margin-top:16px !important;}
body.td-page.td-view-qa .td-qa-past-sessions{margin:0 !important;padding-left:18px !important;}

body.td-share-single .td-entry-inline-header,
body.td-share-single .td-entry-actions,
body.td-share-single #td-share-actions{display:none !important;}
body.td-share-single .td-entry-view--shared,
body.td-share-single .td-share-card,
body.td-share-single .td-entry-view__content{
  width:100% !important;
  max-width:980px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  min-width:0 !important;
}
body.td-share-single .td-entry-view__header{padding-left:0 !important;padding-right:0 !important;}

body.single-td_entry .td-entry-view--single-cpt,
body.td-entry-single .td-entry-view--single-cpt,
body.single-td_entry .td-entry-view__content,
body.td-entry-single .td-entry-view__content{
  width:100% !important;
  max-width:980px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.td-help-single .td-main__body,
body.td-help-archive .td-main__body{max-width:1140px !important;}
body.td-help-single .td-help-article-layout,
body.td-help-archive .td-help-list-wrap,
body.td-help-archive .td-help-search-card{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
}

body.td-view-exercises .td-table--courses{table-layout:fixed !important;}
body.td-view-exercises .td-table--courses th:first-child,
body.td-view-exercises .td-table--courses td:first-child{width:16% !important;}
body.td-view-exercises .td-table--courses th:not(:first-child),
body.td-view-exercises .td-table--courses td:not(:first-child){width:21% !important;}
body.td-view-exercises .td-table--courses td:first-child,
body.td-view-exercises .td-table--courses th:first-child{
  word-break:break-word !important;
  overflow-wrap:anywhere !important;
}

body.td-view-train .td-train-v2,
body.td-view-train .td-train-v2__grid,
body.td-view-train .td-train-v2__col{width:100% !important;min-width:0 !important;}
body.td-view-train .td-train-v2__grid > *,
body.td-view-train .td-train-v2__col > *{min-width:0 !important;}
@media (min-width: 1024px){
  body.td-view-train .td-train-v2__grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;align-items:start !important;}
  body.td-view-train .td-train-v2__col--left,
  body.td-view-train .td-train-v2__col--right{display:grid !important;gap:16px !important;align-content:start !important;}
  body.td-view-train .td-train-v2__col--right > .td-train-section--recent{height:100% !important;}
}

body.td-page.td-view-qa .td-qa-sessions{display:grid !important;gap:16px !important;margin:0 0 16px !important;}
body.td-page.td-view-qa .td-qa-sessions > .td-card{margin:0 !important;}
@media (min-width: 1024px){
  body.td-page.td-view-qa .td-qa-sessions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;align-items:start !important;}
}

body.td-page.td-view-calendar .td-calendar-layout{width:100% !important;min-width:0 !important;align-items:start !important;}
body.td-page.td-view-calendar .td-calendar-layout__main,
body.td-page.td-view-calendar .td-calendar-layout__sidebar{width:100% !important;min-width:0 !important;}
body.td-page.td-view-calendar .td-calendar-layout__main > *{min-width:0 !important;}
body.td-page.td-view-calendar .td-calendar-list{display:grid !important;gap:12px !important;}
body.td-page.td-view-calendar .td-calendar-list__item{margin:0 !important;}
body.td-page.td-view-calendar .td-calendar-list__body{display:grid !important;grid-template-columns:84px minmax(0,1fr) !important;gap:20px !important;align-items:start !important;}
body.td-page.td-view-calendar .td-calendar-list__content{min-width:0 !important;}
body.td-page.td-view-calendar .td-calendar-list__title{display:block !important;font-weight:700 !important;text-decoration:none !important;}
body.td-page.td-view-calendar .td-calendar-list__title:hover{text-decoration:underline !important;}
body.td-page.td-view-calendar .td-calendar-list__date{margin:0 0 4px !important;}
body.td-page.td-view-calendar .td-calendar-list__desc{margin-top:6px !important;}
body.td-page.td-view-calendar .td-calendar-list__date-badge,
body .td-main--calendar .td-calendar-list__date-badge{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}
body.td-page.td-view-calendar .td-calendar-list__date-badge .td-date-badge,
body .td-main--calendar .td-calendar-list__date-badge .td-date-badge{
  width:88px !important;
  max-width:88px !important;
}
@media (max-width: 767px){
  body.td-page.td-view-calendar .td-calendar-layout{display:flex !important;flex-direction:column !important;gap:16px !important;}
  body.td-page.td-view-calendar .td-calendar-layout__sidebar{order:-1 !important;}
  body.td-page.td-view-calendar .td-calendar-layout__sidebar::before{display:none !important;}
  body.td-page.td-view-calendar .td-calendar-list__body{grid-template-columns:72px minmax(0,1fr) !important;gap:18px !important;}
}

@media (min-width: 768px){
  body.td-view-exercises .td-table--courses{table-layout:fixed !important;width:100% !important;}
  body.td-view-exercises .td-table--courses th,
  body.td-view-exercises .td-table--courses td{overflow:visible !important;vertical-align:top !important;}
  body.td-view-exercises .td-table--courses th:first-child,
  body.td-view-exercises .td-table--courses td:first-child{width:22% !important;}
  body.td-view-exercises .td-table--courses th:nth-child(2),
  body.td-view-exercises .td-table--courses td:nth-child(2),
  body.td-view-exercises .td-table--courses th:nth-child(3),
  body.td-view-exercises .td-table--courses td:nth-child(3),
  body.td-view-exercises .td-table--courses th:nth-child(4),
  body.td-view-exercises .td-table--courses td:nth-child(4),
  body.td-view-exercises .td-table--courses th:nth-child(5),
  body.td-view-exercises .td-table--courses td:nth-child(5){width:19.5% !important;}
  body.td-view-exercises .td-table--courses td:first-child,
  body.td-view-exercises .td-table--courses td:first-child a,
  body.td-view-exercises .td-table--courses .td-course-link__text{white-space:normal !important;word-break:break-word !important;overflow-wrap:anywhere !important;}
}
@media (max-width: 767px){
  body.td-view-exercises .td-table--courses{table-layout:auto !important;min-width:0 !important;width:100% !important;}
  body.td-view-exercises .td-table--courses th:first-child,
  body.td-view-exercises .td-table--courses td:first-child{width:100% !important;}
  body.td-view-exercises .td-table--courses td,
  body.td-view-exercises .td-table--courses th{overflow:visible !important;}
}

body.td-view-home .td-postits-grid,
body.td-view-dashboard .td-postits-grid,
body.td-view-plan .td-postits-grid{align-items:stretch !important;}
body.td-view-home .td-postit,
body.td-view-dashboard .td-postit,
body.td-view-plan .td-postit{height:100% !important;}

body.td-view-train .td-train-v2__col--left,
body.td-view-train .td-train-v2__col--right{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:16px !important;
  align-content:start !important;
}
body.td-view-train .td-train-v2__col--left > .td-train-section,
body.td-view-train .td-train-v2__col--right > .td-train-section,
body.td-view-train .td-train-v2__col--left > .td-card,
body.td-view-train .td-train-v2__col--right > .td-card{
  width:100% !important;
  max-width:none !important;
  justify-self:stretch !important;
}

body.td-page.td-view-calendar .td-calendar-next__body,
body.td-view-calendar .td-calendar-next__body{
  display:block !important;
}
body.td-page.td-view-calendar .td-calendar-next__title,
body.td-view-calendar .td-calendar-next__title{
  margin:0 0 14px !important;
}
body.td-page.td-view-calendar .td-calendar-next__row,
body.td-view-calendar .td-calendar-next__row{
  display:grid !important;
  grid-template-columns:minmax(72px, 32%) minmax(0, 68%) !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-page.td-view-calendar .td-calendar-next__date,
body.td-view-calendar .td-calendar-next__date{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  padding-top:0 !important;
}
body.td-page.td-view-calendar .td-calendar-next .td-date-badge,
body.td-view-calendar .td-calendar-next .td-date-badge{
  width:100% !important;
  max-width:88px !important;
}
body.td-page.td-view-calendar .td-calendar-mobile-subscribe,
body.td-pagetype-td_view_calendar .td-calendar-mobile-subscribe,
body .td-main--calendar .td-calendar-mobile-subscribe{
  display:none !important;
}
body.td-page.td-view-calendar .td-calendar-list-subscribe,
body .td-main--calendar .td-calendar-list-subscribe{
  display:flex !important;
  justify-content:flex-end !important;
  margin:0 0 12px !important;
}
body.td-page.td-view-calendar .td-calendar-list-subscribe .td-calendar-ical-link,
body .td-main--calendar .td-calendar-list-subscribe .td-calendar-ical-link{
  margin-left:auto !important;
}
@media (max-width: 767px){
  body.td-page.td-view-calendar .td-calendar-controls__right,
  body .td-main--calendar .td-calendar-controls__right{display:none !important;}
  body.td-page.td-view-calendar .td-calendar-mobile-subscribe,
  body.td-pagetype-td_view_calendar .td-calendar-mobile-subscribe,
  body .td-main--calendar .td-calendar-mobile-subscribe{
    display:flex !important;
    justify-content:flex-start !important;
    margin:0 0 12px !important;
  }
  body.td-page.td-view-calendar .td-calendar-mobile-subscribe .td-calendar-ical-link,
  body .td-main--calendar .td-calendar-mobile-subscribe .td-calendar-ical-link{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    margin-left:0 !important;
  }
  body.td-page.td-view-calendar .td-calendar-next__row,
  body.td-view-calendar .td-calendar-next__row,
  body .td-main--calendar .td-calendar-next__row{
    grid-template-columns:88px minmax(0, 1fr) !important;
    gap:14px !important;
  }
  body.td-page.td-view-calendar .td-calendar-list__body,
  body .td-main--calendar .td-calendar-list__body{
    grid-template-columns:88px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-page.td-view-calendar .td-calendar-list__item .td-card__body,
  body .td-main--calendar .td-calendar-list__item .td-card__body{
    padding:18px 18px 18px !important;
  }
  body.td-page.td-view-calendar .td-calendar-list__content,
  body .td-main--calendar .td-calendar-list__content{
    min-width:0 !important;
  }
  body.td-page.td-view-calendar .td-calendar-list__date,
  body .td-main--calendar .td-calendar-list__date{
    line-height:1.35 !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
  }
}

body.td-page .td-help-card,
body.td-help-archive .td-help-card,
body.td-view-help .td-help-card{
  background:var(--td-shell-surface, #fffaf4) !important;
}

@media (min-width: 768px){
  body.td-view-exercises .td-exercises-1071.td-overflow-auto{overflow-x:auto !important;}
  body.td-view-exercises .td-table--courses{
    table-layout:auto !important;
    width:100% !important;
    min-width:1120px !important;
  }
  body.td-view-exercises .td-table--courses th,
  body.td-view-exercises .td-table--courses td{
    width:auto !important;
    min-width:170px !important;
    vertical-align:top !important;
  }
  body.td-view-exercises .td-table--courses th:first-child,
  body.td-view-exercises .td-table--courses td:first-child{
    min-width:180px !important;
  }
}

@media (max-width: 767px){
  body.td-view-exercises .td-exercises-1071.td-overflow-auto{overflow:visible !important;}
  body.td-view-exercises .td-table--courses,
  body.td-view-exercises .td-table--courses thead,
  body.td-view-exercises .td-table--courses tbody,
  body.td-view-exercises .td-table--courses tr,
  body.td-view-exercises .td-table--courses th,
  body.td-view-exercises .td-table--courses td{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
  body.td-view-exercises .td-table--courses thead{display:none !important;}
  body.td-view-exercises .td-table--courses tr{
    background:var(--td-shell-surface, #fffaf4) !important;
    border:1px solid var(--td-shell-border, rgba(47,42,38,.10)) !important;
    border-radius:5px !important;
    box-shadow:var(--td-shell-shadow, 0 8px 22px rgba(47,42,38,.05)) !important;
    padding:14px !important;
    margin:0 0 14px !important;
  }
  body.td-view-exercises .td-table--courses td{
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
  }
  body.td-view-exercises .td-table--courses td + td{margin-top:12px !important;}
  body.td-view-exercises .td-table--courses td:first-child{
    font-size:1.05rem !important;
    line-height:1.35 !important;
  }
}

body.td-shell-standalone.td-share-single .td-share-card .td-entry-view__header{display:block !important;}
body.td-shell-standalone.td-share-single .td-share-card .td-entry-view__title:not(.screen-reader-text){
  display:block !important;
  margin:0 0 18px !important;
}
body.td-shell-standalone.td-share-single .td-share-card .button,
body.td-shell-standalone.td-share-single .td-share-error .button{
  border-radius:5px !important;
}

@media (max-width: 767px){
  body.td-help-single.admin-bar #wpadminbar,
  body.td-help-archive.admin-bar #wpadminbar{display:none !important;}
}

body.td-view-train .td-train-v2__col--left > .td-train-section--upcoming,
body.td-view-train .td-train-v2__col--left > .td-train-section--quickpass,
body.td-view-train .td-train-v2__col--right > .td-train-section--recent,
body.td-view-train .td-train-v2__col--left > .td-card,
body.td-view-train .td-train-v2__col--right > .td-card{
  grid-area:auto !important;
  grid-column:auto !important;
  grid-row:auto !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  justify-self:stretch !important;
  align-self:start !important;
}
body.td-view-train .td-train-v2__col--left,
body.td-view-train .td-train-v2__col--right{
  grid-template-areas:none !important;
  grid-auto-flow:row !important;
  grid-auto-columns:minmax(0,1fr) !important;
}
body.td-view-train .td-train-v2__col--left > *,
body.td-view-train .td-train-v2__col--right > *{
  min-width:0 !important;
}
body.td-view-train .td-train-section .td-dash-title,
body.td-view-train .td-train-section h2.td-dash-title{
  width:auto !important;
  max-width:100% !important;
}
@media (min-width: 1024px){
  body.td-view-train .td-train-v2{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
  }
  body.td-view-train .td-train-v2__grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:16px !important;
    align-items:stretch !important;
  }
  body.td-view-train .td-train-v2__col--left{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    grid-template-rows:auto auto !important;
    gap:16px !important;
    align-content:start !important;
  }
  body.td-view-train .td-train-v2__col--right{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
    align-content:stretch !important;
  }
  body.td-view-train .td-train-v2__col--right > .td-train-section--recent{
    height:100% !important;
    min-height:100% !important;
  }
  body.td-view-train .td-train-section--templates{
    grid-column:1 / -1 !important;
  }
}

body.td-view-dashboard .td-dashboard,
body.td-view-home .td-dashboard,
body.td-view-list .td-dashboard{
  display:block !important;
}

body.td-view-dashboard .td-dashboard-home-layout,
body.td-view-home .td-dashboard-home-layout,
body.td-view-list .td-dashboard-home-layout{
  display:grid !important;
  gap:var(--td-space-4,20px) !important;
  align-items:start !important;
}

body.td-view-dashboard .td-dashboard-home-layout__main,
body.td-view-home .td-dashboard-home-layout__main,
body.td-view-list .td-dashboard-home-layout__main,
body.td-view-dashboard .td-dashboard-home-layout__side,
body.td-view-home .td-dashboard-home-layout__side,
body.td-view-list .td-dashboard-home-layout__side,
body.td-view-dashboard .td-dashboard-home-layout__entries,
body.td-view-home .td-dashboard-home-layout__entries,
body.td-view-list .td-dashboard-home-layout__entries{
  min-width:0 !important;
}

body.td-view-dashboard .td-dashboard-home-layout__main,
body.td-view-home .td-dashboard-home-layout__main,
body.td-view-list .td-dashboard-home-layout__main,
body.td-view-dashboard .td-dashboard-home-layout__side,
body.td-view-home .td-dashboard-home-layout__side,
body.td-view-list .td-dashboard-home-layout__side{
  display:grid !important;
  gap:var(--td-space-4,20px) !important;
  align-content:start !important;
}

body.td-view-dashboard .td-dashboard-home-layout__summary,
body.td-view-home .td-dashboard-home-layout__summary,
body.td-view-list .td-dashboard-home-layout__summary{
  display:grid !important;
  gap:var(--td-space-4,20px) !important;
  grid-template-columns:minmax(0,1fr) !important;
}

body.td-view-dashboard .td-dashboard-home-layout__summary > *,
body.td-view-home .td-dashboard-home-layout__summary > *,
body.td-view-list .td-dashboard-home-layout__summary > *{
  min-width:0 !important;
}

body.td-view-list .td-dashboard-home-layout__decor{
  min-height:104px !important;
  background:url(../images/td-dog-silhouettes-brown.png) left center / auto 72px no-repeat !important;
  opacity:.14 !important;
  pointer-events:none !important;
}

body.td-view-list .td-dashboard-home-layout__entries:empty{
  display:none !important;
}

body.td-view-dashboard .td-dashboard-home-layout__entries .td-dash-card--all-entries,
body.td-view-home .td-dashboard-home-layout__entries .td-dash-card--all-entries,
body.td-view-list .td-dashboard-home-layout__entries .td-dash-card--all-entries{
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
}

@media (min-width: 768px){
  body.td-view-dashboard .td-dashboard-home-layout__entries .td-dash-card--all-entries,
  body.td-view-home .td-dashboard-home-layout__entries .td-dash-card--all-entries,
  body.td-view-list .td-dashboard-home-layout__entries .td-dash-card--all-entries{
    min-height:365px !important;
    justify-content:center !important;
  }
}

body.td-view-dashboard .td-dashboard-home-layout__side > * + *,
body.td-view-home .td-dashboard-home-layout__side > * + *,
body.td-view-list .td-dashboard-home-layout__side > * + *{
  margin-top:0 !important;
}

body.td-view-dashboard .td-dashboard-home-layout__side > .td-dash-card,
body.td-view-home .td-dashboard-home-layout__side > .td-dash-card,
body.td-view-list .td-dashboard-home-layout__side > .td-dash-card,
body.td-view-dashboard .td-dashboard-home-layout__main > .td-dash-card,
body.td-view-home .td-dashboard-home-layout__main > .td-dash-card,
body.td-view-list .td-dashboard-home-layout__main > .td-dash-card{
  min-height:0 !important;
  height:auto !important;
}

@media (min-width: 1024px){
  body.td-view-dashboard .td-dashboard-home-layout,
  body.td-view-home .td-dashboard-home-layout,
  body.td-view-list .td-dashboard-home-layout{
    grid-template-columns:minmax(0,1.75fr) 320px !important;
    grid-template-areas:
      "main side"
      "entries entries" !important;
  }

  body.td-view-list .td-dashboard-home-layout{
    grid-template-columns:minmax(0,1.75fr) 320px !important;
    align-items:start !important;
  }

  body.td-view-dashboard .td-dashboard-home-layout__main,
  body.td-view-home .td-dashboard-home-layout__main,
  body.td-view-list .td-dashboard-home-layout__main{grid-area:main !important;}

  body.td-view-dashboard .td-dashboard-home-layout__side,
  body.td-view-home .td-dashboard-home-layout__side,
  body.td-view-list .td-dashboard-home-layout__side{grid-area:side !important;}

  body.td-view-dashboard .td-dashboard-home-layout__entries,
  body.td-view-home .td-dashboard-home-layout__entries,
  body.td-view-list .td-dashboard-home-layout__entries{grid-area:entries !important;}

  body.td-view-dashboard .td-dashboard-home-layout__summary,
  body.td-view-home .td-dashboard-home-layout__summary,
  body.td-view-list .td-dashboard-home-layout__summary{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:start !important;
  }

  body.td-view-list .td-dashboard-home-layout__summary--list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:start !important;
  }

  body.td-view-list .td-dashboard-home-layout__main{
    grid-template-rows:auto auto auto !important;
  }
}

body.td-page.td-view-calendar .td-calendar-layout__sidebar--next{
  align-content:start !important;
}
body.td-page.td-view-calendar .td-calendar-layout__sidebar--next::before{
  display:none !important;
}
body.td-shell-standalone .td-access-card{
  background:#fffaf4 !important;
}
body.td-shell-standalone .td-access-card__btn,

body.traningsdagbok.td-shell-standalone .td-access-card__title,
body.traningsdagbok.td-shell-standalone .td-access-card__text,
body.traningsdagbok.td-shell-standalone .td-access-card__actions{
  margin-left:0 !important;
  padding-left:0 !important;
}

body.traningsdagbok.td-shell-standalone .td-access-card__text{
  margin:0 !important;
  max-width:none !important;
}

@media (max-width:781.98px){
  body.traningsdagbok.td-shell-standalone .td-access-card{
    padding:20px !important;
  }
}

body.td-shell-standalone .td-share-error .button,
body.td-shell-standalone .td-share-actions .button{
  border-radius:5px !important;
}
body.td-shell-standalone .td-access-card__btn--login,
body.td-shell-standalone .td-access-card__btn--join,
body.td-shell-standalone .td-share-error .button.button-primary,
body.td-shell-standalone .td-share-actions .button.button-primary{
  background:#c95f1d !important;
  border-color:#c95f1d !important;
  color:#fff !important;
}
body.td-shell-standalone .td-access-card__btn--switch,
body.td-shell-standalone .td-share-error .button:not(.button-primary),
body.td-shell-standalone .td-share-actions .button:not(.button-primary){
  background:#fff !important;
  color:#2f2a26 !important;
  border:1px solid rgba(47,42,38,.14) !important;
}

body.td-shell-standalone.td-share-single .td-main__body{
  padding-top:32px !important;
}
body.td-shell-standalone .td-no-access-shell,
body.td-shell-standalone .td-shell-family__content{
  padding-top:32px !important;
}

body.td-page .td-calendar-ical-link::before,
body.td-page .td-calendar-ical-link::after{
  content:none !important;
  display:none !important;
}
body.td-page .td-calendar-ical-link{
  white-space:nowrap !important;
  line-height:1.25 !important;
  position:relative !important;
  z-index:2 !important;
}
@media (min-width:768px){
  .td-calendar-mobile-subscribe{display:none !important;}
  body.td-page.td-view-calendar .td-calendar-controls__right{display:flex !important;}
}
@media (max-width:767px){
  body.td-page.td-view-calendar .td-calendar-controls__right{display:none !important;}
  .td-calendar-mobile-subscribe{display:flex !important;justify-content:flex-end !important;margin:0 0 12px !important;}
  .td-calendar-mobile-subscribe .td-calendar-ical-link{display:inline-flex !important;color:var(--td-shell-primary) !important;text-decoration:underline !important;}
}
body.td-shell-standalone .td-share-error .button,
body.td-shell-standalone .td-access-card__btn{
  border-radius:5px !important;
  overflow:hidden !important;
  clip-path:none !important;
}
body.td-shell-standalone .td-share-error .button.button-primary,
body.td-shell-standalone .td-access-card__btn--join,
body.td-shell-standalone .td-access-card__btn--login{
  background:#c95f1d !important;
  border-color:#c95f1d !important;
  color:#fff !important;
}

body.td-view-list .td-dashboard > .td-dash-card--all-entries{
  grid-column:1 !important;
}
@media (min-width: 900px){
  body.td-view-list .td-dashboard{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px !important;
    grid-template-areas:
      "most-important most-important award"
      "next-entry latest weekly"
      "all-entries all-entries inspiration"
      "all-entries all-entries qa" !important;
    align-items:stretch !important;
  }
  body.td-view-list .td-dashboard > .td-dash-card--most-important{grid-area:most-important !important;}
  body.td-view-list .td-dashboard > .td-dash-card--award{grid-area:award !important;}
  body.td-view-list .td-dashboard > .td-dash-card--next-entry{grid-area:next-entry !important;}
  body.td-view-list .td-dashboard > .td-dash-card--latest{grid-area:latest !important;}
  body.td-view-list .td-dashboard > .td-dash-card--weekly-stats{grid-area:weekly !important;}
  body.td-view-list .td-dashboard > .td-dash-card--all-entries{grid-area:all-entries !important;min-height:365px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;}
  body.td-view-list .td-dashboard > .td-dash-card--inspiration{grid-area:inspiration !important;}
  body.td-view-list .td-dashboard > .td-dash-card--qa{grid-area:qa !important;grid-row:auto !important;}
}

body.td-page.td-view-calendar .td-calendar-form__toggle{
  display:none !important;
}
body.td-page.td-view-calendar .td-calendar-controls__right{
  min-width:max-content !important;
  max-width:none !important;
  justify-content:flex-end !important;
}
body.td-page.td-view-calendar .td-calendar-ical-link{
  display:inline-flex !important;
  align-items:center !important;
  margin-left:0 !important;
}
@media (min-width:768px){
  body.td-page.td-view-calendar .td-calendar-controls{
    grid-template-columns:minmax(0,1fr) max-content !important;
  }
  body.td-page.td-view-calendar .td-calendar-controls__row{
    grid-template-columns:auto !important;
  }
  body.td-page.td-view-calendar .td-calendar-form{
    grid-template-columns:minmax(180px,220px) !important;
  }
}
body.td-shell-standalone .td-access-card__btn--login,
body.td-shell-standalone .td-access-card__btn--join,
body.td-shell-standalone .td-share-error .button.button-primary{
  border-radius:5px !important;
  border-top-left-radius:16px !important;
  border-top-right-radius:16px !important;
  border-bottom-left-radius:16px !important;
  border-bottom-right-radius:16px !important;
}
body.td-shell-standalone .td-access-card__btn--login::before,
body.td-shell-standalone .td-access-card__btn--login::after,
body.td-shell-standalone .td-access-card__btn--join::before,
body.td-shell-standalone .td-access-card__btn--join::after{
  content:none !important;
  display:none !important;
}
body.td-share-single .td-shell__chrome,
body.td-share-single .td-chrome{
  display:block !important;
  visibility:visible !important;
}

body.td-share-single .td-nav--desktop nav,
body.td-share-single #td-nav nav{
  display:flex !important;
}
@media (min-width:900px){
  body.td-view-list.td-layout-1 .td-dashboard{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px !important;
    grid-template-areas:
      "most-important most-important award"
      "next-entry latest weekly"
      "qa qa inspiration" !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-2 .td-dashboard{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px !important;
    grid-template-areas:
      "most-important most-important award"
      "next-entry latest weekly"
      "inspiration inspiration qa" !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--all-entries,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--all-entries{
    display:none !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--most-important,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--most-important{grid-area:most-important !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--award,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--award{grid-area:award !important;align-self:start !important;min-height:0 !important;height:auto !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--next-entry,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--next-entry{grid-area:next-entry !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--latest,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--latest{grid-area:latest !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--weekly-stats,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--weekly-stats{grid-area:weekly !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--qa,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--qa{grid-area:qa !important;}
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--inspiration,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--inspiration{grid-area:inspiration !important;min-height:0 !important;}
  body.td-view-list.td-layout-1 .td-postits-grid,
  body.td-view-list.td-layout-2 .td-postits-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.td-view-list.td-layout-1 .td-dash-card--inspiration .td-dash-insp__img img,
  body.td-view-list.td-layout-2 .td-dash-card--inspiration .td-dash-insp__img img{
    max-height:140px !important;
    object-fit:cover !important;
    width:100% !important;
  }
}

body.td-page.td-view-calendar .td-calendar-form__toggle{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap !important;
}
body.td-page.td-view-calendar .td-calendar-controls__right{
  display:none !important;
}
body.td-page.td-view-calendar .td-calendar-controls__row{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:12px !important;
  width:100% !important;
}
body.td-page.td-view-calendar .td-calendar-controls__buttons{
  flex:0 0 auto !important;
}
body.td-page.td-view-calendar .td-calendar-form{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
  flex:1 1 auto !important;
}
body.td-page.td-view-calendar .td-calendar-form__month{
  flex:0 0 190px !important;
  width:190px !important;
  max-width:190px !important;
}
body.td-page.td-view-calendar .td-calendar-layout__sidebar{
  display:grid !important;
  gap:16px !important;
  align-content:start !important;
}
body.td-page.td-view-calendar .td-calendar-subscribe-card{
  margin:0 !important;
}
body.td-page.td-view-calendar .td-calendar-subscribe-card__body{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
body.td-page.td-view-calendar .td-calendar-ical-link--card{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  text-decoration:underline !important;
  white-space:normal !important;
  line-height:1.35 !important;
}
body.td-page.td-view-calendar .td-calendar-ical-link--card .dashicons{
  width:18px !important;
  height:18px !important;
  font-size:18px !important;
}
@media (max-width:768px){
  body.td-page.td-view-calendar .td-calendar-controls__row{
    flex-wrap:wrap !important;
    align-items:flex-start !important;
  }
  body.td-page.td-view-calendar .td-calendar-form{
    flex-wrap:wrap !important;
    width:100% !important;
  }
  body.td-page.td-view-calendar .td-calendar-form__month{
    flex:1 1 190px !important;
    width:auto !important;
    max-width:none !important;
  }
}

@media (min-width:900px){
  body.td-view-list.td-layout-1 .td-dashboard,
  body.td-view-list.td-layout-2 .td-dashboard{
    display:block !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card,
  body.td-view-list.td-layout-1 .td-dashboard > .td-dashboard-layout,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dashboard-layout{
    grid-area:auto !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard > .td-dash-card--all-entries,
  body.td-view-list.td-layout-2 .td-dashboard > .td-dash-card--all-entries{
    display:none !important;
  }
  body.td-view-list .td-dashboard-layout--alt{
    display:grid !important;
    gap:16px !important;
  }
  body.td-view-list .td-dashboard-layout__hero{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list .td-dashboard-layout__hero-side{
    display:grid !important;
    gap:16px !important;
    align-content:start !important;
  }
  body.td-view-list .td-dashboard-layout__hero-side > .td-dash-card--award,
  body.td-view-list .td-dashboard-layout__hero-side > .td-dash-card--weekly-stats{
    min-height:0 !important;
    height:auto !important;
    align-self:start !important;
  }
  body.td-view-list .td-dashboard-layout__stats{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list .td-dashboard-layout__tail{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-2 .td-dashboard-layout__tail{
    grid-template-columns:minmax(0,1fr) 320px !important;
  }
  body.td-view-list .td-dashboard-layout__tail-main,
  body.td-view-list .td-dashboard-layout__tail-side{
    min-width:0 !important;
  }
  body.td-view-list .td-dashboard-layout__tail-side > .td-dash-card,
  body.td-view-list .td-dashboard-layout__tail-main > .td-dash-card{
    min-height:0 !important;
    height:auto !important;
  }
  body.td-view-list.td-layout-1 .td-postits-grid,
  body.td-view-list.td-layout-2 .td-postits-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dash-card--inspiration,
  body.td-view-list.td-layout-2 .td-dash-card--inspiration{
    min-height:0 !important;
    display:grid !important;
    gap:12px !important;
    grid-template-columns:96px minmax(0,1fr) !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dash-card--inspiration .td-dash-title,
  body.td-view-list.td-layout-2 .td-dash-card--inspiration .td-dash-title{
    grid-column:1 / -1 !important;
  }
  body.td-view-list.td-layout-1 .td-dash-card--inspiration .td-dash-insp__img,
  body.td-view-list.td-layout-2 .td-dash-card--inspiration .td-dash-insp__img{
    min-height:96px !important;
    max-height:96px !important;
    overflow:hidden !important;
  }
  body.td-view-list.td-layout-1 .td-dash-card--inspiration .td-dash-insp__img img,
  body.td-view-list.td-layout-2 .td-dash-card--inspiration .td-dash-insp__img img{
    width:100% !important;
    height:96px !important;
    max-height:96px !important;
    object-fit:cover !important;
  }
}

body.td-view-list .td-dashboard-layout__hero-side > .td-dash-card--qa,
body.td-view-list .td-dashboard-layout__hero-side > .td-dash-card--sessions,
body.td-view-list .td-dashboard-layout__hero-side > .td-dash-card--recordings{
  min-height:0 !important;
  height:auto !important;
  align-self:start !important;
}
body.td-view-list.td-layout-1 .td-dashboard-layout__stats--with-side{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 320px !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:start !important;
}
body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side{
  min-width:0 !important;
  display:grid !important;
  gap:16px !important;
  align-content:start !important;
}
body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side > .td-dash-card{
  min-height:0 !important;
  height:auto !important;
}
body.td-view-list.td-layout-2 .td-dashboard-layout__tail{
  grid-template-columns:minmax(0,1fr) !important;
}
@media (max-width: 1024px){
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats--with-side,
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main,
  body.td-view-list.td-layout-2 .td-dashboard-layout__stats{
    grid-template-columns:minmax(0,1fr) !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
  }
}

body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  align-items:start !important;
}
body.td-view-list.td-layout-1 .td-dashboard-layout__stats-decor{
  grid-column:1 / span 2 !important;
  min-height:110px !important;
  background:url(../images/td-dog-silhouettes-brown.png) center 24px / auto 72px no-repeat !important;
  opacity:.16 !important;
  pointer-events:none !important;
}
@media (max-width: 1024px){
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-decor{
    display:none !important;
  }
}

body.td-shell-standalone .td-share-error .button,
body.td-shell-standalone .td-share-actions .button,
body.td-shell-standalone .td-card .td-u-flex-row .button,
body.td-shell-standalone .td-access-card__actions .button,
body.td-shell-standalone .td-wpcw-noaccess-cta .button{
  border-radius:5px !important;
  overflow:hidden !important;
  background-clip:padding-box !important;
  -webkit-mask-image:-webkit-radial-gradient(white, black) !important;
}

body.td-shell-standalone .td-share-error .button.button-primary,
body.td-shell-standalone .td-share-actions .button.button-primary,
body.td-shell-standalone .td-access-card__actions .button.button-primary,
body.td-shell-standalone .td-wpcw-noaccess-cta .button.button-primary{
  background:var(--td-color-accent, #c96f32) !important;
  color:#fff !important;
  border-color:transparent !important;
}

body.td-shell-standalone .td-share-error .button:not(.button-primary),
body.td-shell-standalone .td-access-card__actions .button:not(.button-primary),
body.td-shell-standalone .td-wpcw-noaccess-cta .button:not(.button-primary){
  background:var(--td-color-accent, #c96f32) !important;
  color:#fff !important;
  border-color:transparent !important;
}

body.td-shell-standalone .td-share-error .button,
body.td-shell-standalone .td-share-actions .button,
body.td-shell-standalone .td-card .td-u-flex-row .button,
body.td-shell-standalone .td-access-card__actions .button,
body.td-shell-standalone .td-wpcw-noaccess-cta .button,
.traningsdagbok.td-page .td-access-card__actions .button,
.traningsdagbok.td-page .td-share-actions .button,
.traningsdagbok.td-page .td-share-error .button{
  border-radius:5px !important;
  overflow:hidden !important;
  background-clip:padding-box !important;
}

body.td-courseware-app .td-wpcw-noaccess-cta{
  width:100% !important;
  max-width:760px !important;
  margin:16px auto 0 !important;
  justify-content:flex-start !important;
  box-sizing:border-box !important;
}

body.td-courseware-app .td-wpcw-noaccess-cta .button,
body.td-courseware-app .td-wpcw-noaccess-cta a.button,
body.td-courseware-app .td-card--course-surface .td-card--flat .button,
body.td-courseware-app .td-card--course-surface .td-card--flat a.button,
body.td-courseware-app .wpcw_fe_navigation_box .fe_btn,
body.td-courseware-app .wpcw-unit-navigation .fe_btn{
  border-radius:5px !important;
}

body.td-courseware-app .td-wpcw-noaccess-cta .button.button-primary,
body.td-courseware-app .td-wpcw-noaccess-cta a.button.button-primary,
body.td-courseware-app .td-card--course-surface .td-card--flat .button.button-primary,
body.td-courseware-app .td-card--course-surface .td-card--flat a.button.button-primary,
body.td-courseware-app .wpcw_fe_navigation_box .fe_btn.fe_btn_navigation,
body.td-courseware-app .wpcw-unit-navigation .fe_btn{
  background:#c65a1e !important;
  color:#fff !important;
  border-color:#c65a1e !important;
}

body.td-courseware-app .td-wpcw-noaccess-cta .button:not(.button-primary),
body.td-courseware-app .td-wpcw-noaccess-cta a.button:not(.button-primary){
  background:#fff !important;
  color:#2f221b !important;
  border:1px solid rgba(47,34,27,.16) !important;
}

html.td-shell-standalone,
body.traningsdagbok.td-shell-standalone{
  margin:0 !important;
  padding:0 !important;
  background:var(--td-shell-bg, #f6f1ea) !important;
}

body.traningsdagbok.td-shell-standalone .td-access-card__text,
body.traningsdagbok.td-shell-standalone .td-share-error p,
body.traningsdagbok.td-shell-standalone .td-card.td-error p{
  font-family:var(--e-global-typography-text-font-family, inherit) !important;
}

body.traningsdagbok.td-shell-standalone .td-access-card__title,
body.traningsdagbok.td-shell-standalone .td-access-card__text{
  margin-left:0 !important;
  padding-left:0 !important;
  text-indent:0 !important;
  text-align:left !important;
}

body.traningsdagbok.td-shell-standalone .td-access-card__text{
  max-width:34ch !important;
}

body.td-shell-standalone .td-share-error .button,
body.td-shell-standalone .td-share-actions .button,
body.td-shell-standalone .td-access-card__actions .button,
body.td-shell-standalone .td-wpcw-noaccess-cta .button,
body.td-courseware-app .td-wpcw-noaccess-cta .button,
body.td-courseware-app .td-card--course-surface .td-card--flat .button,
body.td-share-single .td-share-actions .button,
body.td-share-single .td-share-error .button{
  border-radius:5px !important;
  -webkit-appearance:none !important;
  appearance:none !important;
  clip-path:inset(0 round 5px) !important;
  overflow:hidden !important;
  background-clip:padding-box !important;
}

body.td-shell-standalone .td-share-error .button::before,
body.td-shell-standalone .td-share-actions .button::before,
body.td-shell-standalone .td-access-card__actions .button::before,
body.td-shell-standalone .td-wpcw-noaccess-cta .button::before,
body.td-courseware-app .td-wpcw-noaccess-cta .button::before,
body.td-courseware-app .td-card--course-surface .td-card--flat .button::before,
body.td-share-single .td-share-actions .button::before,
body.td-share-single .td-share-error .button::before,
body.td-shell-standalone .td-share-error .button::after,
body.td-shell-standalone .td-share-actions .button::after,
body.td-shell-standalone .td-access-card__actions .button::after,
body.td-shell-standalone .td-wpcw-noaccess-cta .button::after,
body.td-courseware-app .td-wpcw-noaccess-cta .button::after,
body.td-courseware-app .td-card--course-surface .td-card--flat .button::after,
body.td-share-single .td-share-actions .button::after,
body.td-share-single .td-share-error .button::after{
  border-radius:5px !important;
}

body.td-shell-standalone .td-access-card__actions .button,
body.td-shell-standalone .td-access-card__actions .button.button-primary,
body.td-shell-standalone .td-access-card__actions .button:not(.button-primary),
body.td-courseware-app .td-wpcw-noaccess-cta .button,
body.td-courseware-app .td-wpcw-noaccess-cta .button.button-primary,
body.td-share-single .td-share-error .button,
body.td-share-single .td-share-actions .button,
body.td-share-single .td-share-error .button.button-primary,
body.td-share-single .td-share-actions .button.button-primary{
  background:#c65a1e !important;
  color:#fff !important;
  border-color:#c65a1e !important;
}

@media (max-width: 767px){
  

  

  body.traningsdagbok.td-shell-standalone .td-main__body,
  body.traningsdagbok.td-shell-standalone .td-shell-family__content{
    padding-top:16px !important;
    padding-bottom:48px !important;
  }

  body.traningsdagbok.td-shell-standalone .td-card.td-error,
  body.traningsdagbok.td-shell-standalone .td-access-card{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:20px !important;
  }

  body.traningsdagbok.td-shell-standalone .td-access-card__actions,
  body.traningsdagbok.td-shell-standalone .td-share-actions,
  body.traningsdagbok.td-shell-standalone .td-u-flex-row,
  body.td-courseware-app .td-wpcw-noaccess-cta{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    justify-content:flex-start !important;
  }

  body.traningsdagbok.td-shell-standalone .td-access-card__actions .button,
  body.traningsdagbok.td-shell-standalone .td-share-actions .button,
  body.traningsdagbok.td-shell-standalone .td-u-flex-row .button,
  body.td-courseware-app .td-wpcw-noaccess-cta .button{
    min-width:0 !important;
    width:auto !important;
    flex:0 0 auto !important;
  }
}

body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-btn,
body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-btn--primary,
body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-access-card__btn--login,
body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-access-card__btn--join{
  background:#c65a1e !important;
  color:#fffaf1 !important;
  border:0 !important;
  border-radius:5px !important;
  text-decoration:none !important;
  box-shadow:none !important;
}

body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-btn--secondary,
body.traningsdagbok.td-shell-standalone .td-access-card__actions .td-access-card__btn--switch{
  border-radius:5px !important;
}

body.td-page.td-view-help .td-help-card,
body.td-help-archive .td-help-card,
body.td-help-single .td-help-card,
body.td-page.td-view-help .td-help-list-wrap,
body.td-help-archive .td-help-list-wrap{
  background:var(--td-shell-surface) !important;
  border-color:var(--td-shell-border) !important;
}
body.td-page.td-view-help .td-help-card__media,
body.td-help-archive .td-help-card__media,
body.td-help-single .td-help-card__media{
  background:var(--td-shell-surface-2) !important;
}

body.td-page.td-view-settings .td-card--settings-dogs,
body.td-page.td-view-notifications .td-card--notification-settings{
  padding:20px !important;
}

body.td-page.td-view-settings .td-dogs-list{gap:18px !important;}
body.td-page.td-view-settings .td-dogs-row,
body.td-page.td-view-settings .td-dogs-add{
  align-items:start !important;
  width:100% !important;
}
body.td-page.td-view-settings .td-dogs-row__avatar,
body.td-page.td-view-settings .td-dogs-add__avatar{
  width:100% !important;
  min-height:0 !important;
}
body.td-page.td-view-settings .td-dogs-row__avatar img,
body.td-page.td-view-settings .td-dogs-row__avatar .td-u-thumb--dog{
  width:96px !important;
  height:96px !important;
}

body.td-page.td-view-settings .td-u-label-stack,
body.td-page.td-view-notifications .td-u-label-block{
  display:grid !important;
  gap:6px !important;
}
body.td-page.td-view-settings .td-u-label-stack > span,
body.td-page.td-view-settings .td-u-label-stack .td-muted,
body.td-page.td-view-notifications .td-u-label-block{
  line-height:1.35 !important;
}
body.td-page.td-view-settings .td-dogs-row input[type="text"],
body.td-page.td-view-settings .td-dogs-row input[type="date"],
body.td-page.td-view-settings .td-dogs-row input[type="file"],
body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-row select,
body.td-page.td-view-settings .td-dogs-add input[type="text"],
body.td-page.td-view-settings .td-dogs-add input[type="date"],
body.td-page.td-view-settings .td-dogs-add input[type="file"],
body.td-page.td-view-settings .td-dogs-add textarea,
body.td-page.td-view-settings .td-dogs-add select{
  width:100% !important;
  box-sizing:border-box !important;
}
body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-add textarea{
  min-height:120px !important;
}

body.td-page.td-view-notifications .td-card--notification-settings{
  display:grid !important;
  gap:14px !important;
}

body.td-view-help .td-settings-tabs,
body.td-view-settings .td-settings-tabs,
body.td-view-account .td-settings-tabs,
body.td-view-notifications .td-settings-tabs,
body.td-view-instructor .td-settings-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin:0 0 16px !important;
}
body.td-view-help .td-settings-tabs__link,
body.td-view-settings .td-settings-tabs__link,
body.td-view-account .td-settings-tabs__link,
body.td-view-notifications .td-settings-tabs__link,
body.td-view-instructor .td-settings-tabs__link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  padding:8px 14px !important;
  border-radius:5px !important;
  border:1px solid rgba(127,95,64,.18) !important;
  background:#fffaf4 !important;
  color:var(--td-shell-text) !important;
  text-decoration:none !important;
  font-weight:600 !important;
}
body.td-view-help .td-settings-tabs__link.is-active,
body.td-view-settings .td-settings-tabs__link.is-active,
body.td-view-account .td-settings-tabs__link.is-active,
body.td-view-notifications .td-settings-tabs__link.is-active,
body.td-view-instructor .td-settings-tabs__link.is-active{
  background:var(--td-shell-primary) !important;
  border-color:var(--td-shell-primary) !important;
  color:#fff !important;
}

@media (max-width: 767px){
  body.td-help-single .td-main__body,
  body.single-td_help .td-main__body,
  body.td-entry-single .td-main__body,
  body.single-td_entry .td-main__body{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  body.td-help-single .td-help-article-layout.td-card,
  body.single-td_help .td-help-article-layout.td-card,
  body.td-entry-single .td-entry-view__content,
  body.single-td_entry .td-entry-view__content,
  body.td-entry-single .td-entry-view--single-cpt,
  body.single-td_entry .td-entry-view--single-cpt,
  body.td-entry-single .td-card.td-entry-view-card,
  body.single-td_entry .td-card.td-entry-view-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  body.td-view-instructor .td-instructor-sent__list,
  body.td-view-instructor .td-instructor-student-list{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    margin-top:16px !important;
  }
  body.td-view-instructor .td-instructor-sent__item,
  body.td-view-instructor .td-instructor-student-card{
    background:var(--td-bg) !important;
    box-shadow:var(--td-shadow-sm) !important;
    border-radius:var(--td-radius-md) !important;
    border:0 !important;
    margin:0 !important;
    padding:12px 14px !important;
  }
  body.td-view-instructor .td-instructor-sent__item-head,
  body.td-view-instructor .td-instructor-student-card__head{
    display:block !important;
    margin:0 !important;
  }
  body.td-view-instructor .td-instructor-sent__item .td-edit-question-title,
  body.td-view-instructor .td-instructor-student-card .td-edit-question-title{
    margin:0 !important;
    font-size:1rem !important;
    line-height:1.35 !important;
  }
  body.td-view-instructor .td-instructor-sent__item .td-edit-question-title a,
  body.td-view-instructor .td-instructor-student-card .td-edit-question-title a{
    color:inherit !important;
    text-decoration:none !important;
  }
  body.td-view-instructor .td-instructor-sent__item .td-entries-mobile-meta,
  body.td-view-instructor .td-instructor-student-card .td-entries-mobile-meta{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    margin-top:8px !important;
    color:var(--td-muted,#6b6b6b) !important;
    font-size:14px !important;
    line-height:1.35 !important;
  }
  body.td-view-instructor .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    gap:10px !important;
    margin-top:10px !important;
    padding-top:2px !important;
    border:0 !important;
  }
  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    border-radius:var(--td-radius-action, 10px) !important;
  }
  body.td-view-instructor .td-instructor-student-card__meta,
  body.td-view-instructor .td-instructor-sent__item .td-muted{
    display:none !important;
  }
}

body.td-help-single,
body.td-help-archive,
body.td-courseware-app,
body.td-wpcw-course,
body.td-wpcw-unit,
body.single-course,
body.single-course_unit,
body.single-td_help{
  --td-shell-cpt-top: rgba(125,94,75,.96);
  --td-shell-cpt-bottom: rgba(47,34,27,.99);
}





@media (min-width: 1024px){
  

  

  body.td-view-exercises .td-page-frame__stack--exercises,
  body.td-view-exercises .td-view-stack--exercises,
  body.td-view-exercises .td-stack{
    max-width:min(1280px, calc(100vw - 64px)) !important;
    width:100% !important;
  }

  body.td-view-exercises .td-card{
    width:100% !important;
    max-width:none !important;
    overflow:visible !important;
  }

  body.td-view-exercises .td-overflow-auto{
    overflow-x:auto !important;
    padding-bottom:4px !important;
  }

  body.td-view-exercises .td-table--courses{
    width:100% !important;
    min-width:1180px !important;
    table-layout:fixed !important;
  }

  body.td-view-exercises .td-table--courses th,
  body.td-view-exercises .td-table--courses td{
    overflow:visible !important;
    vertical-align:top !important;
  }

  body.td-view-exercises .td-table--courses th:first-child,
  body.td-view-exercises .td-table--courses td:first-child{
    width:24% !important;
  }

  body.td-view-exercises .td-table--courses th:not(:first-child),
  body.td-view-exercises .td-table--courses td:not(:first-child){
    width:19% !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-stack--gap4{
    display:grid !important;
    gap:8px !important;
    width:100% !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-exercise-cell{
    display:block !important;
    width:100% !important;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  body.td-view-exercises .td-progress-inline{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    width:100% !important;
  }

  body.td-view-exercises .td-progress-inline__bar{
    flex:1 1 auto !important;
    width:100% !important;
    min-width:180px !important;
  }

  body.td-view-instructor .td-instructor-page__grid--create{
    grid-template-columns:minmax(0,1fr) !important;
  }

  body.td-view-instructor .td-instructor-form,
  body.td-view-instructor .td-instructor-page__main,
  body.td-view-instructor .td-instructor-page__side{
    width:100% !important;
    max-width:none !important;
  }
}

body.td-view-instructor .td-instructor-results.td-weekplan-results{
  overflow:auto !important;
  max-height:260px !important;
  background:#fffaf4 !important;
  border:1px solid rgba(127,95,64,.18) !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:grid !important;
  gap:4px !important;
  align-items:start !important;
  width:100% !important;
  margin:0 !important;
  padding:12px 14px !important;
  border:0 !important;
  border-bottom:1px solid rgba(127,95,64,.14) !important;
  border-radius:0 !important;
  background:#fffaf4 !important;
  color:var(--td-shell-text) !important;
  box-shadow:none !important;
  text-align:left !important;
  text-decoration:none !important;
  font:inherit !important;
  line-height:1.35 !important;
  white-space:normal !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item:last-child,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:last-child{
  border-bottom:0 !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item:hover,
body.td-view-instructor .td-instructor-results .td-ac-item:focus,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:hover,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:focus{
  background:#fff3e6 !important;
}

body.td-view-instructor .td-instructor-results__primary{
  display:block !important;
  color:var(--td-shell-text) !important;
  font-weight:700 !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}

body.td-view-instructor .td-instructor-results__secondary{
  display:block !important;
  color:var(--td-muted,#6b6b6b) !important;
  font-size:.92rem !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}

body.td-view-instructor .td-instructor-selected{
  margin-top:12px !important;
}

body.td-view-instructor .td-instructor-selected__item{
  background:#fffaf1 !important;
  border:1px solid rgba(127,95,64,.18) !important;
}

body.td-view-instructor .td-instructor-section--followup{
  margin-top:16px !important;
  padding-top:16px !important;
  border-top:1px solid rgba(127,95,64,.14) !important;
}

@media (max-width: 767px){
  body.td-view-instructor .td-instructor-sent__list,
  body.td-view-instructor .td-instructor-student-list{
    gap:10px !important;
  }

  body.td-view-instructor .td-instructor-sent__item,
  body.td-view-instructor .td-instructor-student-card{
    padding:0 !important;
    overflow:hidden !important;
    border:1px solid rgba(127,95,64,.14) !important;
    box-shadow:none !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(odd),
  body.td-view-instructor .td-instructor-student-card:nth-child(odd){
    background:#fffaf4 !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(even),
  body.td-view-instructor .td-instructor-student-card:nth-child(even){
    background:rgba(0,0,0,0.035) !important;
  }

  body.td-view-instructor .td-instructor-sent__item-head,
  body.td-view-instructor .td-instructor-student-card__head{
    padding:12px 14px 0 !important;
    display:block !important;
  }

  body.td-view-instructor .td-instructor-sent__item-title-wrap,
  body.td-view-instructor .td-instructor-student-card__title-wrap{
    min-width:0 !important;
  }

  body.td-view-instructor .td-instructor-sent__item .td-entries-mobile-meta,
  body.td-view-instructor .td-instructor-student-card .td-entries-mobile-meta{
    padding:8px 14px 12px !important;
    margin-top:0 !important;
    gap:6px !important;
  }

  body.td-view-instructor .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    padding:10px 14px !important;
    margin-top:0 !important;
    border-top:1px solid rgba(127,95,64,.12) !important;
    background:rgba(255,255,255,.72) !important;
  }

  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn{
    width:40px !important;
    height:36px !important;
    min-width:40px !important;
    border-radius:10px !important;
    border:1px solid rgba(198,90,30,.18) !important;
    background:rgba(198,90,30,.08) !important;
    color:var(--td-shell-primary) !important;
  }

  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn .dashicons,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn .dashicons{
    color:var(--td-shell-primary) !important;
  }
}





body.td-view-instructor .td-instructor-form,
body.td-view-instructor .td-instructor-page__main,
body.td-view-instructor .td-instructor-page__side,
body.td-view-instructor .td-instructor-page__side .td-card{
  width:100% !important;
  max-width:none !important;
}

body.td-view-instructor .td-instructor-results.td-weekplan-results{
  background:#fffaf4 !important;
  border:1px solid rgba(127,95,64,.18) !important;
  border-radius:14px !important;
  overflow:auto !important;
  max-height:280px !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item{
  background:#fffaf4 !important;
}

@media (max-width: 767px){
  body.td-view-instructor .td-instructor-sent__list,
  body.td-view-instructor .td-instructor-student-list{
    gap:12px !important;
  }

  body.td-view-instructor .td-instructor-sent__item,
  body.td-view-instructor .td-instructor-student-card{
    border:0 !important;
    box-shadow:var(--td-shadow-sm) !important;
    border-radius:var(--td-radius-md) !important;
    overflow:hidden !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(odd),
  body.td-view-instructor .td-instructor-student-card:nth-child(odd){
    background:var(--td-bg) !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(even),
  body.td-view-instructor .td-instructor-student-card:nth-child(even){
    background:var(--td-zebra,#f2eee9) !important;
  }

  body.td-view-instructor .td-instructor-sent__item .td-edit-question-title a,
  body.td-view-instructor .td-instructor-student-card .td-edit-question-title a{
    color:inherit !important;
    text-decoration:none !important;
  }

  body.td-view-instructor .td-instructor-sent__item .td-entries-mobile-meta,
  body.td-view-instructor .td-instructor-student-card .td-entries-mobile-meta{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    margin-top:0 !important;
    padding:8px 14px 12px !important;
    color:var(--td-muted,#6b6b6b) !important;
    font-size:14px !important;
    line-height:1.35 !important;
  }

  body.td-view-instructor .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    gap:10px !important;
    padding:10px 14px !important;
    border-top:1px solid rgba(127,95,64,.12) !important;
    background:rgba(255,255,255,.72) !important;
  }

  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    border-radius:12px !important;
    border:1px solid rgba(198,90,30,.16) !important;
    background:#fff !important;
    color:var(--td-primary,#c46a2b) !important;
  }

  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn .dashicons,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn .dashicons{
    color:var(--td-primary,#c46a2b) !important;
  }
}

body.td-help-single,
body.td-help-archive,
body.single-td_help,
body.td-courseware-app,
body.td-wpcw-course,
body.td-wpcw-unit,
body.single-course,
body.single-course_unit,
body.td-entry-single,
body.single-td_entry{
  --td-shell-cpt-hero-top: rgba(118, 88, 69, .96);
  --td-shell-cpt-hero-bottom: rgba(47, 34, 27, .985);
  --td-shell-cpt-hero-overlay: linear-gradient(180deg, rgba(118,88,69,.14) 0%, rgba(47,34,27,.74) 100%);
}





@media (min-width: 1024px){
  

  
}

body.td-help-single,
body.td-help-archive,
body.single-td_help,
body.td-courseware-app,
body.td-wpcw-course,
body.td-wpcw-unit,
body.single-course,
body.single-course_unit,
body.td-entry-single,
body.single-td_entry{
  --td-shell-cpt-footer-opacity:.58;
  --td-shell-cpt-footer-filter:sepia(.24) saturate(1.06) brightness(.46);
}





body.td-view-instructor .td-instructor-results__primary{
  display:block !important;
  font-weight:700 !important;
  color:var(--td-shell-text,#2f2a26) !important;
  line-height:1.35 !important;
}

body.td-view-instructor .td-instructor-results__secondary{
  display:block !important;
  margin-top:2px !important;
  font-size:.92rem !important;
  color:var(--td-shell-text-soft,#6e655d) !important;
  line-height:1.35 !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item{
  display:block !important;
  width:100% !important;
  text-align:left !important;
  padding:12px 14px !important;
}

body.td-view-instructor .td-instructor-external input[type="text"],
body.td-view-instructor .td-instructor-external input[type="email"]{
  appearance:none !important;
  -webkit-appearance:none !important;
  background:#fff !important;
  border:1px solid rgba(47,42,38,.12) !important;
  box-shadow:none !important;
  outline:0 !important;
}

body.td-view-instructor .td-instructor-external input[type="text"]:focus,
body.td-view-instructor .td-instructor-external input[type="email"]:focus{
  border-color:rgba(198,90,30,.42) !important;
  box-shadow:0 0 0 3px rgba(198,90,30,.12) !important;
}

body.td-view-instructor .td-instructor-pass-recipients,
body.td-page .td-entry-instructor-recipients__list{
  margin:8px 0 0 18px !important;
  padding:0 !important;
}

body.td-view-instructor .td-instructor-pass-recipients li,
body.td-page .td-entry-instructor-recipients__list li{
  margin:0 0 4px !important;
}

@media (max-width:767px){
  body.td-view-instructor .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card__actions{
    background:transparent !important;
    border-top:1px solid rgba(127,95,64,.12) !important;
  }

  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn{
    background:transparent !important;
    border-color:rgba(198,90,30,.18) !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(odd) .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__item:nth-child(odd) .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card:nth-child(odd) .td-instructor-student-card__actions{
    background:var(--td-bg) !important;
  }

  body.td-view-instructor .td-instructor-sent__item:nth-child(even) .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__item:nth-child(even) .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card:nth-child(even) .td-instructor-student-card__actions{
    background:var(--td-zebra,#f2eee9) !important;
  }
}

body.td-help-single,
body.td-help-archive,
body.single-td_help,
body.td-courseware-app,
body.td-wpcw-course,
body.td-wpcw-unit,
body.single-course,
body.single-course_unit{
  --td-shell-cpt-hero-top: rgba(125,94,75,.96);
  --td-shell-cpt-hero-bottom: rgba(47,34,27,.99);
  --td-shell-cpt-hero-overlay: linear-gradient(180deg, rgba(125,94,75,.08) 0%, rgba(47,34,27,.42) 100%);
}

body.td-view-instructor .td-instructor-results{
  background:#fffaf4 !important;
  border:1px solid rgba(47,42,38,.10) !important;
  border-radius:18px !important;
  overflow:auto !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item{
  display:block !important;
  width:100% !important;
  text-align:left !important;
  white-space:normal !important;
  line-height:1.35 !important;
  min-height:auto !important;
  padding:12px 16px !important;
  background:#fffaf4 !important;
  color:var(--td-shell-text,#2f2a26) !important;
  border:0 !important;
  border-bottom:1px solid rgba(47,42,38,.08) !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body.td-view-instructor .td-instructor-results .td-ac-item:last-child,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:last-child{
  border-bottom:0 !important;
}
body.td-view-instructor .td-instructor-results .td-ac-item:hover,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:hover,
body.td-view-instructor .td-instructor-results .td-ac-item:focus,
body.td-view-instructor .td-instructor-results .td-instructor-results__item:focus{
  background:#f3ede5 !important;
  color:var(--td-shell-text,#2f2a26) !important;
}
body.td-view-instructor .td-instructor-results__primary{
  font-size:1rem !important;
  font-weight:700 !important;
}

body.td-view-instructor .td-instructor-external input[type="text"],
body.td-view-instructor .td-instructor-external input[type="email"]{
  border-radius:24px !important;
}

body.td-view-instructor .td-instructor-delete-form{
  display:inline-flex !important;
  margin:0 !important;
}

@media (max-width:767px){
  body.td-view-instructor .td-instructor-sent__item,
  body.td-view-instructor .td-instructor-student-card{
    overflow:hidden !important;
  }
  body.td-view-instructor .td-instructor-sent__item:nth-child(odd),
  body.td-view-instructor .td-instructor-student-card:nth-child(odd){
    background:var(--td-bg,#fffaf4) !important;
  }
  body.td-view-instructor .td-instructor-sent__item:nth-child(even),
  body.td-view-instructor .td-instructor-student-card:nth-child(even){
    background:var(--td-zebra,#f2eee9) !important;
  }
  body.td-view-instructor .td-instructor-card__actions,
  body.td-view-instructor .td-instructor-sent__actions--mobile-card,
  body.td-view-instructor .td-instructor-student-card__actions{
    background:inherit !important;
    border-top:1px solid rgba(127,95,64,.12) !important;
  }
  body.td-view-instructor .td-instructor-sent__actions--mobile-card .td-icon-btn,
  body.td-view-instructor .td-instructor-student-card__actions .td-icon-btn,
  body.td-view-instructor .td-instructor-card__actions .td-icon-btn{
    background:inherit !important;
    color:var(--td-shell-primary,#c65a1e) !important;
    border-color:rgba(198,90,30,.18) !important;
  }
}

body.td-view-instructor .td-instructor-results{
  max-height:min(40svh, 280px) !important;
  overflow:auto !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-gutter:stable both-edges;
  border-radius:5px !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item{
  display:grid !important;
  gap:4px !important;
  min-height:56px !important;
  align-content:center !important;
  word-break:break-word !important;
}

body.td-view-instructor .td-instructor-results__primary{
  line-height:1.35 !important;
}

body.td-view-instructor .td-instructor-results__secondary{
  line-height:1.35 !important;
}

body.td-view-instructor .td-instructor-external input[type="text"],
body.td-view-instructor .td-instructor-external input[type="email"]{
  border-radius:5px !important;
}

body.td-view-instructor .td-instructor-sent__item h3 a,
body.td-view-instructor .td-instructor-sent__item .td-edit-question-title a{
  color:var(--td-shell-accent, #c65a1e) !important;
}

body.td-view-instructor .td-instructor-sent__item h3 a:hover,
body.td-view-instructor .td-instructor-sent__item .td-edit-question-title a:hover,
body.td-view-instructor .td-instructor-sent__item h3 a:focus-visible,
body.td-view-instructor .td-instructor-sent__item .td-edit-question-title a:focus-visible{
  color:var(--td-shell-accent, #c65a1e) !important;
}

body.td-page .td-wrap input[type="text"],
body.td-page .td-wrap input[type="number"],
body.td-page .td-wrap input[type="date"],
body.td-page .td-wrap input[type="search"],
body.td-page .td-wrap input[type="email"],
body.td-page .td-wrap select,
body.td-page .td-wrap textarea,
body.td-page .td-page-frame input[type="text"],
body.td-page .td-page-frame input[type="number"],
body.td-page .td-page-frame input[type="date"],
body.td-page .td-page-frame input[type="search"],
body.td-page .td-page-frame input[type="email"],
body.td-page .td-page-frame select,
body.td-page .td-page-frame textarea,
body.td-page .td-entry-view--edit-shell input[type="text"],
body.td-page .td-entry-view--edit-shell input[type="number"],
body.td-page .td-entry-view--edit-shell input[type="date"],
body.td-page .td-entry-view--edit-shell input[type="search"],
body.td-page .td-entry-view--edit-shell input[type="email"],
body.td-page .td-entry-view--edit-shell select,
body.td-page .td-entry-view--edit-shell textarea,
body.td-page .td-entry-view--form-shell input[type="text"],
body.td-page .td-entry-view--form-shell input[type="number"],
body.td-page .td-entry-view--form-shell input[type="date"],
body.td-page .td-entry-view--form-shell input[type="search"],
body.td-page .td-entry-view--form-shell input[type="email"],
body.td-page .td-entry-view--form-shell select,
body.td-page .td-entry-view--form-shell textarea,
body.td-view-instructor input[type="text"],
body.td-view-instructor input[type="email"],
body.td-view-instructor input[type="search"],
body.td-view-instructor select,
body.td-view-instructor textarea{
  border-radius:var(--td-radius-cta, 5px) !important;
}

body.td-view-instructor .td-instructor-results,
body.td-view-instructor .td-weekplan-results{
  max-height:320px !important;
  overflow:auto !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item,
body.td-view-instructor .td-instructor-results .td-instructor-results__item,
body.td-view-instructor .td-weekplan-results .td-ac-item,
body.td-view-instructor .td-weekplan-results .td-instructor-results__item{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:10px !important;
  align-items:start !important;
  padding:10px 12px !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item > span:first-child,
body.td-view-instructor .td-instructor-results .td-instructor-results__item > span:first-child,
body.td-view-instructor .td-weekplan-results .td-ac-item > span:first-child,
body.td-view-instructor .td-weekplan-results .td-instructor-results__item > span:first-child{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  white-space:normal !important;
}

body.td-view-instructor .td-instructor-results .td-ac-item button,
body.td-view-instructor .td-instructor-results .td-instructor-results__item button,
body.td-view-instructor .td-weekplan-results .td-ac-item button,
body.td-view-instructor .td-weekplan-results .td-instructor-results__item button{
  align-self:center !important;
  white-space:nowrap !important;
  border-radius:var(--td-radius-cta, 5px) !important;
}

body.td-page .td-entry-instructor-recipients{
  margin-top:12px !important;
}

@media (max-width: 767px){
  body.td-view-exercises .td-exercises-1071 .td-table--courses,
  body.td-view-exercises .td-exercises-1071 .td-table--courses tbody,
  body.td-view-exercises .td-exercises-1071 .td-table--courses tr,
  body.td-view-exercises .td-exercises-1071 .td-table--courses th,
  body.td-view-exercises .td-exercises-1071 .td-table--courses td{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-table--courses td,
  body.td-view-exercises .td-exercises-1071 .td-table--courses td *{
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-table--courses td:first-child,
  body.td-view-exercises .td-exercises-1071 .td-table--courses td:first-child a,
  body.td-view-exercises .td-exercises-1071 .td-course-link__text{
    display:block !important;
    width:100% !important;
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-stack--gap4{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    width:100% !important;
    min-width:0 !important;
    gap:8px !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-exercise-cell,
  body.td-view-exercises .td-exercises-1071 .td-exercise-cell a{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    hyphens:none !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-progress-inline{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) auto !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    min-width:0 !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-progress-inline__bar{
    -webkit-appearance:none !important;
    appearance:none !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    height:10px !important;
    border:0 !important;
    border-radius:999px !important;
    overflow:hidden !important;
    background:#eadfce !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-progress-inline__bar::-webkit-progress-bar{
    background:#eadfce !important;
    border-radius:999px !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-progress-inline__bar::-webkit-progress-value{
    background:#d9823f !important;
    border-radius:999px !important;
  }

  body.td-view-exercises .td-exercises-1071 .td-progress-inline__bar::-moz-progress-bar{
    background:#d9823f !important;
    border-radius:999px !important;
  }
}


/* 2.7.95.23: bottomnav ownership flyttad bort från td-content-compat. */


@media (max-width:767px){
  body.td-view-exercises .td-exercises-mobile-card,
  body.td-view-exercises .td-exercises-mobile-card__title,
  body.td-view-exercises .td-exercises-mobile-card__title a,
  body.td-view-exercises .td-exercises-mobile-card__title .td-course-link__text,
  body.td-view-exercises .td-exercises-mobile-level .td-exercise-cell,
  body.td-view-exercises .td-exercises-mobile-level .td-exercise-cell a{
    overflow:visible !important;
    clip-path:none !important;
  }

  body.td-view-exercises .td-exercises-mobile-card__title{
    position:relative !important;
    left:-0.08em !important;
    width:calc(100% + 0.08em) !important;
    padding-left:0.08em !important;
    box-sizing:border-box !important;
  }

  body.td-view-exercises .td-exercises-mobile-card__title a,
  body.td-view-exercises .td-exercises-mobile-card__title .td-course-link__text{
    position:relative !important;
    left:0 !important;
    width:100% !important;
    padding-left:0 !important;
    margin-left:0 !important;
    text-indent:0 !important;
    box-sizing:border-box !important;
  }

  body.td-view-exercises .td-exercises-mobile-level .td-exercise-cell a{
    position:relative !important;
    left:-0.05em !important;
    width:calc(100% + 0.05em) !important;
    padding-left:0.05em !important;
    box-sizing:border-box !important;
  }

  /* 2.7.95.23: duplicate bottomnav/content padding block removed from td-content-compat. */
}

body.td-page,
body.td-page p,
body.td-page li,
body.td-page label,
body.td-page input,
body.td-page textarea,
body.td-page select,
body.td-page button,
body.td-page small,
body.td-page td,
body.td-page th,
body.td-page .td-text,
body.td-page .td-muted,
body.td-page .td-card p,
body.td-page .td-card li {
  font-family: "Nunito", sans-serif !important;
}

body.td-page h2,
body.td-page h3,
body.td-page h4,
body.td-page .td-dash-title,
body.td-page .td-group-title,
body.td-page .td-card__title,
body.td-page .td-panel__title,
body.td-page .td-help-card__title,
body.td-page .td-help-single-title,
body.td-page .td-field-title,
body.td-page .td-field-subtitle,
body.td-page .td-edit-question-title,
body.td-page .td-entry-question-title,
body.td-page .td-label,
body.td-page .elementor-widget-heading h2,
body.td-page .elementor-widget-heading h3,
body.td-page .elementor-widget-heading h4,
body.td-page .elementor-heading-title {
  font-family: "Rainier", serif !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-variant-ligatures: none !important;
  font-feature-settings: normal !important;
}

body.td-page h2,
body.td-page h3,
body.td-page h4 {
  line-height: 1.12 !important;
}

body.td-page h5,
body.td-page h6,
body.td-page .elementor-widget-heading h5,
body.td-page .elementor-widget-heading h6 {
  font-family: "Nunito", sans-serif !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.td-page .elementor-kit-59426 h1,
body.td-page .elementor-kit-59426 h2,
body.td-page .elementor-kit-59426 h3,
body.td-page .elementor-kit-59426 h4,
body.td-page .elementor-kit-59426 h5,
body.td-page .elementor-kit-59426 h6 {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

body.td-page a.td-btn,
body.td-page button.td-btn,
body.td-page .button.td-btn,
body.td-page a.td-btn--primary,
body.td-page button.td-btn--primary,
body.td-page .button.td-btn--primary,
body.td-page a.td-btn--secondary,
body.td-page button.td-btn--secondary,
body.td-page .button.td-btn--secondary{
  border-radius:var(--td-radius-cta, 5px) !important;
  overflow:hidden !important;
  box-shadow:none !important;
  background-image:none !important;
  -webkit-mask-image:-webkit-radial-gradient(white, black) !important;
}

body.td-page a.td-btn--primary,
body.td-page button.td-btn--primary,
body.td-page .button.td-btn--primary{
  background:var(--td-btn-bg-primary, #c65a1e) !important;
  color:var(--td-btn-fg-primary, #fffaf1) !important;
  border:0 !important;
}

body.td-page a.td-btn--secondary,
body.td-page button.td-btn--secondary,
body.td-page .button.td-btn--secondary{
  background:var(--td-btn-bg-secondary, #ffffff) !important;
  color:var(--td-btn-fg-secondary, #1f2328) !important;
  border:1px solid var(--td-btn-border-secondary, rgba(0,0,0,.12)) !important;
}

body.td-page a.td-btn--secondary:hover,
body.td-page button.td-btn--secondary:hover,
body.td-page .button.td-btn--secondary:hover,
body.td-page a.td-btn--secondary:focus,
body.td-page button.td-btn--secondary:focus,
body.td-page .button.td-btn--secondary:focus{
  background:#fff !important;
  color:var(--td-btn-fg-secondary, #1f2328) !important;
  border-color:var(--td-btn-border-secondary, rgba(0,0,0,.12)) !important;
}

body.td-page a.td-btn::before,
body.td-page a.td-btn::after,
body.td-page button.td-btn::before,
body.td-page button.td-btn::after,
body.td-page .button.td-btn::before,
body.td-page .button.td-btn::after{
  border-radius:inherit !important;
}

@media (max-width:781px){
  body.td-page main#content.site-main,
  body.td-page .page-content{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-page .td-shell-content,
  body.td-page .td-container.td-wrap{
    padding-left:0 !important;
    padding-right:0 !important;
  }

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

  

  
}

@media (min-width:1024px){
  body.td-pagetype-td_view_settings .td-dogs-row,
  body.td-pagetype-td_view_settings .td-dogs-add,
  body.td-page [data-td-content-view="settings"] .td-dogs-row,
  body.td-page [data-td-content-view="settings"] .td-dogs-add{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    row-gap:var(--td-space-4,20px) !important;
    column-gap:0 !important;
    align-items:start !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__header,
  body.td-pagetype-td_view_settings .td-dogs-add__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__header{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:96px minmax(0,1fr) !important;
    gap:var(--td-space-4,20px) !important;
    align-items:start !important;
    width:100% !important;
  }

  body.td-page.td-view-settings .td-dogs-row__identity,
  body.td-page.td-view-settings .td-dogs-add__identity{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-space-3,14px) !important;
    min-width:0 !important;
    width:100% !important;
  }

  body.td-page.td-view-settings .td-dogs-row__name,
  body.td-page.td-view-settings .td-dogs-row__upload,
  body.td-page.td-view-settings .td-dogs-row__meta,
  body.td-page.td-view-settings .td-dogs-row__body,
  body.td-page.td-view-settings .td-dogs-row__actions,
  body.td-page.td-view-settings .td-dogs-add__name,
  body.td-page.td-view-settings .td-dogs-add__upload,
  body.td-page.td-view-settings .td-dogs-add__meta,
  body.td-page.td-view-settings .td-dogs-add__body,
  body.td-page.td-view-settings .td-dogs-add__actions{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__meta{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:var(--td-space-4,20px) !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__body{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-space-4,20px) !important;
    width:100% !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row .td-u-label-stack,
  body.td-pagetype-td_view_settings .td-dogs-add .td-u-label-stack,
  body.td-pagetype-td_view_settings .td-dogs-row input,
  body.td-pagetype-td_view_settings .td-dogs-row textarea,
  body.td-pagetype-td_view_settings .td-dogs-row select,
  body.td-pagetype-td_view_settings .td-dogs-add input,
  body.td-pagetype-td_view_settings .td-dogs-add textarea,
  body.td-pagetype-td_view_settings .td-dogs-add select,
  body.td-page [data-td-content-view="settings"] .td-dogs-row .td-u-label-stack,
  body.td-page [data-td-content-view="settings"] .td-dogs-add .td-u-label-stack,
  body.td-page [data-td-content-view="settings"] .td-dogs-row input,
  body.td-page [data-td-content-view="settings"] .td-dogs-row textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-row select,
  body.td-page [data-td-content-view="settings"] .td-dogs-add input,
  body.td-page [data-td-content-view="settings"] .td-dogs-add textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-add select{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-page.td-view-settings .td-dogs-row textarea,
  body.td-page.td-view-settings .td-dogs-add textarea,
  body.td-pagetype-td_view_settings .td-dogs-row input[type="file"],
  body.td-pagetype-td_view_settings .td-dogs-add input[type="file"],
  body.td-page [data-td-content-view="settings"] .td-dogs-row input[type="file"],
  body.td-page [data-td-content-view="settings"] .td-dogs-add input[type="file"]{
    width:100% !important;
    max-width:none !important;
  }
}

body.td-page a.td-btn,
body.td-page button.td-btn,
body.td-page .button.td-btn,
body.td-page a.td-btn--primary,
body.td-page button.td-btn--primary,
body.td-page .button.td-btn--primary,
body.td-page a.td-btn--secondary,
body.td-page button.td-btn--secondary,
body.td-page .button.td-btn--secondary{
  border-radius:var(--td-radius-cta, 5px) !important;
  clip-path:inset(0 round var(--td-radius-cta, 5px)) !important;
  overflow:hidden !important;
  background-clip:padding-box !important;
  box-shadow:none !important;
}

body.td-page a.td-btn--secondary,
body.td-page button.td-btn--secondary,
body.td-page .button.td-btn--secondary{
  background:#fffaf4 !important;
  color:var(--td-btn-fg-secondary, #1f2328) !important;
  border:1px solid rgba(59,47,40,.16) !important;
  box-shadow:inset 0 0 0 1px rgba(59,47,40,.08) !important;
}

body.td-page .td-dash-title,
body.td-page .td-card__header .td-dash-title,
body.td-page .td-plan-section .td-dash-title,
body.td-page .td-help-search-card .td-dash-title,
body.td-page .td-help-list-wrap .td-dash-title{
  font-size:clamp(1.25rem, 1.08rem + 0.35vw, 1.375rem) !important;
  line-height:1.24 !important;
}

body.td-page .td-group-title.td-entry-group-title,
body.td-page .td-group-title.td-edit-group-title,
body.td-page .td-group-title.td-create-picker__group-title{
  font-size:clamp(1.125rem, 1rem + 0.28vw, 1.25rem) !important;
  line-height:1.2 !important;
}

body.td-page .td-entry-question-title,
body.td-page .td-edit-question-title,
body.td-page .td-field-title{
  font-size:clamp(1rem, 0.94rem + 0.18vw, 1.125rem) !important;
  line-height:1.22 !important;
}

body.td-view-typography_preview .td-typography-preview__section,
body.td-view-typography_preview .td-typography-preview__mini-card,
body.td-view-typography_preview .td-typography-preview__entry-card,
body.td-view-typography_preview .td-typography-preview__mini-card .td-card__body,
body.td-view-typography_preview .td-typography-preview__entry-card .td-card__body,
body.td-view-typography_preview .td-typography-preview__sample{
  overflow:visible !important;
}

body.td-view-typography_preview .td-typography-preview__sample .td-entry-inline-title,
body.td-view-typography_preview .td-typography-preview__sample .td-dash-title,
body.td-view-typography_preview .td-typography-preview__sample .td-group-title,
body.td-view-typography_preview .td-typography-preview__sample .td-entry-question-title,
body.td-view-typography_preview .td-typography-preview__sample .td-field-subtitle,
body.td-view-typography_preview .td-typography-preview__sample .td-label,
body.td-view-typography_preview .td-typography-preview__mini-card .td-dash-title,
body.td-view-typography_preview .td-typography-preview__mini-card .td-group-title,
body.td-view-typography_preview .td-typography-preview__mini-card .td-entry-question-title,
body.td-view-typography_preview .td-typography-preview__entry-card .td-entry-inline-title,
body.td-view-typography_preview .td-typography-preview__entry-card .td-group-title,
body.td-view-typography_preview .td-typography-preview__entry-card .td-entry-question-title{
  left:0 !important;
  padding-left:0 !important;
  max-width:100% !important;
  margin-left:0 !important;
  overflow:visible !important;
}

body.td-view-typography_preview .td-typography-preview__sample .td-entry-inline-title,
body.td-view-typography_preview .td-typography-preview__sample .td-dash-title,
body.td-view-typography_preview .td-typography-preview__sample .td-group-title,
body.td-view-typography_preview .td-typography-preview__sample .td-entry-question-title,
body.td-view-typography_preview .td-typography-preview__sample .td-field-subtitle,
body.td-view-typography_preview .td-typography-preview__sample .td-label{
  margin:0 !important;
}

body.td-view-typography_preview .td-typography-preview__mini-card .button,
body.td-view-typography_preview .td-typography-preview__mini-card .td-btn{
  overflow:visible !important;
  clip-path:none !important;
}

@media (min-width:768px){
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    grid-auto-flow:row !important;
    grid-template-rows:none !important;
    gap:16px !important;
    align-items:start !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host a{
    display:block !important;
    margin:0 !important;
    min-width:0 !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host a > img{
    display:block !important;
    width:100% !important;
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
  }

  body.td-view-exercises .td-exercises-progress-desktop.td-overflow-auto{
    overflow-x:visible !important;
    padding-bottom:0 !important;
  }

  body.td-view-exercises .td-table--courses-progress{
    min-width:0 !important;
    table-layout:fixed !important;
  }

  body.td-view-exercises .td-table--courses-progress th:first-child,
  body.td-view-exercises .td-table--courses-progress td:first-child{
    width:auto !important;
  }

  body.td-view-exercises .td-table--courses-progress th:nth-child(2),
  body.td-view-exercises .td-table--courses-progress td:nth-child(2){
    width:96px !important;
    white-space:nowrap !important;
  }

  body.td-view-exercises .td-table--courses-progress th:nth-child(3),
  body.td-view-exercises .td-table--courses-progress td:nth-child(3){
    width:180px !important;
  }

  body.td-view-exercises .td-table--courses-progress .td-progress-inline{
    min-width:0 !important;
    gap:8px !important;
  }

  body.td-view-exercises .td-table--courses-progress .td-progress-inline__bar{
    min-width:0 !important;
  }

  body.td-view-exercises .td-exercises-units-desktop-list{
    display:grid !important;
    gap:18px !important;
  }

  body.td-view-exercises .td-exercises-units-course{
    display:grid !important;
    gap:14px !important;
    padding:18px !important;
    border:1px solid rgba(47,42,38,.08) !important;
    border-radius:18px !important;
    background:rgba(255,255,255,.38) !important;
  }

  body.td-view-exercises .td-exercises-units-course__title{
    margin:0 !important;
    font-size:22px !important;
    line-height:1.2 !important;
  }

  body.td-view-exercises .td-exercises-units-course__levels{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:14px !important;
    align-items:start !important;
  }

  body.td-view-exercises .td-exercises-units-course__level{
    min-width:0 !important;
  }

  body.td-view-exercises .td-exercises-units-course__level-title{
    margin:0 0 8px !important;
    font-size:18px !important;
    line-height:1.25 !important;
  }

  body.td-view-exercises .td-exercises-units-course__level .td-stack--gap4{
    min-width:0 !important;
  }
}



body.td-view-typography_preview .td-typography-preview__heading--h2{
  font-size:22px !important;
  line-height:1.2 !important;
}

@media (min-width:1024px){
  

  

  body.traningsdagbok.td-shell-standalone .td-main.td-shell__main--help{
    padding-top:18px !important;
  }
}

@media (min-width:768px){
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tiles-track{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:16px !important;
    align-items:start !important;
    grid-auto-flow:row dense !important;
    grid-auto-rows:auto !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tiles-track{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tile,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > a,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tiles-track > a{
    display:block !important;
    min-width:0 !important;
    width:100% !important;
    margin:0 !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tile > a,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tile img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > a > img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tiles-track > a > img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tile img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > a > img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host .td-start-tiles-track > a > img{
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
  }
}

body.td-view-typography_preview h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2,
body.td-view-typography_preview .td-typography-preview__sample h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2{
  font-size:22px !important;
  line-height:26.4px !important;
}

@media (min-width:768px){
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host{
    display:block !important;
    overflow:visible !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-track{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:16px !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    align-items:start !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-track > .td-start-tile{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile > a,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-track > .td-start-tile > a,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-track > .td-start-tile img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-track > .td-start-tile img{
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
  }
}

body.td-view-typography_preview .td-typography-preview__token-card,
body.td-view-typography_preview .td-typography-preview__token-card .td-card__body{
  overflow:visible !important;
}

body.td-view-typography_preview .td-typography-preview__token-card .td-dash-title{
  padding-inline-start:0.16em !important;
  margin-inline-start:-0.16em !important;
}

@media (min-width:768px){
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host{
    position:relative !important;
    display:block !important;
    overflow:visible !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-source{
    display:none !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(240px, 300px)) !important;
    justify-content:center !important;
    gap:28px 28px !important;
    width:auto !important;
    max-width:calc(3 * 300px + 2 * 28px) !important;
    margin:0 auto !important;
    padding:0 !important;
    align-items:start !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile > a,
  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-view-home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img{
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
  }
}

@media (min-width:1024px){
  

  

  

  

  body.traningsdagbok.td-shell-standalone .td-main,
  body.traningsdagbok.td-shell-standalone .td-shell__main,
  body.traningsdagbok.td-shell-standalone .td-page-frame__main{
    padding-top:18px !important;
  }

  
}

:root{
  --td-matrix-beige:#f6f1eb;
  --td-matrix-beige-strong:#fffaf4;
  --td-matrix-text:#2f221b;
  --td-matrix-brown-top:rgba(92,66,51,.98);
  --td-matrix-brown-bottom:rgba(48,34,27,.99);
  --td-matrix-desktop-topbar-height:70px;
  --td-matrix-mobile-topbar-height:56px;
  --td-matrix-mobile-hero-topbar-height:72px;
  --td-matrix-wave-height:28px;
}

@media (max-width:781px){
  :root{
    --td-mobile-bottom-nav-height-clean:64px;
  }

  body.td-page,
  body.td-shell,
  body.td-help-single,
  body.single-td_help,
  body.td-courseware-app,
  body.td-share-single{
    --td-mobile-bottom-nav-height:64px;
  }

  


/* 2.7.95.23: bottomnav ownership flyttad bort från td-content-compat. */


  
  

  
  
  
  
  

  
  
  
  

  

  
  
  
  
  

  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  

  
}

@media (max-width:781.98px){
  

  body.td-page.td-view-home .td-main__body,
  body.td-page.td-view-home .td-shell-content{
    padding-left:14px !important;
    padding-right:var(--td-shell-gutter) !important;
  }

  body.td-page.td-view-home .td-dashboard{
    margin-top:0 !important;
  }

  body.td-page.td-view-home .td-dashboard > .td-dash-card--most-important{
    width:100% !important;
    max-width:none !important;
  }
}

body.td-view-instructor table tbody tr,
body.td-view-instructor table tbody tr td{
  background:transparent !important;
}

body.td-view-instructor .td-instructor-sent__item,
body.td-view-instructor .td-instructor-student-card{
  background-clip:padding-box !important;
}

body.td-view-instructor .td-instructor-pass-list table tbody tr:nth-child(even) td,
body.td-view-instructor .td-instructor-students table tbody tr:nth-child(even) td,
body.td-view-instructor .td-table--zebra tbody tr:nth-child(even) td{
  background:var(--td-zebra, #F2EEE9) !important;
}

body.td-view-instructor .td-instructor-pass-list table tbody tr:nth-child(odd) td,
body.td-view-instructor .td-instructor-students table tbody tr:nth-child(odd) td,
body.td-view-instructor .td-table--zebra tbody tr:nth-child(odd) td{
  background:transparent !important;
}

@media (min-width:782px){
  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:16px !important;
    padding-right:16px !important;
  }

  

  

  

  
}

@media (min-width:782px){
  
  .td-criteria-scroll{overflow-x:visible !important; overflow-y:visible !important;}
  #td-criteria-table{width:100% !important; max-width:100% !important; display:table !important; table-layout:fixed !important; border-collapse:collapse !important;}
  #td-criteria-table th,
  #td-criteria-table td{padding:10px 8px !important; vertical-align:top !important;}
  #td-criteria-table .td-crit-mainhead,
  #td-criteria-table td.td-crit-main{width:33% !important; min-width:0 !important;}
  #td-criteria-table td.td-crit-main{gap:8px !important;}
  #td-criteria-table td.td-crit-main input[type="date"]{width:140px !important; min-width:140px !important; max-width:140px !important; font-size:14px !important; padding:6px 8px !important;}
  #td-criteria-table td.td-crit-main input[type="text"]{width:100% !important; min-width:0 !important; max-width:100% !important; font-size:14px !important; padding:6px 8px !important;}
  #td-criteria-table th.td-crit-round{width:12.4% !important; min-width:0 !important; white-space:normal !important; font-size:14px !important; line-height:1.2 !important;}
  #td-criteria-table .td-crit-round-mobile{display:block !important; margin:0 0 4px !important; font-size:14px !important; line-height:1.2 !important; text-align:left !important;}
  #td-criteria-table .td-crit-field__label{display:block !important; margin:0 0 4px !important; font-size:12px !important; line-height:1.2 !important; text-align:left !important;}
  #td-criteria-table .td-crit-pair{display:grid !important; grid-template-columns:1fr 1fr !important; gap:6px !important; align-items:start !important;}
  #td-criteria-table .td-crit-pair input[type="number"]{width:100% !important; min-width:0 !important; max-width:none !important; font-size:14px !important; padding:6px 4px !important; min-height:40px !important;}
  #td-criteria-table .td-crit-pair .td-crit-rep{background:#fff !important;}

  
  #td-criteria-table tbody tr:nth-child(odd) td{background:rgba(242,238,233,.92) !important;}
  #td-criteria-table tbody tr:nth-child(even) td{background:rgba(255,249,243,.98) !important;}
  #td-criteria-table tbody td.td-crit-action{background:transparent !important;}
}

@media (min-width: 768px){
  
  .td-criteria-scroll{overflow-x:hidden !important; overflow-y:visible !important;}
  #td-criteria-table{width:100% !important; table-layout:auto !important; border-collapse:separate !important; border-spacing:0 !important;}
  #td-criteria-table col.td-crit-col-main{width:58% !important;}
  #td-criteria-table col.td-crit-col-round{width:7.6% !important;}
  #td-criteria-table col.td-crit-col-action{width:4% !important;}
  #td-criteria-table th,
  #td-criteria-table td{padding:10px 8px !important; vertical-align:top !important;}
  #td-criteria-table .td-crit-mainhead,
  #td-criteria-table td.td-crit-main{width:auto !important; min-width:0 !important;}
  #td-criteria-table td.td-crit-main{display:grid !important; grid-template-columns:1fr !important; gap:8px !important; padding-top:36px !important; padding-right:var(--td-shell-gutter) !important;}
  #td-criteria-table td.td-crit-main input[type="date"],
  #td-criteria-table td.td-crit-main input[type="text"]{display:block !important; width:100% !important; min-width:0 !important; max-width:100% !important; font-size:14px !important; line-height:1.25 !important; padding:8px 10px !important; inline-size:100% !important; box-sizing:border-box !important;}
  #td-criteria-table .td-crit-round-mobile{display:block !important; margin:0 0 6px !important; font-size:11px !important; line-height:1.2 !important; white-space:nowrap !important;}
  #td-criteria-table .td-crit-field__label{display:block !important; margin:0 0 4px !important; font-size:10px !important; line-height:1.1 !important; white-space:nowrap !important;}
  #td-criteria-table .td-crit-pair{display:grid !important; grid-template-columns:1fr !important; gap:4px !important; align-items:start !important;}
  #td-criteria-table .td-crit-field{display:grid !important; grid-template-columns:1fr !important; gap:2px !important;}
  #td-criteria-table .td-crit-pair input[type="number"]{width:100% !important; min-width:0 !important; max-width:none !important; font-size:13px !important; padding:6px 4px !important; min-height:36px !important;}
  #td-criteria-table td.td-crit-round{width:auto !important; min-width:54px !important;}
  #td-criteria-table td.td-crit-action{min-width:0 !important; text-align:center !important;}

  
  #td-criteria-table tbody tr:nth-child(odd) > td{background:#ece6df !important;}
  #td-criteria-table tbody tr:nth-child(even) > td{background:#f7f1ea !important;}
  #td-criteria-table tbody tr > td{background-clip:padding-box !important;}
  #td-criteria-table td.td-crit-main > *{width:100% !important; max-width:none !important; box-sizing:border-box !important;}
  #td-criteria-table tbody tr.td-crit-row{background:transparent !important;}
  #td-criteria-table tbody tr.td-crit-row > td{border-top:10px solid transparent !important; border-bottom:10px solid transparent !important;}

  
  
  
  
  
}

/* 2.7.96.17 – kriterieplan: rensa sena motstridiga compat-block och följ owner-layouten. */
@media (min-width: 768px){
  body.td-page .td-entry-view--form-shell .td-criteria-scroll,
  body.td-page .td-entry-view--edit-shell .td-criteria-scroll{
    overflow-x:auto !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table,
  body.td-page .td-entry-view--edit-shell #td-criteria-table{
    display:table !important;
    width:100% !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row{
    display:grid !important;
    width:100% !important;
    grid-template-columns:minmax(320px, 2.2fr) repeat(5, minmax(70px, 1fr)) 52px !important;
    align-items:start !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row > td{
    border-top:10px solid transparent !important;
    border-bottom:10px solid transparent !important;
  }
}

@media (max-width:781.98px){
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-home .td-main,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-home .td-main__body,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-dashboard .td-main,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-dashboard .td-main__body{
    padding-top:0 !important;
    margin-top:0 !important;
  }

  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-home .td-dashboard,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-dashboard .td-dashboard{
    margin-top:0 !important;
  }

  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-home .td-main__body::after,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-dashboard .td-main__body::after,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-home .td-dashboard::after,
  body.traningsdagbok.td-shell-standalone.td-dash-shell-host.td-view-dashboard .td-dashboard::after{
    display:none !important;
    content:none !important;
  }
}

body.td-shell-route-unified.td-pagetype-td_view_help .td-settings-tabs,
body.td-shell-route-unified.td-pagetype-td_view_help_index .td-settings-tabs,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-settings-tabs,
body.td-shell-route-unified.td-pagetype-td_view_account .td-settings-tabs,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-settings-tabs,
body.td-shell-route-unified [data-td-content-view="help"] .td-settings-tabs,
body.td-shell-route-unified [data-td-content-view="settings"] .td-settings-tabs,
body.td-shell-route-unified [data-td-content-view="account"] .td-settings-tabs,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-settings-tabs,
body.td-shell-route-unified [data-td-content-view="instructor"] .td-settings-tabs{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin:0 0 16px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_help .td-settings-tabs__link,
body.td-shell-route-unified.td-pagetype-td_view_help_index .td-settings-tabs__link,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-settings-tabs__link,
body.td-shell-route-unified.td-pagetype-td_view_account .td-settings-tabs__link,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-settings-tabs__link,
body.td-shell-route-unified [data-td-content-view="help"] .td-settings-tabs__link,
body.td-shell-route-unified [data-td-content-view="settings"] .td-settings-tabs__link,
body.td-shell-route-unified [data-td-content-view="account"] .td-settings-tabs__link,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-settings-tabs__link,
body.td-shell-route-unified [data-td-content-view="instructor"] .td-settings-tabs__link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  padding:8px 14px !important;
  border-radius:5px !important;
  border:1px solid rgba(127,95,64,.18) !important;
  background:#fffaf4 !important;
  color:var(--td-shell-text) !important;
  text-decoration:none !important;
  font-weight:600 !important;
}

body.td-shell-route-unified.td-pagetype-td_view_help .td-settings-tabs__link.is-active,
body.td-shell-route-unified.td-pagetype-td_view_help_index .td-settings-tabs__link.is-active,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-settings-tabs__link.is-active,
body.td-shell-route-unified.td-pagetype-td_view_account .td-settings-tabs__link.is-active,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-settings-tabs__link.is-active,
body.td-shell-route-unified [data-td-content-view="help"] .td-settings-tabs__link.is-active,
body.td-shell-route-unified [data-td-content-view="settings"] .td-settings-tabs__link.is-active,
body.td-shell-route-unified [data-td-content-view="account"] .td-settings-tabs__link.is-active,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-settings-tabs__link.is-active,
body.td-shell-route-unified [data-td-content-view="instructor"] .td-settings-tabs__link.is-active{
  background:var(--td-shell-primary) !important;
  border-color:var(--td-shell-primary) !important;
  color:#fff !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-card--settings-dogs,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-card--notification-settings,
body.td-shell-route-unified [data-td-content-view="settings"] .td-card--settings-dogs,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-card--notification-settings{
  padding:20px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-list,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-list{gap:18px !important;}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add{
  align-items:start !important;
  width:100% !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__avatar,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__avatar,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__avatar,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__avatar{
  width:100% !important;
  min-height:0 !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__avatar img,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__avatar .td-u-thumb--dog,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__avatar img,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__avatar .td-u-thumb--dog{
  width:96px !important;
  height:96px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-u-label-stack,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-u-label-block,
body.td-shell-route-unified [data-td-content-view="settings"] .td-u-label-stack,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-u-label-block{
  display:grid !important;
  gap:6px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-u-label-stack > span,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-u-label-stack .td-muted,
body.td-shell-route-unified.td-pagetype-td_view_notifications .td-u-label-block,
body.td-shell-route-unified [data-td-content-view="settings"] .td-u-label-stack > span,
body.td-shell-route-unified [data-td-content-view="settings"] .td-u-label-stack .td-muted,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-u-label-block{
  line-height:1.35 !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="text"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="date"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="file"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row textarea,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row select,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="text"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="date"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="file"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add textarea,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add select,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row input[type="text"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row input[type="date"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row input[type="file"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row textarea,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row select,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add input[type="text"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add input[type="date"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add input[type="file"],
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add textarea,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add select{
  width:100% !important;
  box-sizing:border-box !important;
}

body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row textarea,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add textarea,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row textarea,
body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add textarea{
  min-height:120px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_notifications .td-card--notification-settings,
body.td-shell-route-unified [data-td-content-view="notifications"] .td-card--notification-settings{
  display:grid !important;
  gap:14px !important;
}

body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__section,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__entry-card,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-card__body,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__entry-card .td-card__body,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__section,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__entry-card,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .td-card__body,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__entry-card .td-card__body,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample{
  overflow:visible !important;
}

body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-entry-inline-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-dash-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-group-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-entry-question-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-field-subtitle,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-label,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-dash-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-group-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-entry-question-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__entry-card .td-entry-inline-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__entry-card .td-group-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__entry-card .td-entry-question-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-entry-inline-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-dash-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-group-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-entry-question-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-field-subtitle,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-label,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .td-dash-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .td-group-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .td-entry-question-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__entry-card .td-entry-inline-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__entry-card .td-group-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__entry-card .td-entry-question-title{
  left:0 !important;
  padding-left:0 !important;
  max-width:100% !important;
  margin-left:0 !important;
  overflow:visible !important;
}

body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-entry-inline-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-dash-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-group-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-entry-question-title,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-field-subtitle,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample .td-label,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-entry-inline-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-dash-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-group-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-entry-question-title,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-field-subtitle,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample .td-label{
  margin:0 !important;
}

body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .button,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-btn,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .button,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__mini-card .td-btn{
  overflow:visible !important;
  clip-path:none !important;
}

body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__heading--h2,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__heading--h2,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2,
body.td-shell-route-unified.td-pagetype-td_view_typography_preview .td-typography-preview__sample h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2,
body.td-shell-route-unified [data-td-content-view="typography_preview"] h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2,
body.td-shell-route-unified [data-td-content-view="typography_preview"] .td-typography-preview__sample h2.td-dash-title.td-heading--reset.td-typography-preview__heading.td-typography-preview__heading--h2{
  font-size:22px !important;
  line-height:26.4px !important;
}

@media (min-width:1024px){
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    row-gap:var(--td-space-4,20px) !important;
    column-gap:0 !important;
    align-items:start !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__header,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__header,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__header,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__header{
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:96px minmax(0,1fr) !important;
    gap:var(--td-space-4,20px) !important;
    align-items:start !important;
    width:100% !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__identity,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__identity,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__identity,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__identity{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-space-3,14px) !important;
    min-width:0 !important;
    width:100% !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__name,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__upload,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__actions,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__name,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__upload,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__actions,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__name,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__upload,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__actions,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__name,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__upload,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__meta,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__body,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__actions{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__meta{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:var(--td-space-4,20px) !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add__body{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-space-4,20px) !important;
    width:100% !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row .td-u-label-stack,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add .td-u-label-stack,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row textarea,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row select,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add textarea,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add select,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row .td-u-label-stack,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add .td-u-label-stack,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row input,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row textarea,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row select,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add input,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add textarea,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add select{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row textarea,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add textarea,
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="file"],
  body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="file"],
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row textarea,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add textarea,
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-row input[type="file"],
  body.td-shell-route-unified [data-td-content-view="settings"] .td-dogs-add input[type="file"]{
    width:100% !important;
    max-width:none !important;
  }
}

@media (min-width:768px){
  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host{
    position:relative !important;
    display:block !important;
    overflow:visible !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-source,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-source{
    display:none !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(240px, 300px)) !important;
    justify-content:center !important;
    gap:28px 28px !important;
    width:auto !important;
    max-width:calc(3 * 300px + 2 * 28px) !important;
    margin:0 auto !important;
    padding:0 !important;
    align-items:start !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile > a,
  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile > a,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-shell-route-unified.td-pagetype-td_view_home .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img,
  body.td-shell-route-unified [data-td-content-view="home"] .td-card.td-card--flat.td-start-tiles-host > .td-start-tiles-grid > .td-start-tile img{
    aspect-ratio:1 / 1 !important;
    object-fit:cover !important;
  }
}


/* 2.7.95.12 / 2097 – central mobil kortgeometri
   Låser samma gutter ut mot skärm som mellan korten och håller mobilpadding i content owner-filen,
   så plan/train/evaluate/exercises inte får olika sidluft beroende på legacylager. */
/* 2.7.95.20 / 2105 – mobilkort kontrakt v2.
   Ett enda sent owner-lager styr nu mobilgutter, kortgap, innerpadding och datumradskort.
   Målet här är konsekvens före specialfall: hellre samma struktur överallt än flera konkurrerande legacyspår. */
@media (max-width: 781px){
  body.td-page,
  body.td-shell,
  body.td-help-single,
  body.td-courseware-app,
  body.single-td_help,
  body.td-entry-single{
    --td-shell-gutter: 16px;
    --td-shell-card-gap: 16px;
    --td-shell-card-pad: 18px;
    --td-final-card-pad: 18px;
    --td-final-stack-gap: 16px;
  }

  body.td-page .td-main,
  body.td-shell .td-main,
  body.td-help-single .td-main,
  body.td-courseware-app .td-main,
  body.single-td_help .td-main,
  body.td-entry-single .td-main{
    padding-left:16px !important;
    padding-right:16px !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-main__body,
  body.td-page .td-page-frame__content.td-main__body,
  body.td-page .td-shell-content,
  body.td-page .td-view-stack,
  body.td-page .td-stack,
  body.td-page .td-page-frame__stack,
  body.td-page .td-main__body > .td-content,
  body.td-page .td-dashboard,
  body.td-page .td-dashboard__main,
  body.td-page .td-dashboard__side,
  body.td-page .td-list-layout,
  body.td-page .td-list-layout__main,
  body.td-page .td-list-layout__sidebar,
  body.td-page .td-plan-v1,
  body.td-page .td-train-v1,
  body.td-page .td-evaluate-v1,
  body.td-shell .td-main__body,
  body.td-shell .td-page-frame__content.td-main__body,
  body.td-shell .td-shell-content,
  body.td-shell .td-view-stack,
  body.td-shell .td-stack,
  body.td-shell .td-page-frame__stack,
  body.td-shell .td-main__body > .td-content{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    display:grid !important;
    gap:16px !important;
    align-items:start !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-main__body > .td-content > *,
  body.td-page .td-page-frame__stack > *,
  body.td-page .td-shell-content > *,
  body.td-page .td-view-stack > *,
  body.td-page .td-stack > *,
  body.td-page .td-dashboard > *,
  body.td-page .td-dashboard__main > *,
  body.td-page .td-dashboard__side > *,
  body.td-page .td-list-layout > *,
  body.td-page .td-list-layout__main > *,
  body.td-page .td-list-layout__sidebar > *,
  body.td-page .td-plan-v1 > *,
  body.td-page .td-train-v1 > *,
  body.td-page .td-evaluate-v1 > *,
  body.td-shell .td-main__body > .td-content > *,
  body.td-shell .td-page-frame__stack > *,
  body.td-shell .td-shell-content > *,
  body.td-shell .td-view-stack > *,
  body.td-shell .td-stack > *{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-card,
  body.td-page .td-section-card,
  body.td-page .td-edit-section-card,
  body.td-page .td-course-layout__surface,
  body.td-page .td-postit,
  body.td-page .td-dashboard-card,
  body.td-page .td-panel,
  body.td-page .td-dash-card,
  body.td-page .td-plan-section,
  body.td-page .td-train-section,
  body.td-page .td-section,
  body.td-shell .td-card,
  body.td-shell .td-section-card,
  body.td-shell .td-edit-section-card,
  body.td-shell .td-course-layout__surface,
  body.td-shell .td-postit,
  body.td-shell .td-dashboard-card,
  body.td-shell .td-panel,
  body.td-shell .td-dash-card,
  body.td-help-single .td-card,
  body.td-courseware-app .td-card,
  body.single-td_help .td-card,
  body.td-entry-single .td-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:18px !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-card__header,
  body.td-page .td-card__body,
  body.td-page .td-section-card > .td-card__header,
  body.td-page .td-section-card > .td-card__body,
  body.td-page .td-edit-section-card > .td-card__header,
  body.td-page .td-edit-section-card > .td-card__body,
  body.td-page .td-course-layout__surface > .td-card__header,
  body.td-page .td-course-layout__surface > .td-card__body,
  body.td-page .td-dash-card > .td-card__header,
  body.td-page .td-dash-card > .td-card__body,
  body.td-shell .td-card__header,
  body.td-shell .td-card__body,
  body.td-shell .td-section-card > .td-card__header,
  body.td-shell .td-section-card > .td-card__body,
  body.td-shell .td-edit-section-card > .td-card__header,
  body.td-shell .td-edit-section-card > .td-card__body,
  body.td-shell .td-course-layout__surface > .td-card__header,
  body.td-shell .td-course-layout__surface > .td-card__body,
  body.td-shell .td-dash-card > .td-card__header,
  body.td-shell .td-dash-card > .td-card__body{
    padding:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-card > .td-card__header + .td-card__body,
  body.td-page .td-section-card > .td-card__header + .td-card__body,
  body.td-page .td-edit-section-card > .td-card__header + .td-card__body,
  body.td-page .td-course-layout__surface > .td-card__header + .td-card__body,
  body.td-page .td-dash-card > .td-card__header + .td-card__body,
  body.td-shell .td-card > .td-card__header + .td-card__body,
  body.td-shell .td-section-card > .td-card__header + .td-card__body,
  body.td-shell .td-edit-section-card > .td-card__header + .td-card__body,
  body.td-shell .td-course-layout__surface > .td-card__header + .td-card__body,
  body.td-shell .td-dash-card > .td-card__header + .td-card__body{
    margin-top:12px !important;
  }

  body.td-page .td-card > * + *,
  body.td-page .td-section-card > * + *,
  body.td-page .td-edit-section-card > * + *,
  body.td-page .td-course-layout__surface > * + *,
  body.td-shell .td-card > * + *,
  body.td-shell .td-section-card > * + *,
  body.td-shell .td-edit-section-card > * + *,
  body.td-shell .td-course-layout__surface > * + *{
    margin-top:12px !important;
  }

  body.td-page .td-card > :first-child,
  body.td-shell .td-card > :first-child{
    margin-top:0 !important;
  }

  body.td-page .td-dash-card__row,
  body.td-shell .td-dash-card__row{
    display:grid !important;
    grid-template-columns:88px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
  }

  body.td-page .td-dash-card__date,
  body.td-shell .td-dash-card__date{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
  }

  body.td-page .td-date-badge,
  body.td-shell .td-date-badge{
    width:88px !important;
    min-height:96px !important;
    border-radius:18px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    background:#ece2ca !important;
    color:#7f5f40 !important;
    padding:8px 6px !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-date-badge__day,
  body.td-shell .td-date-badge__day{
    font-size:2.25rem !important;
    line-height:1 !important;
    font-weight:700 !important;
  }

  body.td-page .td-date-badge__month,
  body.td-shell .td-date-badge__month{
    font-size:1rem !important;
    line-height:1.1 !important;
    font-weight:700 !important;
    letter-spacing:.08em !important;
  }

  body.td-page .td-view-exercises > p.td-muted,
  body.td-page .td-exercises-view > p.td-muted,
  body.td-shell .td-view-exercises > p.td-muted,
  body.td-shell .td-exercises-view > p.td-muted{
    display:none !important;
  }
}


/* 2.7.95.23 / 2108 – route-unified mobilkontrakt: en ägare för content frame, kortbredd och vertikal rytm. */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile{
    --td-mobile-frame-gutter:16px;
    --td-mobile-frame-gap:16px;
    --td-mobile-card-pad:18px;
  }

  body.td-shell-route-unified.td-is-mobile .td-shell__main,
  body.td-shell-route-unified.td-is-mobile .td-wrap,
  body.td-shell-route-unified.td-is-mobile .td-container.td-wrap,
  body.td-shell-route-unified.td-is-mobile .td-main,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__main{
    padding:0 0 calc(var(--td-mobile-bottom-nav-total, calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px))) + 16px) !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-main__body,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__content.td-main__body{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding-left:var(--td-mobile-frame-gutter) !important;
    padding-right:var(--td-mobile-frame-gutter) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-shell__content,
  body.td-shell-route-unified.td-is-mobile .td-shell-content,
  body.td-shell-route-unified.td-is-mobile .td-content,
  body.td-shell-route-unified.td-is-mobile .td-view-stack,
  body.td-shell-route-unified.td-is-mobile .td-stack,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__stack,
  body.td-shell-route-unified.td-is-mobile .td-dashboard,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__main,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__side,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__mobile-side,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__summary,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__entries,
  body.td-shell-route-unified.td-is-mobile .td-plan-v1,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__this-week,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__columns,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-train-v1,
  body.td-shell-route-unified.td-is-mobile .td-train-v2,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__grid,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-eval-v1,
  body.td-shell-route-unified.td-is-mobile .td-evaluate-v1,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__grid,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-list-layout,
  body.td-shell-route-unified.td-is-mobile .td-list-layout__main,
  body.td-shell-route-unified.td-is-mobile .td-list-layout__sidebar,
  body.td-shell-route-unified.td-is-mobile .td-section,
  body.td-shell-route-unified.td-is-mobile .td-plan-section,
  body.td-shell-route-unified.td-is-mobile .td-plan-this-week,
  body.td-shell-route-unified.td-is-mobile .td-train-section,
  body.td-shell-route-unified.td-is-mobile .td-eval-pending,
  body.td-shell-route-unified.td-is-mobile .td-eval-goals,
  body.td-shell-route-unified.td-is-mobile .td-eval-recent,
  body.td-shell-route-unified.td-is-mobile .td-eval-compare,
  body.td-shell-route-unified.td-is-mobile .td-eval-templates,
  body.td-shell-route-unified.td-is-mobile .td-create-picker,
  body.td-shell-route-unified.td-is-mobile .td-create-picker__group,
  body.td-shell-route-unified.td-is-mobile .td-content--courseware,
  body.td-shell-route-unified.td-is-mobile .td-content--courseware > .td-view-stack,
  body.td-shell-route-unified.td-is-mobile .td-typography-preview__stack{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-mobile-frame-gap) !important;
    align-items:start !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__decor{
    display:none !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-main__body > .td-content > *,
  body.td-shell-route-unified.td-is-mobile .td-shell__content > *,
  body.td-shell-route-unified.td-is-mobile .td-shell-content > *,
  body.td-shell-route-unified.td-is-mobile .td-content > *,
  body.td-shell-route-unified.td-is-mobile .td-view-stack > *,
  body.td-shell-route-unified.td-is-mobile .td-stack > *,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__stack > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__main > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__side > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__mobile-side > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__summary > *,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__entries > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-v1 > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2 > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__this-week > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__columns > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__col > *,
  body.td-shell-route-unified.td-is-mobile .td-train-v1 > *,
  body.td-shell-route-unified.td-is-mobile .td-train-v2 > *,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__grid > *,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__col > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-v1 > *,
  body.td-shell-route-unified.td-is-mobile .td-evaluate-v1 > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2 > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__grid > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__col > *,
  body.td-shell-route-unified.td-is-mobile .td-list-layout > *,
  body.td-shell-route-unified.td-is-mobile .td-list-layout__main > *,
  body.td-shell-route-unified.td-is-mobile .td-list-layout__sidebar > *,
  body.td-shell-route-unified.td-is-mobile .td-section > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-section > *,
  body.td-shell-route-unified.td-is-mobile .td-plan-this-week > *,
  body.td-shell-route-unified.td-is-mobile .td-train-section > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-pending > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-goals > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-recent > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-compare > *,
  body.td-shell-route-unified.td-is-mobile .td-eval-templates > *,
  body.td-shell-route-unified.td-is-mobile .td-create-picker > *,
  body.td-shell-route-unified.td-is-mobile .td-create-picker__group > *,
  body.td-shell-route-unified.td-is-mobile .td-content--courseware > *,
  body.td-shell-route-unified.td-is-mobile .td-content--courseware > .td-view-stack > *,
  body.td-shell-route-unified.td-is-mobile .td-typography-preview__stack > *{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card,
  body.td-shell-route-unified.td-is-mobile .td-dash-card,
  body.td-shell-route-unified.td-is-mobile .td-panel,
  body.td-shell-route-unified.td-is-mobile .td-postit,
  body.td-shell-route-unified.td-is-mobile .td-section-card,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile .td-course-layout__surface,
  body.td-shell-route-unified.td-is-mobile .td-card--courseware,
  body.td-shell-route-unified.td-is-mobile .td-card--course-surface,
  body.td-shell-route-unified.td-is-mobile .td-help-list-wrap,
  body.td-shell-route-unified.td-is-mobile .td-help-article-layout{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:var(--td-mobile-card-pad) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-card__body{
    padding:0 !important;
    margin:0 !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card > .td-card__header + .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-card > * + *,
  body.td-shell-route-unified.td-is-mobile .td-panel > * + *,
  body.td-shell-route-unified.td-is-mobile .td-postit > * + *{
    margin-top:12px !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-section > * + *,
  body.td-shell-route-unified.td-is-mobile .td-plan-section > * + *,
  body.td-shell-route-unified.td-is-mobile .td-plan-this-week > * + *,
  body.td-shell-route-unified.td-is-mobile .td-train-section > * + *,
  body.td-shell-route-unified.td-is-mobile .td-eval-pending > * + *,
  body.td-shell-route-unified.td-is-mobile .td-eval-goals > * + *,
  body.td-shell-route-unified.td-is-mobile .td-eval-recent > * + *,
  body.td-shell-route-unified.td-is-mobile .td-eval-compare > * + *,
  body.td-shell-route-unified.td-is-mobile .td-eval-templates > * + *{
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-dash-title,
  body.td-shell-route-unified.td-is-mobile .td-card__title,
  body.td-shell-route-unified.td-is-mobile .td-panel__title{
    font-size:clamp(1.75rem, 1.15rem + 1.5vw, 2rem) !important;
    line-height:1.12 !important;
    margin:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-pagetype-td_view_typography_preview .td-typography-preview__mini-card .td-dash-title,
  body.td-shell-route-unified.td-is-mobile.td-pagetype-td_view_typography_preview .td-typography-preview__section > .td-dash-title{
    font-size:clamp(1.75rem, 1.15rem + 1.5vw, 2rem) !important;
    line-height:1.12 !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-dash-card__row{
    display:grid !important;
    grid-template-columns:88px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-dash-card__date{
    display:flex !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-date-badge{
    width:88px !important;
    min-height:96px !important;
    border-radius:18px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    background:#ece2ca !important;
    color:#7f5f40 !important;
    padding:8px 6px !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-date-badge__day{font-size:2.25rem !important;line-height:1 !important;font-weight:700 !important;}
  body.td-shell-route-unified.td-is-mobile .td-date-badge__month{font-size:1rem !important;line-height:1.1 !important;font-weight:700 !important;letter-spacing:.08em !important;}

  body.td-shell-route-unified.td-is-mobile.td-header-variant-utility .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-header-variant-dark_wave .td-main__body{
    padding-top:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-courseware-app .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-courseware-app .td-content--courseware,
  body.td-shell-route-unified.td-is-mobile.td-courseware-app .td-content--courseware > .td-view-stack{
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-courseware-app .td-content--courseware{
    padding-top:0 !important;
  }
}



/* 2.7.95.25 / 2109 – mobil content owner reset: td-content-compat är ensam ägare för wrapperkedja, kortbredd och gap. */
@media (max-width: 781px){
  body.td-page,
  body.td-shell,
  body.td-help-single,
  body.single-td_help,
  body.td-courseware-app,
  body.td-entry-single,
  body.td-share-single{
    --td-mobile-content-gutter: 12px;
    --td-mobile-content-gap: 12px;
    --td-mobile-card-pad: 16px;
  }

  body.td-page .td-main,
  body.td-shell .td-main,
  body.td-help-single .td-main,
  body.single-td_help .td-main,
  body.td-courseware-app .td-main,
  body.td-entry-single .td-main,
  body.td-share-single .td-main{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 var(--td-mobile-content-gutter) calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    box-sizing: border-box !important;
  }

  body.td-page .td-main__body,
  body.td-shell .td-main__body,
  body.td-help-single .td-main__body,
  body.single-td_help .td-main__body,
  body.td-courseware-app .td-main__body,
  body.td-entry-single .td-main__body,
  body.td-share-single .td-main__body{
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.td-page .td-shell-content,
  body.td-page .td-content,
  body.td-page .td-view-stack,
  body.td-page .td-stack,
  body.td-page .td-page-frame__stack,
  body.td-page .td-dashboard-home-layout,
  body.td-page .td-dashboard-home-layout__main,
  body.td-page .td-dashboard-home-layout__side,
  body.td-page .td-dashboard-home-layout__entries,
  body.td-page .td-dashboard-home-layout__summary,
  body.td-page .td-plan-v2,
  body.td-page .td-plan-v2__columns,
  body.td-page .td-plan-v2__col,
  body.td-page .td-train-v2,
  body.td-page .td-train-v2__grid,
  body.td-page .td-train-v2__col,
  body.td-page .td-eval-v2,
  body.td-page .td-eval-v2__grid,
  body.td-page .td-eval-v2__col,
  body.td-shell .td-shell-content,
  body.td-shell .td-content,
  body.td-shell .td-view-stack,
  body.td-shell .td-stack{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: var(--td-mobile-content-gap) !important;
    align-items: start !important;
    align-content: start !important;
  }

  body.td-page .td-shell-content > *,
  body.td-page .td-content > *,
  body.td-page .td-view-stack > *,
  body.td-page .td-stack > *,
  body.td-page .td-page-frame__stack > *,
  body.td-page .td-dashboard-home-layout > *,
  body.td-page .td-dashboard-home-layout__main > *,
  body.td-page .td-dashboard-home-layout__side > *,
  body.td-page .td-dashboard-home-layout__entries > *,
  body.td-page .td-dashboard-home-layout__summary > *,
  body.td-page .td-plan-v2 > *,
  body.td-page .td-plan-v2__columns > *,
  body.td-page .td-plan-v2__col > *,
  body.td-page .td-train-v2 > *,
  body.td-page .td-train-v2__grid > *,
  body.td-page .td-train-v2__col > *,
  body.td-page .td-eval-v2 > *,
  body.td-page .td-eval-v2__grid > *,
  body.td-page .td-eval-v2__col > *,
  body.td-shell .td-shell-content > *,
  body.td-shell .td-content > *,
  body.td-shell .td-view-stack > *,
  body.td-shell .td-stack > *{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: stretch !important;
    align-self: start !important;
    box-sizing: border-box !important;
  }

  body.td-page .td-card,
  body.td-page .td-postit,
  body.td-page .td-dash-card,
  body.td-page .td-section-card,
  body.td-page .td-edit-section-card,
  body.td-page .td-train-section,
  body.td-page .td-plan-section,
  body.td-page .td-section,
  body.td-page .td-card--course-surface,
  body.td-shell .td-card,
  body.td-help-single .td-card,
  body.td-courseware-app .td-card{
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
    align-self: start !important;
  }

  body.td-page .td-card__header,
  body.td-page .td-card__body,
  body.td-page .td-section-card > .td-card__body,
  body.td-page .td-edit-section-card > .td-card__body,
  body.td-page .td-card--course-surface .td-card__body,
  body.td-shell .td-card__header,
  body.td-shell .td-card__body,
  body.td-help-single .td-card__header,
  body.td-help-single .td-card__body,
  body.td-courseware-app .td-card__header,
  body.td-courseware-app .td-card__body{
    padding-left: var(--td-mobile-card-pad) !important;
    padding-right: var(--td-mobile-card-pad) !important;
    box-sizing: border-box !important;
  }

  body.td-page .td-card__header,
  body.td-shell .td-card__header,
  body.td-help-single .td-card__header,
  body.td-courseware-app .td-card__header{
    padding-top: var(--td-mobile-card-pad) !important;
    padding-bottom: 8px !important;
  }

  body.td-page .td-card__body,
  body.td-page .td-section-card > .td-card__body,
  body.td-page .td-edit-section-card > .td-card__body,
  body.td-page .td-card--course-surface .td-card__body,
  body.td-shell .td-card__body,
  body.td-help-single .td-card__body,
  body.td-courseware-app .td-card__body{
    padding-top: var(--td-mobile-card-pad) !important;
    padding-bottom: var(--td-mobile-card-pad) !important;
  }

  body.td-page .td-card__header + .td-card__body,
  body.td-shell .td-card__header + .td-card__body,
  body.td-help-single .td-card__header + .td-card__body,
  body.td-courseware-app .td-card__header + .td-card__body{
    padding-top: 0 !important;
  }

  body.td-page .td-card > .td-dash-title:first-child,
  body.td-page .td-card > h1:first-child,
  body.td-page .td-card > h2:first-child,
  body.td-page .td-card > h3:first-child,
  body.td-page .td-card > .td-group-title:first-child,
  body.td-page .td-card > p:first-child,
  body.td-page .td-card > ul:first-child,
  body.td-page .td-card > ol:first-child,
  body.td-page .td-card > form:first-child{
    margin-top: 0 !important;
    margin-left: var(--td-mobile-card-pad) !important;
    margin-right: var(--td-mobile-card-pad) !important;
  }

  body.td-page .td-card > p,
  body.td-page .td-card > ul,
  body.td-page .td-card > ol,
  body.td-page .td-card > form,
  body.td-page .td-card > table,
  body.td-page .td-card > .td-button-row,
  body.td-page .td-card > .td-actions,
  body.td-page .td-card > .td-empty-actions,
  body.td-page .td-card > .td-filter-form,
  body.td-page .td-card > .td-entry-list{
    margin-left: var(--td-mobile-card-pad) !important;
    margin-right: var(--td-mobile-card-pad) !important;
    box-sizing: border-box !important;
  }

  body.td-view-home .td-postits-grid,
  body.td-view-dashboard .td-postits-grid,
  body.td-view-plan .td-postits-grid{
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: var(--td-mobile-content-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.td-page .td-postit .td-card__header,
  body.td-page .td-postit .td-card__body{
    padding-left: var(--td-mobile-card-pad) !important;
    padding-right: var(--td-mobile-card-pad) !important;
  }
}


/* 2.7.95.26 / 2109 – central content frame owner
   td-content-compat äger nu wrapperkedja, mobilens content-start, gutter, gap och kortbredd
   för td_view, help, courseware, share, entry och no-access-spåren. */
body.td-page,
body.td-shell,
body.td-help-single,
body.single-td_help,
body.td-courseware-app,
body.td-entry-single,
body.td-share-single,
body.td-no-access,
body.td-shell-standalone{
  --td-content-frame-max: var(--td-final-content-max, 1120px);
  --td-content-frame-pad: var(--td-final-content-pad, 16px);
  --td-content-frame-gap: var(--td-final-stack-gap, 16px);
  --td-content-card-pad: var(--td-final-card-pad, 18px);
}

body.td-page .td-main,
body.td-shell .td-main,
body.td-help-single .td-main,
body.single-td_help .td-main,
body.td-courseware-app .td-main,
body.td-entry-single .td-main,
body.td-share-single .td-main,
body.td-no-access .td-main,
body.td-shell-standalone .td-main{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

body.td-page .td-main__body,
body.td-shell .td-main__body,
body.td-help-single .td-main__body,
body.single-td_help .td-main__body,
body.td-courseware-app .td-main__body,
body.td-entry-single .td-main__body,
body.td-share-single .td-main__body,
body.td-no-access .td-main__body,
body.td-shell-standalone .td-main__body{
  width:min(100%, var(--td-content-frame-max)) !important;
  max-width:var(--td-content-frame-max) !important;
  margin:0 auto !important;
  padding:0 0 32px !important;
  box-sizing:border-box !important;
}

body.td-page .td-shell-content,
body.td-page .td-content,
body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-page-frame__stack,
body.td-shell .td-shell-content,
body.td-shell .td-content,
body.td-shell .td-view-stack,
body.td-shell .td-stack,
body.td-help-single .td-shell-content,
body.td-help-single .td-content,
body.td-help-single .td-view-stack,
body.single-td_help .td-shell-content,
body.single-td_help .td-content,
body.single-td_help .td-view-stack,
body.td-courseware-app .td-shell-content,
body.td-courseware-app .td-content,
body.td-courseware-app .td-view-stack,
body.td-entry-single .td-shell-content,
body.td-entry-single .td-content,
body.td-entry-single .td-view-stack,
body.td-share-single .td-shell-content,
body.td-share-single .td-content,
body.td-share-single .td-view-stack,
body.td-no-access .td-shell-content,
body.td-no-access .td-content,
body.td-no-access .td-view-stack{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

body.td-page .td-shell-content,
body.td-page .td-content,
body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-page-frame__stack,
body.td-shell .td-shell-content,
body.td-shell .td-content,
body.td-shell .td-view-stack,
body.td-shell .td-stack,
body.td-help-single .td-shell-content,
body.td-help-single .td-content,
body.td-help-single .td-view-stack,
body.single-td_help .td-shell-content,
body.single-td_help .td-content,
body.single-td_help .td-view-stack,
body.td-courseware-app .td-shell-content,
body.td-courseware-app .td-content,
body.td-courseware-app .td-view-stack,
body.td-entry-single .td-shell-content,
body.td-entry-single .td-content,
body.td-entry-single .td-view-stack,
body.td-share-single .td-shell-content,
body.td-share-single .td-content,
body.td-share-single .td-view-stack{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:var(--td-content-frame-gap) !important;
  align-items:start !important;
  align-content:start !important;
}

body.td-page .td-shell-content > *,
body.td-page .td-content > *,
body.td-page .td-view-stack > *,
body.td-page .td-stack > *,
body.td-page .td-page-frame__stack > *,
body.td-shell .td-shell-content > *,
body.td-shell .td-content > *,
body.td-shell .td-view-stack > *,
body.td-shell .td-stack > *,
body.td-help-single .td-shell-content > *,
body.td-help-single .td-content > *,
body.td-help-single .td-view-stack > *,
body.single-td_help .td-shell-content > *,
body.single-td_help .td-content > *,
body.single-td_help .td-view-stack > *,
body.td-courseware-app .td-shell-content > *,
body.td-courseware-app .td-content > *,
body.td-courseware-app .td-view-stack > *,
body.td-entry-single .td-shell-content > *,
body.td-entry-single .td-content > *,
body.td-entry-single .td-view-stack > *,
body.td-share-single .td-shell-content > *,
body.td-share-single .td-content > *,
body.td-share-single .td-view-stack > *{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  justify-self:stretch !important;
  align-self:start !important;
  box-sizing:border-box !important;
}

body.td-page .td-card,
body.td-page .td-section-card,
body.td-page .td-edit-section-card,
body.td-page .td-panel,
body.td-page .td-postit,
body.td-page .td-dashboard-card,
body.td-shell .td-card,
body.td-help-single .td-card,
body.single-td_help .td-card,
body.td-courseware-app .td-card,
body.td-entry-single .td-card,
body.td-share-single .td-card,
body.td-no-access .td-card{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

body.td-page .td-card__header,
body.td-page .td-card__body,
body.td-shell .td-card__header,
body.td-shell .td-card__body,
body.td-help-single .td-card__header,
body.td-help-single .td-card__body,
body.single-td_help .td-card__header,
body.single-td_help .td-card__body,
body.td-courseware-app .td-card__header,
body.td-courseware-app .td-card__body,
body.td-entry-single .td-card__header,
body.td-entry-single .td-card__body,
body.td-share-single .td-card__header,
body.td-share-single .td-card__body{
  box-sizing:border-box !important;
}

body.td-view-instructor .td-instructor-page__grid,
body.td-view-instructor .td-instructor-page__main,
body.td-view-instructor .td-instructor-page__side{
  min-width:0 !important;
}

@media (max-width:781px){
  body:not(.td-shell-route-unified).td-page,
  body:not(.td-shell-route-unified).td-shell,
  body:not(.td-shell-route-unified).td-help-single,
  body:not(.td-shell-route-unified).single-td_help,
  body:not(.td-shell-route-unified).td-courseware-app,
  body:not(.td-shell-route-unified).td-entry-single,
  body:not(.td-shell-route-unified).td-share-single,
  body:not(.td-shell-route-unified).td-no-access{
    --td-mobile-content-gutter:16px;
    --td-mobile-content-gap:16px;
    --td-mobile-card-pad:16px;
    --td-mobile-content-start:8px;
  }

  body:not(.td-shell-route-unified).td-header-variant-dark_wave{
    --td-mobile-content-start:calc(var(--td-header-mobile-wave, 28px) + 8px);
  }

  body:not(.td-shell-route-unified).td-page .td-main,
  body:not(.td-shell-route-unified).td-shell .td-main,
  body:not(.td-shell-route-unified).td-help-single .td-main,
  body:not(.td-shell-route-unified).single-td_help .td-main,
  body:not(.td-shell-route-unified).td-courseware-app .td-main,
  body:not(.td-shell-route-unified).td-entry-single .td-main,
  body:not(.td-shell-route-unified).td-share-single .td-main,
  body:not(.td-shell-route-unified).td-no-access .td-main{
    padding:var(--td-mobile-content-start) var(--td-mobile-content-gutter) calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
  }

  body:not(.td-shell-route-unified).td-page .td-main__body,
  body:not(.td-shell-route-unified).td-shell .td-main__body,
  body:not(.td-shell-route-unified).td-help-single .td-main__body,
  body:not(.td-shell-route-unified).single-td_help .td-main__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-main__body,
  body:not(.td-shell-route-unified).td-entry-single .td-main__body,
  body:not(.td-shell-route-unified).td-share-single .td-main__body,
  body:not(.td-shell-route-unified).td-no-access .td-main__body{
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
  }

  body:not(.td-shell-route-unified).td-page .td-shell-content,
  body:not(.td-shell-route-unified).td-page .td-content,
  body:not(.td-shell-route-unified).td-page .td-view-stack,
  body:not(.td-shell-route-unified).td-page .td-stack,
  body:not(.td-shell-route-unified).td-page .td-page-frame__stack,
  body:not(.td-shell-route-unified).td-shell .td-shell-content,
  body:not(.td-shell-route-unified).td-shell .td-content,
  body:not(.td-shell-route-unified).td-shell .td-view-stack,
  body:not(.td-shell-route-unified).td-shell .td-stack,
  body:not(.td-shell-route-unified).td-help-single .td-shell-content,
  body:not(.td-shell-route-unified).td-help-single .td-content,
  body:not(.td-shell-route-unified).td-help-single .td-view-stack,
  body:not(.td-shell-route-unified).single-td_help .td-shell-content,
  body:not(.td-shell-route-unified).single-td_help .td-content,
  body:not(.td-shell-route-unified).single-td_help .td-view-stack,
  body:not(.td-shell-route-unified).td-courseware-app .td-shell-content,
  body:not(.td-shell-route-unified).td-courseware-app .td-content,
  body:not(.td-shell-route-unified).td-courseware-app .td-view-stack,
  body:not(.td-shell-route-unified).td-entry-single .td-shell-content,
  body:not(.td-shell-route-unified).td-entry-single .td-content,
  body:not(.td-shell-route-unified).td-entry-single .td-view-stack,
  body:not(.td-shell-route-unified).td-share-single .td-shell-content,
  body:not(.td-shell-route-unified).td-share-single .td-content,
  body:not(.td-shell-route-unified).td-share-single .td-view-stack{
    gap:var(--td-mobile-content-gap) !important;
  }

  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__grid{
    grid-template-columns:minmax(0,1fr) !important;
    gap:var(--td-mobile-content-gap) !important;
  }

  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__main,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__side,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-form,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-pass-list,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-students,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-sent{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  body:not(.td-shell-route-unified).td-help-single .td-content--help-single,
  body:not(.td-shell-route-unified).single-td_help .td-content--help-single,
  body:not(.td-shell-route-unified).td-courseware-app .td-content--courseware{
    margin:0 !important;
    padding:0 !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header,
  body:not(.td-shell-route-unified).td-page .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__header,
  body:not(.td-shell-route-unified).td-shell .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__header,
  body:not(.td-shell-route-unified).td-help-single .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__header,
  body:not(.td-shell-route-unified).single-td_help .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header,
  body:not(.td-shell-route-unified).td-entry-single .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__header,
  body:not(.td-shell-route-unified).td-share-single .td-card__body{
    padding-left:var(--td-mobile-card-pad) !important;
    padding-right:var(--td-mobile-card-pad) !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header,
  body:not(.td-shell-route-unified).td-shell .td-card__header,
  body:not(.td-shell-route-unified).td-help-single .td-card__header,
  body:not(.td-shell-route-unified).single-td_help .td-card__header,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header,
  body:not(.td-shell-route-unified).td-share-single .td-card__header{
    padding-top:var(--td-mobile-card-pad) !important;
    padding-bottom:8px !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__body{
    padding-top:var(--td-mobile-card-pad) !important;
    padding-bottom:var(--td-mobile-card-pad) !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__header + .td-card__body{
    padding-top:0 !important;
  }
}


/* 2.7.95.27 / 2109 – content frame follow-up
   td-content-compat är ensam ägare för content-start, wrapperkedja, kortbredd och stack-gap.
   Headerfiler exponerar bara sina ytors höjder; td-mobile äger bara själva bottomnav. */

body:not(.td-shell-route-unified).td-page,
body:not(.td-shell-route-unified).td-shell,
body:not(.td-shell-route-unified).td-help-single,
body:not(.td-shell-route-unified).single-td_help,
body:not(.td-shell-route-unified).td-courseware-app,
body:not(.td-shell-route-unified).td-entry-single,
body:not(.td-shell-route-unified).td-share-single,
body:not(.td-shell-route-unified).td-no-access{
  --td-content-frame-gap:var(--td-final-stack-gap, 16px);
}

body:not(.td-shell-route-unified).td-page .td-main__body > .td-content,
body:not(.td-shell-route-unified).td-shell .td-main__body > .td-content,
body:not(.td-shell-route-unified).td-help-single .td-main__body > .td-content,
body:not(.td-shell-route-unified).single-td_help .td-main__body > .td-content,
body:not(.td-shell-route-unified).td-courseware-app .td-main__body > .td-content,
body:not(.td-shell-route-unified).td-page .td-view-stack,
body:not(.td-shell-route-unified).td-shell .td-view-stack,
body:not(.td-shell-route-unified).td-help-single .td-view-stack,
body:not(.td-shell-route-unified).single-td_help .td-view-stack,
body:not(.td-shell-route-unified).td-courseware-app .td-view-stack,
body:not(.td-shell-route-unified).td-entry-single .td-view-stack,
body:not(.td-shell-route-unified).td-share-single .td-view-stack,
body:not(.td-shell-route-unified).td-no-access .td-view-stack,
body:not(.td-shell-route-unified).td-page .td-stack,
body:not(.td-shell-route-unified).td-shell .td-stack,
body:not(.td-shell-route-unified).td-help-single .td-stack,
body:not(.td-shell-route-unified).single-td_help .td-stack,
body:not(.td-shell-route-unified).td-courseware-app .td-stack,
body:not(.td-shell-route-unified).td-entry-single .td-stack,
body:not(.td-shell-route-unified).td-share-single .td-stack,
body:not(.td-shell-route-unified).td-no-access .td-stack,
body:not(.td-shell-route-unified).td-page .td-dashboard,
body:not(.td-shell-route-unified).td-page .td-plan-v1,
body:not(.td-shell-route-unified).td-page .td-train-v1,
body:not(.td-shell-route-unified).td-page .td-eval-v1,
body:not(.td-shell-route-unified).td-page [class*="td-content--view-"],
body:not(.td-shell-route-unified).td-shell [class*="td-content--view-"],
body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__grid,
body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__main,
body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__side{
  gap:var(--td-content-frame-gap) !important;
}
body:not(.td-shell-route-unified).td-page .td-dashboard,
body:not(.td-shell-route-unified).td-page .td-plan-v1,
body:not(.td-shell-route-unified).td-page .td-train-v1,
body:not(.td-shell-route-unified).td-page .td-eval-v1,
body:not(.td-shell-route-unified).td-page .td-evaluate-v1,
body:not(.td-shell-route-unified).td-page .td-plan-section,
body:not(.td-shell-route-unified).td-page .td-plan-this-week,
body:not(.td-shell-route-unified).td-page .td-train-section,
body:not(.td-shell-route-unified).td-page .td-eval-pending,
body:not(.td-shell-route-unified).td-page .td-eval-goals,
body:not(.td-shell-route-unified).td-page .td-eval-recent,
body:not(.td-shell-route-unified).td-page .td-eval-compare,
body:not(.td-shell-route-unified).td-page .td-eval-templates,
body:not(.td-shell-route-unified).td-shell .td-dashboard,
body:not(.td-shell-route-unified).td-shell .td-plan-v1,
body:not(.td-shell-route-unified).td-shell .td-train-v1,
body:not(.td-shell-route-unified).td-shell .td-eval-v1,
body:not(.td-shell-route-unified).td-shell .td-evaluate-v1,
body:not(.td-shell-route-unified).td-shell .td-plan-section,
body:not(.td-shell-route-unified).td-shell .td-plan-this-week,
body:not(.td-shell-route-unified).td-shell .td-train-section,
body:not(.td-shell-route-unified).td-shell .td-eval-pending,
body:not(.td-shell-route-unified).td-shell .td-eval-goals,
body:not(.td-shell-route-unified).td-shell .td-eval-recent,
body:not(.td-shell-route-unified).td-shell .td-eval-compare,
body:not(.td-shell-route-unified).td-shell .td-eval-templates{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:var(--td-content-frame-gap) !important;
  align-items:start !important;
  align-content:start !important;
}

body:not(.td-shell-route-unified).td-page .td-dashboard > *,
body:not(.td-shell-route-unified).td-page .td-plan-v1 > *,
body:not(.td-shell-route-unified).td-page .td-train-v1 > *,
body:not(.td-shell-route-unified).td-page .td-eval-v1 > *,
body:not(.td-shell-route-unified).td-page .td-evaluate-v1 > *,
body:not(.td-shell-route-unified).td-page .td-plan-section > *,
body:not(.td-shell-route-unified).td-page .td-plan-this-week > *,
body:not(.td-shell-route-unified).td-page .td-train-section > *,
body:not(.td-shell-route-unified).td-page .td-eval-pending > *,
body:not(.td-shell-route-unified).td-page .td-eval-goals > *,
body:not(.td-shell-route-unified).td-page .td-eval-recent > *,
body:not(.td-shell-route-unified).td-page .td-eval-compare > *,
body:not(.td-shell-route-unified).td-page .td-eval-templates > *,
body:not(.td-shell-route-unified).td-shell .td-dashboard > *,
body:not(.td-shell-route-unified).td-shell .td-plan-v1 > *,
body:not(.td-shell-route-unified).td-shell .td-train-v1 > *,
body:not(.td-shell-route-unified).td-shell .td-eval-v1 > *,
body:not(.td-shell-route-unified).td-shell .td-evaluate-v1 > *,
body:not(.td-shell-route-unified).td-shell .td-plan-section > *,
body:not(.td-shell-route-unified).td-shell .td-plan-this-week > *,
body:not(.td-shell-route-unified).td-shell .td-train-section > *,
body:not(.td-shell-route-unified).td-shell .td-eval-pending > *,
body:not(.td-shell-route-unified).td-shell .td-eval-goals > *,
body:not(.td-shell-route-unified).td-shell .td-eval-recent > *,
body:not(.td-shell-route-unified).td-shell .td-eval-compare > *,
body:not(.td-shell-route-unified).td-shell .td-eval-templates > *{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  justify-self:stretch !important;
  align-self:start !important;
  box-sizing:border-box !important;
}

body:not(.td-shell-route-unified).td-page .td-dashboard > * + *,
body:not(.td-shell-route-unified).td-page .td-plan-v1 > * + *,
body:not(.td-shell-route-unified).td-page .td-train-v1 > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-v1 > * + *,
body:not(.td-shell-route-unified).td-page .td-evaluate-v1 > * + *,
body:not(.td-shell-route-unified).td-page .td-plan-section > * + *,
body:not(.td-shell-route-unified).td-page .td-plan-this-week > * + *,
body:not(.td-shell-route-unified).td-page .td-train-section > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-pending > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-goals > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-recent > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-compare > * + *,
body:not(.td-shell-route-unified).td-page .td-eval-templates > * + *,
body:not(.td-shell-route-unified).td-shell .td-dashboard > * + *,
body:not(.td-shell-route-unified).td-shell .td-plan-v1 > * + *,
body:not(.td-shell-route-unified).td-shell .td-train-v1 > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-v1 > * + *,
body:not(.td-shell-route-unified).td-shell .td-evaluate-v1 > * + *,
body:not(.td-shell-route-unified).td-shell .td-plan-section > * + *,
body:not(.td-shell-route-unified).td-shell .td-plan-this-week > * + *,
body:not(.td-shell-route-unified).td-shell .td-train-section > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-pending > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-goals > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-recent > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-compare > * + *,
body:not(.td-shell-route-unified).td-shell .td-eval-templates > * + *{
  margin-top:0 !important;
}

@media (min-width:782px){
  body:not(.td-shell-route-unified).td-page .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-shell .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-help-single .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).single-td_help .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-courseware-app .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-entry-single .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-share-single .td-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-page .td-section-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-page .td-edit-section-card > .td-dash-title,
  body:not(.td-shell-route-unified).td-page .td-panel > .td-panel__title,
  body:not(.td-shell-route-unified).td-page .td-card > h1,
  body:not(.td-shell-route-unified).td-page .td-card > h2,
  body:not(.td-shell-route-unified).td-page .td-card > h3,
  body:not(.td-shell-route-unified).td-shell .td-card > h1,
  body:not(.td-shell-route-unified).td-shell .td-card > h2,
  body:not(.td-shell-route-unified).td-shell .td-card > h3,
  body:not(.td-shell-route-unified).td-page .td-card__header > h1,
  body:not(.td-shell-route-unified).td-page .td-card__header > h2,
  body:not(.td-shell-route-unified).td-page .td-card__header > h3,
  body:not(.td-shell-route-unified).td-shell .td-card__header > h1,
  body:not(.td-shell-route-unified).td-shell .td-card__header > h2,
  body:not(.td-shell-route-unified).td-shell .td-card__header > h3,
  body:not(.td-shell-route-unified).td-help-single .td-card__header > h1,
  body:not(.td-shell-route-unified).td-help-single .td-card__header > h2,
  body:not(.td-shell-route-unified).td-help-single .td-card__header > h3,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h1,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h2,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h3,
  body:not(.td-shell-route-unified).td-page .td-card__title,
  body:not(.td-shell-route-unified).td-shell .td-card__title,
  body:not(.td-shell-route-unified).td-help-single .td-card__title,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__title,
  body:not(.td-shell-route-unified).td-page .td-panel__title,
  body:not(.td-shell-route-unified).td-shell .td-panel__title{
    margin-bottom:0 !important;
  }
}


body:not(.td-shell-route-unified).td-page .td-card,
body:not(.td-shell-route-unified).td-shell .td-card,
body:not(.td-shell-route-unified).td-help-single .td-card,
body:not(.td-shell-route-unified).single-td_help .td-card,
body:not(.td-shell-route-unified).td-courseware-app .td-card,
body:not(.td-shell-route-unified).td-entry-single .td-card,
body:not(.td-shell-route-unified).td-share-single .td-card,
body:not(.td-shell-route-unified).td-no-access .td-card,
body:not(.td-shell-route-unified).td-page .td-section-card,
body:not(.td-shell-route-unified).td-page .td-edit-section-card,
body:not(.td-shell-route-unified).td-page .td-course-layout__surface,
body:not(.td-shell-route-unified).td-page .td-postit,
body:not(.td-shell-route-unified).td-page .td-dashboard-card,
body:not(.td-shell-route-unified).td-page .td-panel{
  margin:0 !important;
}

body:not(.td-shell-route-unified).td-page .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-shell .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-help-single .td-card > .td-dash-title,
body:not(.td-shell-route-unified).single-td_help .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-courseware-app .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-entry-single .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-share-single .td-card > .td-dash-title,
body:not(.td-shell-route-unified).td-page .td-section-card > .td-dash-title,
body:not(.td-shell-route-unified).td-page .td-edit-section-card > .td-dash-title,
body:not(.td-shell-route-unified).td-page .td-panel > .td-panel__title,
body:not(.td-shell-route-unified).td-page .td-card > h1,
body:not(.td-shell-route-unified).td-page .td-card > h2,
body:not(.td-shell-route-unified).td-page .td-card > h3,
body:not(.td-shell-route-unified).td-shell .td-card > h1,
body:not(.td-shell-route-unified).td-shell .td-card > h2,
body:not(.td-shell-route-unified).td-shell .td-card > h3,
body:not(.td-shell-route-unified).td-page .td-card__header > h1,
body:not(.td-shell-route-unified).td-page .td-card__header > h2,
body:not(.td-shell-route-unified).td-page .td-card__header > h3,
body:not(.td-shell-route-unified).td-shell .td-card__header > h1,
body:not(.td-shell-route-unified).td-shell .td-card__header > h2,
body:not(.td-shell-route-unified).td-shell .td-card__header > h3,
body:not(.td-shell-route-unified).td-help-single .td-card__header > h1,
body:not(.td-shell-route-unified).td-help-single .td-card__header > h2,
body:not(.td-shell-route-unified).td-help-single .td-card__header > h3,
body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h1,
body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h2,
body:not(.td-shell-route-unified).td-courseware-app .td-card__header > h3,
body:not(.td-shell-route-unified).td-page .td-card__title,
body:not(.td-shell-route-unified).td-shell .td-card__title,
body:not(.td-shell-route-unified).td-help-single .td-card__title,
body:not(.td-shell-route-unified).td-courseware-app .td-card__title,
body:not(.td-shell-route-unified).td-page .td-panel__title,
body:not(.td-shell-route-unified).td-shell .td-panel__title{
  margin:0 !important;
}

body:not(.td-shell-route-unified).td-page .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-shell .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-help-single .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).single-td_help .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-courseware-app .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-entry-single .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-share-single .td-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-page .td-section-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-page .td-edit-section-card > .td-dash-title + *,
body:not(.td-shell-route-unified).td-page .td-panel > .td-panel__title + *,
body:not(.td-shell-route-unified).td-page .td-card > h1 + *,
body:not(.td-shell-route-unified).td-page .td-card > h2 + *,
body:not(.td-shell-route-unified).td-page .td-card > h3 + *,
body:not(.td-shell-route-unified).td-shell .td-card > h1 + *,
body:not(.td-shell-route-unified).td-shell .td-card > h2 + *,
body:not(.td-shell-route-unified).td-shell .td-card > h3 + *{
  margin-top:0 !important;
}

@media (max-width:781px){
  body:not(.td-shell-route-unified).td-page,
  body:not(.td-shell-route-unified).td-shell,
  body:not(.td-shell-route-unified).td-help-single,
  body:not(.td-shell-route-unified).single-td_help,
  body:not(.td-shell-route-unified).td-courseware-app,
  body:not(.td-shell-route-unified).td-entry-single,
  body:not(.td-shell-route-unified).td-share-single,
  body:not(.td-shell-route-unified).td-no-access{
    --td-mobile-content-gutter:16px;
    --td-mobile-content-gap:16px;
    --td-mobile-card-pad:16px;
    --td-mobile-content-start:8px;
  }

  body:not(.td-shell-route-unified).td-header-variant-utility:not(.td-mobile-topbar-none):not(.td-shell-chrome-none){
    --td-mobile-content-start:calc(var(--td-mobile-header-offset, var(--td-header-mobile-topbar, 60px)) + 8px);
  }

  body:not(.td-shell-route-unified).td-header-variant-dark_wave:not(.td-mobile-topbar-none):not(.td-shell-chrome-none){
    --td-mobile-content-start:calc(var(--td-header-mobile-dark-wave-height, 176px) + 8px);
  }

  body:not(.td-shell-route-unified).td-header-variant-hero_image{
    --td-mobile-content-start:8px;
  }

  body:not(.td-shell-route-unified).td-page .td-main,
  body:not(.td-shell-route-unified).td-shell .td-main,
  body:not(.td-shell-route-unified).td-help-single .td-main,
  body:not(.td-shell-route-unified).single-td_help .td-main,
  body:not(.td-shell-route-unified).td-courseware-app .td-main,
  body:not(.td-shell-route-unified).td-entry-single .td-main,
  body:not(.td-shell-route-unified).td-share-single .td-main,
  body:not(.td-shell-route-unified).td-no-access .td-main,
  body:not(.td-shell-route-unified).td-page .td-shell__main,
  body:not(.td-shell-route-unified).td-shell .td-shell__main,
  body:not(.td-shell-route-unified).td-help-single .td-shell__main,
  body:not(.td-shell-route-unified).single-td_help .td-shell__main,
  body:not(.td-shell-route-unified).td-courseware-app .td-shell__main,
  body:not(.td-shell-route-unified).td-page .td-page-frame__main,
  body:not(.td-shell-route-unified).td-shell .td-page-frame__main,
  body:not(.td-shell-route-unified).td-help-single .td-page-frame__main,
  body:not(.td-shell-route-unified).single-td_help .td-page-frame__main,
  body:not(.td-shell-route-unified).td-courseware-app .td-page-frame__main{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:var(--td-mobile-content-start) 0 calc(var(--td-mobile-bottom-nav-total, calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px))) + 16px) !important;
    box-sizing:border-box !important;
  }

  body:not(.td-shell-route-unified).td-page .td-main__body,
  body:not(.td-shell-route-unified).td-shell .td-main__body,
  body:not(.td-shell-route-unified).td-help-single .td-main__body,
  body:not(.td-shell-route-unified).single-td_help .td-main__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-main__body,
  body:not(.td-shell-route-unified).td-entry-single .td-main__body,
  body:not(.td-shell-route-unified).td-share-single .td-main__body,
  body:not(.td-shell-route-unified).td-no-access .td-main__body,
  body:not(.td-shell-route-unified).td-page .td-page-frame__content,
  body:not(.td-shell-route-unified).td-shell .td-page-frame__content,
  body:not(.td-shell-route-unified).td-help-single .td-page-frame__content,
  body:not(.td-shell-route-unified).single-td_help .td-page-frame__content,
  body:not(.td-shell-route-unified).td-courseware-app .td-page-frame__content,
  body:not(.td-shell-route-unified).td-page .td-shell__content,
  body:not(.td-shell-route-unified).td-shell .td-shell__content,
  body:not(.td-shell-route-unified).td-help-single .td-shell__content,
  body:not(.td-shell-route-unified).single-td_help .td-shell__content,
  body:not(.td-shell-route-unified).td-courseware-app .td-shell__content,
  body:not(.td-shell-route-unified).td-entry-single .td-shell__content,
  body:not(.td-shell-route-unified).td-share-single .td-shell__content,
  body:not(.td-shell-route-unified).td-no-access .td-shell__content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 var(--td-mobile-content-gutter) 0 !important;
    box-sizing:border-box !important;
  }

  body:not(.td-shell-route-unified).td-page .td-shell-content,
  body:not(.td-shell-route-unified).td-shell .td-shell-content,
  body:not(.td-shell-route-unified).td-help-single .td-shell-content,
  body:not(.td-shell-route-unified).single-td_help .td-shell-content,
  body:not(.td-shell-route-unified).td-courseware-app .td-shell-content,
  body:not(.td-shell-route-unified).td-entry-single .td-shell-content,
  body:not(.td-shell-route-unified).td-share-single .td-shell-content,
  body:not(.td-shell-route-unified).td-no-access .td-shell-content,
  body:not(.td-shell-route-unified).td-page .td-content,
  body:not(.td-shell-route-unified).td-shell .td-content,
  body:not(.td-shell-route-unified).td-help-single .td-content,
  body:not(.td-shell-route-unified).single-td_help .td-content,
  body:not(.td-shell-route-unified).td-courseware-app .td-content,
  body:not(.td-shell-route-unified).td-entry-single .td-content,
  body:not(.td-shell-route-unified).td-share-single .td-content,
  body:not(.td-shell-route-unified).td-no-access .td-content,
  body:not(.td-shell-route-unified).td-page .td-view-stack,
  body:not(.td-shell-route-unified).td-shell .td-view-stack,
  body:not(.td-shell-route-unified).td-help-single .td-view-stack,
  body:not(.td-shell-route-unified).single-td_help .td-view-stack,
  body:not(.td-shell-route-unified).td-courseware-app .td-view-stack,
  body:not(.td-shell-route-unified).td-entry-single .td-view-stack,
  body:not(.td-shell-route-unified).td-share-single .td-view-stack,
  body:not(.td-shell-route-unified).td-no-access .td-view-stack,
  body:not(.td-shell-route-unified).td-page .td-stack,
  body:not(.td-shell-route-unified).td-shell .td-stack,
  body:not(.td-shell-route-unified).td-help-single .td-stack,
  body:not(.td-shell-route-unified).single-td_help .td-stack,
  body:not(.td-shell-route-unified).td-courseware-app .td-stack,
  body:not(.td-shell-route-unified).td-entry-single .td-stack,
  body:not(.td-shell-route-unified).td-share-single .td-stack,
  body:not(.td-shell-route-unified).td-no-access .td-stack{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  body:not(.td-shell-route-unified).td-page .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-shell .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-help-single .td-main__body > .td-content,
  body:not(.td-shell-route-unified).single-td_help .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-courseware-app .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-entry-single .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-share-single .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-no-access .td-main__body > .td-content,
  body:not(.td-shell-route-unified).td-page .td-view-stack,
  body:not(.td-shell-route-unified).td-shell .td-view-stack,
  body:not(.td-shell-route-unified).td-help-single .td-view-stack,
  body:not(.td-shell-route-unified).single-td_help .td-view-stack,
  body:not(.td-shell-route-unified).td-courseware-app .td-view-stack,
  body:not(.td-shell-route-unified).td-entry-single .td-view-stack,
  body:not(.td-shell-route-unified).td-share-single .td-view-stack,
  body:not(.td-shell-route-unified).td-no-access .td-view-stack,
  body:not(.td-shell-route-unified).td-page .td-stack,
  body:not(.td-shell-route-unified).td-shell .td-stack,
  body:not(.td-shell-route-unified).td-help-single .td-stack,
  body:not(.td-shell-route-unified).single-td_help .td-stack,
  body:not(.td-shell-route-unified).td-courseware-app .td-stack,
  body:not(.td-shell-route-unified).td-entry-single .td-stack,
  body:not(.td-shell-route-unified).td-share-single .td-stack,
  body:not(.td-shell-route-unified).td-no-access .td-stack,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__grid,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__main,
  body:not(.td-shell-route-unified).td-view-instructor .td-instructor-page__side{
    gap:var(--td-mobile-content-gap) !important;
  }

  body:not(.td-shell-route-unified).td-help-single .td-content--help-single,
  body:not(.td-shell-route-unified).single-td_help .td-content--help-single,
  body:not(.td-shell-route-unified).td-courseware-app .td-content--courseware{
    margin:0 !important;
    padding:0 !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card,
  body:not(.td-shell-route-unified).td-shell .td-card,
  body:not(.td-shell-route-unified).td-help-single .td-card,
  body:not(.td-shell-route-unified).single-td_help .td-card,
  body:not(.td-shell-route-unified).td-courseware-app .td-card,
  body:not(.td-shell-route-unified).td-entry-single .td-card,
  body:not(.td-shell-route-unified).td-share-single .td-card,
  body:not(.td-shell-route-unified).td-no-access .td-card,
  body:not(.td-shell-route-unified).td-page .td-section-card,
  body:not(.td-shell-route-unified).td-page .td-edit-section-card,
  body:not(.td-shell-route-unified).td-page .td-course-layout__surface,
  body:not(.td-shell-route-unified).td-page .td-postit,
  body:not(.td-shell-route-unified).td-page .td-dashboard-card,
  body:not(.td-shell-route-unified).td-page .td-panel{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header,
  body:not(.td-shell-route-unified).td-page .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__header,
  body:not(.td-shell-route-unified).td-shell .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__header,
  body:not(.td-shell-route-unified).td-help-single .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__header,
  body:not(.td-shell-route-unified).single-td_help .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header,
  body:not(.td-shell-route-unified).td-entry-single .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__header,
  body:not(.td-shell-route-unified).td-share-single .td-card__body,
  body:not(.td-shell-route-unified).td-no-access .td-card__header,
  body:not(.td-shell-route-unified).td-no-access .td-card__body{
    padding-left:var(--td-mobile-card-pad) !important;
    padding-right:var(--td-mobile-card-pad) !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header,
  body:not(.td-shell-route-unified).td-shell .td-card__header,
  body:not(.td-shell-route-unified).td-help-single .td-card__header,
  body:not(.td-shell-route-unified).single-td_help .td-card__header,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header,
  body:not(.td-shell-route-unified).td-share-single .td-card__header,
  body:not(.td-shell-route-unified).td-no-access .td-card__header{
    padding-top:var(--td-mobile-card-pad) !important;
    padding-bottom:8px !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__body,
  body:not(.td-shell-route-unified).td-no-access .td-card__body{
    padding-top:var(--td-mobile-card-pad) !important;
    padding-bottom:var(--td-mobile-card-pad) !important;
  }

  body:not(.td-shell-route-unified).td-page .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-shell .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-help-single .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).single-td_help .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-courseware-app .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-entry-single .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-share-single .td-card__header + .td-card__body,
  body:not(.td-shell-route-unified).td-no-access .td-card__header + .td-card__body{
    padding-top:0 !important;
  }
}


@media (max-width:781px){
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add-form{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    align-items:start !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__header,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__identity,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__name,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__upload,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__meta,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__body,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__actions,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__header,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__identity,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__name,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__upload,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__meta,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__body,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__actions{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__avatar,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__avatar,
  body.td-shell-route-unified .td-card--settings-dogs .td-u-hr-16{
    display:none !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__meta,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__meta{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:12px !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__body,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__body{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__field--description,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__field--merits,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__field--description,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__field--merits,
  body.td-shell-route-unified .td-card--settings-dogs .td-u-label-stack,
  body.td-shell-route-unified .td-card--settings-dogs input,
  body.td-shell-route-unified .td-card--settings-dogs textarea,
  body.td-shell-route-unified .td-card--settings-dogs select{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs textarea{
    min-height:140px !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs input[type="date"]{
    background:#fff !important;
    background-color:#fff !important;
    color:inherit !important;
    border:1px solid rgba(47,34,27,.12) !important;
    box-shadow:none !important;
    -webkit-appearance:none !important;
    appearance:none !important;
  }

  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-row__actions,
  body.td-shell-route-unified .td-card--settings-dogs .td-dogs-add__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:12px !important;
    margin-top:6px !important;
    margin-bottom:18px !important;
    padding-top:0 !important;
    border-top:0 !important;
  }
}

/* 2.7.95.29 / 2109 – heading rhythm owner
   td-content-compat äger rubrik->innehållsrytmen i kort. */
body.td-page .td-card__header,
body.td-shell .td-card__header,
body.td-help-single .td-card__header,
body.single-td_help .td-card__header,
body.td-courseware-app .td-card__header,
body.td-entry-single .td-card__header,
body.td-share-single .td-card__header,
body.td-no-access .td-card__header{
  margin-bottom:0 !important;
  row-gap:0 !important;
  column-gap:0 !important;
}

body.td-page .td-card__header > *,
body.td-shell .td-card__header > *,
body.td-help-single .td-card__header > *,
body.single-td_help .td-card__header > *,
body.td-courseware-app .td-card__header > *,
body.td-entry-single .td-card__header > *,
body.td-share-single .td-card__header > *,
body.td-no-access .td-card__header > *{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

body.td-page .td-card > .td-card__header + .td-card__body,
body.td-shell .td-card > .td-card__header + .td-card__body,
body.td-help-single .td-card > .td-card__header + .td-card__body,
body.single-td_help .td-card > .td-card__header + .td-card__body,
body.td-courseware-app .td-card > .td-card__header + .td-card__body,
body.td-entry-single .td-card > .td-card__header + .td-card__body,
body.td-share-single .td-card > .td-card__header + .td-card__body,
body.td-no-access .td-card > .td-card__header + .td-card__body{
  margin-top:0 !important;
  padding-top:0 !important;
}

body.td-page .td-card__body > :first-child,
body.td-shell .td-card__body > :first-child,
body.td-help-single .td-card__body > :first-child,
body.single-td_help .td-card__body > :first-child,
body.td-courseware-app .td-card__body > :first-child,
body.td-entry-single .td-card__body > :first-child,
body.td-share-single .td-card__body > :first-child,
body.td-no-access .td-card__body > :first-child{
  margin-top:0 !important;
}

body.td-page .td-card__body > :last-child,
body.td-shell .td-card__body > :last-child,
body.td-help-single .td-card__body > :last-child,
body.single-td_help .td-card__body > :last-child,
body.td-courseware-app .td-card__body > :last-child,
body.td-entry-single .td-card__body > :last-child,
body.td-share-single .td-card__body > :last-child,
body.td-no-access .td-card__body > :last-child{
  margin-bottom:0 !important;
}


/* 2.7.95.30 / 2109 – td-content-compat äger även direktkortrubrikers efterrytm. */
body.td-page .td-card > .td-dash-title,
body.td-shell .td-card > .td-dash-title,
body.td-help-single .td-card > .td-dash-title,
body.single-td_help .td-card > .td-dash-title,
body.td-courseware-app .td-card > .td-dash-title,
body.td-entry-single .td-card > .td-dash-title,
body.td-share-single .td-card > .td-dash-title,
body.td-no-access .td-card > .td-dash-title,
body.td-page .td-card > h2.td-dash-title,
body.td-shell .td-card > h2.td-dash-title,
body.td-help-single .td-card > h2.td-dash-title,
body.single-td_help .td-card > h2.td-dash-title,
body.td-courseware-app .td-card > h2.td-dash-title,
body.td-entry-single .td-card > h2.td-dash-title,
body.td-share-single .td-card > h2.td-dash-title,
body.td-no-access .td-card > h2.td-dash-title{
  margin:0 0 8px !important;
}

body.td-page .td-card > .td-dash-title + *,
body.td-shell .td-card > .td-dash-title + *,
body.td-help-single .td-card > .td-dash-title + *,
body.single-td_help .td-card > .td-dash-title + *,
body.td-courseware-app .td-card > .td-dash-title + *,
body.td-entry-single .td-card > .td-dash-title + *,
body.td-share-single .td-card > .td-dash-title + *,
body.td-no-access .td-card > .td-dash-title + *{
  margin-top:0 !important;
}

/* 2.7.95.30 / 2109 – förbättringsförslag ska följa samma fullbreddsform som övriga kort. */
body.td-page .td-suggestions-form p,
body.td-shell .td-suggestions-form p{
  margin:0 0 16px !important;
}

body.td-page .td-suggestions-form p > label,
body.td-shell .td-suggestions-form p > label{
  display:block !important;
  width:100% !important;
}

body.td-page .td-suggestions-form .td-field,
body.td-page .td-suggestions-form input[type="file"],
body.td-shell .td-suggestions-form .td-field,
body.td-shell .td-suggestions-form input[type="file"]{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

/* 2.7.95.30 / 2109 – settingsformulär ska fylla contentytan och datumfält ska ha samma visuella kontrakt som övriga fält. */
body.td-page.td-view-settings .td-dogs-row .td-u-label-stack,
body.td-page.td-view-settings .td-dogs-add .td-u-label-stack,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row .td-u-label-stack,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add .td-u-label-stack{
  width:100% !important;
}

body.td-page.td-view-settings .td-dogs-row input[type="file"],
body.td-page.td-view-settings .td-dogs-add input[type="file"],
body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-add textarea,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="file"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="file"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row textarea,
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add textarea{
  width:100% !important;
  max-width:none !important;
}

body.td-page.td-view-settings .td-dogs-row input[type="date"],
body.td-page.td-view-settings .td-dogs-add input[type="date"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-row input[type="date"],
body.td-shell-route-unified.td-pagetype-td_view_settings .td-dogs-add input[type="date"]{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
  min-height:52px !important;
  padding:12px 14px !important;
  border:1px solid var(--td-shell-border, rgba(78,62,52,.18)) !important;
  border-radius:16px !important;
  background:#fff9f3 !important;
  color:var(--td-shell-text, #2f221b) !important;
  box-shadow:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}


/* 2.7.95.31 / 2109 – content owner hardening
   En ägare för mobil content frame, dark-wave/utility content-start, kortrubrikrytm,
   settings/suggestions-formulär och desktopkolumnkontrakt. */
:root{
  --td-content-frame-gutter-mobile:16px;
  --td-content-frame-gutter-desktop:20px;
  --td-content-card-stack-gap:16px;
}

body.td-page .td-shell-content,
body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-container.td-wrap{
  padding-inline:0 !important;
}

body.td-page .td-main__body{
  padding-inline:var(--td-content-frame-gutter-desktop) !important;
  padding-bottom:18px !important;
}

body.td-page .td-main__body > .td-content,
body.td-page .td-shell-content,
body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-plan-v1,
body.td-page .td-train-v1,
body.td-page .td-eval-v1,
body.td-page .td-evaluate-v1,
body.td-page .td-dashboard-home-layout__main,
body.td-page .td-dashboard-home-layout__side,
body.td-page .td-dashboard-home-layout__entries,
body.td-page .td-dashboard-home-layout__summary{
  gap:var(--td-content-card-stack-gap) !important;
}

body.td-page .td-dash-title,
body.td-page .td-card > h2:first-child,
body.td-page .td-card > h3:first-child,
body.td-page .td-panel > h2:first-child,
body.td-page .td-panel > h3:first-child{
  margin:0 !important;
}

body.td-page .td-card > .td-card__header,
body.td-page .td-section-card > .td-card__header,
body.td-page .td-edit-section-card > .td-card__header,
body.td-page .td-card > .td-dash-title:first-child,
body.td-page .td-panel > .td-dash-title:first-child{
  margin:0 !important;
}

body.td-page .td-card > .td-card__header + .td-card__body,
body.td-page .td-section-card > .td-card__header + .td-card__body,
body.td-page .td-edit-section-card > .td-card__header + .td-card__body,
body.td-page .td-card > .td-dash-title:first-child + *,
body.td-page .td-panel > .td-dash-title:first-child + *,
body.td-page .td-card > h2:first-child + *,
body.td-page .td-card > h3:first-child + *{
  margin-top:0 !important;
}

body.td-page .td-card__body,
body.td-page .td-section-card .td-card__body,
body.td-page .td-edit-section-card .td-card__body{
  margin-top:0 !important;
}

body.td-page .td-card__body > :first-child,
body.td-page .td-section-card .td-card__body > :first-child,
body.td-page .td-edit-section-card .td-card__body > :first-child,
body.td-page .td-card__body > .td-dash-title:first-child,
body.td-page .td-card__body > h2:first-child,
body.td-page .td-card__body > h3:first-child{
  margin-top:0 !important;
}

body.td-page .td-card__body > :last-child,
body.td-page .td-section-card .td-card__body > :last-child,
body.td-page .td-edit-section-card .td-card__body > :last-child{
  margin-bottom:0 !important;
}

body.td-page.td-view-settings .td-card--settings-dogs,
body.td-page.td-view-settings .td-dogs-row,
body.td-page.td-view-settings .td-dogs-add,
body.td-page.td-view-suggestions .td-suggestions-form,
body.td-page.td-view-suggestions .td-suggestions-form > p,
body.td-page.td-view-suggestions .td-suggestions-form > label{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}

body.td-page.td-view-settings .td-dogs-row input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-row select,
body.td-page.td-view-settings .td-dogs-add input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
body.td-page.td-view-settings .td-dogs-add textarea,
body.td-page.td-view-settings .td-dogs-add select,
body.td-page.td-view-suggestions .td-field,
body.td-page.td-view-suggestions textarea,
body.td-page.td-view-suggestions input[type="text"]{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  background:#fff !important;
  background-image:none !important;
  border:1px solid rgba(47,42,38,.16) !important;
  box-shadow:none !important;
  color:var(--td-shell-text, #2f221b) !important;
  border-radius:12px !important;
  box-sizing:border-box !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

body.td-page.td-view-settings .td-dogs-row input[type="date"],
body.td-page.td-view-settings .td-dogs-add input[type="date"]{
  background:#fff !important;
  color:var(--td-shell-text, #2f221b) !important;
  color-scheme:light !important;
}

body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-add textarea,
body.td-page.td-view-suggestions textarea{
  width:100% !important;
  max-width:none !important;
}

body.td-page.td-view-settings .td-dogs-row input[type="file"],
body.td-page.td-view-settings .td-dogs-add input[type="file"],
body.td-page.td-view-suggestions input[type="file"]{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

body.td-page.td-view-settings .td-u-hr-16{
  border:0 !important;
  border-top:0 !important;
  background:none !important;
  height:0 !important;
  margin:22px 0 30px !important;
}

body.td-page.td-view-settings .td-dogs-row__actions{
  margin-bottom:10px !important;
}

body.td-page.td-view-settings .td-dogs-add__actions{
  margin-top:8px !important;
}

body.td-page.td-view-exercises,
body.td-courseware-app,
body.td-wpcw-course,
body.td-wpcw-unit,
body.single-course,
body.single-course_unit{
  background:var(--td-page-bg-app, #f6f1eb) !important;
}

@media (max-width:781.98px){
  body.td-page .td-main__body{
    padding-inline:var(--td-content-frame-gutter-mobile) !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.td-main__body,
  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.td-main__body{
    padding-top:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row,
  body.td-pagetype-td_view_settings .td-dogs-add,
  body.td-page [data-td-content-view="settings"] .td-dogs-row,
  body.td-page [data-td-content-view="settings"] .td-dogs-add{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
  }

  body.td-page.td-view-settings .td-dogs-row__header,
  body.td-page.td-view-settings .td-dogs-add__header,
  body.td-page.td-view-settings .td-dogs-row__meta,
  body.td-page.td-view-settings .td-dogs-add__meta,
  body.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__body{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    width:100% !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__avatar,
  body.td-pagetype-td_view_settings .td-dogs-add__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__avatar{
    display:none !important;
  }

  body.td-page.td-view-settings .td-dogs-row__identity,
  body.td-page.td-view-settings .td-dogs-add__identity,
  body.td-page.td-view-settings .td-dogs-row__name,
  body.td-page.td-view-settings .td-dogs-add__name,
  body.td-page.td-view-settings .td-dogs-row__upload,
  body.td-page.td-view-settings .td-dogs-add__upload,
  body.td-page.td-view-settings .td-dogs-row__meta,
  body.td-page.td-view-settings .td-dogs-add__meta,
  body.td-page.td-view-settings .td-dogs-row__body,
  body.td-page.td-view-settings .td-dogs-add__body,
  body.td-pagetype-td_view_settings .td-dogs-row__actions,
  body.td-pagetype-td_view_settings .td-dogs-add__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__actions{
    grid-column:1 / -1 !important;
    width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
  }

  body.td-page.td-view-suggestions .td-suggestions-form p{
    margin:0 0 14px !important;
  }
}

@media (min-width:1024px){
  body.td-view-plan .td-plan-v2__columns,
  body.td-view-train .td-train-v2__grid,
  body.td-view-evaluate .td-eval-v2__grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    align-items:start !important;
  }

  body.td-view-train .td-train-v2__col--left,
  body.td-view-train .td-train-v2__col--right,
  body.td-view-plan .td-plan-v2__col--left,
  body.td-view-plan .td-plan-v2__col--right,
  body.td-view-evaluate .td-eval-v2__col--left,
  body.td-view-evaluate .td-eval-v2__col--right{
    display:grid !important;
    gap:16px !important;
    align-content:start !important;
  }

  body.td-view-list .td-dashboard-home-layout__side{
    display:grid !important;
    gap:12px !important;
    align-content:start !important;
  }

  body.td-view-list .td-dashboard-home-layout__side > .td-dash-card--award{order:1 !important;}
  body.td-view-list .td-dashboard-home-layout__side > .td-dash-card--weekly-stats{order:2 !important;}
  body.td-view-list .td-dashboard-home-layout__side > .td-dash-card--qa{order:3 !important;}
  body.td-view-list .td-dashboard-home-layout__side > .td-dash-card--inspiration{order:4 !important;}
}

/* 2.7.95.32 / 2109 – slutlig owner-sweep för mobil frame, settings-form parity och desktopkolumner.
   Detta block ligger sist i content-ownern så samma regler faktiskt vinner över äldre normalize/frontend-lager. */

@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile{
    --td-mobile-content-gutter-final:12px;
    --td-mobile-content-gap-final:16px;
    --td-mobile-card-pad-final:16px;
  }

  body.td-shell-route-unified.td-is-mobile .td-main{
    padding-top:var(--td-mobile-content-start, 8px) !important;
    padding-right:0 !important;
    padding-bottom:calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px) + 12px) !important;
    padding-left:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-main__body,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__content.td-main__body{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 var(--td-mobile-content-gutter-final) 0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-main__body > .td-content,
  body.td-shell-route-unified.td-is-mobile .td-shell__content,
  body.td-shell-route-unified.td-is-mobile .td-shell-content,
  body.td-shell-route-unified.td-is-mobile .td-content,
  body.td-shell-route-unified.td-is-mobile .td-view-stack,
  body.td-shell-route-unified.td-is-mobile .td-stack,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__stack,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__columns,
  body.td-shell-route-unified.td-is-mobile .td-plan-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-train-v2,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__grid,
  body.td-shell-route-unified.td-is-mobile .td-train-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__grid,
  body.td-shell-route-unified.td-is-mobile .td-eval-v2__col,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__main,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__side,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__mobile-side,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__summary,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-home-layout__entries{
    gap:var(--td-mobile-content-gap-final) !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card,
  body.td-shell-route-unified.td-is-mobile .td-dash-card,
  body.td-shell-route-unified.td-is-mobile .td-postit,
  body.td-shell-route-unified.td-is-mobile .td-panel,
  body.td-shell-route-unified.td-is-mobile .td-section-card,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile .td-course-layout__surface{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card > .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-card > .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-dash-card > .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-dash-card > .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-section-card > .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-section-card > .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card > .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card > .td-card__body{
    padding-left:var(--td-mobile-card-pad-final) !important;
    padding-right:var(--td-mobile-card-pad-final) !important;
  }
}

body.td-page.td-view-settings .td-dogs-row,
body.td-page.td-view-settings .td-dogs-add{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

body.td-page.td-view-settings .td-dogs-row__meta,
body.td-page.td-view-settings .td-dogs-add__meta,
body.td-page.td-view-settings .td-dogs-row__body,
body.td-page.td-view-settings .td-dogs-add__body,
body.td-page.td-view-settings .td-dogs-row__actions,
body.td-page.td-view-settings .td-dogs-add__actions,
body.td-page.td-view-settings .td-dogs-row__field,
body.td-page.td-view-settings .td-dogs-add__field,
body.td-page.td-view-settings .td-dogs-row .td-u-label-stack,
body.td-page.td-view-settings .td-dogs-add .td-u-label-stack{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

body.td-page.td-view-settings .td-dogs-row__body,
body.td-page.td-view-settings .td-dogs-add__body{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:16px !important;
}

body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-add textarea,
body.td-page.td-view-settings .td-dogs-row input[type="text"],
body.td-page.td-view-settings .td-dogs-add input[type="text"],
body.td-page.td-view-settings .td-dogs-row input[type="date"],
body.td-page.td-view-settings .td-dogs-add input[type="date"],
body.td-page.td-view-settings .td-dogs-row input[type="file"],
body.td-page.td-view-settings .td-dogs-add input[type="file"],
body.td-page.td-view-suggestions input[type="text"],
body.td-page.td-view-suggestions textarea,
body.td-page.td-view-suggestions input[type="file"]{
  width:100% !important;
  max-width:none !important;
  box-sizing:border-box !important;
}

body.td-page.td-view-settings .td-dogs-row input[type="date"],
body.td-page.td-view-settings .td-dogs-add input[type="date"]{
  background:#fff !important;
  background-image:none !important;
  color:var(--td-shell-text, #2f221b) !important;
  border:1px solid rgba(127,95,64,.18) !important;
  box-shadow:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

body.td-page.td-view-settings .td-dogs-row textarea,
body.td-page.td-view-settings .td-dogs-add textarea{
  background:#fff !important;
}

body.td-page.td-view-settings .td-u-hr-16{
  display:none !important;
}

body.td-page.td-view-settings .td-dogs-row__actions{
  margin-bottom:20px !important;
}

body.td-page.td-view-settings .td-dogs-add{
  padding-top:0 !important;
  margin-top:4px !important;
}

body.td-page.td-view-settings .td-dogs-add__actions,
body.td-page.td-view-settings .td-dogs-row__actions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  align-items:center !important;
}

body.td-page.td-view-settings .td-dogs-row__actions .button,
body.td-page.td-view-settings .td-dogs-add__actions .button{
  margin:0 !important;
}

@media (min-width:1024px){
  body.td-view-plan .td-plan-v2{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-plan .td-plan-v2__hero{grid-column:1 / -1 !important; margin:0 !important;}
  body.td-view-plan .td-plan-v2__columns{grid-column:1 / -1 !important; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:16px !important; margin:0 !important; align-items:start !important;}
  body.td-view-plan .td-plan-v2__col--left,
  body.td-view-plan .td-plan-v2__col--right{display:grid !important; gap:16px !important; align-content:start !important;}

  body.td-view-train .td-train-v2{display:grid !important; gap:16px !important;}
  body.td-view-train .td-train-v2__grid{display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:16px !important; align-items:start !important;}
  body.td-view-train .td-train-v2__col--left,
  body.td-view-train .td-train-v2__col--right{display:grid !important; gap:16px !important; align-content:start !important;}
  body.td-view-train .td-train-section--templates{grid-column:1 / -1 !important;}

  body.td-view-evaluate .td-eval-v2{display:grid !important; gap:16px !important;}
  body.td-view-evaluate .td-eval-v2__grid{display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; gap:16px !important; align-items:start !important;}
  body.td-view-evaluate .td-eval-v2__col--left,
  body.td-view-evaluate .td-eval-v2__col--right{display:grid !important; gap:16px !important; align-content:start !important;}
  body.td-view-evaluate .td-eval-compare{grid-column:1 / -1 !important; margin:0 !important;}

  body.td-view-list .td-dashboard-layout--alt{
    display:grid !important;
    gap:16px !important;
  }
  body.td-view-list .td-dashboard-layout__hero{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list .td-dashboard-layout__hero-side,
  body.td-view-list .td-dashboard-layout__stats-side{
    display:grid !important;
    gap:16px !important;
    align-content:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--1,
  body.td-view-list.td-layout-1 .td-dashboard-layout--alt.td-dashboard-layout--1{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__hero{
    display:contents !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__hero-main,
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main{
    grid-column:1 !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__hero-side,
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side{
    grid-column:2 !important;
    display:grid !important;
    gap:16px !important;
    align-content:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__hero-side{
    grid-row:1 / span 2 !important;
    align-self:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side > .td-dash-card--weekly-stats{order:1 !important;}
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side > .td-dash-card--qa{order:2 !important;}
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-side > .td-dash-card--inspiration{order:3 !important;}
}

@media (max-width:781.98px){
  body.td-courseware-app,
  body.td-view-exercises,
  body.td-pagetype-td_view_exercises{
    background:var(--td-page-bg-app, #f6f1eb) !important;
    background-color:var(--td-page-bg-app, #f6f1eb) !important;
  }
}


/* 2.7.95.33 / 2109 – slutlig owner-fix för mobil content frame, settings-formulär och kalender-prenumeration. */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile{
    --td-mobile-content-gutter:16px;
    --td-mobile-content-gap:16px;
    --td-mobile-card-pad:16px;
  }

  body.td-shell-route-unified.td-is-mobile.td-header-variant-dark_wave:not(.td-mobile-topbar-none):not(.td-shell-chrome-none),
  body.td-shell-route-unified.td-is-mobile.td-header-variant-utility:not(.td-mobile-topbar-none):not(.td-shell-chrome-none){
    --td-mobile-content-start:8px;
  }

  body.td-shell-route-unified.td-is-mobile .td-shell__main,
  body.td-shell-route-unified.td-is-mobile .td-main,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__main{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:var(--td-mobile-content-start, 8px) 0 calc(var(--td-mobile-bottom-nav-total, calc(var(--td-mobile-bottom-nav-height, 64px) + env(safe-area-inset-bottom, 0px))) + 16px) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-main__body,
  body.td-shell-route-unified.td-is-mobile .td-page-frame__content,
  body.td-shell-route-unified.td-is-mobile .td-shell__content{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 var(--td-mobile-content-gutter) 0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card,
  body.td-shell-route-unified.td-is-mobile .td-section-card,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile .td-dashboard-card,
  body.td-shell-route-unified.td-is-mobile .td-panel,
  body.td-shell-route-unified.td-is-mobile .td-calendar-subscribe-card,
  body.td-shell-route-unified.td-is-mobile .td-calendar-next,
  body.td-shell-route-unified.td-is-mobile .td-postit{
    padding:var(--td-mobile-card-pad) !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card__header,
  body.td-shell-route-unified.td-is-mobile .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-section-card > .td-card__body,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card > .td-card__body{
    padding:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card > :first-child,
  body.td-shell-route-unified.td-is-mobile .td-section-card > :first-child,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card > :first-child,
  body.td-shell-route-unified.td-is-mobile .td-panel > :first-child{
    margin-top:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile .td-card > :last-child,
  body.td-shell-route-unified.td-is-mobile .td-section-card > :last-child,
  body.td-shell-route-unified.td-is-mobile .td-edit-section-card > :last-child,
  body.td-shell-route-unified.td-is-mobile .td-panel > :last-child{
    margin-bottom:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-table,
  body.td-pagetype-td_view_settings .td-dogs-table thead,
  body.td-pagetype-td_view_settings .td-dogs-table tbody,
  body.td-pagetype-td_view_settings .td-dogs-table tr,
  body.td-pagetype-td_view_settings .td-dogs-table td,
  body.td-page [data-td-content-view="settings"] .td-dogs-table,
  body.td-page [data-td-content-view="settings"] .td-dogs-table thead,
  body.td-page [data-td-content-view="settings"] .td-dogs-table tbody,
  body.td-page [data-td-content-view="settings"] .td-dogs-table tr,
  body.td-page [data-td-content-view="settings"] .td-dogs-table td{
    border:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row,
  body.td-pagetype-td_view_settings .td-dogs-add,
  body.td-page [data-td-content-view="settings"] .td-dogs-row,
  body.td-page [data-td-content-view="settings"] .td-dogs-add{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__header,
  body.td-pagetype-td_view_settings .td-dogs-add__header,
  body.td-pagetype-td_view_settings .td-dogs-row__identity,
  body.td-pagetype-td_view_settings .td-dogs-add__identity,
  body.td-pagetype-td_view_settings .td-dogs-row__name,
  body.td-pagetype-td_view_settings .td-dogs-add__name,
  body.td-pagetype-td_view_settings .td-dogs-row__upload,
  body.td-pagetype-td_view_settings .td-dogs-add__upload,
  body.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-pagetype-td_view_settings .td-dogs-row__actions,
  body.td-pagetype-td_view_settings .td-dogs-add__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__identity,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__identity,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__name,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__name,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__upload,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__upload,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__actions{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__header,
  body.td-pagetype-td_view_settings .td-dogs-add__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__header,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__header{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__avatar,
  body.td-pagetype-td_view_settings .td-dogs-add__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__avatar,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__avatar{
    display:none !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__meta,
  body.td-pagetype-td_view_settings .td-dogs-add__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__meta,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__meta{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:12px !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__body,
  body.td-pagetype-td_view_settings .td-dogs-add__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__body,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__body{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__field--description,
  body.td-pagetype-td_view_settings .td-dogs-row__field--merits,
  body.td-pagetype-td_view_settings .td-dogs-add__field--description,
  body.td-pagetype-td_view_settings .td-dogs-add__field--merits,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__field--description,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__field--merits,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__field--description,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__field--merits{
    grid-column:1 / -1 !important;
    width:100% !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row .td-u-label-stack,
  body.td-pagetype-td_view_settings .td-dogs-add .td-u-label-stack,
  body.td-pagetype-td_view_settings .td-dogs-row input,
  body.td-pagetype-td_view_settings .td-dogs-row textarea,
  body.td-pagetype-td_view_settings .td-dogs-row select,
  body.td-pagetype-td_view_settings .td-dogs-add input,
  body.td-pagetype-td_view_settings .td-dogs-add textarea,
  body.td-pagetype-td_view_settings .td-dogs-add select,
  body.td-page [data-td-content-view="settings"] .td-dogs-row .td-u-label-stack,
  body.td-page [data-td-content-view="settings"] .td-dogs-add .td-u-label-stack,
  body.td-page [data-td-content-view="settings"] .td-dogs-row input,
  body.td-page [data-td-content-view="settings"] .td-dogs-row textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-row select,
  body.td-page [data-td-content-view="settings"] .td-dogs-add input,
  body.td-page [data-td-content-view="settings"] .td-dogs-add textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-add select{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row textarea,
  body.td-pagetype-td_view_settings .td-dogs-add textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-row textarea,
  body.td-page [data-td-content-view="settings"] .td-dogs-add textarea{
    min-height:140px !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row input[type="date"],
  body.td-pagetype-td_view_settings .td-dogs-add input[type="date"],
  body.td-page [data-td-content-view="settings"] .td-dogs-row input[type="date"],
  body.td-page [data-td-content-view="settings"] .td-dogs-add input[type="date"]{
    background:#fff !important;
    background-color:#fff !important;
    color:inherit !important;
    border:1px solid rgba(47, 34, 27, 0.12) !important;
    box-shadow:none !important;
    -webkit-appearance:none !important;
    appearance:none !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row input[type="file"],
  body.td-pagetype-td_view_settings .td-dogs-add input[type="file"],
  body.td-page [data-td-content-view="settings"] .td-dogs-row input[type="file"],
  body.td-page [data-td-content-view="settings"] .td-dogs-add input[type="file"]{
    background:#fff !important;
    background-color:#fff !important;
  }

  body.td-pagetype-td_view_settings .td-dogs-row__actions,
  body.td-pagetype-td_view_settings .td-dogs-add__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-row__actions,
  body.td-page [data-td-content-view="settings"] .td-dogs-add__actions{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    gap:12px !important;
    align-items:center !important;
    margin-top:6px !important;
    padding-top:8px !important;
    border-top:0 !important;
  }

  .td-calendar-mobile-subscribe{
    display:flex !important;
    justify-content:flex-end !important;
    margin:0 0 12px !important;
  }

  .td-calendar-mobile-subscribe .td-calendar-ical-link{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    color:var(--td-shell-primary) !important;
    text-decoration:underline !important;
  }

  .td-calendar-layout__sidebar .td-calendar-subscribe-card{
    display:none !important;
  }

  body.td-shell-route-unified.td-is-mobile #td-link-units-submit{
    border-radius:24px !important;
    overflow:hidden !important;
    background-clip:padding-box !important;
    clip-path:none !important;
  }
}

/* 2.7.95.37 – courseware/list/share owner follow-up */
@media (min-width:782px){
  body.td-view-list.td-layout-1 .td-dashboard-layout__stats-main{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* 2.7.95.39 – desktop list använder verkligt flytande kolumnspår i stället för rader, och siluetten får bära dekorativt mellanrum. */
@media (min-width:782px){
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 320px !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns > .td-dashboard-layout__column{
    display:flex !important;
    flex-direction:column !important;
    gap:16px !important;
    min-width:0 !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns > .td-dashboard-layout__column--main{
    min-width:0 !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns > .td-dashboard-layout__column--side{
    width:320px !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__hero-main,
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-main,
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-decor{
    grid-column:auto !important;
    grid-row:auto !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-main{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-main > .td-card,
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-main > .td-dash-card{
    margin:0 !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns .td-dashboard-layout__stats-decor{
    min-height:172px !important;
    background:url(../images/td-dog-silhouettes-brown.png) center 44px / auto 112px no-repeat !important;
    opacity:.18 !important;
    pointer-events:none !important;
  }
}

@media (max-width:781.98px){
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:16px !important;
  }
  body.td-view-list.td-layout-1 .td-dashboard-layout--floating-columns > .td-dashboard-layout__column{
    display:grid !important;
    gap:16px !important;
    min-width:0 !important;
  }
}

/* 2.7.96.9 – Planera äger desktoplayouten via explicit kolumnmarkup: hero överst, sedan vänster/höger kolumn och sist inspirationsraden. */
@media (min-width:1024px){
  body.td-view-plan .td-plan-v2{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    grid-template-areas:
      "hero hero"
      "columns columns"
      "inspiration-instructors inspiration-members" !important;
    gap:16px !important;
    align-items:start !important;
  }
  body.td-view-plan .td-plan-v2__hero{grid-area:hero !important; margin:0 !important;}
  body.td-view-plan .td-plan-v2__columns{
    grid-area:columns !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
    gap:16px !important;
    margin:0 !important;
    align-items:start !important;
  }
  body.td-view-plan .td-plan-v2__col--left,
  body.td-view-plan .td-plan-v2__col--right{
    display:grid !important;
    gap:16px !important;
    align-content:start !important;
    min-width:0 !important;
  }
  body.td-view-plan .td-plan-v2__col--left > .td-plan-v2__reminder{order:1 !important;}
  body.td-view-plan .td-plan-v2__col--left > .td-plan-v2__create{order:2 !important;}
  body.td-view-plan .td-plan-v2__col--right > .td-plan-v2__upcoming{order:1 !important;}
  body.td-view-plan .td-plan-v2__col--right > .td-plan-v2__goals{order:2 !important;}
  body.td-view-plan .td-plan-v2__inspiration-instructors{grid-area:inspiration-instructors !important; margin:0 !important;}
  body.td-view-plan .td-plan-v2__inspiration-members{grid-area:inspiration-members !important; margin:0 !important;}
  body.td-view-plan .td-plan-v2__reminder > .td-plan-section,
  body.td-view-plan .td-plan-v2__create > .td-plan-section,
  body.td-view-plan .td-plan-v2__upcoming > .td-plan-section,
  body.td-view-plan .td-plan-v2__goals > .td-plan-section,
  body.td-view-plan .td-plan-v2__inspiration-instructors > .td-plan-section,
  body.td-view-plan .td-plan-v2__inspiration-members > .td-plan-section{margin:0 !important;}
}

@media (max-width:1023.98px){
  body.td-view-plan .td-plan-v2__reminder,
  body.td-view-plan .td-plan-v2__create,
  body.td-view-plan .td-plan-v2__upcoming,
  body.td-view-plan .td-plan-v2__goals,
  body.td-view-plan .td-plan-v2__inspiration-instructors,
  body.td-view-plan .td-plan-v2__inspiration-members{margin:0 !important;}
}



/* 2.7.96.25 / 2110 – entry edit/view frame owner
   Samlar edit/view/form/quickpass till samma desktopbredd och låter entry-shellen äga
   mobilens fullbreddskontrakt utan separata feature-kompensationer. */
@media (min-width:1024px){
  body.td-page.td-view-view,
  body.td-page.td-view-edit,
  body.td-page.td-view-form,
  body.td-page.td-view-quickpass{
    --td-entry-frame-max:960px;
  }

  body.td-page.td-view-view .td-main__body,
  body.td-page.td-view-edit .td-main__body,
  body.td-page.td-view-form .td-main__body,
  body.td-page.td-view-quickpass .td-main__body,
  body.td-page.td-view-view .td-page-frame__stack,
  body.td-page.td-view-edit .td-page-frame__stack,
  body.td-page.td-view-form .td-page-frame__stack,
  body.td-page.td-view-quickpass .td-page-frame__stack{
    max-width:var(--td-entry-frame-max) !important;
  }

  body.td-page.td-view-view .td-main__body > .td-card,
  body.td-page.td-view-edit .td-main__body > .td-card,
  body.td-page.td-view-form .td-main__body > .td-card,
  body.td-page.td-view-quickpass .td-main__body > .td-card,
  body.td-page.td-view-view .td-page-frame__stack > .td-card,
  body.td-page.td-view-edit .td-page-frame__stack > .td-card,
  body.td-page.td-view-form .td-page-frame__stack > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > .td-card,
  body.td-page.td-view-view .td-page-frame__stack > article,
  body.td-page.td-view-edit .td-page-frame__stack > article,
  body.td-page.td-view-form .td-page-frame__stack > article,
  body.td-page.td-view-quickpass .td-page-frame__stack > article{
    max-width:var(--td-entry-frame-max) !important;
  }
}

@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body,
  body.td-shell-route-unified.td-is-mobile [data-td-content-family="entry"]{
    padding-left:var(--td-mobile-content-gutter, 16px) !important;
    padding-right:var(--td-mobile-content-gutter, 16px) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > *,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > *,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > *{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form .td-grid,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form .td-grid,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form .td-grid{
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form label > textarea,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form label > textarea,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form label > textarea{
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
}

/* 2.7.96.25 / 2110 – kriterieplan desktop single owner
   En tabellowner för edit/form-shell som fyller hela raden, ger bredare kriteriekolumn
   och låter zebra-ränderna gå över hela radens bredd. */
@media (min-width:1024px){
  body.td-page .td-entry-view--form-shell .td-criteria-scroll,
  body.td-page .td-entry-view--edit-shell .td-criteria-scroll{
    overflow-x:hidden !important;
    width:100% !important;
    max-width:100% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table,
  body.td-page .td-entry-view--edit-shell #td-criteria-table{
    display:table !important;
    width:100% !important;
    max-width:100% !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
    border-spacing:0 !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table col.td-crit-col-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table col.td-crit-col-main{
    width:42% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table col.td-crit-col-round,
  body.td-page .td-entry-view--edit-shell #td-criteria-table col.td-crit-col-round{
    width:10.8% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table col.td-crit-col-action,
  body.td-page .td-entry-view--edit-shell #td-criteria-table col.td-crit-col-action{
    width:4% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table th,
  body.td-page .td-entry-view--form-shell #td-criteria-table td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table th,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td{
    padding:10px 8px !important;
    vertical-align:top !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody{
    display:table-row-group !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row{
    display:table-row !important;
    width:auto !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:8px !important;
    padding-right:14px !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main input[type="date"],
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main input[type="date"],
  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main input[type="text"],
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main input[type="text"]{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-pair,
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-pair{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-field,
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-field{
    min-width:0 !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-pair input[type="number"],
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-pair input[type="number"]{
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row > td{
    border-top:0 !important;
    border-bottom:0 !important;
    background-clip:border-box !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr:nth-child(odd) > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr:nth-child(odd) > td{
    background:#ece6df !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr:nth-child(even) > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr:nth-child(even) > td{
    background:#f7f1ea !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody td.td-crit-action,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody td.td-crit-action{
    background:transparent !important;
    text-align:center !important;
  }
}


/* 2.7.96.26 / 2110 – entry mobile inner-frame fix + kriterieplan row owner */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile [data-td-content-family="entry"],
  body.td-shell-route-unified.td-is-mobile .td-shell-content--entry,
  body.td-shell-route-unified.td-is-mobile .td-shell-content--family-entry,
  body.td-shell-route-unified.td-is-mobile .td-view-stack--family-entry,
  body.td-shell-route-unified.td-is-mobile .td-view-stack--edit,
  body.td-shell-route-unified.td-is-mobile .td-view-stack--quickpass{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > .td-edit-section-card{
    padding-left:0 !important;
    padding-right:0 !important;
  }
}


/* 2.7.96.29 / 2110 – entry form contract: en owner för mobilgutters och kriteriecell i edit/form */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body{
    padding-left:var(--td-mobile-content-gutter, 16px) !important;
    padding-right:var(--td-mobile-content-gutter, 16px) !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:16px !important;
    padding-right:16px !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > *,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > *,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > *{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-main__body > .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-main__body > .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-main__body > .td-card > form > .td-edit-section-card{
    padding-left:0 !important;
    padding-right:0 !important;
  }
}

@media (min-width:1024px){
  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    padding-right:16px !important;
    overflow:visible !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row > td{
    min-width:0 !important;
    overflow:visible !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main input[type="date"],
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main input[type="date"]{
    width:170px !important;
    min-width:170px !important;
    max-width:170px !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main input[type="text"],
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main input[type="text"]{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
}

/* 2.7.96.30 / 2110 – slå ut den vinnande td-card > form-marginalen i mobil edit/quickpass */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card > form,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card > form{
    margin-left:0 !important;
    margin-right:0 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card > form > .td-edit-section-card,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card > form > label,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card > form > .td-edit-section-card{
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* 2.7.96.31 / 2110 – inner field owner på mobil + återta kriterieradens grid på desktop */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card label,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card label,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card label{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-edit .td-card label > textarea,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card label > textarea,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card label > input,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card label > select,
  body.td-shell-route-unified.td-is-mobile.td-view-form .td-card label > textarea{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
}

@media (min-width:1024px){
  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row{
    display:grid !important;
    width:100% !important;
    grid-template-columns:minmax(320px, 2.2fr) repeat(5, minmax(70px, 1fr)) 52px !important;
    align-items:start !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row > td{
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    display:block !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
  }
}


/* 2.7.96.32 / 2110 – kriterieplan desktop parity + snabbträningspass datumfält mobil */
@media (min-width:1024px){
  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row{
    display:grid !important;
    width:100% !important;
    grid-template-columns:minmax(340px, 2.4fr) repeat(5, minmax(74px, 1fr)) 52px !important;
    align-items:start !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row > td,
  body.td-page .td-entry-view--form-shell #td-criteria-table tbody td.td-crit-action,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody td.td-crit-action{
    background:inherit !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) !important;
    gap:8px !important;
    padding-right:16px !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-pair,
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-pair{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:4px !important;
    align-items:start !important;
    width:100% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-field,
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-field{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:2px !important;
    align-items:start !important;
    width:100% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table .td-crit-field__label,
  body.td-page .td-entry-view--edit-shell #td-criteria-table .td-crit-field__label{
    display:block !important;
    text-align:center !important;
    margin:0 0 4px !important;
    font-size:11px !important;
    line-height:1.15 !important;
  }
}

@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    width:180px !important;
    max-width:100% !important;
    min-width:0 !important;
    display:block !important;
    background:#fff !important;
    border:1px solid #d7d1ca !important;
    border-radius:16px !important;
    box-shadow:none !important;
    color:#1f1f1f !important;
  }
}


/* 2.7.96.33 / 2110 – datumfält parity i snabbträningspass + tydligare wave-kontrast */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    border-radius:var(--td-radius-sm) !important;
    padding:10px 12px !important;
    min-height:44px !important;
  }
}


/* 2.7.96.34 / 2110 – snabbträningspass datumfält: samma stil som övriga, men inte fullbrett */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    width:260px !important;
    max-width:100% !important;
    min-width:0 !important;
    border-radius:var(--td-radius-sm) !important;
    padding:10px 12px !important;
    min-height:44px !important;
  }
}


/* 2.7.96.35 / 2110 – snabbträningspassets datumfält lite smalare igen */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    width:180px !important;
    max-width:100% !important;
  }
}


/* 2.7.96.38 / 2110 – quickpass/view/kriterieplan focused owner fix */
@media (min-width:1024px){
  body.td-page.td-view-quickpass{
    --td-entry-frame-max:1240px;
  }

  body.td-page.td-view-quickpass .td-main__body,
  body.td-page.td-view-quickpass .td-page-frame__stack,
  body.td-page.td-view-quickpass .td-main__body > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > article{
    max-width:1240px !important;
  }

  body.td-page.td-view-quickpass .td-card input[type="date"],
  body.td-page.td-view-quickpass .td-card input.flatpickr-input{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    background:#fff !important;
    border:1px solid rgba(0,0,0,0.15) !important;
    border-radius:14px !important;
    padding:12px 14px !important;
    min-height:44px !important;
    box-sizing:border-box !important;
    box-shadow:none !important;
  }

  body.td-page .td-entry-view--form-shell .td-criteria-scroll,
  body.td-page .td-entry-view--edit-shell .td-criteria-scroll{
    width:calc(100% + 12px) !important;
    max-width:calc(100% + 12px) !important;
    margin-left:-12px !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table col.td-crit-col-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table col.td-crit-col-main{
    width:48% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table col.td-crit-col-round,
  body.td-page .td-entry-view--edit-shell #td-criteria-table col.td-crit-col-round{
    width:9.6% !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    padding-left:0 !important;
    padding-right:18px !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table th:first-child,
  body.td-page .td-entry-view--edit-shell #td-criteria-table th:first-child,
  body.td-page .td-entry-view--form-shell #td-criteria-table td:first-child,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td:first-child{
    padding-left:0 !important;
  }
}

@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    background:#fff !important;
    border:1px solid rgba(0,0,0,0.15) !important;
    border-radius:14px !important;
    padding:12px 14px !important;
    min-height:44px !important;
    box-sizing:border-box !important;
    box-shadow:none !important;
  }
}


/* 2.7.96.39 / 2110 – quickpass form owner + mobil view parity + kriterieplan desktop alignment */
@media (min-width:1024px){
  body.td-page.td-view-quickpass{
    --td-entry-frame-max:960px;
  }

  body.td-page.td-view-quickpass .td-main__body,
  body.td-page.td-view-quickpass .td-page-frame__stack,
  body.td-page.td-view-quickpass .td-main__body > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > .td-card,
  body.td-page.td-view-quickpass .td-page-frame__stack > article{
    max-width:960px !important;
  }

  body.td-page.td-view-quickpass .td-quickpass-form__fields{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:16px 18px !important;
    width:100% !important;
    max-width:none !important;
  }

  body.td-page.td-view-quickpass .td-quickpass-form__field,
  body.td-page.td-view-quickpass .td-quickpass-form__field > label{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.td-page.td-view-quickpass .td-quickpass-form__field--title,
  body.td-page.td-view-quickpass .td-quickpass-form__field--focus,
  body.td-page.td-view-quickpass .td-quickpass-form__field--categories,
  body.td-page.td-view-quickpass .td-quickpass-form__field--eval{
    grid-column:1 / -1 !important;
  }

  body.td-page.td-view-quickpass .td-quickpass-form__field input,
  body.td-page.td-view-quickpass .td-quickpass-form__field select,
  body.td-page.td-view-quickpass .td-quickpass-form__field textarea{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-page .td-entry-view--form-shell .td-criteria-scroll,
  body.td-page .td-entry-view--edit-shell .td-criteria-scroll{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table tbody tr.td-crit-row,
  body.td-page .td-entry-view--edit-shell #td-criteria-table tbody tr.td-crit-row{
    display:grid !important;
    width:100% !important;
    grid-template-columns:minmax(420px, 3.2fr) repeat(5, minmax(64px, 1fr)) 52px !important;
    align-items:start !important;
  }

  body.td-page .td-entry-view--form-shell #td-criteria-table td.td-crit-main,
  body.td-page .td-entry-view--edit-shell #td-criteria-table td.td-crit-main{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    padding-left:8px !important;
    padding-right:16px !important;
  }
}

@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-main__body{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-view .td-main__body > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-page-frame__stack > .td-card,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-page-frame__stack > article{
    width:auto !important;
    max-width:none !important;
    margin-left:16px !important;
    margin-right:16px !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__fields{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    width:100% !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__field,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__field > label,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__field input,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__field select,
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-quickpass-form__field textarea{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    min-height:44px !important;
    padding:12px 14px !important;
    border-radius:14px !important;
  }
}


/* 2.7.96.40 / 2110 – mobile view-entry width parity + quickpass date parity */
@media (max-width:781.98px){
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-entry-view-card,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-tombola-view-card,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-entry-view-card--quickpass,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-entry-view-card--criteria,
  body.td-shell-route-unified.td-is-mobile.td-view-view .td-entry-view-card--skillcheck{
    width:auto !important;
    max-width:none !important;
    margin-left:16px !important;
    margin-right:16px !important;
    box-sizing:border-box !important;
  }

  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input[type="date"],
  body.td-shell-route-unified.td-is-mobile.td-view-quickpass .td-card input.flatpickr-input{
    -webkit-appearance:none !important;
    appearance:none !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:44px !important;
    height:44px !important;
    padding:10px 12px !important;
    line-height:1.3 !important;
    text-align:left !important;
    border-radius:14px !important;
    background-image:none !important;
  }
}
