.aqh-page {
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f7f8fc;
  color: #1f2a44;
}

.aqh-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.aqh-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.aqh-subtitle {
  color: #5f6b7a;
  margin-bottom: 24px;
}

.aqh-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.08);
  margin-bottom: 20px;
}

.aqh-card--plain {
  box-shadow: none;
  padding: 0;
  margin: 16px 0 0;
}

.aqh-subject-row {
  border: 1px solid #e6eaf3;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  margin-bottom: 12px;
}

.aqh-subject-row--compact {
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  background: #fff;
}

.aqh-subject-row--compact + .aqh-subject-row--compact {
  border-top: 0;
}

.aqh-subject-row--compact .aqh-grid--compact {
  gap: 0;
}

.aqh-subject-row--compact .aqh-field {
  padding: 10px 12px;
  border-right: 1px solid #eef1f6;
}

.aqh-subject-row--compact .aqh-field:last-child {
  border-right: 0;
}

.aqh-subject-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.aqh-subject-table th,
.aqh-subject-table td {
  border: 1px solid #e6eaf3;
  padding: 6px 4px;
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
}

.aqh-subject-table thead th {
  background: #f6f8fb;
  font-weight: 600;
}

.aqh-subject-table .subject-label {
  background: #f6f8fb;
  font-weight: 600;
  color: #2a2f3a;
  width: 90px;
  text-align: center;
  vertical-align: middle;
}

.aqh-subject-table input {
  width: 100%;
  border: none;
  text-align: center;
  background: transparent;
  font-size: 13px;
  color: #1f2a44;
  padding: 0;
  height: 22px;
  line-height: 22px;
  box-sizing: border-box;
}

.aqh-subject-table input:focus {
  outline: none;
  background: #fff;
}

.aqh-subject-table .subject-head.yuwen { color: rgb(227, 85, 39); text-align: center;}
.aqh-subject-table .subject-head.shuxue { color: rgb(234, 180, 32); text-align: center;}
.aqh-subject-table .subject-head.waiyu { color: rgb(173, 201, 56); text-align: center;}
.aqh-subject-table .subject-head.wuli { color: rgb(29, 152, 72); text-align: center;}
.aqh-subject-table .subject-head.huaxue { color: rgb(2, 154, 159); text-align: center;}
.aqh-subject-table .subject-head.shengwu { color: rgb(0, 163, 218); text-align: center;}
.aqh-subject-table .subject-head.zhengzhi { color: rgb(59, 92, 169); text-align: center;}
.aqh-subject-table .subject-head.lishi { color: rgb(90, 87, 166); text-align: center;}
.aqh-subject-table .subject-head.dili { color: rgb(172, 88, 163); text-align: center;}

.aqh-subject-table--vertical {
  table-layout: auto;
}

.aqh-subject-table--vertical .subject-label {
  width: 120px;
}

.aqh-subject-table--vertical td,
.aqh-subject-table--vertical th {
  padding: 8px 10px;
}

.aqh-subject-table--vertical thead th {
  text-align: center !important;
  vertical-align: middle;
}

.aqh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.aqh-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.aqh-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.aqh-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.aqh-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #eef1f6;
  border-radius: 10px;
  background: #fbfcff;
}

.aqh-info-label {
  color: #5f6b7a;
  font-size: 12px;
}

.aqh-info-value {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
}

.aqh-section {
  padding: 16px 0;
  border-top: 1px solid #eef1f6;
}

.aqh-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.aqh-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2a44;
  margin-bottom: 12px;
}

.aqh-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.aqh-checklist label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1f2a44;
}

