:root{
  --td-shell-content-max:1120px;
  --td-shell-content-pad:16px;
  --td-shell-stack-gap:16px;
  --td-shell-stack-gap-lg:24px;
  --td-shell-card-pad:20px;
  --td-shell-card-pad-mobile:16px;
  --td-shell-card-title-size:1.125rem;
  --td-shell-mobile-topbar:72px;
  --td-shell-desktop-topbar-height:88px;
  --td-shell-adminbar-mobile:46px;
  --td-shell-adminbar-desktop:32px;
}



body.td-page .td-view-stack,
body.td-page .td-stack,
body.td-page .td-dashboard,
body.td-page .td-train-v1,
body.td-page .td-plan-v1,
body.td-page .td-eval-v1,
body.td-page .td-help-article-layout,
body.td-page .td-content--view-help,
body.td-page .td-content--view-qa,
body.td-page .td-content--view-plan,
body.td-page .td-content--view-evaluate,
body.td-page .td-content--view-list,
body.td-page .td-content--view-calendar,
body.td-page .td-content--view-stats,
body.td-page .td-content--view-exercises,
body.td-page .td-content--view-settings,
body.td-page .td-content--view-account,
body.td-page .td-plan-this-week,
body.td-page .td-create-picker{
  display:grid !important;
  gap:var(--td-shell-stack-gap) !important;
  align-items:start !important;
}

body.td-page .td-view-stack > *,
body.td-page .td-stack > *,
body.td-page .td-dashboard > *,
body.td-page .td-train-v1 > *,
body.td-page .td-plan-v1 > *,
body.td-page .td-eval-v1 > *,
body.td-page .td-help-article-layout > *,
body.td-page .td-content--view-help > *,
body.td-page .td-content--view-qa > *,
body.td-page .td-content--view-plan > *,
body.td-page .td-content--view-evaluate > *,
body.td-page .td-content--view-list > *,
body.td-page .td-content--view-calendar > *,
body.td-page .td-content--view-stats > *,
body.td-page .td-content--view-exercises > *,
body.td-page .td-content--view-settings > *,
body.td-page .td-content--view-account > *,
body.td-page .td-plan-this-week > *,
body.td-page .td-create-picker > *{
  margin:0 !important;
  max-width:none !important;
  width:100% !important;
}

/* 2.7.95.3: shell-/page-specifika kortytor, header/body-padding och korttitlar ägs nu av td-content-compat.css. */

body.td-page .td-main__body > .td-content,
body.td-page .td-train-recent,
body.td-page .td-pass-list,
body.td-page .td-help-list,
body.td-page .td-weekplan-editor,
body.td-page .td-weekplan-editor__block,
body.td-page .td-courseware-shell__content,
body.td-page .td-courseware-shell__actions{
  gap:var(--td-shell-stack-gap) !important;
}




@media (min-width: 1024px){
  body.td-page .td-app-shell{padding-bottom:48px !important;}
  
  

  body.td-page .td-grid--desktop-2,
  body.td-page .td-dashboard.td-grid--desktop-2{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 340px !important;
    gap:var(--td-shell-stack-gap-lg) !important;
    align-items:start !important;
  }
}

@media (max-width: 767px){
  :root{
    --td-shell-content-pad:14px;
    --td-shell-card-pad:var(--td-shell-card-pad-mobile);
    --td-shell-card-title-size:1rem;
  }
}
