/* 知行刷题 · 学生网页端样式
   只被 student/index.html 加载。 */

/* Student web application */
.student-shell {
  height: 100%;
  overflow: auto;
  background:
    radial-gradient(circle at 8% 0%, rgba(223, 242, 255, .72), transparent 23%),
    linear-gradient(180deg, #f9fbfd, #f4f7fa 70%);
}

.student-nav-wrap {
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1250px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid #e7edf3;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.student-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.student-school-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #123d66, #0c2948);
  box-shadow: 0 6px 12px rgba(20, 74, 122, .18);
}

.student-school-mark img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.student-brand-copy strong {
  display: block;
  color: var(--navy-900);
  font-size: 16px;
  letter-spacing: .08em;
}

.student-brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.student-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.student-nav button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.student-nav button:hover {
  color: var(--blue-700);
}

.student-nav button.is-active {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 600;
}

.student-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.student-user-copy {
  text-align: right;
}

.student-user-copy strong {
  display: block;
  font-size: 11px;
}

.student-user-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.student-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #784d22;
  background: linear-gradient(145deg, #ffe1bd, #f4b96d);
  box-shadow: 0 2px 8px rgba(80, 65, 40, .13);
  font-size: 12px;
  font-weight: 700;
}

.student-main {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 26px 24px 45px;
}

.student-hero {
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr);
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 10%, rgba(120, 206, 241, .3), transparent 27%),
    radial-gradient(circle at 98% 98%, rgba(241, 180, 76, .24), transparent 28%),
    linear-gradient(115deg, #0e3152 0%, #11517d 53%, #146a93 100%);
  box-shadow: 0 17px 40px rgba(16, 49, 82, .18);
  position: relative;
}

.student-hero::before {
  content: "知";
  position: absolute;
  right: 27%;
  top: -45px;
  color: rgba(255, 255, 255, .045);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 240px;
  line-height: 1;
}

.hero-left {
  padding: 31px 34px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  letter-spacing: .15em;
}

.hero-left h1 {
  margin: 12px 0 9px;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-left h1 em {
  color: #ffd58f;
  font-style: normal;
}

.hero-left > p {
  margin: 0;
  color: rgba(255, 255, 255, .61);
  font-size: 11px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.hero-button {
  height: 38px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
  cursor: pointer;
  transition: .18s ease;
}

.hero-button.primary {
  color: var(--navy-900);
  border-color: #fff;
  background: #fff;
  font-weight: 600;
}

.hero-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .14);
}

.hero-button.primary:hover {
  background: #f9fbfd;
}

.hero-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .065);
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.progress-orbit {
  width: 144px;
  height: 144px;
  position: relative;
}

.progress-orbit svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.orbit-track {
  fill: none;
  stroke: rgba(255, 255, 255, .11);
  stroke-width: 9;
}

.orbit-value {
  fill: none;
  stroke: #f5bf63;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 377;
  stroke-dashoffset: 151;
  filter: drop-shadow(0 0 5px rgba(245, 191, 99, .25));
}

.orbit-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.orbit-label strong {
  font-family: var(--font-number);
  font-size: 28px;
}

.orbit-label strong small {
  font-size: 10px;
  font-weight: 400;
}

.orbit-label span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
}

.student-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 27px 0 14px;
}

.student-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.student-section-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.student-section-head button {
  padding: 0;
  border: 0;
  color: var(--blue-700);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

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

.practice-mode-card {
  min-height: 127px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: .18s ease;
}

.practice-mode-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbee;
  box-shadow: var(--shadow-md);
}

.mode-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--blue-700);
  background: var(--blue-50);
}

.mode-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-mode-card:nth-child(2) .mode-icon {
  color: var(--teal-600);
  background: #ecfbf7;
}

.practice-mode-card:nth-child(3) .mode-icon {
  color: var(--orange-600);
  background: #fff5eb;
}

.practice-mode-card:nth-child(4) .mode-icon {
  color: #7d59c9;
  background: #f4efff;
}

