:root{
  --fcp52-blue:#2563eb;
  --fcp52-blue-dark:#1d4ed8;
  --fcp52-blue-soft:#eff6ff;
  --fcp52-text:#0f172a;
  --fcp52-muted:#64748b;
  --fcp52-border:#e5eaf3;
  --fcp52-bg:#ffffff;
  --fcp52-shadow:0 10px 30px rgba(15,23,42,.06);
}

body .fcp-mobile-task-bucket-list,
body .fcp-task-bucket-saas .fcp-mobile-task-bucket-list,
body .fcp-app-task-page .fcp-mobile-task-bucket-list{
  display:flex!important;
  flex-direction:column!important;
  gap:16px!important;
}

body .fcp-task52-card{
  position:relative!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:18px 20px!important;
  background:var(--fcp52-bg)!important;
  border:1px solid var(--fcp52-border)!important;
  border-radius:22px!important;
  box-shadow:var(--fcp52-shadow)!important;
  overflow:hidden!important;
}
body .fcp-task52-card::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  top:18px!important;
  bottom:18px!important;
  width:4px!important;
  border-radius:0 999px 999px 0!important;
  background:transparent!important;
}
body .fcp-task52-card.is-meta-gsheet::before{background:var(--fcp52-blue)!important;}
body .fcp-task52-card.is-overdue::before{background:#dc2626!important;}
body .fcp-task52-card.is-done{opacity:.78!important;background:#f8fafc!important;}

body .fcp-task52-row{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:16px!important;
  min-width:0!important;
}
body .fcp-task52-check.fcp-mobile-task-check{
  all:unset!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  height:34px!important;
  border:2px solid #cbd5e1!important;
  border-radius:11px!important;
  background:#fff!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(15,23,42,.04)!important;
  margin-top:2px!important;
}
body .fcp-task52-card.is-done .fcp-task52-check.fcp-mobile-task-check{
  background:var(--fcp52-blue)!important;
  border-color:var(--fcp52-blue)!important;
}
body .fcp-task52-card.is-done .fcp-task52-check.fcp-mobile-task-check::after{
  content:"✓"!important;
  color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
}

body .fcp-task52-maincol{min-width:0!important;display:block!important;}
body .fcp-task52-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  align-items:center!important;
  margin:0 0 10px!important;
}
body .fcp-task52-date,
body .fcp-task52-time{
  color:var(--fcp52-text)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body .fcp-task52-status{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  color:var(--fcp52-blue)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body .fcp-task52-status i{
  display:inline-block!important;
  width:7px!important;
  height:7px!important;
  border-radius:999px!important;
  background:var(--fcp52-blue)!important;
}
body .fcp-task52-title{
  display:block!important;
  margin:0!important;
  color:var(--fcp52-text)!important;
  font-size:28px!important;
  line-height:1.14!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
  overflow-wrap:anywhere!important;
}
body .fcp-task52-client{
  display:block!important;
  margin:6px 0 0!important;
  color:#475569!important;
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:800!important;
}
body .fcp-task52-desc{
  display:block!important;
  margin:8px 0 0!important;
  color:var(--fcp52-muted)!important;
  font-size:15px!important;
  line-height:1.45!important;
  font-weight:650!important;
}

body .fcp-task52-side{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:max-content!important;
}
body .fcp-task52-priority{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  border:1px solid #dbeafe!important;
  background:var(--fcp52-blue-soft)!important;
  color:var(--fcp52-blue)!important;
  font-size:12px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
  white-space:nowrap!important;
}
body .fcp-task52-priority.prio-high,
body .fcp-task52-priority.prio-urgent{background:#fef2f2!important;color:#b91c1c!important;border-color:#fecaca!important;}
body .fcp-task52-priority.prio-medium{background:#fffbeb!important;color:#b45309!important;border-color:#fde68a!important;}
body .fcp-task52-priority.prio-low{background:#ecfdf5!important;color:#047857!important;border-color:#bbf7d0!important;}
body .fcp-task52-more.fcp-mobile-task-more{
  all:unset!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  border:1px solid var(--fcp52-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#334155!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
  cursor:pointer!important;
}

body .fcp-task52-actions{
  display:flex!important;
  justify-content:flex-end!important;
  gap:10px!important;
  margin-top:16px!important;
  padding-left:58px!important;
  flex-wrap:wrap!important;
}
body .fcp-task52-actions .fcp-task52-btn,
body .fcp-task52-actions .fcp-task-action-primary,
body .fcp-task52-actions .fcp-task-action-secondary{
  all:unset!important;
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:900!important;
  cursor:pointer!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body .fcp-task52-actions .fcp-task52-btn-primary,
body .fcp-task52-actions .fcp-task-action-primary{
  background:linear-gradient(135deg,var(--fcp52-blue),var(--fcp52-blue-dark))!important;
  color:#fff!important;
  border:1px solid var(--fcp52-blue)!important;
  box-shadow:0 10px 22px rgba(37,99,235,.20)!important;
}
body .fcp-task52-actions .fcp-task52-btn-secondary,
body .fcp-task52-actions .fcp-task-action-secondary{
  background:#fff!important;
  color:var(--fcp52-text)!important;
  border:1px solid #dbe3ef!important;
}

body .fcp-task52-card:hover{border-color:#d8e4f6!important;box-shadow:0 14px 36px rgba(37,99,235,.09)!important;}

@media (max-width:1080px){
  body .fcp-task52-title{font-size:24px!important;}
}
@media (max-width:780px){
  body .fcp-task52-card{padding:16px!important;border-radius:20px!important;}
  body .fcp-task52-row{grid-template-columns:38px minmax(0,1fr) auto!important;gap:12px!important;}
  body .fcp-task52-title{font-size:20px!important;line-height:1.18!important;}
  body .fcp-task52-client{font-size:14px!important;}
  body .fcp-task52-desc{font-size:14px!important;}
  body .fcp-task52-actions{padding-left:50px!important;justify-content:stretch!important;}
  body .fcp-task52-actions .fcp-task52-btn,
  body .fcp-task52-actions .fcp-task-action-primary,
  body .fcp-task52-actions .fcp-task-action-secondary{flex:1 1 calc(50% - 5px)!important;}
}
@media (max-width:520px){
  body .fcp-task52-side{gap:8px!important;}
  body .fcp-task52-more.fcp-mobile-task-more{width:38px!important;height:38px!important;}
  body .fcp-task52-priority{min-height:32px!important;padding:0 10px!important;font-size:11px!important;}
  body .fcp-task52-actions{padding-left:0!important;}
}
