#app .progress-header {
  margin: 0 0 28px;
  padding: 4px 0 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe5ef;
  border-radius: 0;
  box-shadow: none;
}
#app .progress-header h2 {
  margin: 0 0 7px;
  color: #172033;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}
#app .progress-header p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}
#app > h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 10px;
  color: #172033;
  font-size: 19px;
  font-weight: 700;
}
#app > h2::before {
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: #2563eb;
  content: '';
}
#app .task-grid {
  display: block;
}
#app .compact-task-section {
  width: 100%;
  margin: 0 0 12px;
  padding: 14px 0 16px;
  border-bottom: 1px solid #dfe4ec;
}
#app .compact-task-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  padding: 0 2px 10px;
}
#app .compact-task-head .task-id {
  color: #2563eb;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}
#app .compact-task-head .task-name {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.35;
}
#app .question-count {
  flex: none;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}
#app .compact-question-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
#app .compact-question-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 9px;
}
#app .compact-question-main {
  min-width: 0;
}
#app .compact-question-title {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: 14px;
  line-height: 1.35;
}
#app .compact-question-title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#app .question-state {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}
#app .question-state.saved {
  color: #16a34a;
}
#app .question-state.pending {
  color: #64748b;
}
#app .compact-question-button {
  flex: none;
  width: auto;
  min-width: 82px;
  min-height: 34px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
}
@media (max-width: 980px) {
  #app .compact-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  #app .compact-question-grid { grid-template-columns: 1fr; }
}
