.subjective-feature {
  --subjective-brand: #1d63d5;
  --subjective-brand-dark: #154ba8;
  --subjective-brand-soft: #edf4ff;
  --subjective-ink: #172033;
  --subjective-muted: #68758a;
  --subjective-line: #dce4ee;
  --subjective-surface: #fff;
  width: min(1120px, 100%);
  margin: 0 auto;
  color: var(--subjective-ink);
  font-family: "Source Han Sans CN", "Source Han Sans SC", "思源黑体 CN", system-ui, sans-serif;
  letter-spacing: 0;
}

.subjective-feature *,
.subjective-feature *::before,
.subjective-feature *::after {
  box-sizing: border-box;
}

.subjective-feature button,
.subjective-feature input,
.subjective-feature textarea {
  font: inherit;
  letter-spacing: 0;
}

.subjective-feature button {
  cursor: pointer;
}

.subjective-feature button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.subjective-feature h1,
.subjective-feature h2,
.subjective-feature h3,
.subjective-feature h4,
.subjective-feature p {
  margin-top: 0;
}

.subjective-page-head,
.subjective-case-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--subjective-line);
}

.subjective-page-head h1,
.subjective-case-head h1 {
  margin-bottom: 7px;
  font-size: 28px;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.subjective-page-head {
  align-items: center;
  padding-bottom: 10px;
}

.subjective-page-head h1 {
  margin-bottom: 0;
}

.subjective-page-head p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--subjective-muted);
  font-size: 14px;
  line-height: 1.75;
}

.subjective-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--subjective-brand);
  font-size: 12px;
  font-weight: 700;
}

.subjective-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0;
  border: 1px solid var(--subjective-line);
  border-radius: 7px;
  background: var(--subjective-surface);
}

.subjective-overview > span {
  display: grid;
  min-width: 0;
  min-height: 74px;
  gap: 3px;
  align-content: center;
  justify-items: center;
  padding: 14px 18px;
  border-right: 1px solid var(--subjective-line);
}

.subjective-overview > span:last-child {
  border-right: 0;
}

.subjective-overview strong {
  display: block;
  max-width: 100%;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.subjective-overview small {
  color: var(--subjective-muted);
  font-size: 12px;
}

.subjective-overview .subjective-completion strong {
  min-width: 4ch;
  color: var(--subjective-brand-dark);
  text-align: center;
}

.subjective-overview .cases strong {
  color: #2f7559;
}

.subjective-overview .questions strong {
  color: #344054;
}

.subjective-overview .favorites strong {
  color: #a86f1e;
}

.subjective-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.subjective-segments {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  border: 1px solid var(--subjective-line);
  border-radius: 6px;
  padding: 3px;
  background: var(--subjective-surface);
  scrollbar-width: none;
}

.subjective-segments::-webkit-scrollbar {
  display: none;
}

.subjective-segments button {
  min-height: 34px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 4px;
  padding: 6px 13px;
  background: transparent;
  color: #526076;
  white-space: nowrap;
  font-size: 13px;
}

.subjective-segments button.active {
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
  font-weight: 700;
}

.subjective-search {
  width: min(340px, 100%);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #c8d2df;
  border-radius: 6px;
  padding: 0 12px;
  background: var(--subjective-surface);
}

.subjective-search:focus-within {
  border-color: var(--subjective-brand);
  box-shadow: 0 0 0 3px rgba(29, 99, 213, .1);
}

.subjective-search svg {
  width: 17px;
  color: var(--subjective-muted);
}

.subjective-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--subjective-ink);
  font-size: 14px;
}

.subjective-case-list {
  overflow: hidden;
  border: 1px solid var(--subjective-line);
  border-radius: 7px;
  background: var(--subjective-surface);
}

.subjective-case-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--subjective-line);
  padding: 18px 20px;
  cursor: pointer;
}

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

.subjective-case-row:hover {
  background: #f8fafc;
}

.subjective-case-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.subjective-case-title > span {
  flex: 0 0 auto;
  border-radius: 4px;
  padding: 3px 6px;
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
  font-size: 11px;
  font-weight: 700;
}