.practice-mode-card:nth-child(5) .mode-icon {
  color: var(--red-600);
  background: #fff1f1;
}

.practice-mode-card:nth-child(6) .mode-icon {
  color: #aa7921;
  background: #fff8e7;
}

.practice-mode-card h3 {
  margin: 12px 0 5px;
  font-size: 12px;
}

.practice-mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.student-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
}

.student-course-panel {
  padding: 18px;
}

.student-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.student-panel-head h3 {
  margin: 0;
  font-size: 13px;
}

.student-panel-head span {
  color: var(--muted);
  font-size: 9px;
}

.student-course-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(130px, .7fr) 55px 84px;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eef2f5;
}

.student-course-row:last-child {
  border-bottom: 0;
}

.course-cover {
  width: 34px;
  height: 38px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  color: #fff;
  background: linear-gradient(145deg, #4d9ad4, #1c659d);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 14px;
}

.course-cover.orange {
  background: linear-gradient(145deg, #f1b15f, #d7782d);
}

.course-cover.green {
  background: linear-gradient(145deg, #55bca9, #208c7c);
}

.student-course-name strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.student-course-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.student-course-row .progress-meta {
  margin-top: 5px;
}

.student-course-row > span {
  color: var(--muted);
  font-size: 9px;
  text-align: right;
}

.leaderboard-panel {
  padding: 18px;
  background:
    linear-gradient(160deg, #fff, #fff 55%, #fbf7ed);
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #edf0f3;
}

.leaderboard-row:last-child {
  border-bottom: 0;
}

.rank {
  width: 21px;
  font-family: var(--font-number);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}

.leaderboard-row:nth-child(2) .rank {
  color: #dc9c31;
}

.leaderboard-row:nth-child(3) .rank {
  color: #8796a6;
}

.leaderboard-row:nth-child(4) .rank {
  color: #b77b51;
}

.leaderboard-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue-700);
  background: #eaf4ff;
  font-size: 9px;
  font-weight: 600;
}

.leaderboard-name {
  flex: 1;
  font-size: 10px;
}

.leaderboard-score {
  color: var(--muted);
  font-family: var(--font-number);
  font-size: 10px;
}

.leaderboard-score strong {
  color: var(--ink);
  font-size: 12px;
}

.leaderboard-row.is-me {
  margin: 4px -7px 0;
  padding: 10px 7px;
  border: 0;
  border-radius: 8px;
  background: var(--blue-50);
}

.practice-page-head {
  margin-bottom: 18px;
}

.practice-page-head h1 {
  margin: 0;
  font-size: 23px;
}

.practice-page-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.course-selector-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 20px;
}

.course-selector {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
}

.course-selector:hover {
  border-color: #b8d2e8;
}

.course-selector.is-active {
  border-color: #73addc;
  background: linear-gradient(135deg, #fff, #f3faff);
  box-shadow: 0 0 0 3px rgba(26, 120, 210, .06);
}

.course-selector-copy {
  flex: 1;
}

.course-selector-copy strong {
  display: block;
  font-size: 11px;
}

.course-selector-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.radio-ring {
  width: 17px;
  height: 17px;
  border: 1.5px solid #bdc8d4;
  border-radius: 50%;
  position: relative;
}

.course-selector.is-active .radio-ring {
  border-color: var(--blue-700);
}

.course-selector.is-active .radio-ring::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--blue-700);
}

.mode-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.mode-detail-card {
  min-height: 136px;
  padding: 19px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: .18s ease;
}

.mode-detail-card:hover {
  border-color: #bad6ea;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mode-detail-card .mode-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.mode-detail-copy {
  flex: 1;
}

.mode-detail-copy h3 {
  margin: 1px 0 6px;
  font-size: 13px;
}

.mode-detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.mode-detail-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
}

.mode-detail-meta .tag {
  font-size: 9px;
}

.mode-detail-arrow {
  color: #a1adba;
}

.mode-detail-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Practice workspace */
.practice-shell {
  min-height: 100%;
  background: #f3f6f9;
}

