.task {
  padding: 22px 24px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.task:hover {
  box-shadow: var(--shadow-md);
}

.task h6 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.subtitle {
  font-size: 13.2px;
  font-weight: 500;
  color: var(--text-light);
  margin-top: -8px;
}

.summaryGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.card {
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: background 0.2s ease, transform 0.2s ease;
}

.card:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.card span {
  font-size: 12.1px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.card h6 {
  font-size: 24.2px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.progressTrack {
  display: flex;
  height: 10px;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface-alt);
}

.progressTrack span {
  display: block;
  height: 100%;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.taskList {
  display: flex;
  flex-direction: column;
}

.taskcard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  transition: background 0.15s ease;
}

.taskcard:last-child {
  border-bottom: none;
}

.taskLabel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.3px;
  font-weight: 500;
  color: var(--text-main);
}

.taskDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.taskcard b {
  font-size: 14.3px;
  font-weight: 700;
  color: var(--text-main);
}