.aqh-range {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aqh-range input[type="range"] {
  width: 100%;
}

.aqh-inline--pdf {
  margin-top: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.aqh-pdf-status {
  font-size: 12px;
  color: #5f6b7a;
}

.aqh-pdf-status.is-success {
  color: #2f8f5f;
}

.aqh-pdf-status.is-error {
  color: #d63b3b;
}

.aqh-form textarea {
  min-height: 180px;
}

.aqh-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.aqh-form--single {
  grid-template-columns: 1fr;
}

.aqh-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aqh-field label {
  font-size: 14px;
  color: #5f6b7a;
}

.aqh-field input,
.aqh-field select,
.aqh-field textarea {
  padding: 10px 12px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.aqh-field input:focus,
.aqh-field select:focus,
.aqh-field textarea:focus {
  outline: none;
  border-color: #3b58fe;
  box-shadow: 0 0 0 2px rgba(59, 88, 254, 0.12);
}

.aqh-field textarea {
  min-height: 90px;
  resize: vertical;
}

.aqh-field--action {
  display: flex;
  align-items: flex-end;
}

.subject-remove {
  padding: 8px 12px;
  font-size: 13px;
}

.aqh-form textarea.aqh-textarea--auto,
.aqh-field textarea.aqh-textarea--auto {
  min-height: 40px;
  height: 40px;
  line-height: 1.6;
  resize: none;
  overflow: hidden;
}

.aqh-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.aqh-button {
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.aqh-button--primary {
  background: #3b58fe;
  color: #fff;
}

.aqh-button--secondary {
  background: #ff8a4c;
  color: #fff;
}

.aqh-button--ghost {
  background: #f2f4ff;
  color: #3b58fe;
}

.aqh-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.swiper_wrap {
  width: 100%;
  height: 360px;
  position: relative;
}

.swiper_wrap .home-banner {
  width: 100%;
  height: 360px;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #111;
  background-position: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-container {
  position: relative;
  overflow: hidden;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

#gradesPage {
  background: #f5f7fb;
}

.aqh-card--analysis {
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.08);
  margin-bottom: 24px;
}

.aqh-table-scroll {
  overflow-x: hidden;
  padding-bottom: 8px;
}

.aqh-analysis-table {
  min-width: 1200px;
  border-collapse: collapse;
}

#subjectDistributionTable.aqh-analysis-table {
  min-width: 0 !important;
}

.aqh-analysis-table th,
.aqh-analysis-table td {
  border: 1px solid #000;
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
}

.aqh-analysis-table th {
  font-weight: 700;
  color: #fff;
}

.aqh-analysis-table tbody tr:nth-child(even) {
  background: #f7f9fc;
}

.quick-menu {
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.quick-menu__toggle {
  border: 1px solid #e6eaf3;
  border-right: 0;
  background: #fff;
  color: #1f2a44;
  border-radius: 10px 0 0 10px;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  align-self: flex-end;
  width: 72px;
}

.quick-menu__items {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid #e6eaf3;
  border-right: 0;
}

.quick-menu.is-collapsed .quick-menu__items {
  display: none;
}

.quick-menu__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 72px;
  height: 72px;
  background: #fff;
  border: 0;
  color: #1f2a44;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quick-menu__item:hover {
  background: #f5f5f5;
}

.quick-menu__item:not(:last-child) {
  border-bottom: 1px solid #e6eaf3;
}

.quick-menu__item:first-child {
  border-radius: 10px 0 0 0;
}

.quick-menu__item:last-child {
  border-radius: 0 0 0 10px;
}

.quick-menu__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quick-menu__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #1f2a44;
  stroke-width: 2;
}

.quick-menu__label {
  font-weight: 600;
}

.quick-menu__detail {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 12px;
  min-width: 180px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e6eaf3;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.12);
  display: none;
  text-align: center;
  color: #1f2a44;
}

.quick-menu__item:hover .quick-menu__detail {
  display: block;
}

.quick-menu__detail img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto 8px;
}

.quick-menu__text {
  font-size: 13px;
  font-weight: 600;
}

.subject-total-row td {
  background: #EF496D;
  color: #fff !important;
  font-weight: 700;
  border-color: #fff !important;
}

#subjectDistributionTable .subject-total-row td {
  background: #EF496D;
  color: #fff !important;
  border-color: #fff !important;
}

.aqh-analysis-table tbody tr:hover {
  background: #eef2ff;
}

#summaryTable th {
  border-color: #fff;
  color: #fff !important;
  text-align:center;
}

#summaryTable td {
  border-color: #000;
  color: #000;
  text-align:center;
}

#summaryTable td.col-exam-date,
#summaryTable td.col-exam-name {
  color: rgb(24, 60, 110);
}

#summaryTable td.col-total,
#summaryTable td.col-rank {
  color: rgb(239, 73, 109);
}

#summaryTable th.col-exam-date,
#summaryTable th.col-exam-name {
  background: rgb(24, 60, 110);
}

#summaryTable th.col-total,
#summaryTable th.col-rank {
  background: rgb(239, 73, 109);
}