.practice-header {
  height: 64px;
  padding: 0 max(22px, calc((100vw - 1250px) / 2));
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.practice-back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.practice-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-session-title {
  flex: 1;
}

.practice-session-title strong {
  display: block;
  font-size: 12px;
}

.practice-session-title span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.practice-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-family: var(--font-number);
  font-size: 12px;
}

.practice-time svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--orange-600);
  stroke-width: 1.8;
}

.practice-body {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 22px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 16px;
  align-items: start;
}

.question-panel {
  min-height: 590px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.question-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 21px;
  border-bottom: 1px solid #edf1f5;
}

.question-index {
  color: var(--blue-700);
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 700;
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}

.question-top-actions {
  margin-left: auto;
  display: flex;
  gap: 5px;
}

.question-action {
  height: 29px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid #e3e9ef;
  border-radius: 7px;
  color: var(--muted);
  background: #fff;
  font-size: 9px;
  cursor: pointer;
}

.question-action:hover,
.question-action.is-active {
  color: var(--orange-600);
  border-color: #f3d1b4;
  background: #fff9f3;
}

.question-action svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.question-content {
  padding: 28px 30px 24px;
}

.question-stem {
  margin: 0;
  color: #1d3248;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.question-hint {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.answer-option {
  width: 100%;
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid #e1e7ed;
  border-radius: 10px;
  color: var(--ink-2);
  background: #fff;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: .16s ease;
}

.answer-option:hover {
  border-color: #a7cdea;
  background: #fbfdff;
}

.option-letter {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  color: #708093;
  background: #f8fafc;
  font-family: var(--font-number);
  font-size: 11px;
  font-weight: 600;
}

.answer-option.is-selected {
  border-color: #68a9da;
  background: #f3f9ff;
  color: #154f7b;
}

.answer-option.is-selected .option-letter {
  color: #fff;
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.answer-option.is-correct {
  border-color: #55b99b;
  background: #f1fbf7;
}

.answer-option.is-correct .option-letter {
  color: #fff;
  border-color: var(--teal-600);
  background: var(--teal-600);
}

.answer-option.is-wrong {
  border-color: #e49393;
  background: #fff7f7;
}

.answer-option.is-wrong .option-letter {
  color: #fff;
  border-color: var(--red-600);
  background: var(--red-600);
}

.answer-feedback {
  margin-top: 22px;
  border: 1px solid #deebe1;
  border-radius: 11px;
  overflow: hidden;
  animation: fadeSlide .25s ease both;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.feedback-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: var(--green-600);
  background: #f2fbf6;
  font-size: 11px;
  font-weight: 600;
}

.feedback-head.wrong {
  color: var(--red-600);
  background: #fff5f5;
}

.feedback-icon {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-600);
  font-size: 11px;
}

.feedback-head.wrong .feedback-icon {
  background: var(--red-600);
}

.feedback-body {
  padding: 15px;
  background: #fff;
}

.feedback-answer {
  color: var(--ink-2);
  font-size: 11px;
}

.feedback-answer strong {
  color: var(--green-600);
}

.feedback-analysis {
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px dashed #e5ebe7;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.question-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 21px;
  border-top: 1px solid #edf1f5;
  background: #fcfdfe;
}

.question-bottom-hint {
  color: var(--muted);
  font-size: 9px;
}

.question-bottom-actions {
  display: flex;
  gap: 8px;
}

.question-side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.answer-card-panel {
  padding: 16px;
}

.answer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.answer-card-head strong {
  font-size: 12px;
}

