@font-face {
  font-family: Lexend;
  src: url("assets/Lexend.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --forest: #1a3c34;
  --deep: #112822;
  --mint: #bddfc5;
  --pale: #e3f1e7;
  --orange: #ff7f40;
  --ink: #223e35;
  --muted: #60736b;
  --line: #dce6df;
  --surface: #f7f8f5;
  --paper: #fff;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Lexend, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 500;
}
h1 {
  font-size: clamp(36px, 4.5vw, 62px);
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 21px;
}
small {
  font-size: 11px;
}
img {
  max-width: 100%;
}
svg {
  display: block;
}
strong {
  font-weight: 650;
}
code,
pre,
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.65;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: var(--orange);
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px max(28px, calc((100vw - 1500px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand img {
  width: 145px;
  height: auto;
}
.brand-divider {
  height: 23px;
  width: 1px;
  background: var(--line);
}
nav {
  display: flex;
  align-items: center;
  gap: 23px;
  flex: 1;
  justify-content: center;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}
nav a[aria-current="page"] {
  color: var(--forest);
  border-color: var(--forest);
}
.private-badge {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 30px;
  white-space: nowrap;
  padding: 6px 12px;
  background: #f5f8f4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.private-badge span {
  color: #448951;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 0 38px;
  min-height: 70vh;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.stats-strip {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 24px 8px 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.stat strong {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.06em;
}
.stat span {
  color: var(--muted);
  font-size: 12px;
}
.snapshot {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.snapshot strong {
  color: var(--forest);
  font-weight: 500;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 20px;
}
.section-head p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 13px;
  max-width: 800px;
}
.section-head .eyebrow {
  margin-bottom: 11px;
}
.head-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  color: var(--forest);
  padding: 10px 17px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}
.btn:hover {
  background: var(--pale);
  border-color: #a3c8ad;
}
.btn.primary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn.orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--deep);
}
.btn.small {
  padding: 6px 11px;
  font-size: 11px;
}
.btn.flat {
  background: transparent;
}
.btn.selected {
  background: var(--pale);
  border-color: #87b794;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 30px;
  background: var(--pale);
  display: inline-block;
  white-space: nowrap;
}
.pill.warn {
  color: #84531c;
  background: #fff0d9;
}
.pill.gray {
  color: var(--muted);
  background: #f0f2ef;
}
.pill.white {
  background: white;
}
.label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  background: #e8ede7;
  padding: 4px;
  border-radius: 30px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: none;
  padding: 8px 18px;
  border-radius: 24px;
  color: var(--muted);
  font-size: 12px;
}
.segmented button[aria-pressed="true"] {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 2px 5px #17382512;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 15px;
  color: var(--ink);
  width: 220px;
  font-size: 12px;
}
.select {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 9px 30px 9px 13px;
  border-radius: 10px;
  max-width: 100%;
  font-size: 12px;
}
.category-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.category-tabs button {
  border: 1px solid transparent;
  border-radius: 30px;
  background: transparent;
  padding: 7px 12px;
  font-size: 11px;
  color: var(--muted);
}
.category-tabs button:hover {
  background: #eaf0e8;
}
.category-tabs button[aria-pressed="true"] {
  background: var(--forest);
  color: white;
}
.category-tabs small {
  opacity: 0.65;
  margin-left: 5px;
}
.model-filter {
  position: relative;
}
.model-filter summary {
  list-style: none;
}
.model-options {
  position: absolute;
  z-index: 8;
  top: 46px;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px #123e3420;
  border-radius: 12px;
  padding: 14px;
  width: 300px;
  max-height: 420px;
  overflow: auto;
}
.model-options label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 7px 4px;
  font-size: 12px;
}
.model-options input {
  accent-color: var(--forest);
}
.table-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
  max-height: 760px;
}
.score-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
}
.score-table th,
.score-table td {
  border-bottom: 1px solid #e8ede7;
  padding: 0;
  min-width: 124px;
  text-align: center;
  vertical-align: middle;
}
.score-table thead th {
  background: #f7faf6;
  position: sticky;
  top: 0;
  z-index: 3;
  height: 105px;
  font-weight: 500;
  border-bottom: 1px solid #cbdccf;
}
.score-table th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 2;
  min-width: 245px;
  max-width: 245px;
  text-align: left;
  padding: 12px 20px;
  border-right: 1px solid #e3eae2;
}
.score-table thead th:first-child {
  z-index: 4;
  background: #f7faf6;
}
.score-table tr:last-child td,
.score-table tr:last-child th {
  border-bottom: 0;
}
.model-header {
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  color: var(--ink);
  width: 100%;
  height: 100%;
  font-size: 11px;
}
.model-header:hover {
  background: #e8f2e9;
}
.model-symbol {
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--model-color, var(--forest));
  color: #fff;
  flex-shrink: 0;
}
.model-header small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
}
.model-header .mode-label {
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.task-name {
  font-weight: 500;
  line-height: 1.35;
  font-size: 12px;
  display: block;
}
.task-meta {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 5px;
  font-weight: 400;
}
.score-cell {
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.score-cell:hover {
  background: #eaf3e8;
}
.score-cell.best {
  font-weight: 700;
}
.score-cell.best::after {
  content: "";
  height: 3px;
  width: 18px;
  border-radius: 3px;
  background: #8fc49c;
  display: block;
  margin: 3px auto 0;
}
.score-cell .caution {
  font-size: 9px;
  color: #97662f;
  margin-left: 3px;
  vertical-align: super;
}
.score-cell.review {
  color: #9c6d32;
}
.score-cell .cell-mode {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.missing {
  color: #a3ada6;
  font-size: 13px;
}
.score-cell .result-status-tag {
  display: block;
  width: fit-content;
  max-width: 160px;
  margin: 4px auto;
  padding: 5px 8px;
  border: 1px solid #d5ded8;
  border-radius: 6px;
  color: #4d6258;
  background: #f0f4f0;
  font-size: 10px;
  line-height: 1.4;
  white-space: normal;
}
.table-caption {
  padding: 14px 18px;
  background: #fbfcf9;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.table-caption strong {
  color: var(--forest);
}
.helper-note {
  font-size: 11px;
  color: var(--muted);
  padding: 15px 0;
  max-width: 1050px;
}
.empty {
  padding: 35px 22px;
  text-align: center;
  color: var(--muted);
}
.below-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.panel .panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.panel h3 {
  font-size: 19px;
}
.panel p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 25px;
  margin-top: 25px;
}
.coverage-item {
  font-size: 11px;
}
.coverage-item > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.track {
  height: 4px;
  border-radius: 4px;
  background: #e8eee5;
  margin-top: 8px;
  overflow: hidden;
}
.track i {
  display: block;
  height: 100%;
  background: #9dc6a4;
  border-radius: 4px;
}
.protocol-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.protocol-list li {
  display: flex;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.protocol-list li:last-child {
  border: 0;
}
.step-number {
  border: 1px solid #bad0bc;
  border-radius: 50%;
  height: 25px;
  width: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}
.protocol-list p {
  margin: 3px 0 0;
  font-size: 11px;
}
.protocol-list strong {
  font-size: 12px;
  font-weight: 500;
}
.page-intro {
  padding: 43px 0 28px;
}
.page-intro h1 {
  font-size: 43px;
  margin: 13px 0;
}
.page-intro > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
}
.pair-controls {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 20px;
  align-items: center;
  margin: 0 0 22px;
}
.model-select-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.model-select-card .select {
  width: 100%;
  margin: 8px 0 0;
  font-size: 14px;
}
.versus {
  font-size: 13px;
  text-align: center;
  color: var(--muted);
}
.compare-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.compare-stat {
  padding: 21px;
  background: white;
}
.compare-stat strong {
  font-size: 28px;
  display: block;
  line-height: 1.2;
}
.compare-stat p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.comparison-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.comparison-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 80px minmax(130px, 1fr) 80px 135px;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
}
.comparison-row:last-child {
  border: 0;
}
.comparison-row button {
  font-size: 15px;
  border: 0;
  background: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  padding: 10px;
}
.comparison-row button:hover {
  background: var(--pale);
  border-radius: 10px;
}
.comparison-row .bar-track {
  height: 6px;
  background: #edf1eb;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.bar-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--forest);
  border-radius: 5px;
}
.bar-track b {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: var(--orange);
  border-radius: 5px;
}
.delta {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.delta.good {
  color: var(--forest);
}
.delta.bad {
  color: #9d5c34;
}
.comparison-row .mini-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.scatter-panel {
  margin-top: 24px;
}
.scatter-legend { display:flex; flex-wrap:wrap; gap:12px 22px; margin:4px 0 22px; font-size:12px; }
.scatter-legend span { display:flex; align-items:center; gap:7px; }
.scatter-legend i { width:10px; height:10px; border-radius:50%; }
.scatter-charts { display:grid; grid-template-columns:repeat(var(--plot-columns),minmax(0,1fr)); gap:20px; }
.scatter-card { min-width:0; border:1px solid var(--line); border-radius:14px; background:#fbfdfb; }
.scatter-card-head { display:flex; align-items:center; justify-content:space-between; padding:16px 20px 0; }
.scatter-card-head h4 { font-size:15px; margin:0; }
.scatter-card-head span { color:var(--muted); font-size:12px; }
.scatter { width:100%; height:auto; display:block; }
.scatter text { font-family:Lexend,system-ui,sans-serif; fill:var(--muted); font-size:11px; }
.scatter .plot-axis-title { font-size:11px; font-weight:500; }
.plot-grid { stroke:#dce7df; stroke-width:1; }
.plot-grid.vertical { stroke-dasharray:3 5; opacity:.6; }
.plot-leader { stroke:#738b80; stroke-width:1; }
.plot-point { cursor:pointer; outline:none; }
.plot-bubble { stroke:#fff; stroke-width:2; transition:stroke .15s,stroke-width .15s; }
.plot-point:hover .plot-bubble, .plot-point:focus-visible .plot-bubble { stroke:#1b3e32; stroke-width:3; }
.scatter .plot-point text { fill:#fff; pointer-events:none; }
.scatter .plot-model { font-size:9px; font-weight:500; }
.scatter .plot-score { font-size:11px; font-weight:700; }
.scatter-caption { font-size:11px; line-height:1.6; color:var(--muted); margin-bottom:0; }
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}
.model-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.model-card.featured {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.model-card.featured .muted,
.model-card.featured p {
  color: #c8ddcd;
}
.model-card.featured .pill {
  color: var(--forest);
}
.model-card.featured .btn {
  background: var(--mint);
}
.model-card .model-symbol {
  width: 39px;
  height: 39px;
  font-size: 14px;
}
.model-card header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.model-card h3 {
  font-size: 19px;
}
.model-card p {
  font-size: 12px;
  color: var(--muted);
}
.model-card .model-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  border-top: 1px solid #dce6df66;
  padding-top: 15px;
}
.model-facts span {
  font-size: 10px;
  opacity: 0.7;
  display: block;
}
.model-facts strong {
  font-size: 12px;
  font-weight: 500;
}
.model-card footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.model-card footer a {
  font-size: 11px;
}
.method-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.method-nav {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
  position: sticky;
  top: 25px;
}
.method-nav a {
  color: var(--muted);
  text-decoration: none;
}
.method-content {
  max-width: 900px;
}
.method-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.method-block h2 {
  font-size: 25px;
  margin-bottom: 15px;
}
.method-block p,
.method-block li {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.method-block ul {
  padding-left: 20px;
}
.method-block pre {
  background: white;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 10px;
}
.benchmark-catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benchmark-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  background: white;
}
.benchmark-card h3 {
  font-size: 15px;
}
.benchmark-card p {
  font-size: 11px;
}
.benchmark-card a {
  font-size: 11px;
}
.source-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.source-row small {
  display: block;
  color: var(--muted);
}
.callout {
  border-left: 3px solid var(--orange);
  background: #fff8ed;
  padding: 17px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 12px;
  color: #73582e;
  margin: 18px 0;
}
.callout.green {
  background: var(--pale);
  border-color: #76a981;
  color: var(--forest);
}
.cases-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
.dropzone {
  border: 1px dashed #9abda0;
  border-radius: 14px;
  background: #edf4eb;
  padding: 30px;
  text-align: center;
}
.dropzone h3 {
  margin: 10px 0;
  font-size: 20px;
}
.dropzone p {
  font-size: 12px;
  color: var(--muted);
  margin: 9px auto 20px;
  max-width: 360px;
}
.dropzone input {
  max-width: 100%;
  font-size: 11px;
}
.case-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.case-context {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 25px;
  margin: 20px 0;
}
.case-context .eyebrow {
  margin-bottom: 12px;
}
.case-context h3 {
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}
.case-context details {
  margin-top: 15px;
}
.case-context summary {
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}
.case-context pre {
  max-height: 300px;
  overflow: auto;
  padding: 15px;
  background: #f5f7f2;
  margin-top: 12px;
}
.response-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.response-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.response-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #edf4eb;
  padding: 18px 22px;
}
.response-card header h3 {
  font-size: 17px;
}
.response-card .answer {
  padding: 25px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 600px;
  overflow: auto;
  min-height: 220px;
  font-size: 13px;
}
.response-card details {
  padding: 15px 25px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.response-card summary {
  cursor: pointer;
}
.response-card pre {
  margin: 13px 0 0;
  max-height: 350px;
  overflow: auto;
}
.vote-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 23px 0;
}
.vote-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.case-progress {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.error-message {
  color: #a43f36;
  background: #fff0ed;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
  white-space: pre-wrap;
}
.detail-dialog {
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  padding: 36px;
  max-width: min(850px, calc(100vw - 32px));
  width: 850px;
  max-height: 90vh;
  box-shadow: 0 30px 100px #12342840;
}
.detail-dialog::backdrop {
  background: #092c2580;
  backdrop-filter: blur(4px);
}
.close-dialog {
  position: absolute;
  right: 20px;
  top: 13px;
  border: 0;
  background: transparent;
  font-size: 30px;
  color: var(--muted);
}
.detail-dialog h2 {
  font-size: 29px;
  margin: 12px 35px 9px 0;
}
.detail-score {
  font-size: 54px;
  letter-spacing: -0.05em;
  line-height: 1.3;
  margin: 20px 0 4px;
}
.detail-score small {
  font-size: 17px;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 7px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}
.detail-grid > div {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.detail-grid span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-dialog details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.detail-dialog summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.detail-dialog pre {
  margin-top: 14px;
  padding: 15px;
  background: #f4f7f1;
  border-radius: 8px;
  max-height: 320px;
  overflow: auto;
}
.detail-dialog ul {
  padding-left: 20px;
  font-size: 12px;
  color: var(--muted);
}
.detail-dialog li {
  margin: 8px 0;
}
.detail-dialog .head-actions {
  margin: 22px 0;
}
.metric-breakdown {
  font-size: 12px;
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}
.metric-breakdown td {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.metric-breakdown td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.result-audit .metric-breakdown {
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
}
.result-audit .metric-breakdown th,
.result-audit .metric-breakdown td {
  padding: 10px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.result-audit .metric-breakdown th {
  text-align: left;
  font-weight: 400;
  padding-right: 16px;
  width: 66%;
}
.result-audit .metric-breakdown td {
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.audit-explanations { font-size: 12px; line-height: 1.65; }
.audit-explanations dl { margin: 18px 0 0; }
.audit-explanations dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.audit-explanations dt { font-weight: 600; }
.audit-explanations dd { margin: 6px 0 0; }
.audit-explanations p { margin: 6px 0; }
.audit-explanations code {
  overflow-wrap: anywhere;
}
.site-footer {
  max-width: 1424px;
  margin: 38px auto 0;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.site-footer strong {
  font-size: 12px;
  font-weight: 500;
}
.site-footer p {
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.site-footer > a {
  margin-left: auto;
  font-size: 11px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  background: var(--deep);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  z-index: 30;
  font-size: 12px;
  transition: 0.2s;
  max-width: 90vw;
}
#toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1700px) {
  .site-header {
    gap: 50px;
  }
  main {
    padding: 0;
  }
}
@media (max-width: 1150px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 26px;
  }
  .brand {
    flex: 1;
  }
  .private-badge {
    order: 1;
  }
  nav {
    order: 2;
    justify-content: flex-start;
    flex-basis: 100%;
    gap: 28px;
  }
  .stats-strip {
    gap: 23px;
  }
  .stat {
    display: block;
  }
  .stat span {
    display: block;
  }
  .model-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer {
    margin: 30px 38px 0;
  }
  .comparison-row {
    grid-template-columns: 190px 65px 1fr 65px 110px;
    gap: 10px;
  }
  .filters {
    gap: 7px;
  }
}
@media (max-width: 780px) {
  main {
    padding: 0 18px;
  }
  .site-header {
    padding: 16px 18px;
  }
  .brand img {
    width: 118px;
  }
  .brand {
    gap: 10px;
    font-size: 12px;
  }
  .private-badge {
    font-size: 9px;
    padding: 5px 8px;
  }
  nav {
    overflow: auto;
    gap: 23px;
  }
  nav a {
    font-size: 11px;
  }
  .stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 20px 3px;
  }
  .stat strong {
    font-size: 27px;
  }
  .stat span {
    font-size: 10px;
  }
  .snapshot {
    grid-column: 1/-1;
    text-align: left;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 13px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .control-bar {
    align-items: stretch;
  }
  .filters {
    width: 100%;
  }
  .search {
    width: 100%;
    flex: 1;
    min-width: 160px;
  }
  .category-tabs {
    flex-wrap: nowrap;
    overflow: auto;
    margin: 12px -2px;
  }
  .category-tabs button {
    white-space: nowrap;
    font-size: 10px;
  }
  .score-table th:first-child {
    min-width: 190px;
    max-width: 190px;
    padding: 10px 13px;
  }
  .score-table th,
  .score-table td {
    min-width: 115px;
  }
  .task-name {
    font-size: 11px;
  }
  .task-meta {
    font-size: 9px;
  }
  .score-cell {
    font-size: 13px;
  }
  .below-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 22px;
  }
  .page-intro {
    padding: 30px 0 23px;
  }
  .page-intro h1 {
    font-size: 34px;
  }
  .page-intro > p {
    font-size: 13px;
  }
  .pair-controls {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .versus {
    display: none;
  }
  .model-select-card {
    padding: 14px;
  }
  .model-select-card .select {
    font-size: 11px;
  }
  .compare-stat {
    padding: 17px 13px;
  }
  .compare-stat strong {
    font-size: 25px;
  }
  .compare-stat p {
    font-size: 10px;
  }
  .comparison-row {
    grid-template-columns: 1fr 55px 55px;
    gap: 5px;
    padding: 14px;
  }
  .comparison-row .bar-track {
    display: none;
  }
  .comparison-row .delta {
    grid-column: 1/-1;
    text-align: left;
    margin-top: 3px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .model-card {
    padding: 22px;
  }
  .method-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .method-nav {
    position: static;
    flex-direction: row;
    overflow: auto;
    gap: 18px;
    white-space: nowrap;
    padding-bottom: 13px;
  }
  .benchmark-catalog {
    grid-template-columns: 1fr;
  }
  .cases-intro,
  .response-pair {
    grid-template-columns: 1fr;
  }
  .case-controls .select {
    max-width: 100%;
    flex: 1;
  }
  .case-progress {
    margin-left: 0;
  }
  .vote-controls {
    flex-wrap: wrap;
  }
  .detail-dialog {
    padding: 25px 22px;
  }
  .detail-grid {
    gap: 9px;
  }
  .detail-dialog h2 {
    font-size: 25px;
  }
  .site-footer {
    margin: 28px 18px 0;
    flex-wrap: wrap;
  }
  .site-footer > a {
    margin-left: 44px;
  }
  .site-footer strong {
    font-size: 10px;
  }
  .model-options {
    right: 0;
    width: 270px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.criteria-list {
  max-height: 420px;
  overflow: auto;
  margin-top: 15px;
}
.criterion {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.criterion p {
  font-size: 11px;
  margin: 8px 0;
  color: var(--muted);
}
.criterion strong {
  font-weight: 500;
  color: var(--ink);
}
.criterion small {
  color: var(--muted);
  font-size: 10px;
}
.response-card .answer strong {
  font-weight: 600;
}
.response-card details details {
  padding: 15px 0 0;
  margin-top: 12px;
}

/* Methodology: references and recorded recipes, scoped to this page. */
.method-page {max-width:1160px;margin:0 auto 56px}
.method-tabs {display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow-x:auto}
.method-tabs button {border:0;border-bottom:3px solid transparent;background:none;padding:14px 18px;font-size:14px;color:var(--muted);white-space:nowrap}
.method-tabs button[aria-pressed=true] {border-color:#347252;color:var(--forest);font-weight:600}
.method-search {display:flex;gap:12px;align-items:center}
.method-search input {max-width:420px;flex:1;min-width:0}
.method-page select {border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:11px 12px;font:inherit;font-size:13px;max-width:100%;min-width:0}
.method-count {font-size:12px;color:var(--muted);margin:20px 0 14px}
.method-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.method-card {min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}
.method-card-label {font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#58705e;line-height:1.6}
.method-card h2 {font-size:20px;line-height:1.35;margin:12px 0 8px}
.method-card p {font-size:13px;line-height:1.65;color:var(--muted);margin:4px 0 16px}
.method-facts {display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%;margin:0 0 18px}
.method-page dt {font-size:11px;color:var(--muted);margin-bottom:5px}
.method-page dd {font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.method-card details {width:100%;border-top:1px solid var(--line);padding:14px 0}
.method-card summary,.method-technical summary,.method-judges summary {cursor:pointer;color:var(--forest);font-size:12px}
.method-card details p {margin-top:14px}
.method-references {display:flex;flex-direction:column;gap:12px;width:100%;margin:12px 0 20px}
.method-references a {font-size:12px;font-weight:600;line-height:1.5;color:#2c674b;text-decoration:none;overflow-wrap:anywhere}
.method-references a:hover {text-decoration:underline}
.method-references a span {display:block;font-weight:400;color:var(--muted);font-size:11px;margin-top:3px}
.method-card-action {font-size:12px;margin-top:auto;padding-top:12px}
.method-card .method-source-note {font-size:11px}
.method-parameter-controls {display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding-bottom:28px;border-bottom:1px solid var(--line)}
.method-parameter-controls label {display:flex;flex-direction:column;gap:8px;font-size:11px;color:var(--muted);min-width:0;flex:1 1 230px}
.method-parameter-controls .segmented {margin-bottom:2px;flex-shrink:0}
.method-parameter-heading {margin:28px 0 18px}
.method-parameter-heading h2 {font-size:22px;font-weight:600;line-height:1.5}
.method-parameter-heading h2 span {font-size:16px;font-weight:400;color:var(--muted)}
.method-parameter-heading p {font-size:12px;color:var(--muted);margin-top:8px}
.method-table-scroll {overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:white}
.method-parameter-table {width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}
.method-parameter-table th,.method-parameter-table td {padding:13px 18px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.method-parameter-table thead th {background:#edf3ed;color:#365640;font-size:12px;font-weight:600}
.method-parameter-table tbody th {font-size:12px;font-weight:500;width:33%}
.method-parameter-table tbody tr:last-child>* {border-bottom:0}
.method-parameter-table th code {display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:5px}
.method-parameter-table td small {display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:5px}
.method-parameter-table .score-cell {width:auto;min-height:0;padding:0;font-weight:600;text-align:left}
.method-parameter-table .result-status-tag {margin:0 0 4px}
.method-unrecorded {color:#7b877e;font-size:12px}
.method-technical {margin:18px 0 30px}
.method-technical summary {padding:10px 0}
.method-technical .method-table-scroll {margin-top:10px}
.method-judges h3,.method-records h2 {font-size:19px;font-weight:500}
.method-judges>p {color:var(--muted);font-size:13px;line-height:1.7;margin:10px 0 20px}
.method-judge-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.method-judge-grid article {min-width:0;border:1px solid var(--line);border-radius:12px;padding:20px;background:white}
.method-judge-grid h4 {font-size:12px;color:#365640}
.method-judge-grid dl {display:grid;gap:14px;margin:16px 0}
.method-judge-grid pre {max-height:400px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f3;padding:14px;margin-top:12px}
.method-judge-grid details>a {font-size:12px;display:inline-block;margin-top:14px}
.method-scoring {display:grid;grid-template-columns:1fr 1fr;gap:32px 48px}
.method-scoring h2 {font-size:21px;margin-bottom:12px}
.method-scoring p {font-size:13px;color:var(--muted);line-height:1.8;margin:10px 0}
.method-records {border-top:1px solid var(--line);margin-top:35px;padding-top:25px}
@media(max-width:700px) {
 .method-tabs button {padding:12px;font-size:12px}
 .method-cards,.method-scoring {grid-template-columns:1fr}
 .method-card {padding:20px}
 .method-search {align-items:stretch;flex-direction:column}
 .method-search input {max-width:none}
 .method-parameter-table th,.method-parameter-table td {padding:12px 9px;font-size:12px}
 .method-parameter-table tbody th {font-size:11px}
 .method-parameter-controls {gap:12px}
 .method-parameter-controls label {flex-basis:100%}
}
