/* FCP 14.7.7 — hotfix task cards: no overlap, readable mobile/desktop. */
body.fcp-app-root-page .fcp-mobile-list,
body.fcp-app-root-page .fcp-mobile-task-bucket-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
}

body.fcp-app-root-page article.fcp-mobile-task-card,
body.fcp-app-root-page article.fcp-mobile-task-card.fcp-mobile-task-card-pro,
body.fcp-app-root-page .fcp-mobile-task-card-pro{
  position:relative!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto 44px!important;
  grid-template-areas:"check body prio more"!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:82px!important;
  height:auto!important;
  padding:14px 14px!important;
  margin:0!important;
  border-radius:22px!important;
  border:1px solid #dfe8f4!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,35,69,.06)!important;
  overflow:hidden!important;
  transform:none!important;
}

body.fcp-app-root-page article.fcp-mobile-task-card:before,
body.fcp-app-root-page article.fcp-mobile-task-card:after{
  display:none!important;
  content:none!important;
}

body.fcp-app-root-page .fcp-mobile-task-check,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-check{
  grid-area:check!important;
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  max-width:36px!important;
  max-height:36px!important;
  margin:0!important;
  padding:0!important;
  border-radius:13px!important;
  border:2px solid #cdd9e8!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

body.fcp-app-root-page .fcp-mobile-task-body,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-body{
  grid-area:body!important;
  position:static!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
  text-align:left!important;
  transform:none!important;
}

body.fcp-app-root-page .fcp-mobile-task-body strong,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-body strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 0 5px!important;
  padding:0!important;
  color:#10233f!important;
  font-size:17px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.fcp-app-root-page .fcp-mobile-task-body span,
body.fcp-app-root-page .fcp-mobile-task-body small,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-body span,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-body small{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:#6b7c93!important;
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.fcp-app-root-page .fcp-mobile-task-note-preview{
  display:none!important;
}

body.fcp-app-root-page article.fcp-mobile-task-card em,
body.fcp-app-root-page .fcp-mobile-task-card-pro em{
  grid-area:prio!important;
  position:static!important;
  justify-self:end!important;
  align-self:center!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:82px!important;
  min-height:32px!important;
  height:32px!important;
  margin:0!important;
  padding:0 10px!important;
  border:0!important;
  border-radius:999px!important;
  background:#f2f5f9!important;
  color:#475569!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform:none!important;
}

body.fcp-app-root-page article.fcp-mobile-task-card em.prio-high,
body.fcp-app-root-page article.fcp-mobile-task-card em.prio-urgent,
body.fcp-app-root-page .fcp-mobile-task-card-pro em.prio-high,
body.fcp-app-root-page .fcp-mobile-task-card-pro em.prio-urgent{
  background:#fff1f2!important;
  color:#dc2626!important;
}

body.fcp-app-root-page article.fcp-mobile-task-card em.prio-medium,
body.fcp-app-root-page .fcp-mobile-task-card-pro em.prio-medium{
  background:#fff7ed!important;
  color:#c2410c!important;
}

body.fcp-app-root-page .fcp-mobile-task-more,
body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-more{
  grid-area:more!important;
  position:static!important;
  inset:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  max-width:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0!important;
  border-radius:15px!important;
  border:1px solid #dce6f2!important;
  background:#fff!important;
  color:#253957!important;
  font-size:18px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}

body.fcp-app-root-page .fcp-mobile-task-card.is-completed{
  opacity:.56!important;
}

@media (max-width:430px){
  body.fcp-app-root-page article.fcp-mobile-task-card,
  body.fcp-app-root-page article.fcp-mobile-task-card.fcp-mobile-task-card-pro,
  body.fcp-app-root-page .fcp-mobile-task-card-pro{
    grid-template-columns:38px minmax(0,1fr) 62px 40px!important;
    column-gap:9px!important;
    min-height:78px!important;
    padding:12px!important;
    border-radius:22px!important;
  }
  body.fcp-app-root-page .fcp-mobile-task-check,
  body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-check{
    width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  }
  body.fcp-app-root-page .fcp-mobile-task-body strong,
  body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-body strong{
    font-size:16px!important;
  }
  body.fcp-app-root-page article.fcp-mobile-task-card em,
  body.fcp-app-root-page .fcp-mobile-task-card-pro em{
    max-width:62px!important;
    height:30px!important;
    min-height:30px!important;
    font-size:9.5px!important;
    padding:0 7px!important;
  }
  body.fcp-app-root-page .fcp-mobile-task-more,
  body.fcp-app-root-page article.fcp-mobile-task-card .fcp-mobile-task-more{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  }
}

@media (min-width:768px){
  body.fcp-app-root-page article.fcp-mobile-task-card,
  body.fcp-app-root-page article.fcp-mobile-task-card.fcp-mobile-task-card-pro,
  body.fcp-app-root-page .fcp-mobile-task-card-pro{
    grid-template-columns:44px minmax(0,1fr) 90px 44px!important;
    min-height:84px!important;
  }
}