.answer-card-head span {
  color: var(--muted);
  font-size: 9px;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.answer-number {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e1e7ed;
  border-radius: 7px;
  color: var(--muted);
  background: #fff;
  font-family: var(--font-number);
  font-size: 10px;
  cursor: pointer;
}

.answer-number:hover {
  border-color: #aacbe3;
}

.answer-number.is-current {
  color: #fff;
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.answer-number.is-done {
  color: var(--green-600);
  border-color: #cce9dc;
  background: #f0faf5;
}

.answer-number.is-wrong {
  color: var(--red-600);
  border-color: #f0d2d2;
  background: #fff5f5;
}

.answer-legend {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
}

.legend-box {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 3px;
  border-radius: 2px;
  border: 1px solid #d9e1e8;
}

.legend-box.done {
  border-color: #b9e6d6;
  background: #e8f9f1;
}

.legend-box.current {
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.practice-tip {
  padding: 15px;
  color: var(--ink-2);
  background: linear-gradient(145deg, #fffcf5, #fff8e9);
  border: 1px solid #f3e6c8;
}

.practice-tip strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #906b23;
  font-size: 10px;
}

.practice-tip p {
  margin: 7px 0 0;
  color: #987d4e;
  font-size: 9px;
  line-height: 1.7;
}

.subject-answer {
  margin-top: 20px;
}

.subject-answer textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  resize: vertical;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  line-height: 1.8;
}

.self-judge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 9px;
  background: #f7f9fb;
  font-size: 10px;
}

.self-judge button {
  height: 29px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}

.self-judge button:hover {
  color: var(--green-600);
  border-color: #a7d8c7;
}

/* Student collections */
.student-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.student-page-header h1 {
  margin: 0;
  font-size: 23px;
}

.student-page-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.collection-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 17px;
}

.collection-stat {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.collection-stat.is-active {
  border-color: #9bc7e7;
  background: linear-gradient(145deg, #fff, #f4faff);
  box-shadow: 0 0 0 3px rgba(26, 120, 210, .05);
}

.collection-stat span {
  color: var(--muted);
  font-size: 10px;
}

.collection-stat strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-number);
  font-size: 20px;
}

.collection-list {
  padding: 3px 17px;
}

.collection-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #edf1f4;
}

.collection-row:last-child {
  border-bottom: 0;
}

.collection-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--blue-700);
  background: var(--blue-50);
}

.collection-icon.red {
  color: var(--red-600);
  background: var(--red-100);
}

.collection-icon.orange {
  color: var(--orange-600);
  background: var(--orange-100);
}

.collection-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-copy {
  flex: 1;
  min-width: 0;
}

.collection-copy strong {
  display: block;
  font-size: 11px;
  line-height: 1.55;
}

.collection-copy span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.collection-right {
  text-align: right;
}

.collection-right > span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.collection-right button {
  margin-top: 5px;
}

.stats-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.stat-card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.stat-card-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-card strong {
  display: block;
  margin-top: 9px;
  font-family: var(--font-number);
  font-size: 25px;
}

.stat-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.stats-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr);
  gap: 16px;
}

.trend-panel,
.accuracy-panel {
  padding: 19px;
}

.line-chart {
  height: 225px;
  margin-top: 10px;
  position: relative;
}

.line-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.line-grid {
  stroke: #edf1f4;
  stroke-width: 1;
}

.line-area {
  fill: url(#lineGradient);
}

.line-path {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-dot {
  fill: #fff;
  stroke: var(--blue-600);
  stroke-width: 2;
}

.chart-axis-label {
  fill: #8c99a7;
  font-size: 8px;
  font-family: var(--font-sans);
}

.accuracy-ring {
  width: 170px;
  height: 170px;
  margin: 15px auto 16px;
  position: relative;
}

.accuracy-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.accuracy-ring .ring-bg {
  fill: none;
  stroke: #edf2f6;
  stroke-width: 13;
}

.accuracy-ring .ring-value {
  fill: none;
  stroke: var(--teal-600);
  stroke-width: 13;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 78;
}

.accuracy-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.accuracy-ring-label strong {
  font-family: var(--font-number);
  font-size: 31px;
}

.accuracy-ring-label span {
  color: var(--muted);
  font-size: 9px;
}

.accuracy-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.accuracy-details div {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  background: #f7f9fb;
}

.accuracy-details strong {
  display: block;
  font-family: var(--font-number);
  font-size: 16px;
}

.accuracy-details span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}
