/* G02 今日学习 V2 面板样式 */

.v2-today-panel {
  margin: 16px 0;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff8f4 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.v2-today-panel.hidden { display: none; }

.v2-today-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.v2-today-head small {
  color: #8a96a8;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.v2-today-head h2 {
  margin: 4px 0;
  font-size: 22px;
  color: #1a2433;
}

.v2-today-head p {
  margin: 0;
  font-size: 14px;
  color: #5a6678;
}

.v2-budget-summary {
  display: flex;
  gap: 16px;
}

.v2-budget-summary > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  min-width: 84px;
}

.v2-budget-summary small {
  font-size: 11px;
  color: #8a96a8;
  margin-bottom: 2px;
}

.v2-budget-summary b {
  font-size: 22px;
  color: #1a2433;
  font-weight: 700;
}

.v2-budget-summary span {
  font-size: 11px;
  color: #8a96a8;
  margin-top: 2px;
}

.v2-subject-budgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.v2-subject-budget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.v2-subject-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.v2-subject-icon.math { background: #4f7df0; }
.v2-subject-icon.chinese { background: #e87a5d; }
.v2-subject-icon.english { background: #5cb88a; }
.v2-subject-icon.other { background: #9a9fb0; }

.v2-subject-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: #1a2433;
}

.v2-subject-stats {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #5a6678;
}

.v2-subject-stats b {
  color: #1a2433;
  font-weight: 700;
}

.v2-task-list-head {
  margin: 16px 0 12px;
}

.v2-task-list-head h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #1a2433;
}

.v2-task-list-head small {
  font-size: 12px;
  color: #8a96a8;
}

.v2-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v2-task-card {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #e0e6ed;
}

.v2-task-card[data-subject="数学"] { border-left-color: #4f7df0; }
.v2-task-card[data-subject="语文"] { border-left-color: #e87a5d; }
.v2-task-card[data-subject="英语"] { border-left-color: #5cb88a; }
.v2-task-card[data-subject="体育"] { border-left-color: #f0a93f; }

.v2-task-card header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.v2-subject-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-weight: 600;
}

.v2-subject-tag.math { background: #4f7df0; }
.v2-subject-tag.chinese { background: #e87a5d; }
.v2-subject-tag.english { background: #5cb88a; }
.v2-subject-tag.other { background: #9a9fb0; }

.v2-task-card h4 {
  margin: 0;
  font-size: 15px;
  color: #1a2433;
  flex: 1;
  min-width: 0;
}

.v2-task-card header small {
  font-size: 13px;
  color: #5a6678;
}

.v2-task-card header small b {
  color: #4f7df0;
  font-weight: 700;
}

.v2-task-knowledge {
  margin: 0 0 8px;
  font-size: 13px;
  color: #4a5567;
  line-height: 1.5;
}

.v2-real-questions {
  margin: 8px 0;
  padding: 8px 10px;
  background: #f7f9fc;
  border-radius: 8px;
  font-size: 12px;
}

.v2-real-questions.empty {
  color: #8a96a8;
  font-style: italic;
}

.v2-real-questions small {
  display: block;
  color: #8a96a8;
  font-size: 11px;
  margin-bottom: 4px;
}

.v2-real-questions ul {
  margin: 0;
  padding-left: 16px;
  color: #4a5567;
}

.v2-task-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.v2-btn-start {
  padding: 6px 16px;
  background: #4f7df0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.v2-btn-start:hover {
  background: #3d6ed8;
}

.v2-task-source {
  font-size: 11px;
  color: #8a96a8;
}

.v2-parent-trace {
  margin-top: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px dashed #c0c8d4;
}

.v2-parent-trace.hidden { display: none; }

.v2-parent-trace header small {
  color: #e87a5d;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.v2-parent-trace h3 {
  margin: 4px 0;
  font-size: 16px;
  color: #1a2433;
}

.v2-parent-trace p {
  margin: 0 0 12px;
  font-size: 12px;
  color: #5a6678;
}

.v2-trace-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v2-trace-list li {
  padding: 8px 0;
  font-size: 13px;
  color: #1a2433;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  line-height: 1.6;
}

.v2-trace-list li:last-child {
  border-bottom: none;
}

.v2-trace-list li b {
  color: #4a5567;
  font-weight: 600;
  margin-right: 4px;
}

.empty {
  color: #8a96a8;
  font-style: italic;
  text-align: center;
  padding: 20px;
}
