:root {
  color-scheme: light;
  --ink: #182a2d;
  --muted: #52676a;
  --surface: #fff;
  --canvas: #f5f8f7;
  --line: #dce7e3;
  --accent: #075e53;
  --accent-light: #e7f2ee;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.6 system-ui, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #2a9b86; outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.top-link, .back { color: var(--accent); font-size: 14px; font-weight: 650; }
.hero { margin: 28px 0; padding: clamp(24px, 5vw, 56px); border-radius: 22px; background: linear-gradient(110deg,#123b39,#205951); color: white; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.eyebrow { color: #bbdfd2; margin: 0 0 8px; font-size: 14px; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 8px; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.hero-description { margin: 0; color: #e0f0eb; }
.hero-stats { display: flex; gap: 24px; flex: none; }
.hero-stats div { border-left: 1px solid #76aaa1; padding-left: 16px; }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { font-size: 29px; line-height: 1.1; }
.hero-stats span { color: #d3e8e1; font-size: 13px; margin-top: 5px; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.directory h2 { margin-bottom: 2px; }
.meta { color: var(--muted); font-size: 14px; margin: 0; }
.search { display: flex; gap: 8px; }
.search input { padding: 9px 12px; border: 1px solid #b9cbc6; border-radius: 9px; font: inherit; min-width: 0; }
.button { display: inline-flex; gap: 8px; justify-content: center; align-items: center; padding: 9px 16px; background: var(--accent); color: white; border: 1px solid transparent; border-radius: 9px; font: inherit; font-weight: 650; white-space: nowrap; cursor: pointer; }
.button:hover { background: #06493f; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.filters a { display: inline-flex; gap: 5px; align-items: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; }
.filters a span { color: var(--muted); font-size: 12px; }
.filters a:hover { border-color: var(--accent); }
.filters [aria-current] { background: var(--accent); color: white; border-color: var(--accent); }
.filters [aria-current] span { color: #d6f0e7; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--surface); }
.cover { display: block; aspect-ratio: 2.45; background: var(--accent-light); overflow: hidden; }
.cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card-content { flex: 1; display: flex; flex-direction: column; padding: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { background: var(--accent-light); color: var(--accent); border-radius: 5px; font-size: 12px; padding: 1px 7px; }
.card h3 { font-size: 18px; line-height: 1.4; margin: 8px 0 5px; }
.card h3 a:hover, .tag:hover { text-decoration: underline; }
.excerpt { color: var(--muted); font-size: 14px; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; gap: 6px; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.text-link { color: var(--accent); font-size: 14px; font-weight: 700; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 25px 0; }
.pagination a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--accent); }
.empty { margin-block: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.back { display: inline-block; margin: 20px 0 12px; }
.detail { display: flex; align-items: stretch; gap: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.detail-cover { width: min(35%, 365px); max-height: 265px; object-fit: cover; }
.detail-copy { padding: 24px; }
.detail h1 { font-size: clamp(23px, 3.5vw, 37px); line-height: 1.35; margin: 8px 0; }
.detail .button { margin-top: 15px; }
.reading { margin: 20px 0 36px; display: grid; gap: 14px; }
.reading section { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.reading h2 { font-size: 19px; margin-bottom: 7px; }
.reading p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.directory { padding-bottom: 30px; }
@media (max-width: 820px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 580px) {
  .shell { width: calc(100% - 24px); }
  .hero, .directory-heading, .detail { flex-direction: column; align-items: stretch; }
  .hero { margin: 15px 0; gap: 20px; }
  .search input { flex: 1; }
  .grid { grid-template-columns: 1fr; }
  .detail-cover { width: 100%; max-height: 175px; }
}

/* Conflict-handling assessment entry preview */
.entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .85fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  padding: clamp(22px, 4vw, 52px);
  background: #e9f3ef;
  border: 1px solid #d5e8e0;
  border-radius: 20px;
}
.entry-kicker { color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.entry-copy h1 { font-size: clamp(29px, 4.1vw, 49px); line-height: 1.18; margin-bottom: 16px; }
.entry-lead { max-width: 32em; color: #3f5958; font-size: clamp(15px, 1.5vw, 18px); margin-bottom: 20px; }
.entry-action { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.entry-preview { background: #fff; border: 1px solid #d5e8e0; border-radius: 14px; padding: 19px; box-shadow: 0 8px 24px #153c3010; }
.entry-preview-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; }
.entry-preview h2 { font-size: 17px; margin: 0; }
.entry-example { border-radius: 5px; padding: 1px 7px; background: #eaf3ee; color: var(--accent); font-size: 12px; }
.entry-score { display: flex; gap: 4px; align-items: baseline; margin: 7px 0 8px; color: var(--muted); }
.entry-score strong { color: var(--accent); font-size: 38px; line-height: 1; }
.entry-scale { display: grid; grid-template-columns: var(--entry-tracks); height: 7px; gap: 3px; position: relative; }
.entry-scale span { border-radius: 3px; background: #dfebe6; }
.entry-scale .entry-band-current { background: #47977e; }
.entry-scale i { position: absolute; top: -3px; left: var(--entry-marker); width: 3px; height: 13px; border-radius: 3px; background: #124b3e; }
.entry-scale-labels { display: grid; grid-template-columns: var(--entry-tracks); margin: 5px 0 12px; color: var(--muted); font-size: 12px; text-align: center; }
.entry-scale-labels .entry-band-current { color: var(--accent); font-weight: 700; }
.entry-insight { padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.entry-insight p { margin: 0 0 6px; }
.entry-insight p:last-child { margin: 0; }
.entry-guide { margin-top: 20px; padding: 18px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.entry-guide h2 { font-size: 19px; margin-bottom: 6px; }
.entry-guide ul { margin: 0; padding-inline-start: 1.3em; color: var(--muted); }
.entry-guide li + li { margin-top: 4px; }
.entry-details { padding: 12px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); }
.entry-details summary { cursor: pointer; font-weight: 650; }
.entry-details p { margin-top: 7px; }
@media (max-width: 760px) {
  .entry-hero { grid-template-columns: 1fr; }
}

.entry-topics { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 8px; }
.entry-topics li { background: #fff; color: var(--accent); border-radius: 6px; padding: 2px 8px; font-size: 13px; }
.entry-jump { display: inline-block; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; margin: 0 0 14px; }
.entry-percent { margin-left: auto; font-size: 13px; }
.entry-article { display: grid; gap: 16px; margin-top: 20px; }
.entry-article .entry-guide { margin-top: 0; }
.entry-article .entry-guide h2 { font-size: 22px; margin-bottom: 8px; }
.entry-article p, .entry-article li { color: var(--muted); }
.entry-article .entry-guide > p:last-child { margin-bottom: 0; }
.entry-section-lead { margin-bottom: 14px; }
.entry-topic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.entry-topic { padding: 14px; background: #f4f8f6; border: 1px solid var(--line); border-radius: 10px; }
.entry-topic h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 16px; margin: 0 0 5px; }
.entry-topic h3 span { color: var(--accent); font-size: 13px; white-space: nowrap; }
.entry-topic p { margin-bottom: 8px; font-size: 14px; }
.entry-topic blockquote { margin: 0; padding-left: 8px; border-left: 3px solid #6da696; color: var(--ink); font-size: 14px; }
.entry-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 10px 0 12px; }
.entry-numbers div { padding: 10px; background: #f4f8f6; border-radius: 8px; }
.entry-numbers strong, .entry-numbers span { display: block; }
.entry-numbers strong { color: var(--accent); font-size: 20px; }
.entry-numbers span { color: var(--muted); font-size: 13px; }
.entry-bands { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-bands th, .entry-bands td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.entry-bands thead { background: #eef5f1; }
.entry-bands th[scope=row] { white-space: nowrap; color: var(--accent); }
.entry-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 550px) {
  .entry-topic-grid, .entry-numbers { grid-template-columns: 1fr; }
  .entry-bands th, .entry-bands td { padding: 5px; font-size: 13px; }
}

.topic-radar {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 15px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4f8f6;
}
.topic-radar-plot { min-width: 0; }
.topic-radar canvas { display: block; width: 100%; height: 232px; }
.topic-radar-caption { min-width: 0; }
.topic-radar-caption h3 { margin: 0 0 4px; font-size: 17px; }
.topic-radar-caption p { margin: 0 0 8px; font-size: 13px; }
.entry-article .topic-radar-legend { list-style: none; margin: 0 0 8px; padding: 0; }
.entry-article .topic-radar-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; font-size: 14px; }
.topic-radar-key { font-weight: 700; color: var(--accent); }
.topic-radar-value { white-space: nowrap; }
.topic-radar-value strong { margin-left: 3px; color: var(--accent); }
.topic-radar-caption .topic-radar-scale { margin-bottom: 0; }
@media (max-width: 650px) {
  .topic-radar { grid-template-columns: 1fr; gap: 4px; }
  .topic-radar canvas { height: 205px; }
}

.topic-tags { margin-block: 12px; }

.entry-preview-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; margin:12px 0; }
.entry-preview-metrics div { background:#edf5f1; border-radius:8px; padding:7px 9px; min-width:0; }
.entry-preview-metrics dt { color:#31564e; font-size:13px; overflow-wrap:anywhere; }
.entry-preview-metrics dd { margin:0; color:#075e53; overflow-wrap:anywhere; }
.entry-preview-metrics dd strong { font-size:19px; }
.entry-preview-metrics dd span { font-size:11px; color:#52676a; }

.source-keywords { margin-block: 18px; }
.source-keywords .tags { list-style:none; margin:0; padding:0; }
.source-keywords .tag { display:inline-block; }

.entry-cover { display:block;width:100%;height:auto;border-radius:10px;margin:12px 0; }

