:root {
  --navy-950: #071426;
  --navy-900: #091a2f;
  --navy-800: #102640;
  --navy-700: #183654;
  --gold: #bd9652;
  --gold-bright: #ddc17f;
  --gold-pale: #ead9aa;
  --ivory: #f1e8d5;
  --paper: #f7f0e2;
  --paper-light: #fffaf0;
  --paper-deep: #e9dec8;
  --ink: #172435;
  --ink-soft: #5f625f;
  --line: #d6c7aa;
  --line-dark: #bba782;
  --oxblood: #91372f;
  --oxblood-dark: #70251f;
  --oxblood-soft: #f0d9d2;
  --green: #526f55;
  --green-soft: #dfe8da;
  --focus: #f0cf82;
  --cause: var(--oxblood);
  --shadow-paper: 0 34px 90px rgb(2 10 20 / 36%);
  --shadow-dialog: 0 28px 80px rgb(1 8 16 / 54%);
  color-scheme: light;
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--navy-950);
}

body.is-dialog-open {
  overflow: hidden;
}

body.is-completion-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.is-hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--gold-bright);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.page-grain {
  position: fixed;
  z-index: 500;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgb(255 255 255 / 16%) 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 80% 35%, rgb(255 255 255 / 9%) 0 0.6px, transparent 0.8px);
  background-position:
    0 0,
    7px 11px;
  background-size:
    13px 13px,
    17px 17px;
  mix-blend-mode: soft-light;
}

.archive-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 46%, rgb(35 61 91 / 80%) 0, transparent 31%),
    linear-gradient(118deg, #061323 0%, #0a1d34 48%, #071426 100%);
  border-bottom: 1px solid rgb(221 193 127 / 30%);
}

.archive-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(221 193 127 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(221 193 127 / 7%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  content: "";
}

.masthead {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1340px, calc(100% - 72px));
  min-height: 102px;
  margin: 0 auto;
  border-bottom: 1px solid rgb(221 193 127 / 28%);
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  color: var(--gold-bright);
  gap: 15px;
  text-decoration: none;
}

.brand__emblem {
  display: grid;
  width: 54px;
  height: 54px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgb(189 150 82 / 8%);
}

.brand__emblem img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(2.2) translateY(-12%);
}

.brand__copy {
  display: grid;
  gap: 5px;
}

.brand__copy strong {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 21px;
  letter-spacing: 0.12em;
}

.brand__copy small,
.archive-code span {
  color: rgb(221 193 127 / 82%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.19em;
}

.archive-code {
  display: grid;
  justify-items: end;
  gap: 7px;
  color: var(--gold-bright);
}

.archive-code strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.archive-hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  width: min(1340px, calc(100% - 72px));
  min-height: 475px;
  margin: 0 auto;
  padding: 36px 0 88px;
}

