:root {
  --bg: #f5faf8;
  --bg-2: #eef7f4;
  --surface: rgba(255, 255, 255, .86);
  --surface-2: rgba(255, 255, 255, .94);
  --surface-3: rgba(235, 247, 243, .78);
  --line: #d5e7e1;
  --line-strong: rgba(45, 139, 120, .34);
  --text: #203b35;
  --soft: #435d56;
  --muted: #657a74;
  --faint: #8aa19a;
  --cyan: #2d8b78;
  --green: #3aa58f;
  --violet: #5b8d83;
  --amber: #d49345;
  --ink: #f5faf8;
  --radius: 12px;
  --max: 1440px;
  --shadow: 0 18px 54px rgba(36, 75, 66, .10);
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Readex Pro", "Noto Sans SC", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 10% -6%, rgba(116, 207, 193, .30), transparent 30%),
    radial-gradient(circle at 92% 0%, rgba(212, 147, 69, .15), transparent 28%),
    linear-gradient(180deg, #fbfefd 0%, var(--bg) 42%, #eef7f4 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(32, 59, 53, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 59, 53, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 68%, transparent 100%);
}

.top-rule {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 4px;
  background: linear-gradient(90deg, #74cfc1, var(--cyan) 42%, #5b8d83 72%, var(--amber));
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.product-shell {
  width: min(var(--max), calc(100vw - 56px));
  margin: 0 auto;
  padding: 24px 0 68px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 230px minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 42px rgba(34, 78, 68, .10);
  backdrop-filter: blur(20px);
}

.brand-lockup,
.top-actions,
.live-status,
.refresh-button,
.global-search {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  gap: 11px;
  padding: 0 8px;
  color: var(--soft);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(45, 139, 120, .45);
}

.search-shell {
  position: relative;
  min-width: 0;
}

.global-search {
  width: 100%;
  gap: 10px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(245, 250, 248, .82);
  color: var(--muted);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.global-search:focus-within {
  border-color: color-mix(in srgb, var(--cyan) 44%, var(--line));
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(45, 139, 120, .12);
}

.global-search svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.global-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
}

.global-search input::placeholder {
  color: var(--faint);
}

.search-clear {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--cyan);
  font-size: 11px;
  font-weight: 760;
}

.search-popover {
  position: absolute;
  inset: calc(100% + 10px) 0 auto;
  z-index: 30;
  max-height: 430px;
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--cyan) 26%, var(--line));
  border-radius: 16px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 58px rgba(36, 75, 66, .16);
  backdrop-filter: blur(20px);
}

.search-summary,
.search-empty {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.search-summary b,
.search-empty b {
  color: var(--text);
}

.search-result {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(120px, .8fr) minmax(130px, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px;
  color: var(--soft);
  background: transparent;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  outline: 0;
  background: rgba(235, 247, 243, .92);
}

.search-result span,
.search-result em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result b {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-actions {
  gap: 10px;
  justify-content: end;
}

.language-toggle {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  width: 116px;
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--cyan) 20%, var(--line));
  border-radius: 999px;
  padding: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(238,247,244,.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 24px rgba(36, 75, 66, .08);
}

.language-toggle::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 8px 18px rgba(45, 139, 120, .22);
  transition: transform .22s ease;
}

html[lang="en"] .language-toggle::before {
  transform: translateX(calc(100% + 4px));
}

.language-toggle button {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  transition: color .18s ease;
}

.language-toggle button[aria-pressed="true"] {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

.live-status {
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--soft);
  background: rgba(245, 250, 248, .78);
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}

.live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(58, 165, 143, .58);
}

.refresh-button {
  gap: 8px;
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--cyan) 38%, var(--line));
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  background: var(--cyan);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.refresh-button:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
  background: #257c6b;
}

.refresh-button svg {
  width: 15px;
  height: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: end;
  min-height: 350px;
  padding: 68px 0 38px;
  border-bottom: 1px solid var(--line);
}

.section-label {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 820;
  letter-spacing: 0;
}

.hero h1 {
  margin: 18px 0 0;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: 82px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 800px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.75;
  text-wrap: balance;
  word-break: keep-all;
}

.source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.source-row span,
.legend-row span,
.entry-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--soft);
  background: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1;
  font-weight: 720;
}

.hero-signal {
  display: grid;
  gap: 18px;
}

.signal-fan {
  height: 148px;
}

.signal-fan svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 16px 28px rgba(45, 139, 120, .16));
}

.snapshot-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 18px;
  gap: 16px;
}

.snapshot-lines span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.snapshot-lines b {
  display: block;
  margin-top: 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.briefing {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr) minmax(250px, .65fr);
  gap: 12px;
  margin-top: 22px;
}

.lead-brief,
.brief-note,
.today-pick,
.metric-tile,
.rank-entry,
.method-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent, var(--cyan)) 8%, transparent), transparent 62%),
    var(--surface);
}