#summaryTable th.col-subject.yuwen { background: rgb(227, 85, 39); }
#summaryTable th.col-subject.shuxue { background: rgb(234, 180, 32); }
#summaryTable th.col-subject.waiyu { background: rgb(173, 201, 56); }
#summaryTable th.col-subject.wuli { background: rgb(29, 152, 72); }
#summaryTable th.col-subject.huaxue { background: rgb(2, 154, 159); }
#summaryTable th.col-subject.shengwu { background: rgb(0, 163, 218); }
#summaryTable th.col-subject.zhengzhi { background: rgb(59, 92, 169); }
#summaryTable th.col-subject.lishi { background: rgb(90, 87, 166); }
#summaryTable th.col-subject.dili { background: rgb(172, 88, 163); }

#summaryTable {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 0 0 1px #000 inset;
}

#summaryTable th,
#summaryTable td {
  font-size: 12px;
  padding: 8px 6px;
  white-space: nowrap;
}

#summaryTable th.col-exam-date,
#summaryTable td.col-exam-date {
  width: 90px;
}

#summaryTable th.col-exam-name,
#summaryTable td.col-exam-name {
  width: 130px;
  white-space: normal;
  word-break: break-word;
}

#summaryTable th.col-total,
#summaryTable td.col-total,
#summaryTable th.col-rank,
#summaryTable td.col-rank {
  width: 60px;
  font-weight: 700;
  font-size: 14px;
}

#summaryTable th.col-subject,
#summaryTable td.col-subject {
  width: 50px;
}

#subjectDistributionTable th {
  background: rgb(24, 60, 110);
  border-color: #fff;
  color: #fff;
  text-align: center;
}

#subjectDistributionTable td {
  border-color: #000;
  color: #000;
  text-align: center;
}

#subjectDistributionTable td.subject-cell {
  border-color: #fff;
  color: #fff;
  font-weight: 700;
}

#subjectDistributionTable td.subject-cell.yuwen { background: rgb(227, 85, 39); }
#subjectDistributionTable td.subject-cell.shuxue { background: rgb(234, 180, 32); }
#subjectDistributionTable td.subject-cell.waiyu { background: rgb(173, 201, 56); }
#subjectDistributionTable td.subject-cell.wuli { background: rgb(29, 152, 72); }
#subjectDistributionTable td.subject-cell.huaxue { background: rgb(2, 154, 159); }
#subjectDistributionTable td.subject-cell.shengwu { background: rgb(0, 163, 218); }
#subjectDistributionTable td.subject-cell.zhengzhi { background: rgb(59, 92, 169); }
#subjectDistributionTable td.subject-cell.lishi { background: rgb(90, 87, 166); }
#subjectDistributionTable td.subject-cell.dili { background: rgb(172, 88, 163); }

#subjectDistributionTable {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  display: table;
  table-layout: fixed;
  min-width: 0 !important;
}

.aqh-distribution-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.aqh-radar-card {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 42, 68, 0.08);
  margin-top: -12px;
}

#subjectDistributionTable th,
#subjectDistributionTable td {
  padding: 10px 12px;
}

.aqh-chart {
  width: 100%;
  height: 320px;
}

.aqh-chart--tall {
  height: 380px;
}

.aqh-chart--wide {
  height: 480px;
}

.aqh-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.aqh-download-btn {
  border: 1px solid #1f2a44;
  background: #fff;
  color: #1f2a44;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.aqh-download-btn:hover {
  background: #1f2a44;
  color: #fff;
}

.aqh-stack-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.aqh-stack-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aqh-stack-side-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-weight: 700;
  color: #4a4a4a;
  font-size: 12px;
  text-align: center;
}

.aqh-stack-side-list {
  display: grid;
  gap: 6px;
}

.aqh-stack-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: #4a4a4a;
  padding: 4px 0;
  border-bottom: 1px dashed #e1e5ee;
  min-height: 28px;
}

.aqh-dual-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.aqh-chart-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6a7485;
  text-align: center;
}

.aqh-subject-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.aqh-subject-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #edf0f6;
  background: #fff;
  box-shadow: 0 6px 16px rgba(31, 42, 68, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aqh-subject-card img {
  width: 72px;
  height: 72px;
}

.aqh-subject-count {
  font-size: 12px;
  color: #6a7485;
}

.aqh-subject-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 42, 68, 0.12);
}

