.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-story-nav {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
  border: 1px solid var(--subjective-line);
  border-radius: 5px;
  padding: 3px;
  background: #fff;
}

.subjective-story-nav a {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  border-radius: 3px;
  padding: 4px 12px;
  color: #526076;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.subjective-story-nav a.active {
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
  font-weight: 700;
}

/* The APP shell already supplies the page title in its fixed context bar.
   Keep only the two in-page modes here so list pages do not repeat it. */
.subjective-app-page-head {
  align-items: center;
  min-height: 42px;
  padding: 0 0 10px;
}

.subjective-app-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 1px solid var(--subjective-line);
  border-radius: 5px;
  padding: 3px;
  background: #fff;
}

.subjective-app-switcher a {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  border-radius: 3px;
  padding: 4px 12px;
  color: #526076;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.subjective-app-switcher a.active {
  background: var(--subjective-brand-soft);
  color: var(--subjective-brand-dark);
  font-weight: 700;
}

.subjective-story-overview {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 12px 0;
  border: 1px solid var(--subjective-line);
  border-radius: 6px;
  padding: 10px 14px;
  background: #fff;
  color: var(--subjective-muted);
  font-size: 12px;
}

.subjective-story-overview strong,
.subjective-story-overview b {
  color: var(--subjective-brand-dark);
  font-size: 20px;
  line-height: 1;
}

