/* v176: daily tasks — a dedicated page, not a list embedded on the home card. */
#homeDashboard #homeHero[hidden],
#homeDashboard #homeContent[hidden],
#homeDashboard #dailyTasksSection[hidden] { display: none !important; }

#homeDashboard .home-task-reset-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: rgba(30,17,57,.55);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
#homeDashboard .home-task-reset-label .ui-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: currentColor;
}
#homeDashboard .home-task-reset-label strong {
  font-size: 16px;
  font-weight: 850;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: .4px;
}
#homeDashboard .home-task-summary-copy { justify-content: center; }
#homeDashboard .home-task-summary-card { cursor: pointer; }

.daily-tasks-section {
  min-height: 100%;
  padding: clamp(20px, 3vw, 38px);
  color: #1e2a45;
  background: #f5f7fb;
}
.daily-tasks-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.daily-tasks-eyebrow {
  color: #7d8aaa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.15px;
}
.daily-tasks-heading h1 {
  margin: 8px 0 8px;
  color: #19243b;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.1;
  letter-spacing: -.7px;
}
.daily-tasks-heading p {
  margin: 0;
  max-width: 600px;
  color: #6f7d92;
  font-size: 14px;
  line-height: 1.5;
}
.daily-tasks-back {
  border: 1px solid #dbe2ef;
  border-radius: 12px;
  padding: 11px 15px;
  background: #fff;
  color: #455475;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(46,65,96,.06);
}
.daily-tasks-back:hover { background: #f1f4fb; }
.daily-tasks-mobile-menu { display: none; }
.daily-tasks-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 910px;
}
.daily-tasks-summary > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 21px 23px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e3e8f2;
  box-shadow: 0 8px 22px rgba(40,48,74,.045);
}
.daily-tasks-summary span { color: #72819a; font-weight: 750; font-size: 13px; }
.daily-tasks-summary strong { color: #283654; font-size: 29px; line-height: 1; letter-spacing: -.6px; }
.daily-tasks-summary .daily-tasks-clock { color: #7953bf; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.daily-tasks-progress {
  max-width: 910px;
  height: 8px;
  border-radius: 99px;
  background: #e4e8f2;
  overflow: hidden;
  margin: 17px 0 25px;
}
.daily-tasks-progress > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8269e8, #a775f2);
  transition: width .3s ease;
}
.daily-tasks-list { display: grid; gap: 13px; max-width: 910px; }
.daily-task-item {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid #e1e7f1;
  background: #fff;
  box-shadow: 0 6px 18px rgba(35, 48, 73, .045);
}
.daily-task-item-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  color: #765bc8;
  background: #f1ecff;
}
.daily-task-item-icon .ui-icon { width: 24px; height: 24px; }
.daily-task-item-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.daily-task-item-body b { color: #1e2b44; font-size: 16px; line-height: 1.3; }
.daily-task-item-body small { color: #748098; font-size: 12px; line-height: 1.4; }
.daily-task-item-track { height: 6px; border-radius: 99px; background: #e8ebf2; margin-top: 5px; overflow: hidden; }
.daily-task-item-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #778cf6, #9869e5); }
.daily-task-item-status { display: flex; flex-direction: column; gap: 7px; align-items: flex-end; white-space: nowrap; }
.daily-task-item-status b { font-variant-numeric: tabular-nums; font-size: 19px; color: #334563; }
.daily-task-item-status small { color: #78859b; font-size: 11px; }
.daily-task-item.is-complete .daily-task-item-icon { background: #e0f9eb; color: #19a66e; }
.daily-task-item.is-complete .daily-task-item-status small { color: #1c9e69; }
.daily-task-item.is-complete .daily-task-item-track i { background: linear-gradient(90deg, #1bbd82, #49db9e); }
.daily-tasks-footnote { max-width: 850px; font-size: 12px; line-height: 1.55; color: #8793a6; margin-top: 20px; }
.daily-tasks-empty { background: #fff; border-radius: 16px; padding: 24px; color: #717f94; }

@media (max-width: 700px) {
  .daily-tasks-section { padding: 19px 15px 105px; }
  .daily-tasks-heading { gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
  .daily-tasks-heading > div { flex: 1 1 calc(100% - 55px); }
  .daily-tasks-heading h1 { font-size: 25px; }
  .daily-tasks-heading p { font-size: 12px; }
  .daily-tasks-mobile-menu { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; border: 1px solid #e0e6f0; color: #52628a; background: #fff; font-size: 21px; }
  .daily-tasks-back { margin-left: 54px; }
  .daily-tasks-summary { gap: 9px; }
  .daily-tasks-summary > div { padding: 15px 12px; gap: 8px; border-radius: 14px; }
  .daily-tasks-summary span { font-size: 11px; }
  .daily-tasks-summary strong { font-size: 21px; }
  .daily-task-item { grid-template-columns: 38px minmax(0,1fr) auto; gap: 9px; padding: 14px 11px; border-radius: 14px; }
  .daily-task-item-icon { width: 38px; height: 38px; border-radius: 11px; }
  .daily-task-item-icon .ui-icon { width: 20px; height: 20px; }
  .daily-task-item-body b { font-size: 13px; }
  .daily-task-item-body small { font-size: 11px; }
  .daily-task-item-status b { font-size: 15px; }
  .daily-task-item-status small { font-size: 10px; }
  #homeDashboard .home-task-reset-label { gap: 5px; padding: 6px 9px; font-size: 11px; }
  #homeDashboard .home-task-reset-label strong { font-size: 13px; }
}
@media (max-width: 380px) {
  .daily-task-item { grid-template-columns: 36px minmax(0,1fr); }
  .daily-task-item-status { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .daily-task-item-icon { width: 36px; height: 36px; }
  .daily-tasks-summary strong { font-size: 18px; }
  #homeDashboard .home-task-reset-label { font-size: 10px; }
}
