:root {
  --ink: #17243a;
  --muted: #6c7890;
  --line: #dfe5ef;
  --paper: #fff;
  --bg: #f2f5f9;
  --nav: #13243d;
  --nav2: #1f3a5d;
  --teal: #0d8f87;
  --blue: #2d66c3;
  --gold: #d49a2a;
  --red: #c94d59;
  --shadow: 0 12px 34px rgba(19, 36, 61, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font:
    14px/1.55 "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}
aside {
  background: linear-gradient(180deg, var(--nav), #102033);
  color: #fff;
  padding: 27px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 8px 24px;
  border-bottom: 1px solid #ffffff1b;
}
.seal {
  width: 39px;
  height: 39px;
  border: 1px solid #ffffff5c;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 700 18px Georgia;
  background: #ffffff0d;
}
.brand b {
  display: block;
  font-size: 17px;
  letter-spacing: 1px;
}
.brand small {
  color: #b8c5d7;
}
nav {
  padding-top: 20px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.nav-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: #bdc8d8;
  text-align: left;
  padding: 11px 13px;
  border-radius: 9px;
  margin: 3px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-btn:hover,
.nav-btn.active,
.nav-btn.parent-active {
  background: #ffffff14;
  color: #fff;
}
.nav-btn.active {
  box-shadow: inset 3px 0 var(--teal);
}
.nav-btn.nav-child {
  padding-left: 32px;
  margin: 1px 0;
  font-size: 13px;
}
.nav-btn.nav-child .dot {
  width: 5px;
  height: 5px;
}
.dot {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.guide-nav {
  flex: none;
  border-top: 1px solid #ffffff1b;
  padding-top: 10px;
}
.aside-foot {
  margin: 10px 8px 0;
  color: #8191a7;
  font-size: 12px;
}
main {
  padding: 28px 34px 50px;
  min-width: 0;
}
.top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.top h1 {
  font:
    700 27px Georgia,
    "Microsoft YaHei";
  margin: 0 0 4px;
}
.top p {
  margin: 0;
  color: var(--muted);
}
.status-pill {
  padding: 8px 12px;
  background: #e7f6f3;
  color: #08766f;
  border: 1px solid #bee8e2;
  border-radius: 99px;
  font-size: 12px;
}
.page {
  display: none;
}
.page.active {
  display: block;
}
.grid {
  display: grid;
  gap: 16px;
}
.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.metric .label {
  color: var(--muted);
  font-size: 12px;
}
.metric strong {
  display: block;
  font: 700 29px Georgia;
  margin-top: 8px;
}
.metric .hint {
  font-size: 12px;
  color: var(--teal);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 12px;
}
.section-title h2 {
  font-size: 17px;
  margin: 0;
}
.section-title span {
  font-size: 12px;
  color: var(--muted);
}
.bar-list {
  display: grid;
  gap: 13px;
}
.bar-row {
  display: grid;
  grid-template-columns: 112px 1fr 48px;
  gap: 10px;
  align-items: center;
}
.bar-track {
  height: 8px;
  background: #e9edf3;
  border-radius: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 8px;
}
.empty {
  padding: 34px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
}
form.compact {
  display: grid;
  gap: 10px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.field {
  display: grid;
  gap: 5px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  color: var(--muted);
  font-size: 12px;
}
.input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 8px;
  padding: 9px 10px;
  outline: none;
}
.input:focus {
  border-color: #78a8d7;
  box-shadow: 0 0 0 3px #2d66c312;
}
textarea.input {
  min-height: 74px;
  resize: vertical;
}
.checkbox-list {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  max-height: 180px;
  overflow: auto;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-option input {
  accent-color: var(--blue);
}
body.teacher-view .management-grid {
  grid-template-columns: 1fr;
}
.course-student-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.course-student-panel h3 {
  margin: 0 0 4px;
}
.course-student-help {
  color: var(--muted);
  margin: 0 0 12px;
}
.course-student-list {
  max-height: 410px;
  margin-top: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.course-student-list thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.course-student-list tbody tr {
  height: 46px;
}
.course-save-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.management-list-column {
  min-width: 0;
}
.management-list-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.teacher-editor-card[hidden],
.course-editor-card[hidden] {
  display: none !important;
}
.course-editor-grid {
  grid-template-columns: 1fr;
}
.btn {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--blue);
  color: #fff;
}
.btn.secondary {
  background: #eef3f9;
  color: #2e4b6e;
}
.btn.danger {
  background: #fff0f1;
  color: var(--red);
}
.btn.teal {
  background: var(--teal);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e9edf2;
}
th {
  background: #f7f9fc;
  color: #607087;
  font-size: 12px;
}
tr:last-child td {
  border-bottom: 0;
}
.actions {
  display: flex;
  gap: 6px;
}
.icon-btn {
  border: 0;
  background: #eef3f8;
  color: #38516f;
  border-radius: 6px;
  padding: 5px 8px;
}
.review-history-table {
  table-layout: fixed;
  white-space: normal;
}
.review-history-table th,
.review-history-table td {
  padding: 10px 6px;
  overflow-wrap: anywhere;
}
.review-filename {
  max-width: 260px;
  overflow-x: auto;
  white-space: nowrap;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.review-filename:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.review-actions .actions {
  flex-wrap: wrap;
  gap: 5px;
}
.review-actions .icon-btn {
  max-width: 100%;
  padding: 5px 6px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.review-home-head {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.review-home-head .field {
  width: min(420px, 100%);
}
.assignment-task-manager + .assignment-task-editor {
  margin-top: 16px;
}
.assignment-task-heading {
  margin-top: 0;
  align-items: flex-start;
}
.assignment-task-heading h2,
.assignment-task-heading p {
  margin: 0;
}
.assignment-task-heading p,
.assignment-picker p {
  color: var(--muted);
}
.assignment-task-table {
  table-layout: fixed;
  white-space: normal;
}
.assignment-task-table th:nth-child(1) {
  width: 18%;
}
.assignment-task-table th:nth-child(2) {
  width: 14%;
}
.assignment-task-table th:nth-child(3) {
  width: 25%;
}
.assignment-task-table th:nth-child(4) {
  width: 16%;
}
.assignment-task-table th:nth-child(5) {
  width: 15%;
}
.assignment-task-summary {
  overflow-wrap: anywhere;
}
.assignment-delete {
  color: var(--red);
}
.assignment-task-editor textarea {
  min-height: 150px;
}
.assignment-picker {
  margin-bottom: 16px;
}
.assignment-picker .field {
  max-width: 620px;
}
.assignment-picker p {
  margin: 8px 0 0;
}
.result-task-heading {
  align-items: end;
}
.result-task-heading > div {
  width: min(620px, 100%);
}
.result-task-heading h2 {
  margin: 0 0 10px;
}
.review-entry {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.review-entry:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}
.review-entry:disabled {
  opacity: 0.55;
  transform: none;
}
.review-entry strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}
.review-entry small {
  color: var(--muted);
}
.review-context {
  display: none;
  align-items: center;
  gap: 10px;
  margin: -10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.review-context.show {
  display: flex;
}
.review-context button {
  border: 0;
  background: none;
  color: var(--blue);
  padding: 0;
}
.rubric-card {
  border-left: 4px solid var(--blue);
}
.rubric-card.is-editing {
  grid-column: 1/-1;
}
.rubric-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.rubric-head h3 {
  margin: 0;
}
.rubric-total {
  font: 700 16px Georgia;
  color: var(--teal);
}
.criteria {
  margin: 12px 0;
  display: grid;
  gap: 7px;
}
.criterion {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 8px;
  padding: 9px;
  background: #f7f9fc;
  border-radius: 8px;
}
.criterion small {
  display: block;
  color: var(--muted);
}
.rubric-edit {
  display: grid;
  gap: 14px;
  margin-top: 15px;
}
.rubric-edit-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 110px minmax(230px, 2fr) auto;
  gap: 10px;
  padding: 12px;
  background: #f7f9fc;
  border-radius: 8px;
}
#assignment-rubric-content [data-frame-row] {
  grid-template-columns: minmax(130px, 1fr) 110px minmax(220px, 2.5fr) 84px;
}
#assignment-rubric-content [data-remove-row] {
  width: 84px;
  align-self: end;
  padding-inline: 8px;
}
.rubric-edit-row [data-remove-criterion] {
  align-self: end;
}
.rubric-add-criterion {
  justify-self: start;
  margin-top: 8px;
}
.rubric-edit-row .field {
  align-content: start;
}
.rubric-edit-row textarea {
  min-height: 72px;
  height: 72px;
}
.rubric-edit-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rubric-edit-total.invalid {
  color: var(--red);
}
.rubric-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.rubric-detail-heading .rubric-score-field {
  width: 140px;
}
.rubric-score-field label {
  display: grid;
  gap: 6px;
}
.rubric-edit > .field > textarea {
  min-height: 160px;
}
.upload-zone {
  border: 1.5px dashed #9fb4cc;
  border-radius: 12px;
  padding: 23px;
  text-align: center;
  background: #f8fbfe;
}
.upload-zone strong {
  display: block;
}
.upload-zone p {
  margin: 5px;
  color: var(--muted);
  font-size: 12px;
}
.file-list {
  margin-top: 10px;
  text-align: left;
  font-size: 12px;
  color: #48617e;
}
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 13px 0;
}
.model-chip {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fafbfd;
}
.model-chip b {
  display: block;
}
.ok {
  color: var(--teal);
}
.warn {
  color: var(--gold);
}
.fail {
  color: var(--red);
}
.result-card {
  margin-top: 14px;
  border-top: 3px solid var(--teal);
}
#page-evaluate > .grid {
  align-items: start;
}
.live-results-panel {
  min-width: 0;
  margin-top: 16px;
}
.live-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.live-results-heading h3 {
  margin: 0;
}
.live-results-heading span {
  color: var(--muted);
  font-size: 12px;
}
.live-results-viewport {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: max-content;
  gap: 14px;
  max-height: var(--results-height, none);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
}
.live-results-viewport:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.live-results-viewport > * {
  min-width: 0;
  margin: 0;
}
.result-card .result-top > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.result-card .score-ring {
  flex-shrink: 0;
}
.result-card .bar-row {
  grid-template-columns: minmax(0, 112px) minmax(0, 1fr) auto;
}
.score-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--teal) var(--score), #e8edf2 0);
  position: relative;
}
.score-ring:after {
  content: "";
  position: absolute;
  inset: 8px;
  background: white;
  border-radius: 50%;
}
.score-ring strong {
  z-index: 1;
  font: 700 23px Georgia;
}
.result-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.model-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}
.mini-score {
  padding: 10px;
  background: #f7f9fc;
  border-radius: 8px;
}
.mini-score strong {
  float: right;
}
.model-summary {
  display: block;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-detail-dialog {
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.review-detail-dialog::backdrop {
  background: rgb(16 32 56 / 45%);
}
.review-detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.review-detail-heading h2 {
  margin: 0;
}
.review-detail-meta {
  color: var(--muted);
  font-size: 13px;
}
.review-detail-content .result-card {
  margin-bottom: 0;
  min-width: 0;
}
.review-feedback {
  margin-top: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  color: #815d14;
  border: 1px solid #f1dfaa;
  margin-bottom: 12px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #17243a;
  color: white;
  padding: 11px 16px;
  border-radius: 9px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}
.toast.show {
  display: block;
}
.auth-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #102033, #24476b);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 20px;
}
.auth-screen.hidden {
  display: none;
}
.auth-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 22px 70px #06152966;
}
.auth-card h1 {
  margin: 0 0 6px;
}
.auth-card p {
  color: var(--muted);
  margin: 0 0 20px;
}
.auth-card form {
  display: grid;
  gap: 12px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.role-badge {
  padding: 6px 10px;
  background: #eef3f9;
  border-radius: 20px;
  color: #38516f;
  font-size: 12px;
}
.import-preview {
  max-height: 300px;
  overflow: auto;
  margin-top: 12px;
}
.admin-only,
.teacher-only {
  display: none;
}
.guide-intro {
  margin-bottom: 16px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: grid;
  gap: 4px;
}
.guide-toc button {
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 7px;
}
.guide-toc button:hover,
.guide-toc button:focus-visible {
  background: #eaf3f4;
  color: var(--teal);
}
.guide-content {
  display: grid;
  gap: 16px;
}
.guide-section {
  scroll-margin-top: 20px;
}
.guide-section h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.guide-section p {
  margin: 8px 0;
}
.guide-section ol,
.guide-section ul {
  padding-left: 22px;
  margin: 7px 0;
}
.guide-section li {
  margin: 6px 0;
}
.guide-note {
  background: #f7f9fc;
  border-left: 3px solid var(--teal);
  padding: 10px 12px;
  border-radius: 0 7px 7px 0;
}
.guide-section .btn {
  margin-top: 8px;
}
@media (max-width: 1050px) {
  .cols-4,
  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .models,
  .model-results {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  aside {
    height: auto;
    position: static;
  }
  .aside-foot {
    display: none;
  }
  nav {
    display: block;
    overflow: visible;
  }
  .nav-btn {
    min-width: 0;
  }
  main {
    padding: 20px;
  }
  .cols-4,
  .cols-3,
  .cols-2,
  .form-grid,
  .rubric-edit-row,
  .guide-layout {
    grid-template-columns: 1fr;
  }
  #assignment-rubric-content [data-frame-row] {
    grid-template-columns: 1fr;
  }
  #assignment-rubric-content [data-remove-row] {
    width: auto;
    justify-self: start;
  }
  .guide-toc {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
#page-evaluate .grid > *,
#evaluate-form,
#evaluate-form .field,
#evaluate-form .input,
#evaluate-form .upload-zone {
  min-width: 0;
  max-width: 100%;
}
#evaluate-form {
  grid-template-columns: minmax(0, 1fr);
}
#evaluate-form .upload-zone {
  overflow-wrap: anywhere;
}
#evaluate-form input[type="file"] {
  max-width: 100%;
  margin: 6px 0;
}
#match-files-button {
  max-width: 100%;
  white-space: normal;
  margin: 6px 0;
}
#file-matches {
  margin-top: 12px;
  text-align: left;
  min-width: 0;
}
.file-match-list {
  display: grid;
  gap: 10px;
}
.file-match-row {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
}
.file-match-name {
  font-weight: 600;
  overflow-wrap: anywhere;
  margin-bottom: 10px;
}
.file-match-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.file-match-result {
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .file-match-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
a.nav-btn {
  text-decoration: none;
}

.radar-figure {
  --radar-color: var(--teal);
  margin: 12px 0 20px;
}
#page-analytics > .grid > .card {
  min-width: 0;
}
.radar-class {
  --radar-color: var(--blue);
}
.radar-scroll {
  overflow-x: auto;
}
.radar-chart {
  display: block;
  width: 100%;
  min-width: 420px;
  margin: 0 auto;
}
.radar-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.radar-axis {
  stroke: var(--line);
  stroke-width: 1;
}
.radar-area {
  fill: var(--radar-color);
  fill-opacity: 0.14;
  stroke: var(--radar-color);
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.radar-open {
  fill: none;
}
.radar-point {
  fill: var(--paper);
  stroke: var(--radar-color);
  stroke-width: 2.5;
}
.radar-point:focus {
  fill: var(--radar-color);
  outline: none;
  stroke-width: 4;
}
.radar-label {
  fill: var(--ink);
  font-size: 13px;
}
.radar-tick {
  fill: var(--muted);
  font-size: 11px;
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3;
  stroke-linejoin: round;
}
.radar-figure figcaption {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 4px 0 14px;
}
.radar-dimensions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 0;
}
.radar-dimension {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.radar-dimension dt {
  min-width: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.radar-dimension dd {
  margin: 0;
  color: var(--radar-color);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ability-trends {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.ability-trends-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ability-trends-heading h3,
.ability-chart-card h4 {
  margin: 0;
}
.ability-trends-heading small {
  color: var(--muted);
  text-align: right;
}
.ability-chart-list {
  display: grid;
  gap: 14px;
}
.ability-chart-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}
.ability-chart-scroll {
  margin-top: 8px;
  overflow-x: auto;
  overflow-y: hidden;
}
.ability-chart {
  display: block;
  max-width: none;
}
.ability-grid-line {
  stroke: #dfe5ef;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.ability-axis {
  stroke: #8b97aa;
  stroke-width: 1;
}
.ability-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ability-point {
  fill: var(--paper);
  stroke: var(--teal);
  stroke-width: 3;
}
.ability-y-label,
.ability-x-label,
.ability-axis-title {
  fill: var(--muted);
  font-size: 11px;
}
.ability-axis-title {
  font-weight: 600;
}
.ability-value {
  fill: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .ability-trends-heading {
    display: block;
  }
  .ability-trends-heading small {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}