.subjective-case-title h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.subjective-case-row p {
  display: -webkit-box;
  margin-bottom: 0;
  overflow: hidden;
  color: #58667b;
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.subjective-case-side {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.subjective-case-side > span {
  display: grid;
  gap: 4px;
  text-align: right;
}

.subjective-case-side strong {
  font-size: 13px;
}

.subjective-case-side small {
  color: var(--subjective-muted);
  font-size: 11px;
}

.subjective-case-side > svg {
  width: 17px;
  color: #98a3b3;
}

.subjective-icon-button,
.subjective-annotation-tools button {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  border: 1px solid var(--subjective-line);
  border-radius: 5px;
  padding: 0;
  background: #fff;
  color: #59677b;
}

.subjective-icon-button svg,
.subjective-annotation-tools svg {
  width: 16px;
  height: 16px;
}

.subjective-icon-button.active,
.subjective-annotation-tools button.active {
  border-color: #b8d0f7;
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
}

.subjective-reader-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--subjective-line);
  color: var(--subjective-muted);
  font-size: 12px;
}

.subjective-reader-bar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--subjective-brand-dark);
  font-size: 13px;
}

.subjective-reader-bar svg {
  width: 17px;
}

.subjective-case-head {
  align-items: center;
}

.subjective-case-head > div:first-child {
  min-width: 0;
}

.subjective-section,
.subjective-training,
.subjective-reading {
  margin-top: 16px;
  border: 1px solid var(--subjective-line);
  border-radius: 7px;
  background: var(--subjective-surface);
}

.subjective-section {
  padding: 18px 20px;
}

.subjective-section-title {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.subjective-section-title h2 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  line-height: 32px;
}

.subjective-section-title h2 svg {
  width: 18px;
  height: 18px;
  color: var(--subjective-brand);
}

.subjective-text-button {
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: var(--subjective-brand-dark);
  font-size: 12px;
}

.subjective-annotation-tools {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.subjective-facts-stage {
  position: relative;
}

.subjective-facts {
  color: #374357;
  font-size: 15px;
  line-height: 1.95;
  word-break: normal;
  overflow-wrap: break-word;
}

.subjective-facts.collapsed {
  max-height: 146px;
  overflow: hidden;
  mask-image: linear-gradient(#000 60%, transparent);
}

.subjective-annotation-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  touch-action: pan-y;
}

.subjective-annotation-layer.active {
  z-index: 2;
  pointer-events: auto;
  touch-action: none;
  cursor: crosshair;
}

.subjective-annotation-layer line,
.subjective-annotation-layer ellipse {
  fill: none;
  stroke: #d13d3d;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.subjective-training {
  overflow: hidden;
}

.subjective-training-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--subjective-line);
  padding: 9px 16px;
}

.subjective-training-head > span,
.subjective-reading article > span {
  color: var(--subjective-brand-dark);
  font-size: 12px;
  font-weight: 700;
}

.subjective-question-tabs {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.subjective-question-tabs::-webkit-scrollbar {
  display: none;
}

.subjective-question-tabs button {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid var(--subjective-line);
  border-radius: 5px;
  background: #fff;
  color: #5b6779;
  font-size: 12px;
}

.subjective-question-tabs button.active {
  border-color: var(--subjective-brand);
  background: var(--subjective-brand);
  color: #fff;
}

.subjective-training > h2,
.subjective-reading article > h2 {
  margin: 0;
  padding: 20px;
  font-size: 17px;
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: break-word;
}

.subjective-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 20px 18px;
  border-top: 1px solid var(--subjective-line);
  padding-top: 16px;
}

.subjective-start p {
  margin: 0;
  color: var(--subjective-muted);
  font-size: 13px;
}

.subjective-primary {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  padding: 8px 18px;
  background: var(--subjective-brand);
  color: #fff;
  font-weight: 700;
}

.subjective-answer-box {
  margin: 0 20px 16px;
}

.subjective-answer-box label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.subjective-answer-box time {
  color: var(--subjective-brand-dark);
  font-variant-numeric: tabular-nums;
}

.subjective-answer-box textarea {
  width: 100%;
  min-height: 210px;
  resize: vertical;
  border: 1px solid #c8d2df;
  border-radius: 6px;
  padding: 13px 14px;
  outline: none;
  background: #fbfcfe;
  color: var(--subjective-ink);
  font-size: 14px;
  line-height: 1.8;
}

.subjective-answer-box textarea:focus {
  border-color: var(--subjective-brand);
  box-shadow: 0 0 0 3px rgba(29, 99, 213, .1);
}

.subjective-answer-box > small {
  display: block;
  margin-top: 5px;
  color: var(--subjective-muted);
  text-align: right;
}