.lead-brief {
  min-height: 214px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.lead-brief > span,
.today-pick > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
}

.lead-brief h2 {
  margin: 15px 0 0;
  max-width: 680px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead-brief p {
  margin: 14px 0 0;
  max-width: 780px;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.75;
}

.brief-column {
  display: grid;
  gap: 12px;
}

.brief-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  min-height: 101px;
  padding: 16px;
}

.brief-note > span {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.brief-note b {
  display: block;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.brief-note p,
.today-pick p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.65;
}

.today-pick {
  min-height: 214px;
  padding: 20px;
}

.pick-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #74cfc1);
}

.pick-icon svg {
  width: 26px;
  height: 26px;
}

.today-pick b {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.metric-tile {
  min-height: 86px;
  border: 0;
  border-radius: 0;
  padding: 18px;
}

.metric-tile::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 13px;
  background: var(--accent);
}

.metric-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.metric-tile b {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.side-sticky {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.sidebar-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0;
}

.sidebar-title svg {
  width: 15px;
  height: 15px;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 38px;
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--soft);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 730;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.side-nav a:hover {
  color: var(--text);
  background: rgba(45, 139, 120, .08);
  transform: translateX(2px);
}

.side-nav span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
}

.side-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.side-note b {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.side-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.content-flow {
  min-width: 0;
}

.result-line {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  background: rgba(255,255,255,.66);
  font-size: 12px;
  font-weight: 730;
}

.result-line span {
  color: var(--cyan);
  margin-right: 4px;
}

.result-line b {
  color: var(--muted);
  font-size: inherit;
  font-weight: inherit;
}

.empty-search {
  margin-top: 18px;
  border: 1px dashed color-mix(in srgb, var(--cyan) 34%, var(--line));
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, .72);
}

.empty-search b {
  display: block;
  color: var(--text);
  font-size: 17px;
}

.empty-search p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.rank-section,
.methodology {
  margin-top: 42px;
  scroll-margin-top: 86px;
}

.rank-section[hidden] {
  display: none;
}

.section-head {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.section-head span {
  color: var(--accent, var(--cyan));
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
}

.section-head h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
  white-space: nowrap;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: balance;
  word-break: keep-all;
}

.annual-list,
.collection-list {
  display: grid;
  gap: 10px;
}

.rank-entry {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rank-entry::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}

.rank-entry:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 11%, transparent), transparent 62%),
    #ffffff;
  box-shadow: 0 16px 42px rgba(36, 75, 66, .12);
  transform: translateY(-1px);
}

.rank-entry:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.rank-entry.is-search-hit {
  border-color: color-mix(in srgb, var(--cyan) 44%, var(--line));
  background:
    linear-gradient(145deg, rgba(116, 207, 193, .16), transparent 66%),
    #ffffff;
}

.rank-entry.is-search-focus {
  box-shadow: 0 0 0 3px rgba(45, 139, 120, .16), 0 18px 48px rgba(36, 75, 66, .14);
}

