:root{
  --td-weekplan-item-gap:12px;
  --td-weekplan-check-size:24px;
}

body.td-shell .td-main--edit .td-weekplan-editor__list,
body.td-shell .td-main--edit #td-weekplan-suggested{
  display:grid !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__item,
body.td-shell .td-main--edit .td-weekplan-editor__item--selected,
body.td-shell .td-main--edit .td-weekplan-editor__item--suggested,
body.td-shell .td-main--edit .td-ac-item{
  display:grid !important;
  grid-template-columns:var(--td-weekplan-check-size) minmax(0,1fr) !important;
  gap:var(--td-weekplan-item-gap) !important;
  align-items:flex-start !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}

body.td-shell .td-main--edit .td-ac-item{
  grid-template-columns:minmax(0,1fr) !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__check{
  width:var(--td-weekplan-check-size) !important;
  min-width:var(--td-weekplan-check-size) !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  margin:2px 0 0 !important;
  padding:0 !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__check input{
  margin:0 !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__label,
body.td-shell .td-main--edit .td-ac-item__label{
  min-width:0 !important;
  display:block !important;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
  line-height:1.45 !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__label a,
body.td-shell .td-main--edit .td-ac-item__link,
body.td-shell .td-main--edit .td-weekplan-unit-link{
  display:inline !important;
  color:var(--td-shell-primary) !important;
  text-decoration:none !important;
  cursor:pointer !important;
  line-height:inherit !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__item[data-url] .td-weekplan-editor__label,
body.td-shell .td-main--edit .td-weekplan-editor__item[data-url] .td-weekplan-editor__label a,
body.td-shell .td-main--edit .td-weekplan-editor__item--suggested[data-url] .td-weekplan-editor__label,
body.td-shell .td-main--edit .td-weekplan-editor__item--suggested[data-url] .td-weekplan-editor__label a,
body.td-shell .td-main--edit .td-ac-item{
  cursor:pointer !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__label a:hover,
body.td-shell .td-main--edit .td-ac-item__link:hover,
body.td-shell .td-main--edit .td-weekplan-unit-link:hover{
  text-decoration:underline !important;
}

body.td-shell .td-main--edit .td-weekplan-inline-section,
body.td-shell .td-main--edit .td-weekplan-editor__block,
body.td-shell .td-main--edit .td-weekplan-add-wrap,
body.td-shell .td-main--edit .td-weekplan-results,
body.td-shell .td-main--edit .td-weekplan-editor__hint,
body.td-shell .td-main--edit .td-weekplan-inline-section .td-muted{
  border:0 !important;
  box-shadow:none !important;
}

body.td-shell .td-main--edit .td-weekplan-editor__hint,
body.td-shell .td-main--edit .td-weekplan-inline-section .td-muted{
  background:transparent !important;
  padding:0 !important;
}


/* 2.7.83.2 – edit-shell desktop normalization */
body.td-page.td-view-edit .td-main--edit .td-grid{
  grid-template-columns:minmax(0,1fr) !important;
}

body.td-page.td-view-edit .td-main--edit .td-grid > label,
body.td-page.td-view-edit .td-main--edit .td-grid > div,
body.td-page.td-view-edit .td-main--edit .td-grid > p{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}

body.td-page.td-view-edit .td-main--edit .td-weekplan-editor__list--passes{
  margin:0 0 0 1.25rem !important;
  padding-left:1rem !important;
  list-style-position:outside !important;
}

body.td-page.td-view-edit .td-main--edit .td-weekplan-editor__list--passes li{
  margin:0 0 8px !important;
}