.subjective-action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--subjective-line);
  padding: 12px 20px;
}

.subjective-action-row button {
  min-width: 0;
  min-height: 40px;
  border: 1px solid #c8d2df;
  border-radius: 5px;
  padding: 7px 8px;
  background: #fff;
  color: #425067;
  white-space: nowrap;
  font-size: 13px;
}

.subjective-action-row button.primary {
  border-color: var(--subjective-brand);
  background: var(--subjective-brand);
  color: #fff;
  font-weight: 700;
}

.subjective-batch-progress,
.subjective-result-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 14px;
  border: 1px solid #c9d8ec;
  border-radius: 6px;
  padding: 10px 13px;
  background: #f7faff;
  color: #4b5b72;
  font-size: 12px;
}

.subjective-batch-progress strong,
.subjective-result-summary strong {
  margin-left: auto;
  color: var(--subjective-brand-dark);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.subjective-result-summary small {
  color: var(--subjective-muted);
}

.subjective-answer-sections {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--subjective-line);
}

.subjective-answer-sections section {
  border-bottom: 1px solid var(--subjective-line);
  padding: 17px 20px;
}

.subjective-answer-sections section:last-child {
  border-bottom: 0;
}

.subjective-answer-sections h4 {
  margin-bottom: 8px;
  color: #39475c;
  font-size: 13px;
}

.subjective-answer-sections section > div,
.subjective-knowledge-list article > div {
  color: #455267;
  font-size: 14px;
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: break-word;
}

.subjective-blue {
  color: #1e40af;
}

.subjective-red {
  color: #b42f3b;
}

.subjective-orange {
  color: #e67e22;
}

.subjective-reading article {
  border-bottom: 1px solid var(--subjective-line);
  padding-top: 18px;
}

.subjective-reading article:last-child {
  border-bottom: 0;
}

.subjective-reading article > span {
  display: block;
  padding: 0 20px;
}

/* 全文阅读：题号标签与题干统一深蓝色 #1e40af */
.subjective-reading article > span,
.subjective-reading article > h2 {
  color: #1e40af;
}

.subjective-assessment {
  margin: 0 20px 16px;
  border: 1px solid #bcd3f5;
  border-radius: 6px;
  padding: 16px;
  background: #f5f9ff;
}

.subjective-assessment.fallback {
  border-color: #dfcfaa;
  background: #fffaf0;
}

.subjective-assessment > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: #40506a;
  font-size: 13px;
  font-weight: 700;
}

.subjective-assessment > header > strong {
  color: var(--subjective-brand-dark);
  font-size: 26px;
}

.subjective-assessment > header small {
  font-size: 12px;
}

.subjective-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.subjective-score-grid > div {
  min-width: 0;
  border-left: 3px solid #a9c8f4;
  padding: 6px 9px;
  background: #fff;
}

.subjective-score-grid span,
.subjective-score-grid strong {
  font-size: 12px;
}

.subjective-score-grid strong {
  float: right;
}

.subjective-score-grid p {
  clear: both;
  margin: 7px 0 0;
  color: var(--subjective-muted);
  font-size: 12px;
  line-height: 1.6;
}

.subjective-feedback,
.subjective-final-feedback {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.subjective-feedback ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.subjective-feedback.warning strong {
  color: #a24f0c;
}

.subjective-assessment > small {
  display: block;
  margin-top: 8px;
  color: #8a5a16;
}

.subjective-knowledge-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--subjective-line);
}

.subjective-knowledge-list article {
  border-bottom: 1px solid var(--subjective-line);
  padding: 15px 0;
}

.subjective-knowledge-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.subjective-knowledge-list h3 {
  margin-bottom: 7px;
  font-size: 14px;
}

.subjective-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--subjective-muted);
  text-align: center;
}

.subjective-empty svg {
  width: 30px;
}

.subjective-empty strong {
  color: var(--subjective-ink);
}

.subjective-locked {
  min-height: 62vh;
  display: grid;
  justify-items: center;
  align-content: center;
  padding: 36px 20px;
  text-align: center;
}

.subjective-lock-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 7px;
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
}

.subjective-lock-mark svg {
  width: 25px;
}

.subjective-locked h1 {
  margin-bottom: 9px;
  font-size: 24px;
}