.archive-hero__copy {
  position: relative;
  z-index: 6;
  align-self: center;
  max-width: 820px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.hero-eyebrow::before {
  width: 8px;
  height: 8px;
  margin-right: 16px;
  background: var(--gold-bright);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  content: "";
}

.hero-eyebrow::after {
  width: min(190px, 18vw);
  height: 1px;
  margin-left: 18px;
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
}

.archive-hero h1 {
  position: relative;
  margin: 0;
  color: var(--paper-light);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: clamp(68px, 7vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 0 rgb(255 255 255 / 8%);
}

.hero-year-lockup {
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  margin-top: 34px;
  padding: 0 24px;
  color: var(--gold-bright);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  gap: 18px;
}

.hero-year-lockup::before,
.hero-year-lockup::after {
  color: var(--gold);
  font-size: 25px;
  content: "❧";
}

.hero-year-lockup span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  letter-spacing: 0.07em;
}

.hero-year-lockup b {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 28px;
  letter-spacing: 0.12em;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgb(247 240 226 / 68%);
  font-size: 14px;
  line-height: 1.85;
}

.hero-year-watermark {
  position: absolute;
  z-index: 1;
  right: 340px;
  bottom: 54px;
  color: rgb(237 217 170 / 5%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(180px, 20vw, 320px);
  line-height: 0.7;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.hero-portrait {
  position: relative;
  z-index: 4;
  justify-self: end;
  width: min(440px, 36vw);
  aspect-ratio: 1;
}

.hero-portrait__crop {
  position: absolute;
  z-index: 3;
  inset: 22px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #efe4df;
  box-shadow:
    0 0 0 8px var(--navy-900),
    0 0 0 9px rgb(221 193 127 / 52%),
    0 24px 60px rgb(0 0 0 / 30%);
}

.hero-portrait__crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.72) translateY(-11%);
}

.hero-portrait__orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgb(221 193 127 / 70%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: 5px;
}

.orbit-two {
  inset: -9px 14px 14px -9px;
  border-style: dotted;
  opacity: 0.38;
}

.archive-seal {
  position: absolute;
  z-index: 7;
  right: -6px;
  bottom: 4px;
  display: grid;
  width: 116px;
  height: 116px;
  padding: 18px 10px;
  place-items: center;
  border: 2px solid #a77e3f;
  border-radius: 50%;
  color: #765622;
  background:
    radial-gradient(circle, #e8d4a1 0 53%, #cba968 54% 57%, #ead6a3 58%);
  box-shadow:
    0 0 0 3px var(--navy-900),
    0 10px 24px rgb(0 0 0 / 28%);
  transform: rotate(-5deg);
}

.archive-seal::before {
  position: absolute;
  inset: 7px;
  border: 1px dashed rgb(118 86 34 / 65%);
  border-radius: 50%;
  content: "";
}

.archive-seal span,
.archive-seal small {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.archive-seal strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 0.8;
}

.academy-mark {
  position: absolute;
  z-index: 1;
  top: 120px;
  left: 48%;
  width: 390px;
  height: 250px;
  opacity: 0.055;
  transform: translateX(-50%);
}

.academy-mark__roof {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-right: 195px solid transparent;
  border-bottom: 72px solid var(--paper);
  border-left: 195px solid transparent;
}

.academy-mark__body {
  display: flex;
  height: 168px;
  padding: 18px 42px 0;
  justify-content: space-between;
  border-top: 12px solid var(--paper);
  border-bottom: 16px solid var(--paper);
}

.academy-mark__body i {
  display: block;
  width: 25px;
  height: 120px;
  background: var(--paper);
}

.retention-note {
  position: absolute;
  z-index: 8;
  right: max(36px, calc((100% - 1340px) / 2));
  bottom: 25px;
  margin: 0;
  color: rgb(221 193 127 / 66%);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.archive-stage {
  position: relative;
  z-index: 10;
  padding: 0 28px 86px;
  background:
    linear-gradient(to bottom, var(--navy-950) 0 130px, #0c1d31 130px 100%);
}

.workspace {
  position: relative;
  width: min(1360px, 100%);
  margin: -58px auto 0;
}

.year-tabs {
  position: relative;
  z-index: 14;
  display: flex;
  align-items: end;
  width: min(820px, calc(100% - 72px));
  margin-left: 36px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.year-tabs::-webkit-scrollbar {
  display: none;
}

.year-tab {
  position: relative;
  flex: 0 0 126px;
  min-height: 64px;
  padding: 20px 12px 14px;
  border: 1px solid var(--line-dark);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: #6d675d;
  background: #e8dec9;
  box-shadow: inset 0 -10px 18px rgb(101 76 39 / 5%);
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.year-tab + .year-tab {
  margin-left: -1px;
}

.year-tab::after {
  position: absolute;
  right: 20px;
  bottom: 9px;
  left: 20px;
  height: 2px;
  background: transparent;
  content: "";
}

.year-tab:hover {
  color: var(--ink);
  background: #f0e7d5;
}

.year-tab[aria-selected="true"] {
  z-index: 2;
  min-height: 72px;
  padding-top: 23px;
  color: #7a5624;
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  transform: translateY(1px);
}

.year-tab[aria-selected="true"]::after {
  background: var(--gold);
}

.archive-paper {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(rgb(99 76 40 / 3%) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgb(255 255 255 / 90%), transparent 28%),
    var(--paper);
  background-size:
    100% 31px,
    auto,
    auto;
  border: 1px solid #cab894;
  border-radius: 4px 4px 10px 10px;
  box-shadow: var(--shadow-paper);
}

.archive-paper::before,
.archive-paper::after {
  position: absolute;
  z-index: -1;
  right: 16px;
  left: 16px;
  height: 18px;
  border: 1px solid #bda980;
  background: #e6dbc6;
  content: "";
}

.archive-paper::before {
  top: -10px;
  transform: rotate(-0.22deg);
}

.archive-paper::after {
  top: -18px;
  right: 32px;
  left: 30px;
  background: #dcd0b9;
  transform: rotate(0.28deg);
}

.archive-paper__edge {
  position: absolute;
  z-index: -2;
  right: 28px;
  left: 28px;
  height: 20px;
  background: #d6c8ad;
  border: 1px solid #ad9974;
}

.edge-one {
  top: -25px;
  transform: rotate(-0.45deg);
}

.edge-two {
  top: -34px;
  right: 42px;
  left: 44px;
  opacity: 0.65;
  transform: rotate(0.48deg);
}

.year-sheet {
  padding: 54px 64px 50px;
}

.year-sheet__header {
  display: block;
}

.year-heading__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 36px;
}

.year-heading__title {
  min-width: 0;
}

.year-score-seal {
  position: relative;
  display: grid;
  width: 148px;
  height: 148px;
  flex: 0 0 auto;
  place-items: center;
  border: 4px double #a91f24;
  border-radius: 50%;
  color: #a91f24;
  filter: drop-shadow(0 1px 0 rgb(73 0 0 / 8%));
  mix-blend-mode: multiply;
  transform: rotate(-4deg);
}

.year-score-seal::before,
.year-score-seal::after {
  position: absolute;
  left: 50%;
  width: 56px;
  height: 2px;
  background: currentcolor;
  content: "";
  opacity: 0.68;
  transform: translateX(-50%);
}

.year-score-seal::before {
  top: 25px;
}

.year-score-seal::after {
  bottom: 24px;
}

.year-score-seal span {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 56px;
  font-weight: 900;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
  -webkit-text-stroke: 0.7px currentcolor;
  paint-order: stroke fill;
  transform: translateX(-1px);
}

.archive-label {
  margin: 0 0 10px;
  color: #92703a;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.year-heading h2,
.reports__header h2 {
  margin: 0;
  color: var(--ink);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1.1;
}

.year-heading > p:last-child,
.reports__header > div > p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.year-summary {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  align-items: center;
  min-width: 0;
  margin-top: 26px;
  padding: 14px 16px;
  border-top: 1px solid #d8c7a7;
  border-bottom: 1px solid #d8c7a7;
  background: rgb(245 238 223 / 58%);
  gap: 20px;
}

.year-summary__progress {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.year-summary__progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.year-summary__progress-head > span,
.year-summary dt {
  color: #786b59;
  font-size: 11px;
}

.year-summary__progress-head strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.year-summary__progress-head small {
  margin-left: 5px;
  color: #8c7960;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
}

.year-summary dl {
  display: flex;
  align-items: stretch;
  margin: 0;
  gap: 8px;
}

.year-summary dl div {
  display: grid;
  min-width: 74px;
  padding: 3px 12px;
  border-left: 1px solid #d7c4a1;
  gap: 2px;
}

.year-summary dt,
.year-summary dd {
  margin: 0;
}

.year-summary dd {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.year-summary dt {
  display: flex;
  align-items: center;
  gap: 6px;
}

.year-summary dt i {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.summary-state.is-correct dt,
.summary-state.is-correct dd {
  color: #4b705b;
}

.summary-state.is-wrong dt,
.summary-state.is-wrong dd {
  color: #9a352c;
}

.archive-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--oxblood);
  font-size: 12px;
  font-weight: 700;
  gap: 7px;
  text-decoration: none;
}

.archive-link svg {
  transition: transform 180ms ease;
}

.archive-link:hover svg {
  transform: translateX(3px);
}

.record-progress {
  position: relative;
  height: 3px;
  margin: 0;
  overflow: hidden;
  background: #ded1b9;
}

.record-progress::before {
  position: absolute;
  inset: 1px 0 auto;
  height: 1px;
  background: rgb(255 255 255 / 60%);
  content: "";
}

.record-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #956b31, var(--gold-bright));
  transition: width 240ms ease;
}

.question-groups {
  display: grid;
  margin-top: 38px;
  gap: 30px;
}

.question-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.question-group__title {
  display: grid;
  margin: 0;
  padding: 13px 18px 13px 0;
  border-right: 1px solid var(--line);
  gap: 4px;
}

.question-group__title strong {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.question-group__title span {
  color: #88775f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(58px, 1fr));
  gap: 10px;
}

.question-button {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 70px;
  padding: 10px 7px 8px;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow:
    inset 0 0 0 1px #d0bea0,
    inset 0 0 0 4px rgb(187 167 130 / 10%),
    0 3px 8px rgb(73 51 20 / 7%);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.question-button::before,
.question-button::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  opacity: 0.18;
  content: "";
}

.question-button::before {
  top: 5px;
  left: 5px;
  border-right: 0;
  border-bottom: 0;
}

.question-button::after {
  right: 5px;
  bottom: 5px;
  border-top: 0;
  border-left: 0;
}

.question-button:hover {
  color: #765424;
  background: #fffdf5;
  box-shadow:
    inset 0 0 0 1px var(--gold),
    inset 0 0 0 4px rgb(189 150 82 / 10%),
    0 7px 15px rgb(73 51 20 / 12%);
  transform: translateY(-2px);
}

.question-button:active {
  transform: translateY(0);
}

.question-button__number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.question-button__state {
  margin-top: 7px;
  color: #786f63;
  font-size: 9px;
}

.question-button__icon {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.question-button__icon svg {
  width: 14px;
  height: 14px;
}

.question-button.is-correct {
  color: var(--green);
  background: var(--green-soft);
  box-shadow:
    inset 0 0 0 1px #9eaf97,
    inset 0 0 0 4px rgb(82 111 85 / 7%);
}

.question-button.is-wrong {
  color: var(--oxblood);
  background: var(--oxblood-soft);
  box-shadow:
    inset 0 0 0 1px #c28c81,
    inset 0 0 0 4px rgb(145 55 47 / 6%);
}

.question-button.is-correct .question-button__state,
.question-button.is-wrong .question-button__state {
  color: currentColor;
}

.legend {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
  gap: 22px;
  color: #766d60;
  font-size: 11px;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend__mark {
  width: 13px;
  height: 13px;
  border: 1px solid var(--line-dark);
  background: var(--paper-light);
  clip-path: polygon(3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px);
}

.legend__mark.is-correct {
  border-color: var(--green);
  background: var(--green-soft);
}

.legend__mark.is-wrong {
  border-color: var(--oxblood);
  background: var(--oxblood-soft);
}

.reports {
  margin: 0 64px;
  padding: 54px 0 68px;
  border-top: 4px double var(--line-dark);
}

.reports__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.reports__header h2 span {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  margin-left: 8px;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--oxblood);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  vertical-align: 7px;
}

.empty-state {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  min-height: 180px;
  margin-top: 30px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgb(255 255 255 / 52%), transparent 48%),
    rgb(235 224 204 / 38%);
  gap: 30px;
}

.empty-state__seal {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgb(145 55 47 / 35%);
  border-radius: 50%;
  color: rgb(145 55 47 / 48%);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 36px;
  font-weight: 700;
  transform: rotate(-8deg);
}

.empty-state h3 {
  margin: 0;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 24px;
}

.empty-state p:last-child {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.report-list {
  display: grid;
  margin-top: 30px;
  gap: 18px;
}

.report-item {
  --cause: var(--oxblood);
  position: relative;
  border: 1px solid var(--line);
  border-top: 5px solid var(--cause);
  border-radius: 5px;
  background: rgb(255 253 247 / 72%);
  box-shadow: 0 8px 20px rgb(67 43 15 / 7%);
}

.report-item[data-cause="方法选错"] {
  --cause: #735388;
}

.report-item[data-cause="步骤卡住"] {
  --cause: #345f8f;
}

.report-item[data-cause="概念不清"] {
  --cause: #99601c;
}

.report-item[data-cause="计算失误"] {
  --cause: #39716b;
}

.report-item details {
  background: transparent;
}

.report-item summary {
  display: grid;
  grid-template-columns: 70px 170px minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 94px;
  padding: 15px 22px;
  gap: 22px;
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease;
}

.report-item summary::-webkit-details-marker {
  display: none;
}

.report-item summary:hover {
  background: rgb(255 255 255 / 48%);
}

.report-item__number {
  color: var(--cause);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
}

.report-item__identity {
  display: grid;
  gap: 5px;
}

.report-item__identity strong {
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 17px;
}

.report-item__identity span,
.report-item__type {
  color: var(--ink-soft);
  font-size: 11px;
}

.cause-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--cause) 52%, white);
  border-radius: 3px;
  color: var(--cause);
  background: color-mix(in srgb, var(--cause) 5%, white);
  font-size: 11px;
  font-weight: 700;
}

.report-chevron {
  color: var(--cause);
  transition: transform 180ms ease;
}

.report-item details[open] .report-chevron {
  transform: rotate(180deg);
}

.report-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 22px 28px 114px;
  gap: 0;
}

.report-block {
  min-height: 150px;
  padding: 24px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgb(255 255 255 / 40%);
}

.report-block:nth-child(even) {
  border-right: 1px solid var(--line);
}

.report-block:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.report-block__label {
  display: block;
  margin-bottom: 13px;
  color: var(--cause);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.report-block h3 {
  margin: 0 0 10px;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 18px;
}

.report-block p {
  margin: 0;
  color: #4c4f4d;
  font-size: 13px;
  line-height: 1.75;
}

.method-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.method-list li {
  padding: 6px 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--cause) 42%, white);
  color: #414946;
  font-size: 12px;
}

.report-source {
  grid-column: 1 / -1;
  margin: 13px 0 0;
  color: #78736b;
  font-size: 10px;
}

.archive-button,
.primary-button,
.danger-link,
.icon-button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.archive-button {
  padding: 10px 17px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.archive-button:hover {
  border-color: var(--ink);
  background: rgb(255 255 255 / 48%);
}

.primary-button {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--paper-light);
  background: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.primary-button:hover {
  color: var(--gold-bright);
  background: var(--navy-800);
}

.danger-link {
  padding: 8px 0;
  color: var(--oxblood-dark);
  background: transparent;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon-button {
  display: grid;
  width: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(221 193 127 / 48%);
  border-radius: 50%;
  color: var(--gold-bright);
  background: transparent;
}

.record-dialog {
  width: min(690px, calc(100% - 32px));
  max-height: min(780px, calc(100vh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(rgb(99 76 40 / 3%) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 31px;
  box-shadow: var(--shadow-dialog);
}

.record-dialog::backdrop {
  background: rgb(1 8 17 / 68%);
  backdrop-filter: blur(6px);
}

.record-dialog form {
  padding: 0;
}

.completion-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.completion-dialog::backdrop {
  background: rgb(2 11 23 / 76%);
  backdrop-filter: blur(5px) saturate(0.72);
}

.completion-sheet {
  position: relative;
  display: grid;
  max-height: calc(100dvh - 32px);
  padding: 36px 46px 40px;
  overflow: auto;
  border: 1px solid #c7a867;
  border-radius: 11px;
  background:
    radial-gradient(circle at 16% 9%, rgb(145 55 47 / 4%), transparent 30%),
    linear-gradient(rgb(145 110 58 / 4%) 1px, transparent 1px),
    var(--paper-light);
  background-size: auto, 100% 31px, auto;
  box-shadow: 0 28px 76px rgb(0 6 16 / 52%);
  isolation: isolate;
  text-align: center;
}

.completion-sheet::before {
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid rgb(189 150 82 / 38%);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.completion-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: #59616a;
  background: transparent;
  cursor: pointer;
}

.completion-close:hover {
  color: var(--oxblood);
}

.completion-close svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.5;
}

.completion-year-row {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr);
  align-items: center;
  margin: 8px 38px 18px;
  color: #9b7234;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  gap: 20px;
}

.completion-year-row::before,
.completion-year-row::after {
  height: 1px;
  background: #c6a05a;
  content: "";
}

.completion-year-label {
  white-space: nowrap;
}

.completion-sheet h2 {
  margin: 0;
  color: #102944;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.12;
}

.completion-score-seal {
  position: relative;
  display: grid;
  width: 210px;
  height: 210px;
  margin: 24px auto 22px;
  place-items: center;
  border: 5px double #a91f24;
  border-radius: 50%;
  color: #a91f24;
  filter: drop-shadow(0 2px 0 rgb(73 0 0 / 8%));
  mix-blend-mode: multiply;
  transform: rotate(-4deg);
}

.completion-score-seal::before,
.completion-score-seal::after {
  position: absolute;
  left: 50%;
  width: 88px;
  height: 2px;
  background: currentcolor;
  content: "";
  opacity: 0.66;
  transform: translateX(-50%);
}

.completion-score-seal::before {
  top: 39px;
}

.completion-score-seal::after {
  bottom: 37px;
}

.completion-score-seal span {
  font-family: Georgia, "Times New Roman", "STSong", serif;
  font-size: 82px;
  font-weight: 900;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.055em;
  line-height: 1;
  -webkit-text-stroke: 0.8px currentcolor;
  paint-order: stroke fill;
  transform: translateX(-2px);
}

.completion-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 25px;
  color: #324156;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 17px;
  gap: 7px;
}

.completion-summary::before,
.completion-summary::after {
  width: 68px;
  height: 1px;
  margin-inline: 10px;
  background: rgb(189 150 82 / 72%);
  content: "";
}

.completion-summary strong {
  color: #a91f24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.completion-summary i {
  width: 3px;
  height: 3px;
  margin-inline: 7px;
  border-radius: 50%;
  background: #93703c;
}

.completion-action {
  width: 100%;
  min-height: 58px;
  padding: 14px 22px;
  border: 1px solid #163b5f;
  border-radius: 4px;
  color: var(--paper-light);
  background: var(--navy-950);
  box-shadow: 0 8px 22px rgb(4 20 38 / 16%);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.completion-action:hover {
  background: var(--navy-800);
  box-shadow: 0 10px 26px rgb(4 20 38 / 22%);
  transform: translateY(-1px);
}

.completion-dialog.is-celebrating .completion-sheet {
  animation: completion-sheet-in 640ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.completion-dialog.is-celebrating .completion-score-seal {
  animation: completion-stamp-in 680ms 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.completion-dialog.is-celebrating .completion-summary,
.completion-dialog.is-celebrating .completion-action {
  animation: completion-copy-in 420ms 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes completion-sheet-in {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(42px) scale(0.985);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes completion-stamp-in {
  0% {
    opacity: 0;
    filter: blur(1.5px) drop-shadow(0 2px 0 rgb(73 0 0 / 8%));
    transform: rotate(-11deg) scale(1.28);
  }
  68% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 7px 5px rgb(73 0 0 / 14%));
    transform: rotate(-4deg) scale(0.985);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 2px 0 rgb(73 0 0 / 8%));
    transform: rotate(-4deg) scale(1);
  }
}

@keyframes completion-copy-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .completion-dialog.is-celebrating .completion-sheet,
  .completion-dialog.is-celebrating .completion-score-seal,
  .completion-dialog.is-celebrating .completion-summary,
  .completion-dialog.is-celebrating .completion-action {
    animation: none;
  }
}

.dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding: 28px 30px 26px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 85% 20%, rgb(51 84 118 / 55%), transparent 38%),
    var(--navy-900);
  border-bottom: 1px solid var(--gold);
  gap: 18px;
}

.dialog-kicker {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.dialog-header h2 {
  margin: 0;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 31px;
}

.question-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 0 30px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  gap: 8px 19px;
  color: var(--ink-soft);
  font-size: 11px;
}

.question-meta strong {
  color: var(--ink);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset legend {
  margin-bottom: 15px;
  padding: 0;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 700;
}

.answer-fieldset {
  margin: 26px 30px 0;
}

.result-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-option {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 253 247 / 60%);
  cursor: pointer;
  gap: 13px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.result-option:hover {
  border-color: var(--line-dark);
  transform: translateY(-1px);
}

.result-option:has(input:focus-visible) {
  outline: 3px solid #315e94;
  outline-offset: 3px;
}

.result-option:has(input[value="correct"]:checked) {
  border-color: var(--green);
  background: var(--green-soft);
}

.result-option:has(input[value="wrong"]:checked) {
  border-color: var(--oxblood);
  background: var(--oxblood-soft);
}

.result-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.result-option__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 19px;
  font-weight: 700;
  transform: rotate(-6deg);
}

.result-option__icon.is-correct {
  color: var(--green);
}

.result-option__icon.is-wrong {
  color: var(--oxblood);
}

.result-option strong,
.result-option small {
  display: block;
}

.result-option strong {
  font-size: 15px;
}

.result-option small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
}

.cause-fieldset {
  margin: 27px 30px 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.cause-fieldset > p {
  margin: -8px 0 14px;
  color: var(--ink-soft);
  font-size: 11px;
}

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

.cause-option {
  position: relative;
  min-height: 48px;
  cursor: pointer;
}

.cause-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.cause-option span {
  display: grid;
  height: 100%;
  min-height: 48px;
  padding: 10px 8px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgb(255 253 247 / 60%);
  font-size: 11px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.cause-option input:checked + span {
  border-color: var(--oxblood);
  color: #fff8ec;
  background: var(--oxblood);
}

.cause-option:has(input:focus-visible) {
  outline: 3px solid #315e94;
  outline-offset: 3px;
}

.form-error {
  min-height: 20px;
  margin: 13px 30px 0;
  color: var(--oxblood-dark);
  font-size: 11px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  margin-top: 17px;
  padding: 20px 30px 28px;
  border-top: 1px solid var(--line);
  gap: 10px;
}

.toast {
  position: fixed;
  z-index: 800;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  padding: 13px 17px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--paper-light);
  background: var(--navy-900);
  box-shadow: 0 12px 30px rgb(0 0 0 / 28%);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 34px 0 42px;
  border-top: 1px solid rgb(221 193 127 / 25%);
  color: rgb(247 240 226 / 54%);
  gap: 24px;
  font-size: 10px;
}

.site-footer__identity {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--gold-bright);
  font-family: "STSong", "Songti SC", SimSun, serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.site-footer p {
  margin: 0;
}

.site-filing-links {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgb(221 193 127 / 14%);
}

.site-filing-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.site-filing-links a:hover,
.site-filing-links a:focus-visible {
  color: var(--gold-bright);
}

.site-police-filing img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.72;
}

@media (max-width: 1120px) {
  .archive-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }

  .archive-hero h1 {
    font-size: clamp(62px, 7.4vw, 84px);
  }

  .hero-portrait {
    width: min(380px, 38vw);
  }

  .question-grid {
    grid-template-columns: repeat(5, minmax(62px, 1fr));
  }

  .question-group {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .report-body {
    padding-left: 92px;
  }
}

@media (max-width: 860px) {
  .masthead,
  .archive-hero__inner {
    width: min(100% - 38px, 1340px);
  }

  .brand__copy strong {
    font-size: 17px;
  }

  .archive-code {
    display: none;
  }

  .archive-hero {
    min-height: 620px;
  }

  .archive-hero__inner {
    display: block;
    min-height: 510px;
    padding-top: 48px;
  }

  .archive-hero__copy {
    max-width: 620px;
  }

  .hero-portrait {
    position: absolute;
    right: 0;
    bottom: 36px;
    width: 270px;
  }

  .hero-year-watermark {
    right: 120px;
    bottom: 65px;
    font-size: 180px;
  }

  .hero-lead {
    max-width: 420px;
    padding-right: 80px;
  }

  .archive-seal {
    width: 90px;
    height: 90px;
    padding: 14px 7px;
  }

  .archive-seal strong {
    font-size: 18px;
  }

  .academy-mark {
    left: 67%;
    width: 320px;
  }

  .academy-mark__roof {
    border-right-width: 160px;
    border-bottom-width: 60px;
    border-left-width: 160px;
  }

  .year-sheet__header {
    display: block;
  }

  .year-summary {
    min-width: 0;
  }

  .question-group {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .question-group__title {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .question-group__title span {
    text-align: right;
  }

  .report-item summary {
    grid-template-columns: 56px 150px minmax(0, 1fr) auto auto;
  }
}

@media (max-width: 680px) {
  .masthead {
    min-height: 84px;
  }

  .brand {
    gap: 10px;
  }

  .brand__emblem {
    width: 44px;
    height: 44px;
  }

  .brand__emblem img {
    width: 100%;
    height: 100%;
    transform: scale(2.2) translateY(-12%);
  }

  .brand__copy strong {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .brand__copy small {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .archive-hero {
    min-height: 650px;
  }

  .archive-hero__inner {
    min-height: 560px;
    padding-top: 42px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  .hero-eyebrow::before {
    width: 6px;
    height: 6px;
    margin-right: 10px;
  }

  .hero-eyebrow::after {
    width: 72px;
    margin-left: 10px;
  }

  .archive-hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 13.4vw, 62px);
    white-space: nowrap;
  }

  .hero-year-lockup {
    min-height: 56px;
    margin-top: 24px;
    padding: 0 12px;
    gap: 10px;
  }

  .hero-year-lockup::before,
  .hero-year-lockup::after {
    font-size: 17px;
  }

  .hero-year-lockup span {
    font-size: 30px;
  }

  .hero-year-lockup b {
    font-size: 19px;
  }

  .hero-lead {
    max-width: 255px;
    margin-top: 19px;
    padding-right: 0;
    font-size: 12px;
    line-height: 1.75;
  }

  .hero-portrait {
    right: -18px;
    bottom: 45px;
    width: 220px;
  }

  .hero-portrait__crop {
    inset: 15px;
    box-shadow:
      0 0 0 5px var(--navy-900),
      0 0 0 6px rgb(221 193 127 / 52%),
      0 18px 40px rgb(0 0 0 / 26%);
  }

  .archive-seal {
    right: 2px;
    bottom: -2px;
    width: 72px;
    height: 72px;
    padding: 12px 5px;
    border-width: 1px;
  }

  .archive-seal span,
  .archive-seal small {
    font-size: 7px;
  }

  .archive-seal strong {
    font-size: 15px;
  }

  .hero-year-watermark {
    right: -5px;
    bottom: 88px;
    font-size: 126px;
  }

  .academy-mark {
    top: 225px;
    left: 76%;
    width: 220px;
    height: 160px;
  }

  .academy-mark__roof {
    border-right-width: 110px;
    border-bottom-width: 42px;
    border-left-width: 110px;
  }

  .academy-mark__body {
    height: 105px;
    padding: 11px 25px 0;
    border-top-width: 8px;
    border-bottom-width: 10px;
  }

  .academy-mark__body i {
    width: 14px;
    height: 74px;
  }

  .retention-note {
    right: auto;
    bottom: 18px;
    left: 19px;
    font-size: 8px;
  }

  .archive-stage {
    padding: 0 10px 58px;
    background: linear-gradient(to bottom, var(--navy-950) 0 96px, #0c1d31 96px 100%);
  }

  .workspace {
    margin-top: -42px;
  }

  .year-tabs {
    width: calc(100% - 18px);
    margin-left: 9px;
    padding-right: 18px;
    scroll-padding-inline: 8px;
  }

  .year-tab {
    flex-basis: 104px;
    min-height: 50px;
    padding: 15px 8px 11px;
    border-radius: 5px 5px 0 0;
    font-size: 12px;
  }

  .year-tab[aria-selected="true"] {
    min-height: 56px;
    padding-top: 17px;
    font-size: 15px;
  }

  .archive-paper::before {
    right: 7px;
    left: 7px;
  }

  .archive-paper::after {
    right: 15px;
    left: 15px;
  }

  .archive-paper__edge {
    right: 14px;
    left: 14px;
  }

  .year-sheet {
    padding: 32px 15px 34px;
  }

  .year-heading h2,
  .reports__header h2 {
    font-size: 30px;
  }

  .year-heading > p:last-child,
  .reports__header > div > p:last-child {
    font-size: 12px;
  }

  .year-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    margin-top: 22px;
    padding: 12px;
    gap: 12px;
  }

  .year-summary__progress-head {
    gap: 8px;
  }

  .year-summary__progress-head strong {
    font-size: 22px;
  }

  .year-summary dl {
    gap: 0;
  }

  .year-summary dl div {
    min-width: 58px;
    padding: 2px 8px;
  }

  .year-summary dd {
    font-size: 20px;
  }

  .year-summary .archive-link {
    grid-column: 1 / -1;
  }

  .question-groups {
    margin-top: 30px;
    gap: 28px;
  }

  .question-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .question-button {
    min-height: 63px;
    padding: 9px 4px 7px;
  }

  .question-button__number {
    font-size: 18px;
  }

  .question-button__state {
    font-size: 8px;
  }

  .question-button__icon {
    right: 4px;
    bottom: 4px;
    width: 19px;
    height: 19px;
    font-size: 9px;
  }

  .question-button__icon svg {
    width: 11px;
    height: 11px;
  }

  .legend {
    justify-content: flex-start;
    gap: 16px;
  }

  .reports {
    margin: 0 15px;
    padding: 40px 0 46px;
  }

  .reports__header {
    display: grid;
    align-items: start;
  }

  .reports__header .archive-button {
    justify-self: start;
  }

  .empty-state {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 150px;
    padding: 22px 12px;
    gap: 14px;
  }

  .empty-state__seal {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .empty-state h3 {
    font-size: 20px;
  }

  .report-item summary {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 92px;
    padding: 14px 10px;
    gap: 10px;
  }

  .report-item__number {
    font-size: 24px;
  }

  .report-item__type {
    display: none;
  }

  .cause-tag {
    grid-column: 2;
    width: fit-content;
  }

  .report-chevron {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .report-body {
    grid-template-columns: 1fr;
    padding: 0 10px 20px;
  }

  .report-block {
    min-height: 0;
    padding: 19px;
    border-right: 1px solid var(--line);
    border-bottom: 0 !important;
  }

  .report-block:last-of-type {
    border-bottom: 1px solid var(--line) !important;
  }

  .report-source {
    padding: 0 3px;
  }

  .record-dialog {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: auto 0 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 10px 10px 0 0;
  }

  .dialog-header {
    padding: 22px 16px;
  }

  .dialog-header h2 {
    font-size: 27px;
  }

  .question-meta {
    margin: 0 16px;
  }

  .answer-fieldset,
  .cause-fieldset {
    margin-right: 16px;
    margin-left: 16px;
  }

  .result-options {
    grid-template-columns: 1fr;
  }

  .result-option {
    min-height: 78px;
  }

  .cause-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-error {
    margin-right: 16px;
    margin-left: 16px;
  }

  .dialog-actions {
    grid-template-columns: 1fr 1fr;
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .dialog-actions .danger-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .dialog-actions > span {
    display: none;
  }

  .dialog-actions .archive-button,
  .dialog-actions .primary-button {
    width: 100%;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }

  .site-footer {
    display: grid;
    width: calc(100% - 36px);
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .archive-hero h1 {
    font-size: 45px;
  }

  .hero-portrait {
    right: -30px;
    width: 202px;
  }

  .hero-lead {
    max-width: 225px;
  }

  .question-grid {
    gap: 5px;
  }

  .question-button {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  html,
  body {
    background: #fff;
  }

  .page-grain,
  .archive-hero,
  .year-tabs,
  .record-progress,
  .legend,
  .reports__header .archive-button,
  .site-footer,
  .toast {
    display: none !important;
  }

  .archive-stage {
    padding: 0;
    background: #fff;
  }

  .workspace {
    width: 100%;
    margin: 0;
  }

  .archive-paper {
    border: 0;
    box-shadow: none;
  }

  .archive-paper::before,
  .archive-paper::after,
  .archive-paper__edge {
    display: none;
  }

  .report-item details {
    break-inside: avoid;
  }

  .report-item details > * {
    display: block;
  }
}

/* C 版：索引档案卡。放在响应式规则之后，确保旧卡片样式不会覆盖新结构。 */
@media screen {
  .report-list {
    gap: 14px;
  }

  .report-item,
  .report-item[data-cause] {
    --cause: var(--oxblood);
  }

  .report-item {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--gold) 58%, var(--line));
    border-top: 1px solid color-mix(in srgb, var(--gold) 58%, var(--line));
    border-radius: 8px;
    background:
      linear-gradient(90deg, rgb(255 255 255 / 44%), transparent 34%),
      rgb(255 253 247 / 88%);
    box-shadow:
      0 18px 34px rgb(16 28 47 / 8%),
      0 2px 5px rgb(67 43 15 / 5%);
  }

  .report-item summary {
    grid-template-columns: 78px minmax(190px, 0.72fr) minmax(0, 1.15fr) auto 86px;
    min-height: 104px;
    padding: 0;
    gap: 0;
    background: rgb(255 253 247 / 38%);
    touch-action: manipulation;
  }

  .report-item summary:hover {
    background: rgb(255 255 255 / 62%);
  }

  .report-item summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--gold) 74%, white);
    outline-offset: -4px;
  }

  .report-item__index {
    display: grid;
    align-self: stretch;
    place-items: center;
    color: var(--paper-light);
    background:
      linear-gradient(180deg, rgb(255 255 255 / 5%), transparent),
      var(--oxblood);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset -1px 0 rgb(86 27 24 / 28%);
  }

  .report-item__identity {
    min-width: 0;
    padding: 20px 22px;
    gap: 4px;
  }

  .report-item__identity strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.1;
  }

  .report-item__identity .report-item__eyebrow {
    color: var(--ink-soft);
    font-family: Georgia, "Times New Roman", "STSong", "Songti SC", serif;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
  }

  .report-item__topic {
    display: grid;
    min-width: 0;
    padding: 18px 26px;
    border-left: 1px solid var(--line);
    gap: 8px;
  }

  .report-item__topic strong {
    overflow: hidden;
    color: var(--ink);
    font-family: "STSong", "Songti SC", SimSun, serif;
    font-size: 18px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .report-item__topic span {
    color: var(--ink-soft);
    font-size: 12px;
  }

  .report-item .cause-tag {
    min-height: 36px;
    margin: 0 20px;
    padding: 7px 12px;
    border-color: color-mix(in srgb, var(--oxblood) 68%, white);
    color: var(--oxblood);
    background: color-mix(in srgb, var(--oxblood) 4%, white);
    font-family: "STSong", "Songti SC", SimSun, serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .report-toggle {
    display: grid;
    justify-items: center;
    padding-right: 14px;
    color: var(--gold-dark);
    gap: 4px;
  }

  .report-toggle__copy {
    font-size: 10px;
    font-weight: 700;
  }

  .report-toggle__open {
    display: none;
  }

  .report-toggle__icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--gold) 72%, white);
    border-radius: 50%;
    background: rgb(255 255 255 / 38%);
  }

  .report-chevron {
    width: 18px;
    height: 18px;
    color: var(--gold-dark);
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .report-item details[open] .report-toggle__closed {
    display: none;
  }

  .report-item details[open] .report-toggle__open {
    display: inline;
  }

  .report-body {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.94fr) minmax(245px, 0.8fr);
    padding: 0;
    border-top: 1px solid var(--line);
    background: rgb(255 255 255 / 24%);
    animation: report-reveal 220ms ease-out both;
  }

  .report-block {
    min-height: 0;
    padding: 26px 28px;
    border: 0;
    background: transparent;
  }

  .report-block--analysis,
  .report-block--trigger {
    border-right: 1px solid var(--line);
  }

  .report-utilities {
    display: grid;
    min-width: 0;
  }

  .report-utilities .report-block {
    padding: 18px 22px;
  }

  .report-utilities .report-block__label {
    margin-bottom: 12px;
  }

  .report-block--methods {
    border-bottom: 1px solid var(--line);
  }

  .report-block__label {
    display: flex;
    align-items: baseline;
    margin-bottom: 18px;
    color: var(--ink);
    font-family: "STSong", "Songti SC", SimSun, serif;
    font-size: 15px;
    letter-spacing: 0;
    gap: 10px;
  }

  .report-block__label b {
    color: var(--oxblood);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
  }

  .report-block h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.4;
  }

  .report-block p {
    color: #454b4a;
    font-size: 14px;
    line-height: 1.8;
  }

  .report-block--trigger p {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-family: "STSong", "Songti SC", SimSun, serif;
    font-size: 16px;
  }

  .report-block--trigger p::before {
    position: absolute;
    top: 0.5em;
    bottom: 0.5em;
    left: 0;
    width: 2px;
    background: color-mix(in srgb, var(--gold) 76%, white);
    content: "";
  }

  .method-list {
    gap: 8px;
  }

  .method-list li {
    padding: 7px 10px;
    border: 1px solid color-mix(in srgb, var(--gold) 48%, white);
    border-radius: 4px;
    color: var(--ink);
    background: rgb(255 255 255 / 44%);
    font-size: 12px;
    line-height: 1.3;
  }

  .report-source-line {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }

  .report-source-line svg {
    width: 21px;
    height: 21px;
    margin-top: 2px;
    color: var(--gold-dark);
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }

  .report-source-line span {
    display: grid;
    min-width: 0;
    gap: 5px;
  }

  .report-source-line strong,
  .report-source-line small {
    overflow-wrap: anywhere;
  }

  .report-source-line strong {
    color: var(--ink);
    font-size: 13px;
  }

  .report-source-line small {
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.55;
  }

  @keyframes report-reveal {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media screen and (max-width: 1000px) {
  .report-item summary {
    grid-template-columns: 66px minmax(0, 1fr) auto 78px;
    min-height: 0;
  }

  .report-item__index {
    grid-row: 1 / span 2;
    font-size: 27px;
  }

  .report-item__identity {
    padding: 18px 20px 8px;
  }

  .report-item__topic {
    grid-row: 2;
    grid-column: 2 / 5;
    padding: 7px 20px 18px;
    border-left: 0;
  }

  .report-item .cause-tag {
    grid-row: 1;
    grid-column: 3;
    margin: 0 8px;
  }

  .report-toggle {
    grid-row: 1;
    grid-column: 4;
  }

  .report-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-block--trigger {
    border-right: 0;
  }

  .report-utilities {
    grid-row: 2;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
  }

  .report-block--methods {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media screen and (max-width: 680px) {
  #toggle-reports {
    display: none !important;
  }

  .report-list {
    margin-top: 22px;
    gap: 10px;
  }

  .report-item summary {
    grid-template-columns: 52px minmax(0, 1fr) 50px;
  }

  .report-item__index {
    grid-row: 1 / span 3;
    grid-column: 1;
    font-size: 23px;
  }

  .report-item__identity {
    grid-row: 1;
    grid-column: 2;
    padding: 15px 12px 6px;
  }

  .report-item__identity strong {
    font-size: 21px;
  }

  .report-item__identity .report-item__eyebrow {
    font-size: 11px;
  }

  .report-item__topic {
    grid-row: 2;
    grid-column: 2 / 4;
    padding: 4px 12px 10px;
    gap: 4px;
  }

  .report-item__topic strong {
    font-size: 16px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .report-item__topic span {
    font-size: 11px;
  }

  .report-item .cause-tag {
    grid-row: 3;
    grid-column: 2 / 4;
    min-height: 32px;
    margin: 0 12px 13px;
    padding: 5px 9px;
    font-size: 12px;
  }

  .report-toggle {
    grid-row: 1;
    grid-column: 3;
    align-self: center;
    padding-right: 6px;
  }

  .report-toggle__copy {
    display: none;
  }

  .report-toggle__icon {
    width: 44px;
    height: 44px;
  }

  .report-body {
    grid-template-columns: 1fr;
  }

  .report-block,
  .report-block--analysis,
  .report-block--trigger {
    padding: 20px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-utilities {
    grid-row: auto;
    grid-column: auto;
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .report-utilities .report-block {
    padding: 20px 18px;
  }

  .report-block--methods {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .report-block--source {
    border-bottom: 0;
  }

  .report-block__label {
    margin-bottom: 13px;
    font-size: 16px;
  }

  .report-block p {
    font-size: 16px;
    line-height: 1.7;
  }

  .report-block h3 {
    font-size: 18px;
  }

  .report-block--trigger p {
    font-size: 16px;
  }

  .method-list li {
    font-size: 14px;
  }

  .report-source-line strong {
    font-size: 14px;
  }

  .report-source-line small {
    font-size: 12px;
  }
}

/* Preserve the pre-V3 desktop flow after adding a mobile-only grouping wrapper. */
.hero-mobile-copy {
  display: contents;
}

@media screen and (prefers-reduced-motion: reduce) {
  .report-body {
    animation: none;
  }
}

/* Final mobile composition: title stays full-width, then copy and IP share one stage. */
@media screen and (max-width: 680px) {
  .archive-hero {
    min-height: 0;
  }

  .archive-hero__inner {
    display: grid;
    grid-template-columns: minmax(142px, 0.82fr) minmax(170px, 1.18fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    align-items: start;
    column-gap: 8px;
    row-gap: 14px;
    min-height: 0;
    padding: 34px 0 48px;
  }

  .archive-hero__copy {
    display: contents;
  }

  .hero-eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .archive-hero h1 {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    font-size: clamp(45px, 12.8vw, 58px);
    letter-spacing: -0.07em;
  }

  .hero-year-lockup {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    justify-self: stretch;
    min-width: 0;
    min-height: 56px;
    margin-top: 0;
    padding: 0 4px;
    border-top-width: 1px;
    border-bottom-width: 1px;
    gap: 5px;
  }

  .hero-year-lockup::before,
  .hero-year-lockup::after {
    display: none;
  }

  .hero-year-lockup span {
    font-size: clamp(26px, 7.5vw, 31px);
    letter-spacing: 0.02em;
  }

  .hero-year-lockup b {
    font-size: clamp(15px, 4.2vw, 18px);
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .hero-lead {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    max-width: none;
    margin: 68px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.72;
  }

  .hero-portrait {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    width: min(100%, 192px);
    margin-top: 0;
  }

  .hero-portrait__crop img {
    transform: scale(1.72) translateY(-11%);
  }

  .hero-year-watermark {
    display: none;
  }

  .academy-mark {
    top: 242px;
    left: 76%;
    width: 214px;
    height: 156px;
    opacity: 0.045;
  }

  .retention-note {
    right: 18px;
    bottom: 12px;
    font-size: 8px;
  }

  .report-item summary {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "index identity cause"
      "index topic toggle";
    min-height: 116px;
    align-items: start;
  }

  .report-item__index {
    grid-area: index;
    align-self: start;
    width: 52px;
    height: 52px;
    margin-top: 14px;
    font-size: 24px;
    border-radius: 0 0 5px 0;
  }

  .report-item__identity {
    grid-area: identity;
    padding: 14px 10px 0;
    gap: 3px;
  }

  .report-item__identity .report-item__eyebrow {
    font-size: 10px;
  }

  .report-item__identity strong {
    font-size: 21px;
  }

  .report-item__topic {
    grid-area: topic;
    padding: 4px 10px 13px;
    border-left: 0;
    gap: 4px;
  }

  .report-item__topic strong {
    font-size: 16px;
  }

  .report-item__topic span {
    font-size: 11px;
  }

  .report-item .cause-tag {
    grid-area: cause;
    min-height: 32px;
    margin: 13px 10px 0 6px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .report-toggle {
    grid-area: toggle;
    align-self: end;
    padding: 0 6px 10px 0;
  }

  .report-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    background: rgb(255 255 255 / 24%);
  }

  .report-block,
  .report-block--analysis,
  .report-block--trigger,
  .report-utilities .report-block {
    min-width: 0;
    padding: 15px 14px;
    border: 1px solid color-mix(in srgb, var(--gold) 46%, var(--line));
    border-radius: 6px;
    background: rgb(255 253 247 / 72%);
  }

  .report-utilities {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .report-utilities .report-block {
    padding: 15px 14px;
  }

  .report-block__label {
    margin-bottom: 10px;
  }

  .report-block p {
    font-size: 15px;
    line-height: 1.68;
  }

  .report-block h3 {
    font-size: 17px;
  }

  .method-list li {
    font-size: 13px;
  }
}

@media screen and (max-width: 350px) {
  .archive-hero__inner {
    grid-template-columns: minmax(128px, 0.8fr) minmax(156px, 1.2fr);
    column-gap: 6px;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-portrait {
    width: min(100%, 170px);
  }

  .hero-year-lockup span {
    font-size: 24px;
  }

  .hero-year-lockup b {
    font-size: 14px;
  }

  .hero-lead {
    font-size: 11px;
  }
}

/* Report-card cleanup: remove duplicate context and give controls a clear hierarchy. */
.reports__header h2 .reports__count-badge {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  height: auto;
  margin-left: 10px;
  padding: 4px 9px 3px;
  border: 0;
  border-radius: 999px;
  color: var(--oxblood);
  background: var(--oxblood-soft);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  gap: 2px;
}

.reports__header h2 .reports__count-badge #report-count {
  display: inline;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1;
  vertical-align: baseline;
}

.reports__header h2 .reports__count-badge small {
  color: inherit;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}

.report-item__identity {
  align-content: center;
}

.report-item__identity strong {
  line-height: 1.15;
}

.report-toggle__icon {
  width: 40px;
  height: 40px;
  border-color: color-mix(in srgb, var(--gold) 62%, var(--line));
  background: color-mix(in srgb, var(--paper) 82%, white);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 54%);
}

.report-chevron {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.report-item .cause-tag {
  font-weight: 600;
}

@media screen and (max-width: 680px) {
  .reports__header h2 .reports__count-badge {
    margin-left: 7px;
    padding: 4px 8px 3px;
    font-size: 11px;
  }

  .reports__header h2 .reports__count-badge #report-count {
    font-size: 13px;
  }

  .report-item__identity {
    padding-top: 15px;
  }

  .report-toggle__icon {
    width: 40px;
    height: 40px;
  }
}

/* Typography pass: one readable sans, one editorial Chinese serif, one numeric face. */
:root {
  --font-sans:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC",
    sans-serif;
  --font-serif:
    "Noto Serif SC", "Source Han Serif SC", "STSong", "Songti SC", "SimSun",
    serif;
  --font-mono:
    "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-synthesis: weight style;
}

body,
button,
input {
  font-family: var(--font-sans);
}

.brand__copy strong,
.hero-eyebrow,
.archive-hero h1,
.hero-year-lockup b,
.archive-seal span,
.archive-seal small,
.report-item__identity strong,
.report-item__topic strong,
.report-block__label,
.report-block h3 {
  font-family: var(--font-serif);
}

.brand__copy strong {
  letter-spacing: 0.05em;
}

.brand__copy small,
.archive-code span,
.archive-label,
.reports__header > p,
.retention-note {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.hero-eyebrow {
  letter-spacing: 0.12em;
}

.archive-hero h1 {
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero-year-lockup span,
.hero-year-watermark,
.archive-seal strong,
.report-item__index,
.report-block__label b {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-year-lockup span {
  letter-spacing: 0.04em;
}

.hero-year-lockup b {
  letter-spacing: 0.04em;
}

.hero-lead {
  line-height: 1.7;
}

.report-item__identity .report-item__eyebrow,
.report-item__topic span,
.report-item__type,
.cause-tag {
  letter-spacing: 0.01em;
}

.report-block__label {
  letter-spacing: 0;
}

.report-block p {
  line-height: 1.68;
}

@media screen and (max-width: 680px) {
  .brand__copy strong {
    letter-spacing: 0.03em;
  }

  .brand__copy small {
    letter-spacing: 0.07em;
  }

  .hero-eyebrow {
    letter-spacing: 0.09em;
  }

  .archive-hero h1 {
    letter-spacing: -0.01em;
  }

  .hero-year-lockup b {
    letter-spacing: 0.02em;
  }

  .hero-lead {
    line-height: 1.68;
  }

  .report-block__label {
    letter-spacing: 0;
  }
}