.subjective-story-overview b { margin-left: 20px; color: #2f7559; }

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

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

.subjective-story-row:last-child { border-bottom: 0; }
.subjective-story-row:hover { background: #f8fafc; }
.subjective-story-row-main { min-width: 0; }
.subjective-story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 6px; }
.subjective-story-meta span { border-radius: 4px; padding: 2px 7px; background: var(--subjective-brand-soft); color: var(--subjective-brand-dark); font-size: 11px; font-weight: 700; }
.subjective-story-meta b { color: #b7791f; font-size: 12px; letter-spacing: 1px; }
.subjective-story-meta small { color: var(--subjective-muted); font-size: 11px; }
.subjective-story-row h2 { margin: 0 0 6px; font-size: 16px; line-height: 1.5; overflow-wrap: break-word; }
.subjective-story-row p { display: -webkit-box; margin: 0; overflow: hidden; color: #58667b; font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.subjective-story-row-side { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 10px; color: var(--subjective-muted); white-space: nowrap; }
.subjective-story-row-side small { font-size: 11px; }
.subjective-story-row-side svg { width: 17px; color: #98a3b3; }
.subjective-story-progress { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.subjective-story-progress > span { width: min(220px, 60%); height: 4px; overflow: hidden; border-radius: 99px; background: #e9eef5; }
.subjective-story-progress > span i { display: block; height: 100%; border-radius: inherit; background: var(--subjective-brand); }
.subjective-story-progress small { color: var(--subjective-muted); font-size: 11px; }

.subjective-story-summary {
  margin-top: 16px;
  border: 1px solid #cbdcf4;
  border-radius: 7px;
  padding: 15px 18px;
  background: #f7faff;
}
.subjective-story-summary > span { color: var(--subjective-brand-dark); font-size: 12px; font-weight: 700; }
.subjective-story-summary p { margin: 6px 0 12px; color: #334155; font-size: 14px; line-height: 1.8; }
.subjective-story-readline { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--subjective-muted); font-size: 12px; }
.subjective-story-readline button { border: 1px solid #b8d0f7; border-radius: 4px; padding: 5px 10px; background: #fff; color: var(--subjective-brand-dark); font-size: 12px; }
.subjective-story-section { padding: 16px 18px; }
.subjective-story-narrative { margin-top: 10px; border-left: 3px solid #a78bfa; padding: 9px 12px; background: #faf9ff; }
.subjective-story-narrative h3 { margin: 0 0 5px; color: #5b21b6; font-size: 14px; }
.subjective-story-narrative .formal, .subjective-story-narrative .plain { color: #455267; font-size: 14px; line-height: 1.85; }
.subjective-story-narrative .plain { margin-top: 7px; border-radius: 4px; padding: 7px 9px; background: #fff7ed; color: #7c2d12; font-size: 13px; }
.subjective-story-narrative .plain b { margin-right: 7px; color: #b45309; }
.subjective-story-section.trap { border-color: #f1d3d7; background: #fffafb; }
.subjective-story-section.trap ul, .subjective-story-section ol { margin: 0; padding-left: 22px; }
.subjective-story-section.trap li { margin: 5px 0; color: #9f2637; font-size: 13px; line-height: 1.75; }
.subjective-story-section ol li { margin: 6px 0; color: #455267; font-size: 13.5px; line-height: 1.8; }
.subjective-story-origin { padding-bottom: 20px; }
.subjective-story-content { color: #374357; font-size: 14px; line-height: 2.2; }
.subjective-story-anchor { position: relative; border-bottom: 2px solid #f59e0b; border-radius: 3px; background: #fffbeb; }
.subjective-story-anchor small { position: absolute; top: -19px; left: 0; z-index: 1; display: none; border-radius: 3px; padding: 1px 5px; background: #f59e0b; color: #fff; font-size: 10px; line-height: 1.4; white-space: nowrap; }
.subjective-story-anchor:hover small { display: block; }
.subjective-story-origin details { margin-top: 18px; border-top: 1px dashed var(--subjective-line); padding-top: 12px; }
.subjective-story-origin summary { color: var(--subjective-brand-dark); cursor: pointer; font-size: 13px; font-weight: 700; }
.subjective-story-question { margin-top: 14px; border-top: 1px solid var(--subjective-line); padding-top: 12px; }
.subjective-story-question > span { color: var(--subjective-brand-dark); font-size: 12px; font-weight: 700; }
.subjective-story-question h3 { margin: 5px 0; color: var(--subjective-ink); font-size: 14px; line-height: 1.7; }
.subjective-story-answer { margin-top: 7px; border-radius: 5px; padding: 8px 10px; background: #f7faff; color: #455267; font-size: 13px; line-height: 1.8; }
.subjective-story-answer strong { display: block; margin-bottom: 2px; color: var(--subjective-brand-dark); font-size: 11px; }
.subjective-story-answer.muted { background: #f8fafc; }
.subjective-story-answer.plain { background: #fffaf0; }

.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-training > h2.subjective-viewpoint-title,
.subjective-reading article > h2.subjective-viewpoint-title {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 16px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 观点展示的题号和题名共用一行，进一步压缩每问的首部高度。 */
.subjective-reading article.subjective-viewpoint-article {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  padding-top: 12px;
}

.subjective-reading article.subjective-viewpoint-article > span {
  display: inline;
  flex: 0 0 auto;
  padding: 0 20px;
}

.subjective-reading article.subjective-viewpoint-article > h2 {
  min-width: 0;
  flex: 1 1 220px;
  padding: 0 20px 0 0;
}

.subjective-reading article.subjective-viewpoint-article > .subjective-answer-sections {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .subjective-reading article.subjective-viewpoint-article > span {
    padding-left: 14px;
  }

  .subjective-reading article.subjective-viewpoint-article > h2 {
    padding-right: 14px;
  }
}

.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: 4px 0; border-radius: 6px; padding: 7px 10px; border: 1px solid transparent; }
.vp-sec .vp-lbl { display: inline-block; font-size: 11px; font-weight: 800; border-radius: 5px; padding: 1px 8px; margin-bottom: 3px; color: #fff; }
.vp-sec .vp-body { font-size: 13px; line-height: 1.55; 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: 6px; padding: 5px 8px; margin: 3px 0; border-left: 3px 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; }
.subjective-story-feature .subjective-case-head { padding-bottom: 14px; }

/* 法治思想使用数据库内容和 Shadow DOM 原生渲染，保持原稿样式且不嵌套 iframe。 */
.immersive-route .app-main.route-subjective:has(.subjective-fazhi-page) {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}
body:has(.subjective-fazhi-page),
body:has(.subjective-fazhi-page) .app-shell,
body:has(.subjective-fazhi-page) .main {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body:has(.subjective-fazhi-page)::-webkit-scrollbar,
body:has(.subjective-fazhi-page) .app-shell::-webkit-scrollbar,
body:has(.subjective-fazhi-page) .main::-webkit-scrollbar { width: 0; height: 0; display: none; }
.subjective-fazhi-page { min-height: calc(100vh - 64px); background: transparent !important; overflow: visible; }
.subjective-fazhi-filters { margin-bottom: 0; padding: 0 4px 6px; background: #fff; }
.subjective-fazhi-native { display: block; width: 100%; min-height: 70vh; background: #fff; overflow: visible; }
.fazhi-reading-frame { display: block; width: 100%; height: min(78rem, calc(100vh - 128px)); min-height: 900px; border: 0; background: #fff; overflow: hidden; }

@media (max-width: 700px) {
  .subjective-story-nav a { padding-inline: 9px; }
  .subjective-story-row { grid-template-columns: minmax(0, 1fr); gap: 9px; padding: 15px 14px; }
  .subjective-story-row-side { grid-template-columns: auto auto 1fr; justify-content: start; }
  .subjective-story-row-side svg { justify-self: end; }
  .subjective-story-summary, .subjective-story-section { padding-inline: 14px; }
  .subjective-fazhi-filters { padding: 0 2px 3px; }
  .fazhi-reading-frame { height: 86rem; min-height: 1100px; }
}
