/* ---- Today dashboard cards (Review a mistake / Today's quest / Recommended
   review) — shown above the mode-card/topic composer on the landing screen
   when dashboard.js finds real data to populate them. ---- */
#todayDashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 20px;
  text-align: left;
}
#todayDashboard[hidden] { display: none; }

.dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  text-decoration: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dash-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12); }
.dash-card[hidden] { display: none; }

.dash-card-label {
  font: 800 10.5px/1 "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
#reviewMistakeCard .dash-card-label { color: #b45309; }
#todayQuestCard .dash-card-label { color: #0f766e; }
#recommendedReviewCard .dash-card-label { color: #6d28d9; }
#continueCard .dash-card-label { color: #2563eb; }

/* The Continue card is the primary above-the-fold action — spans the full
   dashboard width, sitting above the row of secondary cards. */
#continueCard {
  grid-column: 1 / -1;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.86));
}
.dash-continue-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
}
.dash-card-action {
  font: 800 13px/1 "Inter", sans-serif;
  color: #2563eb;
  white-space: nowrap;
}

.dash-card-title {
  margin: 2px 0 0;
  font: 700 14.5px/1.35 "Inter", sans-serif;
  color: #101827;
}
.dash-card-sub {
  margin: 0;
  font: 500 12px/1.4 "Inter", sans-serif;
  color: #64748b;
}

.dash-quest-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.dash-quest-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 11.5px/1.3 "Inter", sans-serif;
  color: #475569;
}
.dash-quest-row.complete { color: #15803d; }
.dash-quest-row svg { flex: none; width: 13px; height: 13px; }

@media (max-width: 640px) {
  #todayDashboard { grid-template-columns: 1fr; }
}