.subjective-locked p {
  max-width: 520px;
  margin-bottom: 20px;
  color: var(--subjective-muted);
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .subjective-feature {
    width: 100%;
  }

  .subjective-page-head,
  .subjective-case-head {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
  }

  .subjective-page-head h1,
  .subjective-case-head h1 {
    font-size: 22px;
  }

  .subjective-overview > span {
    min-height: 64px;
    padding: 10px 6px;
    text-align: center;
  }

  .subjective-overview strong {
    font-size: 17px;
  }

  .subjective-overview small {
    font-size: 10.5px;
  }

  .subjective-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .subjective-segments,
  .subjective-search {
    width: 100%;
  }

  .subjective-case-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 15px 14px;
  }

  .subjective-case-title {
    align-items: flex-start;
  }

  .subjective-case-title h2 {
    font-size: 15px;
  }

  .subjective-case-side {
    min-width: 0;
    justify-content: space-between;
  }

  .subjective-case-side > span {
    grid-template-columns: auto auto;
    align-items: center;
    gap: 8px;
    text-align: left;
  }

  .subjective-case-side > svg {
    margin-left: auto;
  }

  .subjective-reader-bar {
    margin-bottom: 12px;
  }

  .subjective-section {
    padding: 14px;
  }

  .subjective-section-title {
    align-items: center;
  }

  .subjective-section-title h2 {
    font-size: 15px;
  }

  .subjective-annotation-tools {
    gap: 3px;
  }

  .subjective-icon-button,
  .subjective-annotation-tools button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .subjective-facts {
    font-size: 14px;
    line-height: 1.9;
  }

  .subjective-training > h2,
  .subjective-reading article > h2 {
    padding: 16px 14px;
    font-size: 15px;
  }

  .subjective-training-head {
    padding: 8px 10px;
  }

  .subjective-start {
    align-items: stretch;
    flex-direction: column;
    margin: 0 14px 14px;
  }

  .subjective-answer-box {
    margin: 0 14px 14px;
  }

  .subjective-answer-box textarea {
    min-height: 230px;
    font-size: 15px;
  }

  .subjective-action-row {
    gap: 5px;
    padding: 10px;
  }

  .subjective-action-row button {
    min-height: 39px;
    padding: 6px 2px;
    font-size: 12px;
  }

  .subjective-batch-progress,
  .subjective-result-summary {
    margin-right: 10px;
    margin-left: 10px;
  }

  .subjective-result-summary small {
    display: none;
  }

  .subjective-answer-sections section,
  .subjective-reading article > span {
    padding-right: 14px;
    padding-left: 14px;
  }

  .subjective-answer-sections section > div,
  .subjective-knowledge-list article > div {
    font-size: 14px;
    line-height: 1.9;
  }

  .subjective-assessment {
    margin: 0 10px 12px;
    padding: 13px;
  }

  .subjective-score-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 观点展示卡片（板块配色，对齐网页版） ===== */
.subjective-answer-sections .vp-card { padding: 0; }
.vp-sec { margin: 10px 0; border-radius: 8px; padding: 12px 14px; border: 1px solid transparent; }
.vp-sec .vp-lbl { display: inline-block; font-size: 12px; font-weight: 800; border-radius: 6px; padding: 2px 10px; margin-bottom: 8px; color: #fff; }
.vp-sec .vp-body { font-size: 14px; line-height: 1.95; color: #2c3a4d; text-align: justify; }
.vp-sec .vp-body strong { font-weight: 700; }
.s-case { background: #f6f3ff; border-color: #ddd6fe; }
.s-case .vp-lbl { background: #6d28d9; }
.s-teach { background: #f8fafc; border-color: #e2e8f0; }
.s-teach .vp-lbl { background: #334155; }
.s-exam { background: #fff; border-color: #e6e2d9; }
.s-exam .vp-lbl { background: #b03030; }
.s-tip { background: #fffbeb; border-color: #fde68a; }
.s-tip .vp-lbl { background: #b45309; }
.vp-view { border-radius: 8px; padding: 10px 12px; margin: 8px 0; border-left: 4px solid; }
.vp-view.v1 { background: #eef3ff; border-color: #c7d7fe; }
.vp-view.v2 { background: #fff5ec; border-color: #fed7aa; }
.vp-view.v3 { background: #eefaf1; border-color: #bbf7d0; }
.vp-view.v1 strong.subjective-blue { color: #1d4ed8; }
.vp-view.v2 strong.subjective-blue { color: #c2410c; }
.vp-view.v3 strong.subjective-blue { color: #15803d; }