.aqh-subject-card.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.aqh-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.aqh-image-grid--large {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.aqh-image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eef1f6;
  background: #f8f9ff;
}

.aqh-image-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.aqh-image-grid--large .aqh-image-card img {
  height: 180px;
}

.aqh-image-actions {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.wrongbook-list-card .aqh-image-card img,
#wrongbookPage .aqh-image-card img,
#wrongbookDetailPage .aqh-image-card img {
  object-fit: contain;
  background: #fff;
}

.aqh-image-actions button {
  border: none;
  background: rgba(31, 42, 68, 0.8);
  color: #fff;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 12px;
  cursor: pointer;
}

.aqh-video-preview video {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  background: #000;
  margin-top: 10px;
}

.wrongbook-list-card {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 42, 68, 0.08);
  margin-bottom: 16px;
}

.wrongbook-date-group {
  margin-bottom: 20px;
}

.wrongbook-date-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2a44;
  margin: 12px 0;
}

.aqh-textarea--beauty {
  width: 100%;
  border: 1px solid #e0e6f0;
  border-radius: 10px;
  padding: 12px;
  background: #f8f9ff;
  font-size: 14px;
  line-height: 1.6;
}

.aqh-textarea--beauty:focus {
  outline: none;
  border-color: #3b58fe;
  box-shadow: 0 0 0 2px rgba(59, 88, 254, 0.12);
}

.wrongbook-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.wrongbook-list-meta {
  font-size: 12px;
  color: #6a7485;
  margin-bottom: 10px;
}

.aqh-dual-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.aqh-dual-item {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 42, 68, 0.08);
}

.aqh-dual-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #1f2a44;
}

.aqh-trend-rows {
  display: grid;
  gap: 24px;
}

.aqh-trend-row {
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 42, 68, 0.08);
}

.aqh-trend-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  padding: 6px 12px;
  border-radius: 10px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

.aqh-trend-title--overall {
  background: rgb(239, 73, 109);
  color: #fff;
  margin: 0 auto 12px;
  display: block;
  width: fit-content;
}

.aqh-trend-chart {
  width: 100%;
  height: 360px;
}

@media (max-width: 960px) {
  .aqh-dual-charts {
    grid-template-columns: 1fr;
  }
}

.aqh-score-max,
.aqh-score-min {
  font-weight: 700;
}

.aqh-select {
  padding: 8px 12px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #1f2a44;
}

.aqh-select:focus {
  outline: none;
  border-color: #3b58fe;
  box-shadow: 0 0 0 2px rgba(59, 88, 254, 0.12);
}

.aqh-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.aqh-tag--ok {
  background: #e6f9f0;
  color: #17a673;
}

.aqh-tag--fail {
  background: #ffe8e5;
  color: #e74a3b;
}

.aqh-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.aqh-table th,
.aqh-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f6;
  text-align: left;
  font-size: 14px;
}

.aqh-table th {
  background: #f2f4ff;
  color: #3b58fe;
  font-weight: 600;
}

.aqh-table input {
  width: 100%;
  border: 1px solid #e0e6f0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 14px;
}

.aqh-alert {
  padding: 10px 14px;
  border-radius: 8px;
  background: #f2f4ff;
  color: #3b58fe;
  margin-bottom: 16px;
}

.aqh-alert--error {
  background: #ffe8e5;
  color: #e74a3b;
}

.aqh-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.aqh-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 4px;
  min-width: 64px;
  height: 32px;
  font-size: 14px;
  text-decoration: none;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-register {
  background: #ff8a4c;
  color: #fff;
}

.btn-login {
  background: #3b58fe;
  color: #fff;
}

.btn-auth:hover {
  opacity: 0.9;
}

.user-detail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-detail .username {
  color: #1f2a44;
  font-weight: 600;
  margin-left: 8px;
}

.aqh-empty {
  color: #8b95a5;
  font-size: 14px;
  padding: 20px 0;
}

.aqh-chart {
  width: 100%;
  height: 360px;
}

.aqh-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.aqh-modal.is-open {
  display: flex;
}

.aqh-modal__content {
  width: 460px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(31, 42, 68, 0.16);
  border: 1px solid #eef1f6;
  max-height: 80vh;
  overflow-y: auto;
}