.annual-entry {
  display: grid;
  grid-template-columns: 48px minmax(260px, .9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.entry-rank {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
}

.entry-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.entry-title h3,
.lead-copy h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: 0;
}

.entry-title p,
.lead-copy > p:first-of-type {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.entry-title strong {
  justify-self: end;
  max-width: 150px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.entry-tags span {
  min-height: 24px;
  padding: 6px 8px;
  color: #fff;
  background: color-mix(in srgb, var(--accent) 86%, #203b35);
  font-size: 11px;
}

.entry-explain {
  display: grid;
  gap: 8px;
  --label-col: 78px;
}

.entry-explain p,
.lead-reason,
.lead-description {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.68;
}

.entry-explain b,
.lead-reason b,
.lead-description b {
  display: block;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
}

.entry-explain p span,
.lead-reason span,
.lead-description span {
  display: block;
  min-width: 0;
}

.open-link {
  justify-self: start;
  margin-top: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

html[lang="en"] .hero h1 {
  max-width: 960px;
  font-size: 64px;
  line-height: 1.04;
}

html[lang="en"] .hero-lede {
  max-width: 920px;
  font-size: 16px;
  line-height: 1.72;
}

html[lang="en"] .lead-brief h2 {
  font-size: 29px;
  line-height: 1.2;
}

html[lang="en"] .section-head h2 {
  font-size: 29px;
  line-height: 1.2;
}

html[lang="en"] .section-head p {
  max-width: 720px;
  font-size: 13px;
  line-height: 1.68;
}

html[lang="en"] .annual-entry {
  grid-template-columns: 54px minmax(300px, .86fr) minmax(520px, 1.25fr);
  gap: 22px;
}

html[lang="en"] .entry-title {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

html[lang="en"] .entry-title h3,
html[lang="en"] .lead-copy h3 {
  font-size: 18px;
  line-height: 1.24;
}

html[lang="en"] .entry-title strong {
  justify-self: start;
  max-width: none;
  color: var(--soft);
  font-size: 12.5px;
  text-align: left;
}

html[lang="en"] .entry-tags span {
  min-height: 22px;
  padding: 5px 8px;
  font-size: 10.5px;
}

html[lang="en"] .entry-explain,
html[lang="en"] .lead-copy {
  --label-col: 112px;
}

html[lang="en"] .entry-explain p,
html[lang="en"] .lead-reason,
html[lang="en"] .lead-description {
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.72;
}

html[lang="en"] .entry-explain b,
html[lang="en"] .lead-reason b,
html[lang="en"] .lead-description b {
  font-size: 12.5px;
}

.collection-lead {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: center;
  min-height: 212px;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
    #ffffff;
}

.lead-badge {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 160px;
  border-right: 1px solid var(--line);
}

.lead-badge div {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #74cfc1);
}

.lead-badge svg {
  width: 27px;
  height: 27px;
}

.lead-badge b {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.lead-badge span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0;
}

.lead-copy {
  min-width: 0;
}

.lead-reason {
  margin-top: 14px;
}

.lead-description {
  margin-top: 8px;
}

.proof-list {
  display: grid;
  gap: 8px;
}

.proof-list div {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(245, 250, 248, .82);
}

.proof-list span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 760;
}

.proof-list b {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.25;
}

.compact-entry {
  display: grid;
  grid-template-columns: 48px minmax(260px, .92fr) minmax(330px, 1fr);
  gap: 18px;
  align-items: start;
}

.rank-entry[hidden] {
  display: none;
}

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

.method-card {
  padding: 18px;
}

.method-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.method-title div {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(245, 250, 248, .84);
  grid-row: span 2;
}

.method-title svg {
  width: 22px;
  height: 22px;
}

.method-title span {
  color: var(--text);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.2;
}

.method-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.weight {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 36px;
  gap: 9px;
  align-items: center;
  color: var(--soft);
  font-size: 11px;
  font-weight: 740;
}

.weight + .weight {
  margin-top: 8px;
}

.weight div {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6f2ee;
}

.weight i {
  display: block;
  width: calc(var(--w) * 1%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.legend-row span {
  font-size: 12px;
}

.footer-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.loading-shell,
.error-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  color: var(--soft);
  text-align: center;
}

.loading-shell span {
  width: 42px;
  height: 42px;
  border: 2px solid #dcebe7;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-shell p,
.error-shell p {
  margin: 16px 0 0;
}

.error-shell {
  align-content: center;
}

.error-shell b {
  display: block;
  color: var(--text);
  font-size: 24px;
  margin-bottom: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .product-shell {
    width: min(100vw - 36px, var(--max));
  }

  .topbar {
    grid-template-columns: 1fr;
  }

  .hero,
  .briefing,
  .workspace,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-signal {
    max-width: 520px;
  }

  .side-sticky {
    position: static;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .72);
    scrollbar-width: none;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .side-nav a {
    grid-template-columns: auto auto;
    flex: 0 0 auto;
  }

  .side-note,
  .sidebar-title {
    display: none;
  }

  .annual-entry,
  .compact-entry {
    grid-template-columns: 48px minmax(260px, .8fr) minmax(280px, 1fr);
  }

  .collection-lead {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .proof-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .product-shell {
    width: min(100vw - 26px, var(--max));
    padding-top: 18px;
  }

  .search-popover {
    max-height: 360px;
  }

  .search-summary,
  .search-empty,
  .search-result {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 4px;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero {
    min-height: 0;
    padding-top: 38px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-lede {
    font-size: 16px;
  }

  .metrics-strip,
  .annual-entry,
  .compact-entry,
  .collection-lead,
  .method-grid,
  .snapshot-lines {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .lead-brief h2 {
    font-size: 28px;
  }

  .section-head {
    gap: 10px;
  }

  .section-head h2 {
    white-space: normal;
  }

  .hero-lede,
  .section-head p {
    word-break: normal;
  }

  .entry-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .entry-explain p,
  .lead-reason,
  .lead-description {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  html[lang="en"] .hero h1 {
    font-size: 42px;
  }

  html[lang="en"] .section-head h2,
  html[lang="en"] .lead-brief h2 {
    font-size: 25px;
  }

  html[lang="en"] .entry-title h3,
  html[lang="en"] .lead-copy h3 {
    font-size: 17px;
  }

  .entry-title strong {
    justify-self: start;
    max-width: none;
    text-align: left;
  }

  .lead-badge {
    grid-template-columns: 54px auto auto;
    justify-content: start;
    gap: 12px;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }

  .lead-badge b,
  .lead-badge span {
    margin: 0;
    align-self: center;
  }

  .proof-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
