.academic-standard-panel {
  display: none !important;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #d8e3f7;
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.academic-standard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.academic-standard-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.academic-standard-status {
  color: #047857;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.academic-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.academic-type-button {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.academic-type-button:hover {
  border-color: #3b82f6;
  color: #1d4ed8;
}

.academic-type-button.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #2563eb;
}

.academic-standard-note {
  margin-top: 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

.academic-standard-note strong {
  color: #0f172a;
  margin-right: 8px;
}

.academic-review-years {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.academic-review-years.is-visible {
  display: flex;
}

.academic-review-years-label {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.academic-review-year-button {
  min-width: 62px;
  height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.academic-review-year-button.is-active {
  border-color: #059669;
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px #059669;
}

.academic-inline-review-years {
  display: none;
  flex-basis: 100%;
  width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #d8e3f7;
}

.academic-inline-review-years.is-visible {
  display: flex;
}

.academic-progress-panel {
  display: none;
  margin: 14px 0 18px;
  padding: 14px 16px;
  border: 1px solid #d6e0ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.academic-progress-panel.is-visible {
  display: block;
}

.academic-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
}

.academic-progress-percent {
  color: #2563eb;
  font-variant-numeric: tabular-nums;
}

.academic-progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.academic-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
  transition: width 0.25s ease;
}

.academic-progress-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
}

.academic-progress-steps span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-academic-eval-mode="1"] .tools-form > :not([data-academic-eval-panel]):not([data-academic-progress]),
html[data-academic-eval-mode="1"] .form-panel > :not([data-academic-eval-panel]):not([data-academic-progress]) {
  display: none !important;
}

[data-academic-eval-tool].active,
[data-academic-eval-tool].is-active {
  color: #2563eb;
  border-color: #2563eb;
  background: #eff6ff;
}

.academic-eval-panel {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid #d8e3f7;
  border-left: 4px solid #059669;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.academic-eval-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.academic-eval-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.academic-eval-status {
  color: #075985;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  white-space: nowrap;
}

.academic-eval-textarea,
.academic-eval-revised {
  width: 100%;
  min-height: 150px;
  box-sizing: border-box;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  color: #111827;
  font-size: 14px;
  line-height: 1.65;
  background: #fbfdff;
  outline: none;
}

.academic-eval-textarea:focus,
.academic-eval-revised:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.academic-eval-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.academic-eval-button,
.academic-eval-copy {
  min-height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.academic-eval-button.primary {
  border-color: #059669;
  background: #059669;
  color: #ffffff;
}

.academic-eval-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.academic-eval-result {
  margin-top: 14px;
  border-top: 1px dashed #cbd5e1;
  padding-top: 14px;
}

.academic-eval-score {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
  font-size: 14px;
}

.academic-eval-report {
  margin: 12px 0 0;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  color: #1f2937;
  font-size: 13px;
  line-height: 1.7;
}

.academic-eval-revised {
  min-height: 260px;
  margin-top: 12px;
  background: #ffffff;
}

.academic-eval-copy {
  margin-top: 10px;
  border-color: #2563eb;
  color: #1d4ed8;
}

.preview-card.has-academic-eval-preview .el-card__body > :not([data-academic-eval-preview]),
.tools-preview.has-academic-eval-preview > :not(.preview-content),
.tools-preview.has-academic-eval-preview .preview-content > :not([data-academic-eval-preview]),
.preview-panel.has-academic-eval-preview > :not([data-academic-eval-preview]) {
  display: none !important;
}

.academic-eval-preview {
  width: 100%;
  box-sizing: border-box;
  padding: 18px 20px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
}

.academic-eval-preview-title {
  margin-bottom: 14px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}

.academic-eval-preview-text {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #111827;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

.academic-ppt-template-gallery {
  flex: 1 0 100%;
  width: 100%;
  box-sizing: border-box;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d8e3f7;
  border-radius: 8px;
  background: #f8fbff;
}

.academic-ppt-template-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.academic-ppt-template-title strong {
  color: #0f172a;
  font-size: 15px;
}

.academic-ppt-template-title span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.academic-ppt-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
}

.academic-ppt-template-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  min-height: 142px;
  padding: 8px;
  border: 1px solid #d7e0ee;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.academic-ppt-template-card:hover,
.academic-ppt-template-card.is-active {
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.13);
}

.academic-ppt-template-card.is-active {
  background: #eff6ff;
}

.academic-ppt-template-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  background: #e5e7eb;
}

.academic-ppt-template-name {
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academic-ppt-template-desc {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.preview-card.has-academic-ppt-preview .el-empty,
.preview-card.has-academic-ppt-preview .preview-placeholder,
.tools-preview.has-academic-ppt-preview .el-empty,
.tools-preview.has-academic-ppt-preview .preview-placeholder,
.preview-panel.has-academic-ppt-preview .el-empty,
.preview-panel.has-academic-ppt-preview .preview-placeholder {
  display: none !important;
}

.academic-ppt-preview {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #ffffff;
}

.academic-ppt-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.academic-ppt-preview-head h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
}

.academic-ppt-preview-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.academic-ppt-preview-head span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.academic-ppt-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.academic-ppt-preview-grid figure {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.academic-ppt-preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #ffffff;
}

.academic-ppt-preview-grid figcaption {
  padding: 7px 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .academic-type-grid {
    grid-template-columns: 1fr;
  }

  .academic-standard-head,
  .academic-eval-head,
  .academic-ppt-template-title,
  .academic-ppt-preview-head,
  .academic-review-years,
  .academic-progress-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .academic-eval-actions {
    flex-direction: column;
  }

  .academic-progress-steps {
    grid-template-columns: 1fr 1fr;
  }
}