.aqh-modal__content--wide {
  width: min(900px, 92vw);
}

.aqh-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.aqh-modal__title {
  font-size: 18px;
  font-weight: 600;
}

.aqh-modal__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f4ff;
  border: none;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #3b58fe;
  cursor: pointer;
}

.aqh-modal__close:hover {
  background: #e8ecff;
}

.aqh-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aqh-tip {
  color: #ff8a4c;
  font-size: 12px;
}

.aqh-button,
.aqh-button:visited,
.aqh-button:active,
.aqh-button:focus,
a.aqh-button,
a.btn,
.btn,
.gaokao-entry-batch-btn,
.gaokao-entry-subject-btn,
.gaokao-wish-action,
.gaokao-wish-btn {
  text-decoration: none;
}

.aqh-button--underline {
  text-decoration: underline;
}

.subject-preview {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e0e6f0;
  cursor: pointer;
}

.aqh-loading {
  font-size: 12px;
  color: #3b58fe;
}

.aqh-hidden {
  display: none;
}

.aqh-input--flex {
  flex: 1;
  min-width: 260px;
}

.aqh-input--large {
  padding: 12px 14px;
  border: 1px solid #e0e6f0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}

.admin-create-section {
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px dashed #e6e6e6;
}

.admin-school-row {
  align-items: flex-end;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 960px) {
  .admin-quick-actions {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-quick-actions {
    grid-template-columns: 1fr;
  }
}

.aqh-drag-handle {
  cursor: grab;
  color: #9aa2b1;
  font-size: 14px;
}

.modal-open {
  overflow: hidden;
}

.admin-page {
  background: radial-gradient(circle at top, #eef3ff 0%, #f7f8fc 45%, #f6f7fb 100%);
}

.admin-bg {
  position: fixed;
  inset: 0;
  background: url("../images/intr_bg.93dd284.png") no-repeat right bottom/40%;
  opacity: 0.08;
  pointer-events: none;
}

.admin-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-page.admin-dashboard-open .admin-container {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 60px;
}

.admin-page.admin-dashboard-open #adminDashboard {
  width: 100%;
  max-width: 1200px;
}

.admin-login-card {
  width: 420px;
  background: rgba(255, 255, 255, 0.95);
}

.admin-page .aqh-field input,
.admin-page .aqh-field select,
.admin-page .aqh-field textarea,
.admin-page .aqh-inline input,
.admin-page .aqh-inline select {
  background: #f9fbff;
  border: 1px solid #dbe3f3;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(31, 42, 68, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-page .aqh-field input:focus,
.admin-page .aqh-field select:focus,
.admin-page .aqh-field textarea:focus,
.admin-page .aqh-inline input:focus,
.admin-page .aqh-inline select:focus {
  border-color: #3b58fe;
  box-shadow: 0 0 0 3px rgba(59, 88, 254, 0.12);
  outline: none;
}

.admin-page .aqh-inline input {
  min-width: 220px;
}

.admin-page .aqh-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px 14px;
}

.admin-page .aqh-checklist label {
  background: #f5f7ff;
  border: 1px solid #e1e7f5;
  border-radius: 8px;
  padding: 6px 10px;
  justify-content: flex-start;
}

.aqh-mt-16 {
  margin-top: 16px;
}

.aqh-radio-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.aqh-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.aqh-image-preview {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.aqh-image-preview img {
  max-width: 240px;
  border-radius: 8px;
  border: 1px solid #e0e6f0;
}

.aqh-rich {
  min-height: 42px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e0e6f0;
  background: #f9fbff;
  color: #333;
  line-height: 1.6;
}

.aqh-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wrongbook-list-card {
  border: 1px solid #eef1f6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  background: #fff;
}

.wrongbook-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.wrongbook-meta {
  color: #7b8191;
  font-size: 12px;
}

.wrongbook-question {
  color: #333;
  margin-top: 8px;
}

.wrongbook-mastery-btn.is-active,
#detailMasteryWrap .is-active {
  background: #3b58fe;
  color: #fff;
  border-color: #3b58fe;
}

.wrongbook-filter-btn {
  padding: 6px 14px;
  border-radius: 16px;
}

.wrongbook-filter-btn.is-active {
  background: #3b58fe;
  color: #fff;
  border-color: #3b58fe;
}
