﻿@font-face {
  font-family: "MeriendaLeaderboardNumbers";
  src: url("./assets/fonts/Merienda-Regular_6.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-soft: #f8fafc;
  --surface-tint: #f3f6fa;
  --line: #d9e0ea;
  --line-soft: #e8edf3;
  --text: #111827;
  --muted: #687386;
  --muted-strong: #405064;
  --accent: #2563eb;
  --accent-soft: #eef4ff;
  --ok: #087443;
  --ok-soft: #eef8f2;
  --warn: #946200;
  --warn-soft: #fff7e6;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --teal: #0f766e;
  --teal-soft: #edf8f6;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
  --shadow-soft: 0 8px 22px rgba(17, 24, 39, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #faf9f7;
  color: var(--text);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

.app-frame {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns 160ms ease;
}

.app-frame.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  min-height: 100vh;
  padding: 24px 10px;
  border-right: 1px solid #ece8e2;
  background: #f7f4ef;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px 8px;
}

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

.sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 1px solid #e2dbd1;
  border-radius: 999px;
  background: #fffdf9;
  color: #5f574f;
  cursor: pointer;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.sidebar-toggle:hover {
  border-color: #d2c6b8;
  background: #f6efe5;
}

.sidebar-toggle span {
  display: block;
  transform: translateY(-1px);
}

.app-frame.sidebar-collapsed .sidebar {
  width: 0;
  min-width: 0;
  padding: 0;
  border-right: 0;
  overflow: visible;
  background: transparent;
}

.app-frame.sidebar-collapsed .sidebar-brand {
  padding: 0;
}

.app-frame.sidebar-collapsed .brand-mark,
.app-frame.sidebar-collapsed .brand-copy,
.app-frame.sidebar-collapsed .sidebar-nav,
.app-frame.sidebar-collapsed .sidebar-note {
  display: none;
}

.app-frame.sidebar-collapsed .sidebar-toggle {
  position: fixed;
  top: 105px;
  left: -14px;
  z-index: 50;
  margin-left: 0;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.10);
}

.app-frame.sidebar-collapsed .sidebar-toggle span {
  transform: translateY(-1px) rotate(180deg);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border: 1px solid #ddd7ce;
  border-radius: 8px;
  background: white;
  color: #1f2937;
  font-size: 12px;
  font-weight: 900;
}

.sidebar-brand strong {
  display: block;
  color: #202020;
  font-size: 18px;
  line-height: 1;
}

.sidebar-brand span {
  color: #6b6660;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-note {
  align-self: end;
  display: grid;
  gap: 6px;
  margin: 0 0 8px;
  padding: 14px 12px;
  border: 1px solid #e8e2da;
  border-radius: 10px;
  background: #fffdf9;
}

.sidebar-note strong {
  color: #222;
  font-size: 13px;
}

.sidebar-note span {
  color: #6b6660;
  font-size: 12px;
  line-height: 1.45;
}

.content-shell {
  min-width: 0;
  padding: 24px 28px 56px;
}

.topbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 8px 0 10px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar::before {
  content: none;
}

.topbar::after {
  content: none;
}

.brand-block {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.eyebrow {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-size: 33px;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  font-size: 18px;
  line-height: 1.25;
}

#public .section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

#public .section-note {
  max-width: 760px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

h3 {
  font-size: 15px;
  line-height: 1.25;
}

.topbar p,
.section-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.user-box {
  display: grid;
  gap: 7px;
  min-width: 240px;
  color: var(--muted);
  font-size: 13px;
}

.auth-box {
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
  width: auto;
  min-width: 0;
  margin-left: auto;
}

.access-entry {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.access-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 158px;
  height: 40px;
  border: 1px solid #d8ccbd;
  border-radius: 999px;
  padding: 0 18px;
  background: #f4eadc;
  color: #1f2937;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(48, 40, 30, 0.08);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.access-cta:hover {
  border-color: #c3b39f;
  background: #efe0cd;
  transform: translateY(-1px);
}

.access-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid #ded4c8;
  border-radius: 999px;
  padding: 5px 6px 5px 14px;
  background: #fffdf9;
  box-shadow: 0 6px 16px rgba(48, 40, 30, 0.06);
}

.access-chip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.access-chip strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.access-only[hidden] {
  display: none !important;
}

.access-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(4px);
}

.access-dialog {
  display: grid;
  gap: 16px;
  width: min(440px, calc(100vw - 32px));
  border: 1px solid #e2d9ce;
  border-radius: 14px;
  padding: 24px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
}

.access-dialog-head {
  display: grid;
  gap: 8px;
}

.access-dialog-head span {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-dialog-head h2 {
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.access-dialog-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.access-dialog label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
}

.access-dialog input {
  height: 44px;
  border-color: #d8e0ea;
  border-radius: 9px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
}

.access-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.auth-form,
.auth-user-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e8e2da;
  border-radius: 10px;
  background: #fffdf9;
}

.auth-form-head,
.auth-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-form-head strong,
.auth-user-card strong {
  color: var(--text);
  font-size: 14px;
}

.auth-form-head button {
  border: 0;
  background: transparent;
  color: #7a5a30;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.auth-form input {
  height: 34px;
}

.auth-submit {
  height: 34px;
  padding: 0 14px;
}

.auth-message {
  min-width: 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.35;
}

.auth-user-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
}

.auth-user-card span,
.auth-user-card small {
  color: var(--muted);
  font-size: 12px;
}

.auth-user-card .small-button {
  grid-row: 1 / span 3;
  grid-column: 2;
}

.auth-required {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbfaf8;
  color: var(--muted);
  font-weight: 700;
}

label {
  color: var(--muted);
  font-size: 13px;
}

input,
select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 11px;
  background: #fff;
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(23, 32, 44, 0.02);
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.12);
}

.tabs {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef2f7;
  margin-bottom: 18px;
  box-shadow: none;
  backdrop-filter: none;
}

.sidebar-nav {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0;
}

.tab {
  border: 0;
  background: transparent;
  height: 38px;
  padding: 0 17px;
  color: var(--muted-strong);
  cursor: pointer;
  border-radius: 9px;
  font-weight: 800;
}

.sidebar-nav .tab {
  justify-content: flex-start;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #3e3a36;
  text-align: left;
}

.sidebar-nav .tab::before {
  content: "";
  display: none;
}

.tab.active {
  color: #0f172a;
  background: white;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.08);
}

.sidebar-nav .tab.active {
  border-color: #ebe6df;
  background: #efeae3;
  box-shadow: none;
}

.app-frame.sidebar-collapsed .sidebar-nav {
  display: none;
}

.app-frame.sidebar-collapsed .sidebar-nav .tab {
  display: none;
}

.app-frame.sidebar-collapsed .sidebar-nav .tab span {
  display: none;
}

.app-frame.sidebar-collapsed .sidebar-nav .tab::before {
  content: attr(data-short);
  display: inline;
  color: #3e3a36;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.app-frame.sidebar-collapsed .sidebar-nav .tab.active {
  border-color: #dac8b2;
  background: #f6efe5;
}

.view {
  display: none;
  gap: 18px;
  min-width: 0;
}

.view.active {
  display: grid;
}

.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid #ebe7e0;
  border-radius: 9px;
  padding: 24px;
  box-shadow: none;
  min-width: 0;
  overflow: hidden;
}

.panel::before {
  content: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head > div {
  display: grid;
  gap: 5px;
}

#public .section-head {
  align-items: center;
  justify-content: center;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
  text-align: center;
}

#public .section-head > div {
  justify-items: center;
}

#run .panel {
  border-color: #ebe7e0;
  background: #fffdf9;
}

#run .section-head {
  align-items: center;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 14px 16px;
  background: #f3eee6;
  box-shadow: none;
}

#run .section-head h2 {
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
}

#run .section-note {
  color: #6f675e;
  font-size: 13px;
  font-weight: 650;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.form-grid .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-top: 22px;
}

.form-grid .checkbox-label input {
  width: 18px;
  height: 18px;
}

.dataset-area {
  margin-top: 22px;
}

#run .form-grid,
#run .dataset-area {
  border: 1px solid #ebe7e0;
  border-radius: 12px;
  padding: 16px;
  background: #fffaf5;
}

#run .dataset-area h3 {
  color: #111827;
  font-size: 18px;
  font-weight: 850;
}

.dataset-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 13px;
}

.dataset-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  box-shadow: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.dataset-item:hover {
  border-color: #b7c4d6;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
  transform: translateY(-1px);
}

.dataset-item:has(input:checked) {
  border-color: var(--accent);
  background: #f7faff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.dataset-item input {
  width: 16px;
  height: 16px;
  padding: 0;
}

.dataset-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.dataset-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
}

.dataset-copy small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.mode-tags {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mode-tags b,
.suite-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(213, 221, 232, 0.85);
  background: #f1f5f9;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.mode-tags .bad {
  color: var(--danger);
  background: var(--danger-soft);
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.key-result {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid #e6dfd5;
  border-radius: 12px;
  padding: 14px;
  background: #fffdf9;
}

.key-result[hidden] {
  display: none;
}

.key-result div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.key-result span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.key-result code {
  min-width: 0;
  overflow-wrap: anywhere;
}

.key-list-panel {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  min-width: 0;
}

.compact-head {
  margin-bottom: 0;
}

.key-list {
  min-height: 80px;
  min-width: 0;
}

.key-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-gutter: stable;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 12px;
  background: #fff;
}

.key-table {
  width: max-content;
  min-width: 1180px;
  border-collapse: collapse;
}

.key-table th,
.key-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
}

.key-table th {
  background: #f8fafc;
  color: var(--muted-strong);
  font-weight: 800;
}

.key-table tr:last-child td {
  border-bottom: 0;
}

.key-table code {
  display: block;
  max-width: 220px;
  overflow: hidden;
  color: #334155;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.binding-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.binding-pill.bound {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #047857;
}

.binding-pill.missing {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.binding-pill.neutral {
  background: #f1f5f9;
  color: #475569;
}


.danger-inline {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

.danger-inline:hover {
  background: #fee2e2;
}

.api-guide-panel {
  display: grid;
  gap: 18px;
}

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

.guide-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 12px;
  background: #fffdf9;
  padding: 18px;
}

.guide-card-wide {
  grid-column: 1 / -1;
}

.guide-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.guide-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.65;
}

.guide-note {
  border-left: 3px solid rgba(37, 99, 235, 0.45);
  border-radius: 8px;
  background: rgba(239, 246, 255, 0.75);
  color: #314158;
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 12px;
}

.guide-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.55;
}

.guide-list li::marker {
  color: #9a7446;
}

.guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(226, 217, 204, 0.95);
  border-radius: 999px;
  background: #f7f0e6;
  color: #4f3a20;
  font-size: 13px;
  font-weight: 650;
}

.guide-card pre {
  margin: 0;
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
  padding: 14px;
  color: #203049;
  font-size: 13px;
  line-height: 1.55;
}

.guide-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre;
}

.guide-card p code,
.guide-list code {
  white-space: normal;
  color: #27364e;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 5px;
  padding: 1px 5px;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    padding: 15px;
  }

  .guide-card h3 {
    font-size: 20px;
  }
}

button {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--text);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background 140ms ease;
}

button:hover:not(:disabled) {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: none;
}

button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.tab:focus-visible {
  outline-offset: 1px;
}

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: none;
}

button.primary:hover {
  background: #1d4ed8;
}

button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: #edf0f4;
}

.small-button {
  height: 32px;
  padding: 0 11px;
}

.message {
  color: var(--muted);
  font-size: 13px;
}

.active-jobs,
.recent-jobs {
  display: grid;
  gap: 10px;
}

.recent-jobs {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.active-jobs-empty {
  color: var(--muted);
  font-size: 13px;
}

.active-jobs-head,
.recent-jobs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.recent-jobs-head > div {
  display: grid;
  gap: 3px;
}

.active-jobs-head span,
.recent-jobs-head span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.active-jobs-head small,
.recent-jobs-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.active-job-list,
.recent-job-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-job-card,
.recent-job-card {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 8px;
  width: auto;
  height: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  text-align: left;
  background: linear-gradient(180deg, #fff, var(--surface-soft));
  box-shadow: 0 1px 0 rgba(23, 32, 44, 0.03);
}

.active-job-card.selected,
.recent-job-card.selected {
  border-color: var(--accent);
  background: #f4f8ff;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.08);
}

.active-job-card small,
.recent-job-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.job-detail {
  display: grid;
  gap: 14px;
}

.run-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fbfcfe;
  box-shadow: none;
}

.run-detail-head > div:first-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.leaderboard-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #ebe7e0;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: none;
}

.leaderboard-hero > div:first-child {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.leaderboard-hero h3 {
  color: #24201c;
  font-size: 32px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.leaderboard-hero p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.leaderboard-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#public .section-kicker {
  color: #2f6f4e;
}

#public .overview-card {
  border-color: #ebe7e0;
  background: #fffaf2;
}

#public .overview-card::before {
  background: #3c7c59;
  opacity: 0.78;
}

#public .overview-card span {
  color: #6f675e;
}

#public .overview-card strong {
  color: #1f2933;
}

#public .overview-card small {
  color: #756d64;
}

.private-overview {
  margin-bottom: 14px;
}

.overview-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 96px;
  padding: 14px 14px 13px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: none;
}

.overview-card::before {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.82;
}

.overview-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.overview-card strong {
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 23px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.overview-card small {
  color: var(--muted-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.run-detail-head h3 {
  font-size: 18px;
}

.run-detail-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.run-detail-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fbfcfe;
}

.job-actions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.run-detail-actions .job-actions {
  max-width: 520px;
  padding: 8px 10px;
}

.run-close-button {
  min-height: 34px;
  border-color: #d8ccbd;
  background: #fffdf9;
  color: #5f574f;
  font-weight: 850;
}

.run-close-button:hover {
  border-color: #c3b39f;
  background: #f6efe5;
}

#run .run-detail-head,
#run .summary-card,
#run .job-actions {
  border-color: #e8e2da;
  background: #fffdf9;
}

#run .recent-jobs {
  border-top-color: #e8e2da;
}

#run .recent-jobs-head {
  padding: 0 2px;
}

#run .recent-table-wrap,
#run .job-task-wrap {
  border-color: #e8e2da;
  background: #fffdf9;
}

#run .recent-table-wrap {
  max-height: 520px;
}

#run .recent-table th,
#run .recent-table td {
  height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
}

#run .recent-table .col-id { width: 145px; }
#run .recent-table .col-status { width: 112px; }
#run .recent-table .col-version { width: 128px; }
#run .recent-table .col-suite { width: 116px; }
#run .recent-table .col-time { width: 162px; }
#run .recent-table .col-error { width: 240px; }

#run .recent-table thead,
#run .job-task-table thead {
  background: #f6f2ec;
}

#run .section-kicker {
  color: #2f6f4e;
}

#run .metadata-strip span {
  border-color: #e8e2da;
  background: #fffdf9;
}

#run .active-jobs {
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid #ebe7e0;
  border-radius: 12px;
  background: #fffaf5;
}

#run .active-jobs-empty {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 2px;
  color: #756d64;
  font-weight: 650;
}

#run .active-jobs-head span,
#run .recent-jobs-head span {
  color: #17120e;
  font-size: 16px;
  font-weight: 850;
}

#run .active-jobs-head small,
#run .recent-jobs-head small {
  color: #6f675e;
  font-size: 13px;
  font-weight: 750;
}

#run .active-job-list {
  gap: 10px;
}

#run .active-job-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 300px;
  min-height: 62px;
  padding: 11px 13px;
  border-color: #e2d8ca;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: none;
}

#run .active-job-card.selected {
  border-color: #9db9ff;
  background: #f6f8ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

#run .active-job-card .mono {
  color: #31425a;
  font-size: 14px;
  font-weight: 850;
}

#run .active-job-card small {
  color: #6f675e;
  font-size: 12px;
}

#run .active-job-meta {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#run .active-job-stage,
#run .run-stage-label {
  color: #247344;
  font-weight: 700;
}

#run .active-job-stage::before {
  content: "·";
  margin-right: 8px;
  color: #9a9187;
}

#run .run-detail-head {
  padding: 18px 18px;
  border-radius: 12px;
}

#run .run-detail-head h3 {
  color: #2d3a4c;
  font-size: 22px;
  letter-spacing: 0;
}

#run .run-detail-head p {
  color: #5c6675;
  font-size: 14px;
}

#run .job-summary-grid {
  gap: 14px;
}

#run .summary-card {
  min-height: 108px;
  border-radius: 12px;
}

#run .summary-card span {
  color: #6f675e;
  font-size: 13px;
  font-weight: 850;
}

#run .summary-card strong,
#run .task-count-metric strong {
  color: #111827;
  font-size: 18px;
}

#run .metadata-strip {
  gap: 10px;
}

#run .job-task-table th,
#run .recent-table th {
  color: #5d697a;
  font-size: 13px;
  font-weight: 850;
}

#run .job-task-table td,
#run .recent-table td {
  color: #1f2937;
  font-size: 13px;
  vertical-align: middle;
}

#run .task-progress-head,
#run .task-progress-sub {
  color: #4f5f73;
}

#private .panel {
  border-color: #ebe7e0;
  background: #fffdf9;
}

#private .section-head {
  align-items: center;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 14px 16px;
  background: #f3eee6;
  box-shadow: none;
}

#private .section-head h2 {
  color: #111827;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: 0;
}

#private .section-head button {
  border-color: #d8ccbd;
  background: #fffdf9;
  color: #5f574f;
  font-weight: 850;
}

#private .section-head button:hover {
  border-color: #c3b39f;
  background: #f6efe5;
}

#private .overview-card {
  border-color: #ebe7e0;
  background: #fffaf5;
}

#private .overview-card::before {
  background: #3c7c59;
  opacity: 0.72;
}

#private .overview-card span,
#private .overview-card small {
  color: #756d64;
}

#private .overview-card strong {
  color: #111827;
}

#private .table-toolbar {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid #ebe7e0;
  border-radius: 12px;
  background: #fffaf5;
}

#private .table-toolbar strong {
  color: #17120e;
  font-size: 16px;
  font-weight: 850;
}

#private .table-toolbar span {
  color: #6f675e;
  font-weight: 750;
}

#privateResults.table-wrap {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.private-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e8e2da;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: none;
}

#private .private-table {
  background: #fffdf9;
}

#private .private-table thead {
  background: #f6f2ec;
}

#private .private-table th {
  color: #5d697a;
  font-size: 13px;
  font-weight: 850;
  vertical-align: middle;
}

#private .private-table td {
  color: #1f2937;
  font-size: 13px;
  vertical-align: middle;
}

#private .private-table tbody tr:hover {
  background: #fffaf5;
}

#private .private-table .result-job-id {
  color: #31425a;
  font-weight: 750;
}

#private .private-score-item {
  border-color: #e8e2da;
  background: #fffdf9;
}

#private .private-score-item summary {
  min-height: 34px;
}

#private .private-score-title {
  color: #17120e;
}

.danger-button {
  border-color: #f0b8b4;
  background: var(--danger-soft);
  color: var(--danger);
}

.danger-button:hover:not(:disabled) {
  border-color: var(--danger);
}

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

.summary-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 14px;
  background: var(--surface);
  box-shadow: none;
}

.summary-card::before {
  content: none;
}

.summary-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  min-height: 26px;
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.summary-card .score-metric strong {
  font-size: 20px;
}

.task-count-metric {
  display: grid;
  gap: 2px;
}

.task-count-metric strong {
  font-size: 18px;
  line-height: 1;
}

.task-count-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.metadata-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metadata-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0 10px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 12px;
  box-shadow: none;
}

.metadata-strip b {
  color: var(--text);
}

.job-alert {
  border: 1px solid #f2b8b5;
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 13px;
}

.job-alert strong {
  display: block;
  margin-bottom: 6px;
}

.job-alert summary {
  cursor: pointer;
  font-weight: 800;
}

.job-alert p {
  margin-top: 4px;
}

.evaluation-error-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--danger) 16%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--danger-soft) 36%, var(--surface));
}

.evaluation-error-panel-head {
  display: block;
  padding-bottom: 7px;
  border-bottom: 1px solid color-mix(in srgb, var(--danger) 12%, var(--line-soft));
}

.evaluation-error-panel-head span {
  color: var(--danger);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.evaluation-error-panel-head h4 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

.evaluation-error-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.evaluation-error-list {
  display: grid;
  gap: 10px;
}

.evaluation-error-card {
  --error-accent: #b42318;
  --error-soft: #fff1ef;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--error-accent) 14%, var(--line));
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.045);
}

.evaluation-error-card.error-kind-quota {
  --error-accent: #9a6500;
  --error-soft: #fff6df;
}

.evaluation-error-card.error-kind-network {
  --error-accent: #176b87;
  --error-soft: #eaf7fa;
}

.evaluation-error-card.error-kind-contract {
  --error-accent: #b44b32;
  --error-soft: #fff0eb;
}

.evaluation-error-card.error-kind-runtime {
  --error-accent: #7050a0;
  --error-soft: #f4effc;
}

.evaluation-error-card.error-kind-canceled {
  --error-accent: #687386;
  --error-soft: #f1f4f7;
}

.evaluation-error-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--error-accent) 18%, transparent);
  border-radius: 50%;
  background: var(--error-soft);
  color: var(--error-accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.evaluation-error-content {
  min-width: 0;
}

.evaluation-error-sentence {
  margin: 1px 0 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.evaluation-error-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin: 1px 0 7px;
}

.evaluation-error-meta span,
.evaluation-error-meta code {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.evaluation-error-meta span {
  color: var(--error-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.evaluation-error-meta span::before {
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--error-accent);
  content: "";
}

.evaluation-error-meta code {
  max-width: 100%;
  overflow: hidden;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evaluation-error-title {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.evaluation-error-description {
  margin: 6px 0 0;
  color: var(--muted-strong);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.evaluation-error-action {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--error-accent) 10%, var(--line-soft));
  border-radius: 7px;
  background: color-mix(in srgb, var(--error-soft) 38%, var(--surface-soft));
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.5;
}

.evaluation-error-action-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--error-accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.evaluation-error-action div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.evaluation-error-action b {
  color: var(--text);
  font-size: 11px;
  font-weight: 750;
}

.evaluation-error-action div > span {
  overflow-wrap: anywhere;
}

.evaluation-error-technical {
  margin-top: 5px;
}

.evaluation-error-technical summary {
  width: max-content;
  max-width: 100%;
  cursor: pointer;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.evaluation-error-technical[open] summary {
  color: var(--error-accent);
}

.evaluation-error-technical pre {
  max-height: 210px;
  margin: 8px 0 0;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.evaluation-error-card.compact {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  padding: 12px;
  box-shadow: none;
}

.evaluation-error-card.compact .evaluation-error-icon {
  width: 26px;
  height: 26px;
  font-size: 13px;
}

.evaluation-error-card.compact .evaluation-error-action {
  margin-top: 10px;
  padding: 9px 10px;
}

.job-error-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.job-error-row {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.job-error-row p {
  color: var(--danger);
  overflow-wrap: anywhere;
}

.job-error-row details summary {
  color: var(--danger);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.job-error-row pre,
.task-error-detail pre,
.error-text pre {
  max-height: 180px;
  margin: 8px 0 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
}

.job-task-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.job-task-table {
  min-width: 1280px;
  table-layout: fixed;
  background: white;
}

.job-task-table th:nth-child(1),
.job-task-table td:nth-child(1) {
  width: 170px;
}

.job-task-table th:nth-child(2),
.job-task-table td:nth-child(2),
.job-task-table th:nth-child(3),
.job-task-table td:nth-child(3),
.job-task-table th:nth-child(4),
.job-task-table td:nth-child(4) {
  width: 105px;
}

.job-task-table th:nth-child(6),
.job-task-table td:nth-child(6) {
  width: 90px;
}

.job-task-table th:nth-child(5),
.job-task-table td:nth-child(5) {
  width: 230px;
}

.job-task-table th:nth-child(7),
.job-task-table td:nth-child(7),
.job-task-table th:nth-child(8),
.job-task-table td:nth-child(8),
.job-task-table th:nth-child(9),
.job-task-table td:nth-child(9) {
  width: 170px;
}

.job-task-table th:nth-child(10),
.job-task-table td:nth-child(10) {
  width: 250px;
}

.stage-chip,
.cache-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 8px;
  border: 1px solid rgba(213, 221, 232, 0.8);
  background: #eef2f7;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.cache-chip.reused {
  border-color: rgba(23, 114, 69, 0.18);
  background: var(--ok-soft);
  color: var(--ok);
}

.cache-chip.new {
  border-color: rgba(31, 111, 235, 0.18);
  background: var(--accent-soft);
  color: var(--accent);
}

.task-progress {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.task-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.task-progress-head b {
  color: var(--ink);
  font-size: 12px;
}

.task-progress-bar {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef6;
}

.task-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #0f766e);
}

.task-progress-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.task-progress-datasets {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.task-progress-datasets span,
.task-progress-datasets em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 72px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted-strong);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.task-progress-datasets b {
  overflow: hidden;
  max-width: 42px;
  text-overflow: ellipsis;
}

.task-progress small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.error-inline {
  color: var(--danger);
  overflow-wrap: anywhere;
}

.task-error-detail summary {
  cursor: pointer;
  color: var(--danger);
  font-weight: 800;
}

.task-error-detail span {
  display: block;
  margin-top: 6px;
  color: var(--muted-strong);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.task-error-action {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 8px;
  border-radius: 7px;
  background: var(--warn-soft);
  color: var(--muted-strong);
  font-size: 11px;
  line-height: 1.5;
}

.task-error-action b {
  color: var(--warn);
}

.task-error-detail summary {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attribution-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}

.attribution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fbfcfe;
}

.attribution-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.attribution-head span {
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
}

.attribution-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.attribution-body {
  display: grid;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
}

.attribution-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.attribution-summary > span:not(.status-badge) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 800;
}

.attribution-causes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.attribution-causes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(213, 221, 232, 0.9);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 750;
}

.attribution-causes b {
  color: var(--text);
}

.attribution-preview {
  display: grid;
  max-height: 560px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.attribution-preview details {
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.attribution-preview details:first-child {
  border-top: 0;
}

.attribution-preview summary {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  cursor: pointer;
  list-style: none;
}

.attribution-preview summary::-webkit-details-marker {
  display: none;
}

.attribution-preview summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.attribution-preview summary small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted-strong);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
}

.attribution-preview p {
  padding: 0 12px 10px 140px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.attribution-preview p b {
  color: var(--text);
}

.table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.recent-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.leaderboard-filters {
  display: grid;
  gap: 14px;
  margin: -4px 0 14px;
}

.leaderboard-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.leaderboard-main-section,
.subdataset-detail-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}

.leaderboard-detail-panel {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-top: 2px;
}

.leaderboard-detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
}

.leaderboard-detail-head > div {
  display: grid;
  gap: 3px;
}

.leaderboard-detail-head strong {
  color: #2f2b27;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.leaderboard-detail-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.arena-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.arena-rank-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ebe7e0;
  border-radius: 9px;
  background: #fff;
}

.arena-rank-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid #efebe5;
}

.arena-rank-card h3 {
  color: #34302c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.mini-select {
  height: 26px;
  border-color: #ebe7e0;
  border-radius: 7px;
  background: #fbfaf8;
  color: #5f5a54;
  font-size: 13px;
  font-weight: 700;
}

.arena-rank-list {
  display: grid;
  gap: 0;
  padding: 22px 20px 20px;
}

.arena-rank-row {
  display: grid;
  grid-template-columns: 30px minmax(130px, 1fr) minmax(96px, 1.25fr) 62px;
  align-items: center;
  gap: 8px;
  min-height: 43px;
}

.arena-rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #e5e1dc;
  border-radius: 4px;
  background: #fff;
  color: #68615a;
  font-size: 13px;
}

.arena-rank-name {
  overflow: hidden;
  color: #4f4b46;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 650;
}

.arena-rank-bar {
  height: 26px;
  overflow: hidden;
  background: #f1eee9;
}

.arena-rank-bar i {
  display: block;
  height: 100%;
  background: #3ca05a;
}

.arena-rank-row strong {
  color: #5c5750;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.view-all-button {
  height: 58px;
  border: 0;
  border-top: 1px solid #efebe5;
  border-radius: 0;
  background: #f3f0eb;
  color: #2584d8;
  font-size: 16px;
  font-weight: 700;
}

.filter-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  height: 32px;
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted-strong);
  box-shadow: 0 4px 12px rgba(26, 38, 55, 0.04);
}

.filter-pill.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.12);
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: none;
}

.leaderboard-toolbar {
  margin-bottom: 0;
}

.table-toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

.table-toolbar strong {
  font-size: 14px;
}

.table-toolbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.select-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.select-filter select {
  width: auto;
  min-width: 118px;
  height: 32px;
  padding: 0 30px 0 10px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.column-selector {
  position: relative;
}

.column-selector summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.column-selector summary::-webkit-details-marker {
  display: none;
}

.column-selector-menu {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  width: 270px;
  max-height: 340px;
  margin-top: 8px;
  overflow: auto;
  border: 1px solid #e7ded3;
  border-radius: 12px;
  padding: 10px;
  background: #fffdf9;
  box-shadow: 0 18px 42px rgba(44, 36, 26, 0.14);
}

.column-selector-menu label {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 5px 8px;
  color: #4a4138;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.column-selector-menu label:hover {
  border-color: #eadbc8;
  background: #fff8ee;
}

.column-selector-menu input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.column-selector-menu label::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #d9cbbb;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.column-selector-menu label:has(input:checked)::before {
  content: "?";
  border-color: #2f9f55;
  background: #34a853;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.column-selector-menu label span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.column-selector-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0e7dc;
}

.column-selector-actions .small-button {
  justify-content: center;
  min-height: 30px;
  border-color: #e7ded3;
  background: #fffaf3;
  color: #4a4138;
}

.leaderboard-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 8px 10px;
  max-width: 600px;
}

.category-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.leaderboard-score-item,
.category-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid #e8e2da;
  border-radius: 999px;
  padding: 3px 8px 3px 10px;
  background: #fffaf2;
  box-shadow: 0 1px 0 rgba(43, 37, 31, 0.03);
}

.leaderboard-score-item {
  width: 100%;
  justify-content: space-between;
  padding-left: 12px;
}

.leaderboard-score-item b,
.category-score-chip b {
  color: #2f2b27;
  font-size: 12px;
}

.leaderboard-score-item b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-score-chip em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.subdataset-detail {
  display: grid;
  gap: 10px;
}



table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.results-table {
  min-width: 1040px;
  table-layout: fixed;
  background: white;
}

.private-table {
  min-width: 1380px;
}

.recent-table {
  min-width: 1580px;
}

.results-table thead {
  background: #f8fafc;
}

th,
td {
  border-bottom: 1px solid var(--line-soft);
  padding: 15px 12px;
  text-align: left;
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
}

.leaderboard-table th,
.leaderboard-table td {
  text-align: center;
  vertical-align: middle;
}

.leaderboard-table .leaderboard-score-grid {
  margin: 0 auto;
}

.leaderboard-table .score-metric {
  justify-items: center;
}

.leaderboard-table .subdataset-detail {
  justify-items: center;
  text-align: center;
}

tbody tr {
  transition: background 120ms ease;
}

tbody tr:hover {
  background: #f8fbff;
}

.col-id {
  width: 132px;
}

.private-table .col-id {
  width: 176px;
}

.col-status {
  width: 108px;
}

.private-table .col-status {
  width: 112px;
}

.col-score {
  width: 112px;
}

.col-dataset-score {
  width: 118px;
}

.col-question-type-score {
  width: 132px;
}

.private-table .col-score {
  width: 116px;
}

.col-datasets {
  width: 38%;
}

.private-table .col-datasets {
  width: 360px;
}

.col-version,
.col-suite,
.col-mode {
  width: 112px;
}

.private-table .col-version {
  width: 120px;
}

.private-table .col-mode {
  width: 96px;
}

.private-table .col-suite {
  width: 110px;
}

.col-time {
  width: 170px;
}

.private-table .col-time {
  width: 176px;
}

.private-table .col-error {
  width: 320px;
}

.col-action {
  width: 104px;
}

.col-duration {
  width: 98px;
}

.col-error {
  width: 260px;
}

.col-rank {
  width: 74px;
}

.col-user {
  width: 150px;
}

.recent-table th,
.recent-table td {
  vertical-align: middle;
}

.recent-table .col-id {
  width: 160px;
}

.recent-table .col-status {
  width: 140px;
}

.recent-table .col-mode {
  width: 92px;
}

.recent-table .col-score {
  width: 118px;
}

.recent-table .col-version {
  width: 150px;
}

.recent-table .col-suite {
  width: 210px;
}

.recent-table .col-time {
  width: 190px;
}

.recent-table .col-duration {
  width: 112px;
}

.recent-table .col-error {
  width: 330px;
}

.recent-table .col-action {
  width: 88px;
}

.recent-table td {
  min-width: 0;
  overflow: hidden;
}

.recent-table .suite-chip {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  line-height: 22px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.recent-table .text-strong {
  display: block;
  max-width: 100%;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.recent-table td:last-child {
  overflow: visible;
  text-align: center;
  white-space: nowrap;
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.result-job-id {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}

.text-strong {
  font-weight: 700;
}

.version-link {
  height: auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: 1.18;
  white-space: normal;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  background: #edf7ef;
  color: #23734a;
  font-weight: 800;
}

.question-type-label {
  color: #756d64;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leaderboard-table tbody tr:first-child {
  background: #fbfdff;
}

.leaderboard-table tbody tr:first-child .rank-badge {
  border-color: rgba(197, 139, 25, 0.22);
  background: #fff7df;
  color: #8a5a00;
  box-shadow: 0 8px 20px rgba(154, 108, 57, 0.12);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.status-succeeded {
  border-color: rgba(23, 114, 69, 0.18);
  color: var(--ok);
  background: var(--ok-soft);
}

.status-running,
.status-queued,
.status-pending {
  border-color: rgba(154, 91, 18, 0.18);
  color: var(--warn);
  background: var(--warn-soft);
}

.status-failed,
.status-partial,
.status-canceled {
  border-color: rgba(184, 50, 42, 0.18);
  color: var(--danger);
  background: var(--danger-soft);
}

.selected-row {
  background: #f7fbff;
}

.score-metric {
  display: grid;
  gap: 2px;
}

.score-metric strong {
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table .score-metric strong {
  color: #24201c;
  font-size: 20px;
}

.score-metric span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.score-list {
  display: grid;
  gap: 8px;
  min-width: 320px;
}

.score-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  overflow: hidden;
}

.score-list summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  padding: 10px 12px;
}

.dataset-name {
  font-weight: 800;
  margin-right: auto;
  overflow-wrap: anywhere;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(31, 111, 235, 0.16);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

#public .score-pill {
  border-color: rgba(154, 108, 57, 0.24);
  background: #f7efe4;
  color: #7a5428;
}

#public .category-score-chip em {
  border: 1px solid rgba(154, 108, 57, 0.22);
  background: #f7efe4;
  color: #7a5428;
}

#public .rank-badge {
  border-color: #e7e7e7;
  background: #fff;
  color: #4f5965;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-weight: 400;
  box-shadow: none;
}

#public .leaderboard-table tbody tr:first-child {
  background: #fff;
}

#public .leaderboard-table tbody tr:first-child .rank-badge {
  border-color: #e7e7e7;
  background: #fff;
  color: #4f5965;
  box-shadow: none;
}

.score-list summary em {
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: 999px;
  padding: 3px 7px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.failure-summary {
  display: -webkit-box;
  max-height: 42px;
  overflow: hidden;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.private-score-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.private-score-item {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(23, 32, 44, 0.03);
}

.private-score-item summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 8px;
  cursor: pointer;
  list-style: none;
}

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

.private-score-item summary::before {
  content: ">";
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  transform: rotate(0deg);
  transition: transform 120ms ease;
}

.private-score-item[open] summary::before {
  transform: rotate(90deg);
}

.private-score-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-weight: 800;
}

.private-score-item .score-pill {
  min-width: 64px;
  height: 24px;
}

.private-score-item .status-badge {
  height: 24px;
}

.private-score-item em {
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: 999px;
  padding: 3px 7px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.private-score-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 8px 10px;
}

.private-score-detail .error-text {
  margin: 0;
}

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

.breakdown-block {
  min-width: 0;
}

.breakdown-block h4 {
  margin: 2px 0 7px;
  font-size: 12px;
  color: var(--muted-strong);
  text-transform: uppercase;
}

.nested-table {
  table-layout: fixed;
  font-size: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.nested-table th,
.nested-table td {
  padding: 7px 8px;
  overflow-wrap: anywhere;
}

.nested-table thead {
  background: #f1f5f9;
}

.muted-text,
.empty-state {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  padding: 18px;
  text-align: center;
}

.error-text {
  color: var(--danger);
  margin: 0 12px 12px;
  padding: 10px;
  background: var(--danger-soft);
  border: 1px solid rgba(184, 50, 42, 0.14);
  border-radius: 8px;
  font-size: 12px;
}

.error-text summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .app-frame {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    min-height: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #ece8e2;
  }

  .sidebar-brand {
    padding: 0;
  }

  .sidebar-nav {
    display: flex;
    overflow-x: auto;
  }

  .sidebar-nav .tab {
    justify-content: center;
    min-width: 132px;
  }

  .sidebar-note {
    display: none;
  }

  .content-shell {
    padding: 18px 18px 44px;
  }

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

  .auth-box {
    width: 100%;
    min-width: 0;
  }

  .run-detail-head,
  .leaderboard-hero,
  .table-toolbar,
  .recent-jobs-head {
    display: grid;
    justify-content: stretch;
  }

  .leaderboard-hero {
    grid-template-columns: 1fr;
  }

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

  .arena-card-grid {
    grid-template-columns: 1fr;
  }

  .run-detail-actions,
  .filter-row {
    justify-content: flex-start;
  }

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

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

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

@media (max-width: 680px) {
  .content-shell {
    padding: 16px 14px 40px;
  }

  .sidebar-nav {
    display: grid;
  }

  .sidebar-nav .tab {
    min-width: 0;
  }

  .form-grid,
  .dataset-list {
    grid-template-columns: 1fr;
  }

  .auth-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dataset-item {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .mode-tags {
    grid-column: 2;
    justify-content: flex-start;
  }

  .job-summary-grid {
    grid-template-columns: 1fr;
  }

  .overview-grid,
  .leaderboard-overview {
    grid-template-columns: 1fr;
  }

  .arena-rank-card header {
    padding: 0 16px;
  }

  .arena-rank-list {
    padding: 16px;
  }

  .arena-rank-row {
    grid-template-columns: 30px minmax(0, 1fr) 42px;
    gap: 8px;
    min-height: 54px;
  }

  .arena-rank-bar {
    grid-column: 2 / 4;
    grid-row: 2;
    height: 12px;
  }

  .arena-rank-row strong {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .select-filter {
    width: 100%;
    justify-content: space-between;
  }

  .select-filter select {
    flex: 1;
    min-width: 0;
  }
}
/* Public leaderboard dataset detail refinements */
#public .leaderboard-detail-panel {
  gap: 12px;
}

#public .leaderboard-detail-head {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
}

#public .table-toolbar {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
}

#public .table-toolbar > div:first-child,
#public .leaderboard-detail-head > div:first-child {
  display: grid;
  gap: 3px;
}

#public .table-toolbar strong {
  color: #151515;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

#public .table-toolbar span {
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 400;
}

#public .leaderboard-detail-head strong {
  color: #151515;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

#public .leaderboard-detail-head span {
  color: #6f6f6f;
  font-size: 13px;
  font-weight: 400;
}

#public .table-toolbar .small-button {
  font-size: 13px;
  font-weight: 700;
}

#public .dataset-detail-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#public .dataset-detail-selector .dataset-toggle {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-color: #e9e2d8;
  background: #fffdf9;
  color: #5f6c7c;
  font-weight: 500;
}

#public .dataset-detail-selector .dataset-toggle.active {
  border-color: #dac8b2;
  background: #f6efe5;
  color: #2d251e;
}

#public .dataset-detail-empty {
  min-height: 72px;
  align-content: center;
}

#public .arena-card-grid {
  gap: 14px;
}

#public .arena-rank-card {
  border-color: #e9e2d8;
  border-radius: 10px;
  background: #fffdf9;
}

#public .arena-rank-card header {
  min-height: 56px;
  padding: 0 18px;
  border-bottom-color: #eee6dc;
  background: #fffaf3;
}

#public .arena-rank-card h3 {
  color: #332e28;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

#public .arena-rank-list {
  padding: 16px 18px 18px;
}

#public .arena-rank-row {
  grid-template-columns: 28px minmax(120px, 1fr) minmax(120px, 1.1fr) 64px;
  min-height: 38px;
  gap: 9px;
}

#public .arena-rank-index {
  width: 24px;
  height: 24px;
  border-color: #e7ded3;
  border-radius: 6px;
  color: #796a5b;
  font-size: 12px;
  font-weight: 700;
}

#public .arena-rank-name {
  color: #3f3932;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
}

#public .arena-rank-bar {
  height: 24px;
  border-radius: 4px;
  background: #f2eee8;
}

#public .arena-rank-bar i {
  background: #36a852;
}

#public .arena-rank-row strong {
  color: #72522f;
  font-size: 13px;
  font-weight: 800;
}

#public .view-all-button {
  height: 48px;
  border-top-color: #eee6dc;
  background: #f5efe7;
  color: #7a5428;
  font-size: 14px;
  font-weight: 800;
}

#public .subdataset-detail {
  justify-items: stretch;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}


#public .question-type-label {
  color: #81776c;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

#public .subdataset-detail .category-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 7px;
}

#public .subdataset-detail .category-score-chip {
  width: 100%;
  min-height: 28px;
  justify-content: space-between;
  border-color: #ebe3d7;
  border-radius: 7px;
  padding: 3px 6px 3px 9px;
  background: #fffaf3;
  box-shadow: none;
}

#public .subdataset-detail .category-score-chip b {
  min-width: 0;
  overflow: hidden;
  color: #4a4138;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 750;
}

#public .subdataset-detail .category-score-chip em {
  min-width: 58px;
  height: 22px;
  border-color: #eadbc8;
  background: #f6ecdf;
  color: #73512d;
  font-size: 11px;
}

#public .leaderboard-main-section {
  max-height: 924px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#public .leaderboard-main-section .leaderboard-table {
  min-width: 1560px;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

#public .leaderboard-main-section .leaderboard-table th,
#public .leaderboard-main-section .leaderboard-table td {
  border-bottom-color: #ececec;
  padding: 7px 8px;
}

#public .leaderboard-main-section .leaderboard-table th {
  color: #151515;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: normal;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
}


#public .leaderboard-sort-head {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 20px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
}

#public .leaderboard-sort-head .sort-glyph {
  color: #8a8a8a;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 10px;
  line-height: 1;
}

#public .leaderboard-sort-head.active .sort-glyph {
  color: #151515;
}

#public .leaderboard-main-section .leaderboard-table th:nth-child(n+4),
#public .subdataset-detail-table .leaderboard-table th:nth-child(n+4),
#public .grouped-leaderboard-head .dataset-group-head,
#public .grouped-leaderboard-head .dataset-metric-head {
  white-space: normal;
}
#public .leaderboard-main-section .leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

#public .leaderboard-main-section .leaderboard-table td {
  height: 52px;
  color: #151515;
}

#public .leaderboard-main-section .col-rank {
  width: 72px;
}

#public .leaderboard-main-section .col-version {
  width: 150px;
}
#public .subdataset-detail-table .col-version {
  width: 150px;
}

#public .subdataset-detail-table .col-score {
  width: 260px;
}

#public .leaderboard-main-section .col-score {
  width: 260px;
}

#public .leaderboard-main-section .col-user {
  width: 140px;
}

#public .leaderboard-main-section .col-time {
  width: 178px;
}

#public .leaderboard-main-section td.dataset-score-td {
  background: var(--score-bg, transparent);
  color: var(--score-text, #2fa241);
  border-bottom-color: transparent;
  box-shadow: none;
}

#public .leaderboard-main-section tbody tr:hover td.dataset-score-td {
  background: var(--score-bg, transparent);
}

#public .dataset-score-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--score-weight, 400);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#public .leaderboard-overall-score {
  display: grid;
  grid-template-columns: 58px minmax(120px, 150px);
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

#public .leaderboard-overall-score > span {
  color: var(--overall-score-text, #2fa241);
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--overall-score-weight, 400);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#public .leaderboard-overall-track {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0eee9;
}

#public .leaderboard-overall-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3aa247;
}

#public .grouped-leaderboard-head .leaderboard-head-primary th {
  height: 26px;
  vertical-align: middle;
}

#public .grouped-leaderboard-head .leaderboard-head-secondary th {
  top: 30px;
  height: 26px;
  font-size: 14px;
  color: #151515;
  font-weight: 500;
  vertical-align: middle;
}

#public .grouped-leaderboard-head .dataset-group-head {
  border-bottom: 1px solid #ececec;
  color: #151515;
  font-weight: 500;
}

#public .grouped-leaderboard-head .dataset-metric-head {
  white-space: normal;
}

#public .subdataset-detail-table {
  max-height: 836px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#public .subdataset-detail-table .leaderboard-table {
  min-width: 1380px;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

#public .subdataset-detail-table .leaderboard-table th,
#public .subdataset-detail-table .leaderboard-table td {
  border-bottom-color: #ececec;
  padding: 7px 8px;
}

#public .subdataset-detail-table .leaderboard-table th {
  color: #151515;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: normal;
  text-align: center;
  white-space: nowrap;
  word-break: normal;
}

#public .subdataset-detail-table .leaderboard-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

#public .subdataset-detail-table .leaderboard-table td {
  height: 52px;
  color: #151515;
}

#public .subdataset-detail-table td.question-type-score-td {
  background: var(--score-bg, #fffaf3);
  color: var(--score-text, #2fa241);
  border-bottom-color: transparent;
  box-shadow: none;
}

#public .subdataset-detail-table tbody tr:hover td.question-type-score-td {
  background: var(--score-bg, #fffaf3);
}

#public .question-type-score-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--score-weight, 400);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#public .leaderboard-main-section .text-strong {
  display: inline-block;
  max-width: 132px;
  color: #0f0f0f;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

#public .leaderboard-model-cell {
  display: grid;
  align-items: start;
  justify-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

#public .model-param-toggle {
  cursor: pointer;
}

#public .leaderboard-model-param,
#public .leaderboard-overall-param {
  color: #777;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

#public .leaderboard-model-param span,
#public .leaderboard-overall-param span {
  color: #555;
}

#public .leaderboard-overall-param {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: -7px;
}

#public .leaderboard-table tbody tr.leaderboard-param-row > td {
  vertical-align: top;
}

#public .leaderboard-table tbody tr.leaderboard-param-row .leaderboard-overall-score {
  align-content: start;
}

.leaderboard-version-detail {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

.version-history-controls {
  display: grid;
  gap: 8px;
}

.version-overall-selector {
  display: flex;
  align-items: center;
}

.version-dataset-selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dataset-toggle {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fffaf3;
  color: #5f4630;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.dataset-toggle.active {
  border-color: rgba(95, 70, 48, 0.28);
  background: #f4eadb;
  color: #111827;
}
.version-history-list {
  display: grid;
  gap: 6px;
}

.version-history-row {
  display: grid;
  grid-template-columns: 170px minmax(120px, 1fr) 72px minmax(260px, 0.95fr) 130px;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 680px) {
  #public .subdataset-detail .category-chip-grid {
    grid-template-columns: 1fr;
  }

  #public .arena-rank-row {
    grid-template-columns: 28px minmax(0, 1fr) 58px;
  }
}
#public .subdataset-detail {
  gap: 7px;
  align-content: center;
}

#public .subdataset-detail .category-chip-grid {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}








#public .leaderboard-table th {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
}

#public .leaderboard-table td {
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

#public .leaderboard-table .score-metric strong {
  font-size: 18px;
}

#public .version-link,
#public .leaderboard-main-section .text-strong,
#public .subdataset-detail-table .text-strong {
  color: #0f0f0f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

#public .arena-rank-name {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

#public .arena-rank-row strong {
  font-size: 12px;
}












#public .version-link.top-ranked-model,
#public .leaderboard-main-section .text-strong.top-ranked-model,
#public .subdataset-detail-table .text-strong.top-ranked-model {
  color: #2fa241;
  font-weight: 700;
}



#public .leaderboard-head-label {
  display: inline;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

#public .leaderboard-head-label.leaderboard-head-nowrap {
  white-space: nowrap;
}

#multimodel .section-head {
  align-items: center;
  justify-content: center;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
  text-align: center;
}

#multimodel .section-head > div {
  justify-items: center;
}

#multimodel .section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

#multimodel .leaderboard-content {
  display: grid;
  gap: 18px;
}

#multimodel .leaderboard-main-section,
#multimodel .subdataset-detail-table {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}

#multimodel .leaderboard-main-section {
  max-height: 680px;
}

#multimodel .subdataset-detail-table {
  max-height: 620px;
}

#multimodel .leaderboard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

#multimodel .leaderboard-table th,
#multimodel .leaderboard-table td {
  height: 52px;
  padding: 7px 8px;
  border-bottom: 1px solid #ececec;
  color: #151515;
  text-align: center;
  vertical-align: middle;
}

#multimodel .leaderboard-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

#multimodel .grouped-leaderboard-head .leaderboard-head-primary th {
  height: 26px;
  vertical-align: middle;
}

#multimodel .grouped-leaderboard-head .leaderboard-head-secondary th {
  top: 30px;
  height: 26px;
  color: #151515;
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
}

#multimodel .grouped-leaderboard-head .dataset-group-head {
  border-bottom: 1px solid #ececec;
  color: #151515;
  font-weight: 500;
}

#multimodel .leaderboard-sort-head {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 20px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
}

#multimodel .leaderboard-sort-head .sort-glyph {
  color: #8a8a8a;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 10px;
  line-height: 1;
}

#multimodel .leaderboard-sort-head.active .sort-glyph {
  color: #151515;
}

#multimodel .leaderboard-main-section .col-rank,
#multimodel .subdataset-detail-table .col-rank {
  width: 72px;
}

#multimodel .leaderboard-main-section .col-version,
#multimodel .subdataset-detail-table .col-version {
  width: 180px;
}

#multimodel .leaderboard-main-section .col-dataset-score,
#multimodel .subdataset-detail-table .col-question-type-score {
  width: 160px;
}

#multimodel td.dataset-score-td,
#multimodel td.question-type-score-td {
  background: var(--score-bg, transparent);
  color: var(--score-text, #2fa241);
  border-bottom-color: transparent;
  box-shadow: none;
}

#multimodel tbody tr:hover td.dataset-score-td,
#multimodel tbody tr:hover td.question-type-score-td {
  background: var(--score-bg, transparent);
}

#multimodel .dataset-score-cell,
#multimodel .question-type-score-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--score-weight, 400);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#multimodel .leaderboard-detail-panel {
  display: grid;
  gap: 12px;
}

#multimodel .leaderboard-detail-head {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
}

#multimodel .leaderboard-detail-head > div:first-child {
  display: grid;
  gap: 3px;
}

#multimodel .leaderboard-detail-head strong {
  color: #151515;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

#multimodel .dataset-detail-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#multimodel .dataset-detail-selector .dataset-toggle {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-color: #e9e2d8;
  background: #fffdf9;
  color: #5f6c7c;
  font-weight: 500;
}

#multimodel .dataset-detail-selector .dataset-toggle.active {
  border-color: #dac8b2;
  background: #f6efe5;
  color: #2d251e;
}

#multimodel .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #405064;
  font-size: inherit;
  font-weight: 400;
}

#multimodel .leaderboard-table tbody tr:first-child .rank-badge {
  border-color: rgba(31, 111, 235, 0.18);
  background: #fff;
  color: #405064;
  box-shadow: none;
}

#multimodel .leaderboard-model-cell {
  display: grid;
  align-items: start;
  justify-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

#multimodel .version-link,
#multimodel .leaderboard-main-section .text-strong,
#multimodel .subdataset-detail-table .text-strong {
  all: unset;
  display: inline-block;
  max-width: 160px;
  color: #0f0f0f;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
  hyphens: manual;
  overflow-wrap: normal;
  text-align: center;
  white-space: normal;
  word-break: normal;
}

#multimodel .version-link.top-ranked-model {
  color: #2fa241;
  font-weight: 700;
}

#multimodel .leaderboard-model-param {
  color: #777;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

#multimodel .leaderboard-model-param span {
  color: #555;
}

#multimodel .leaderboard-cell-param {
  color: #777;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
  margin-top: 4px;
}

#multimodel .leaderboard-cell-param span {
  color: #555;
}

#multimodel .leaderboard-table tbody tr.leaderboard-param-row > td {
  vertical-align: top;
}

#coding .section-head {
  align-items: center;
  justify-content: center;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
  text-align: center;
}

#coding .section-head > div {
  justify-items: center;
}

#coding .section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

#coding .leaderboard-content {
  display: grid;
  gap: 18px;
}

#coding .leaderboard-main-section,
#coding .subdataset-detail-table {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}

#coding .leaderboard-main-section {
  max-height: 680px;
}

#coding .subdataset-detail-table {
  max-height: 620px;
}

#coding .leaderboard-table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

#coding .leaderboard-table th,
#coding .leaderboard-table td {
  height: 52px;
  padding: 7px 8px;
  border-bottom: 1px solid #ececec;
  color: #151515;
  text-align: center;
  vertical-align: middle;
}

#coding .leaderboard-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  white-space: nowrap;
}

#coding .grouped-leaderboard-head .leaderboard-head-primary th {
  height: 26px;
  vertical-align: middle;
}

#coding .grouped-leaderboard-head .leaderboard-head-secondary th {
  top: 30px;
  height: 26px;
  color: #151515;
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
}

#coding .grouped-leaderboard-head .dataset-group-head {
  border-bottom: 1px solid #ececec;
  color: #151515;
  font-weight: 500;
}

#coding .leaderboard-sort-head {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-height: 20px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1.18;
  text-align: center;
  white-space: normal;
}

#coding .leaderboard-sort-head .sort-glyph {
  color: #8a8a8a;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 10px;
  line-height: 1;
}

#coding .leaderboard-sort-head.active .sort-glyph {
  color: #151515;
}

#coding .leaderboard-main-section .col-rank,
#coding .subdataset-detail-table .col-rank {
  width: 72px;
}

#coding .leaderboard-main-section .col-version,
#coding .subdataset-detail-table .col-version {
  width: 180px;
}

#coding .leaderboard-main-section .col-score,
#coding .subdataset-detail-table .col-score {
  width: 260px;
}

#coding .leaderboard-main-section .col-dataset-score,
#coding .subdataset-detail-table .col-question-type-score {
  width: 180px;
}

#coding td.dataset-score-td,
#coding td.question-type-score-td {
  background: var(--score-bg, transparent);
  color: var(--score-text, #2fa241);
  border-bottom-color: transparent;
  box-shadow: none;
}

#coding tbody tr:hover td.dataset-score-td,
#coding tbody tr:hover td.question-type-score-td {
  background: var(--score-bg, transparent);
}

#coding .dataset-score-cell,
#coding .question-type-score-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--score-weight, 400);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

#coding .leaderboard-overall-score {
  display: grid;
  grid-template-columns: 58px minmax(120px, 150px);
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

#coding .leaderboard-overall-score > span {
  color: var(--overall-score-text, #2fa241);
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: var(--overall-score-weight, 400);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

#coding .leaderboard-overall-track {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0eee9;
}

#coding .leaderboard-overall-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3aa247;
}

#coding .leaderboard-detail-panel {
  display: grid;
  gap: 12px;
}

#coding .leaderboard-detail-head {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  border: 1px solid #ebe7e0;
  border-radius: 10px;
  padding: 13px 14px;
  background: #fffdf9;
  box-shadow: none;
}

#coding .leaderboard-detail-head > div:first-child {
  display: grid;
  gap: 3px;
}

#coding .leaderboard-detail-head strong {
  color: #151515;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
}

#coding .dataset-detail-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#coding .dataset-detail-selector .dataset-toggle {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-color: #e9e2d8;
  background: #fffdf9;
  color: #5f6c7c;
  font-weight: 500;
}

#coding .dataset-detail-selector .dataset-toggle.active {
  border-color: #dac8b2;
  background: #f6efe5;
  color: #2d251e;
}

#coding .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #405064;
  font-size: inherit;
  font-weight: 400;
}

#coding .leaderboard-table tbody tr:first-child .rank-badge {
  border-color: rgba(31, 111, 235, 0.18);
  background: #fff;
  color: #405064;
  box-shadow: none;
}

#coding .leaderboard-model-cell {
  display: grid;
  align-items: start;
  justify-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

#coding .version-link {
  all: unset;
  display: inline-block;
  max-width: 160px;
  color: #0f0f0f;
  cursor: pointer;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
  overflow-wrap: normal;
  text-align: center;
  white-space: normal;
  word-break: normal;
  hyphens: manual;
}

#coding .version-link.top-ranked-model {
  color: #2fa241;
  font-weight: 700;
}

#coding .leaderboard-model-param {
  color: #777;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
}

#coding .leaderboard-model-param span {
  color: #555;
}

#coding .leaderboard-overall-param {
  color: #777;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.18;
  white-space: nowrap;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: -7px;
}

#coding .leaderboard-overall-param span {
  color: #555;
}

#coding .leaderboard-table tbody tr.leaderboard-param-row > td {
  vertical-align: top;
}

#coding .leaderboard-table tbody tr.leaderboard-param-row .leaderboard-overall-score {
  align-content: start;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .app-frame {
    grid-template-columns: minmax(0, 1fr);
  }

  .content-shell {
    width: 100%;
    padding: 14px 10px 36px;
  }

  .topbar {
    gap: 12px;
    margin-bottom: 12px;
    padding: 4px 0 8px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.12;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .user-box {
    width: 100%;
    min-width: 0;
  }

  .panel {
    padding: 14px 10px;
    border-radius: 8px;
  }

  .sidebar {
    padding: 12px 10px;
  }

  .sidebar-brand {
    gap: 8px;
  }

  .app-frame.sidebar-collapsed .sidebar-toggle {
    top: 86px;
    left: -14px;
  }

  .section-head,
  #public .section-head,
  #multimodel .section-head,
  #coding .section-head,
  #public .table-toolbar,
  #public .leaderboard-detail-head,
  #multimodel .leaderboard-detail-head,
  #coding .leaderboard-detail-head {
    padding: 11px 12px;
    border-radius: 9px;
  }

  #public .section-head h2,
  #multimodel .section-head h2,
  #coding .section-head h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .leaderboard-content,
  #multimodel .leaderboard-content,
  #coding .leaderboard-content {
    gap: 12px;
  }

  .leaderboard-main-section,
  .subdataset-detail-table,
  #public .leaderboard-main-section,
  #public .subdataset-detail-table,
  #multimodel .leaderboard-main-section,
  #multimodel .subdataset-detail-table,
  #coding .leaderboard-main-section,
  #coding .subdataset-detail-table {
    max-width: calc(100vw - 20px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #public .leaderboard-main-section,
  #multimodel .leaderboard-main-section,
  #coding .leaderboard-main-section {
    max-height: 72vh;
  }

  #public .subdataset-detail-table,
  #multimodel .subdataset-detail-table,
  #coding .subdataset-detail-table {
    max-height: 66vh;
  }

  .run-detail-head {
    padding: 12px;
  }

  .run-detail-actions,
  .run-detail-actions .job-actions {
    width: 100%;
    max-width: none;
  }

  .recent-jobs-head,
  .table-toolbar,
  .leaderboard-detail-head {
    gap: 10px;
  }

  .dataset-detail-selector {
    gap: 6px;
  }

  .dataset-detail-selector .dataset-toggle {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .content-shell {
    padding: 12px 8px 32px;
  }

  .panel {
    padding: 12px 8px;
  }

  h1 {
    font-size: 26px;
  }

  #public .section-head h2,
  #multimodel .section-head h2,
  #coding .section-head h2 {
    font-size: 22px;
  }

  .leaderboard-main-section,
  .subdataset-detail-table,
  #public .leaderboard-main-section,
  #public .subdataset-detail-table,
  #multimodel .leaderboard-main-section,
  #multimodel .subdataset-detail-table,
  #coding .leaderboard-main-section,
  #coding .subdataset-detail-table {
    max-width: calc(100vw - 16px);
  }
}

@media (max-width: 1280px) {
  #multimodel .leaderboard-table {
    min-width: 560px;
  }

  #multimodel .leaderboard-main-section .col-rank,
  #multimodel .subdataset-detail-table .col-rank,
  #coding .leaderboard-main-section .col-rank,
  #coding .subdataset-detail-table .col-rank {
    width: 46px;
  }

  #multimodel .leaderboard-main-section .col-version,
  #multimodel .subdataset-detail-table .col-version {
    width: 96px;
  }

  #multimodel .leaderboard-main-section .col-dataset-score,
  #multimodel .subdataset-detail-table .col-question-type-score {
    width: 82px;
  }

  #multimodel .leaderboard-main-section .text-strong,
  #multimodel .subdataset-detail-table .text-strong,
  #multimodel .version-link {
    max-width: 90px;
  }

  #coding .leaderboard-table {
    min-width: 580px;
  }

  #coding .leaderboard-main-section .col-version,
  #coding .subdataset-detail-table .col-version {
    width: 100px;
  }

  #coding .leaderboard-main-section .col-score,
  #coding .subdataset-detail-table .col-score {
    width: 138px;
  }

  #coding .leaderboard-main-section .col-dataset-score,
  #coding .subdataset-detail-table .col-question-type-score {
    width: 92px;
  }

  #coding .leaderboard-overall-score {
    grid-template-columns: 38px minmax(56px, 74px);
    gap: 5px;
  }

  #coding .version-link {
    max-width: 92px;
  }
}

@media (max-width: 640px) {
  #multimodel .leaderboard-table {
    min-width: 500px;
  }

  #coding .leaderboard-table {
    min-width: 520px;
  }

  #coding .leaderboard-main-section .col-score,
  #coding .subdataset-detail-table .col-score {
    width: 124px;
  }

  #coding .leaderboard-overall-score {
    grid-template-columns: 36px minmax(48px, 64px);
    gap: 4px;
  }
}

/* Textual / Multimodal / Coding Leaderboard 主表和详情表 */
.leaderboard-main-section .leaderboard-table th,
.subdataset-detail-table .leaderboard-table th,
#public .leaderboard-table th,
#multimodel .leaderboard-table th,
#coding .leaderboard-table th {
  font-size: 19px;
}

.leaderboard-main-section .leaderboard-table td,
.subdataset-detail-table .leaderboard-table td,
#public .leaderboard-table td,
#multimodel .leaderboard-table td,
#coding .leaderboard-table td {
  font-size: 17px;
}

/* 模型名，比如 MemoraX / EverMemOS / Mem0 */
#public .version-link,
#public .leaderboard-main-section .text-strong,
#public .subdataset-detail-table .text-strong,
#multimodel .version-link,
#multimodel .leaderboard-main-section .text-strong,
#multimodel .subdataset-detail-table .text-strong,
#coding .version-link,
#coding .leaderboard-main-section .text-strong,
#coding .subdataset-detail-table .text-strong {
  font-size: 19px;
}

/* 分数数字，比如 Overall、Strict、Rubric Coverage */
#public .dataset-score-cell,
#public .leaderboard-overall-score > span,
#public .leaderboard-table .score-metric strong,
#multimodel .leaderboard-table .score-metric strong,
#coding .leaderboard-table .score-metric strong {
  font-size: 18px;
}

/* Leaderboard visual tuning: enlarge table text without changing row/column sizing. */
#public .section-head,
#multimodel .section-head,
#coding .section-head {
  background: #f7f0e6;
}

#public .section-head h2,
#multimodel .section-head h2,
#coding .section-head h2 {
  font-weight: 700;
}

#public .leaderboard-table th,
#multimodel .leaderboard-table th,
#coding .leaderboard-table th {
  font-size: 20px;
  font-weight: 700;
}

#public .leaderboard-sort-head,
#public .leaderboard-head-label,
#public .grouped-leaderboard-head .dataset-group-head,
#public .grouped-leaderboard-head .dataset-metric-head,
#multimodel .leaderboard-sort-head,
#multimodel .leaderboard-head-label,
#multimodel .grouped-leaderboard-head .dataset-group-head,
#multimodel .grouped-leaderboard-head .dataset-metric-head,
#coding .leaderboard-sort-head,
#coding .leaderboard-head-label,
#coding .grouped-leaderboard-head .dataset-group-head,
#coding .grouped-leaderboard-head .dataset-metric-head {
  font-weight: 800;
}

#public .leaderboard-main-section .leaderboard-table thead th:first-child,
#public .leaderboard-main-section .leaderboard-table thead th:nth-child(2),
#public .subdataset-detail-table .leaderboard-table thead th:first-child,
#public .subdataset-detail-table .leaderboard-table thead th:nth-child(2) {
  font-weight: 900;
}

#public .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#public .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head,
#multimodel .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#multimodel .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head,
#coding .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#coding .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head {
  font-weight: 900 !important;
}

#public .leaderboard-table td,
#multimodel .leaderboard-table td,
#coding .leaderboard-table td {
  font-size: 18px;
}

#public .version-link,
#public .leaderboard-main-section .text-strong,
#public .subdataset-detail-table .text-strong,
#multimodel .version-link,
#multimodel .leaderboard-main-section .text-strong,
#multimodel .subdataset-detail-table .text-strong,
#coding .version-link,
#coding .leaderboard-main-section .text-strong,
#coding .subdataset-detail-table .text-strong {
  font-size: 20px;
}

#public .dataset-score-cell,
#public .question-type-score-cell,
#public .leaderboard-overall-score > span,
#public .leaderboard-table .score-metric strong,
#multimodel .dataset-score-cell,
#multimodel .question-type-score-cell,
#multimodel .leaderboard-table .score-metric strong,
#coding .dataset-score-cell,
#coding .question-type-score-cell,
#coding .leaderboard-overall-score > span,
#coding .leaderboard-table .score-metric strong {
  font-size: 19px;
}

/* Public board layout polish: keep the boards focused on wide screens and reduce visual bulk. */
.content-shell {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

#public.panel,
#multimodel.panel,
#coding.panel {
  padding: 22px;
}

#public .leaderboard-content,
#multimodel .leaderboard-content,
#coding .leaderboard-content {
  gap: 14px;
}

#public .section-head,
#multimodel .section-head,
#coding .section-head {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-color: #e7dfd5;
  border-radius: 8px;
  background: #f4ecdf;
}

#public .section-head h2,
#multimodel .section-head h2,
#coding .section-head h2 {
  font-size: 28px;
  line-height: 1.12;
}

#public .leaderboard-main-section,
#public .subdataset-detail-table,
#multimodel .leaderboard-main-section,
#multimodel .subdataset-detail-table,
#coding .leaderboard-main-section,
#coding .subdataset-detail-table {
  border-radius: 8px;
  border-color: #e6ebf1;
  background: #fff;
  scrollbar-color: rgba(78, 78, 78, 0.55) transparent;
}

#public .leaderboard-main-section::-webkit-scrollbar,
#public .subdataset-detail-table::-webkit-scrollbar,
#multimodel .leaderboard-main-section::-webkit-scrollbar,
#multimodel .subdataset-detail-table::-webkit-scrollbar,
#coding .leaderboard-main-section::-webkit-scrollbar,
#coding .subdataset-detail-table::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

#public .leaderboard-main-section::-webkit-scrollbar-thumb,
#public .subdataset-detail-table::-webkit-scrollbar-thumb,
#multimodel .leaderboard-main-section::-webkit-scrollbar-thumb,
#multimodel .subdataset-detail-table::-webkit-scrollbar-thumb,
#coding .leaderboard-main-section::-webkit-scrollbar-thumb,
#coding .subdataset-detail-table::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(78, 78, 78, 0.5);
}

#public .leaderboard-main-section .leaderboard-table th,
#public .leaderboard-main-section .leaderboard-table td,
#public .subdataset-detail-table .leaderboard-table th,
#public .subdataset-detail-table .leaderboard-table td,
#multimodel .leaderboard-table th,
#multimodel .leaderboard-table td,
#coding .leaderboard-table th,
#coding .leaderboard-table td {
  padding-left: 7px;
  padding-right: 7px;
}

#public .leaderboard-main-section .leaderboard-table td,
#public .subdataset-detail-table .leaderboard-table td,
#multimodel .leaderboard-table td,
#coding .leaderboard-table td {
  height: 48px;
}

#public .grouped-leaderboard-head .leaderboard-head-primary th,
#multimodel .grouped-leaderboard-head .leaderboard-head-primary th,
#coding .grouped-leaderboard-head .leaderboard-head-primary th {
  height: 24px;
}

#public .grouped-leaderboard-head .leaderboard-head-secondary th,
#multimodel .grouped-leaderboard-head .leaderboard-head-secondary th,
#coding .grouped-leaderboard-head .leaderboard-head-secondary th {
  top: 28px;
  height: 24px;
}

#public .leaderboard-main-section .col-rank,
#public .subdataset-detail-table .col-rank {
  width: 64px;
}

#public .leaderboard-main-section .col-score,
#public .subdataset-detail-table .col-score {
  width: 224px;
}

#public .leaderboard-overall-score {
  grid-template-columns: 54px minmax(104px, 132px);
  gap: 8px;
}

#public .leaderboard-main-section .text-strong,
#public .subdataset-detail-table .text-strong {
  max-width: 132px;
}

#public .leaderboard-detail-panel,
#multimodel .leaderboard-detail-panel,
#coding .leaderboard-detail-panel {
  gap: 10px;
}

#public .leaderboard-detail-head,
#multimodel .leaderboard-detail-head,
#coding .leaderboard-detail-head {
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fffdf9;
}

#public .leaderboard-detail-head strong,
#multimodel .leaderboard-detail-head strong,
#coding .leaderboard-detail-head strong {
  font-size: 19px;
  line-height: 1.15;
}

#public .dataset-detail-selector,
#multimodel .dataset-detail-selector,
#coding .dataset-detail-selector {
  gap: 7px;
  margin-top: 0;
}

#public .dataset-detail-selector .dataset-toggle,
#multimodel .dataset-detail-selector .dataset-toggle,
#coding .dataset-detail-selector .dataset-toggle {
  min-height: 32px;
  padding: 0 12px;
}

#multimodel .leaderboard-table {
  min-width: 580px;
}

#multimodel .leaderboard-main-section .col-rank,
#multimodel .subdataset-detail-table .col-rank,
#coding .leaderboard-main-section .col-rank,
#coding .subdataset-detail-table .col-rank {
  width: 42px;
}

#multimodel .leaderboard-main-section .col-version,
#multimodel .subdataset-detail-table .col-version,
#coding .leaderboard-main-section .col-version,
#coding .subdataset-detail-table .col-version {
  width: 92px;
}

#multimodel .leaderboard-main-section .col-dataset-score,
#multimodel .subdataset-detail-table .col-question-type-score {
  width: 80px;
}

#coding .leaderboard-table {
  min-width: 600px;
}

#coding .leaderboard-main-section .col-score,
#coding .subdataset-detail-table .col-score {
  width: 190px;
}

#coding .leaderboard-main-section .col-dataset-score,
#coding .subdataset-detail-table .col-question-type-score {
  width: 80px;
}

#coding .leaderboard-overall-score {
  grid-template-columns: 48px minmax(110px, 136px);
  gap: 6px;
}

#multimodel .version-link,
#multimodel .leaderboard-main-section .text-strong,
#multimodel .subdataset-detail-table .text-strong,
#coding .version-link,
#coding .leaderboard-main-section .text-strong,
#coding .subdataset-detail-table .text-strong {
  max-width: 84px;
  hyphens: manual;
  overflow-wrap: normal;
  white-space: normal;
  word-break: normal;
}

@media (min-width: 1600px) {
  .content-shell {
    max-width: 1500px;
  }
}

@media (max-width: 1536px) {
  #multimodel .leaderboard-table {
    min-width: 460px;
  }

  #multimodel .leaderboard-main-section .col-rank,
  #multimodel .subdataset-detail-table .col-rank,
  #coding .leaderboard-main-section .col-rank,
  #coding .subdataset-detail-table .col-rank {
    width: 38px;
  }

  #multimodel .leaderboard-main-section .col-version,
  #multimodel .subdataset-detail-table .col-version {
    width: 76px;
  }

  #multimodel .leaderboard-main-section .col-dataset-score,
  #multimodel .subdataset-detail-table .col-question-type-score {
    width: 64px;
  }

  #multimodel .leaderboard-main-section .text-strong,
  #multimodel .subdataset-detail-table .text-strong,
  #multimodel .version-link {
    max-width: 86px;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
  }

  #coding .leaderboard-table {
    min-width: 480px;
  }

  #coding .leaderboard-main-section .col-version,
  #coding .subdataset-detail-table .col-version {
    width: 76px;
  }

  #coding .leaderboard-main-section .col-score,
  #coding .subdataset-detail-table .col-score {
    width: 176px;
  }

  #coding .leaderboard-main-section .col-dataset-score,
  #coding .subdataset-detail-table .col-question-type-score {
    width: 68px;
  }

  #coding .leaderboard-overall-score {
    grid-template-columns: 46px minmax(98px, 125px);
    gap: 5px;
  }

  #coding .version-link,
  #coding .leaderboard-main-section .text-strong,
  #coding .subdataset-detail-table .text-strong {
    max-width: 86px;
    hyphens: manual;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 640px) {
  #multimodel .leaderboard-table {
    min-width: 430px;
  }

  #coding .leaderboard-table {
    min-width: 450px;
  }

  #coding .leaderboard-main-section .col-score,
  #coding .subdataset-detail-table .col-score {
    width: 166px;
  }

  #coding .leaderboard-overall-score {
    grid-template-columns: 44px minmax(88px, 118px);
    gap: 4px;
  }
}

/* Figma six-page redesign, appended 2026-07-10. */
:root {
  --figma-bg: #fbfaf7;
  --figma-cream: #f4ecdf;
  --figma-cream-2: #f7f0e6;
  --figma-card: #fffdf9;
  --figma-ink: #1f2933;
  --figma-muted: #706a61;
  --figma-soft: #ebe5dc;
  --figma-line: #e7dfd5;
  --figma-green: #3aa247;
  --figma-green-soft: #eaf4e8;
  --figma-blue: #2463eb;
}

.task-progress-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}

.task-progress-stages span {
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 4px;
  padding: 2px 3px;
  background: #f5f7fa;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-progress-stages span.completed {
  border-color: #cce7d4;
  background: #edf8f0;
  color: #18733a;
}

.task-progress-stages span.active {
  border-color: #b9d0ff;
  background: #eef4ff;
  color: #1f5fd1;
}

.leaderboard-header-sort {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: center;
  cursor: pointer;
}

.leaderboard-header-sort .leaderboard-head-label {
  min-width: 0;
}

.leaderboard-sort-arrows {
  display: inline-flex;
  flex: 0 0 9px;
  width: 9px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  color: #a7a098;
  font-family: Arial, sans-serif;
  font-size: 6px;
  line-height: 7px;
}

.leaderboard-sort-arrows i {
  height: 7px;
  font-style: normal;
  opacity: 0.55;
}

.leaderboard-sort-arrows i.active {
  color: #292623;
  opacity: 1;
}

.leaderboard-header-sort:hover .leaderboard-sort-arrows,
.leaderboard-header-sort:focus-visible .leaderboard-sort-arrows {
  color: #5f5952;
}

.leaderboard-header-sort:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(49, 97, 142, 0.28);
  outline-offset: 3px;
}

body {
  background: var(--figma-bg);
  color: var(--figma-ink);
}

.figma-shell.app-frame {
  display: block;
  min-height: 100vh;
}

.figma-top-nav {
  position: sticky;
  top: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(231, 223, 213, 0.95);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
}

.figma-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  cursor: pointer;
}

.figma-brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.figma-brand-copy strong {
  color: #202020;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
}

.figma-brand-copy span {
  color: #6b6660;
  font-size: 12px;
  font-weight: 700;
}

.figma-top-nav .brand-mark {
  width: 34px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
}

.top-nav.tabs,
.board-switch.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.top-nav .tab,
.board-switch .tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  color: #4d4a45;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.key-version-list {
  display: grid;
  gap: 8px;
  width: min(560px, 42vw);
  min-width: 360px;
}

.key-version-item {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(217, 224, 234, 0.9);
  border-radius: 8px;
  background: #fbfcfd;
}

.key-version-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.key-version-heading strong {
  color: var(--ink);
  font-size: 13px;
}

.key-version-item code {
  max-width: 100%;
  font-size: 12px;
}

.key-version-secret {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px) {
  .key-version-list {
    width: 360px;
  }
}

.top-nav .tab.active,
.board-switch .tab.active {
  border-color: #e0d7cb;
  background: var(--figma-cream-2);
  color: #171717;
  box-shadow: none;
}

.figma-content.content-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px 64px;
}

.view {
  gap: 40px;
}

.figma-eyebrow {
  margin: 0;
  color: #6c6258;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero,
.figma-page-hero {
  display: grid;
  gap: 28px;
  padding: 54px 0 38px;
}

.home-hero {
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
  min-height: 430px;
}

.figma-page-hero.split {
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: center;
}

.figma-page-hero.compact {
  padding-bottom: 22px;
}

.hero-copy,
.figma-page-hero > div:first-child {
  display: grid;
  gap: 20px;
}

.home-hero h1,
.figma-page-hero h1 {
  max-width: 860px;
  color: #151515;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-description,
.figma-page-hero p:not(.figma-eyebrow) {
  max-width: 820px;
  color: #5f574f;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.hero-actions.compact-actions {
  margin-top: 0;
}

.hero-actions button,
.figma-page-hero > button,
.track-card button,
.dataset-card-grid button,
.route-grid article,
.board-meta-row span,
.hero-pills span,
.snapshot-pills span {
  min-height: 44px;
  border-radius: 999px;
}

.snapshot-card {
  display: grid;
  gap: 20px;
  border: 1px solid var(--figma-line);
  border-radius: 12px;
  padding: 26px;
  background: var(--figma-card);
  box-shadow: 0 16px 38px rgba(48, 40, 30, 0.07);
}

.snapshot-card h2 {
  color: #1e1e1e;
  font-size: 25px;
  font-weight: 800;
}

.snapshot-divider {
  height: 1px;
  background: var(--figma-line);
}

.snapshot-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.snapshot-stats div {
  display: grid;
  gap: 8px;
}

.snapshot-stats span {
  color: var(--figma-muted);
  font-size: 13px;
  font-weight: 800;
}

.snapshot-stats strong {
  color: #1b1b1b;
  font-size: 38px;
  line-height: 1;
}

.snapshot-pills,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.snapshot-pills span,
.hero-pills span,
.board-meta-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 14px;
  border: 1px solid #e0d7cb;
  border-radius: 999px;
  background: #f6efe5;
  color: #4f463d;
  font-size: 13px;
  font-weight: 800;
}

.eval-access-card .snapshot-stats {
  grid-template-columns: repeat(2, 118px);
  gap: 24px;
  justify-content: start;
}

.evaluation-page .eval-access-card {
  width: 380px;
  justify-self: end;
}

#home .tracks-section .home-section-head h2 {
  font-size: 34px;
  line-height: 42px;
}

#home .tracks-section .home-section-head p {
  font-size: 15px;
  line-height: 21px;
}

#home .tracks-section .track-grid {
  grid-template-columns: repeat(3, minmax(0, 440px));
  justify-content: center;
  gap: 24px;
}

#home .tracks-section .track-card {
  min-height: 194px;
  padding: 24px;
}

#home .tracks-section .track-card h3 {
  font-size: 18px;
  line-height: 24px;
}

#home .tracks-section .track-card p {
  font-size: 14px;
  line-height: 20px;
}

@media (max-width: 1180px) {
  #home .tracks-section .track-grid {
    grid-template-columns: repeat(2, minmax(0, 440px));
  }

  .evaluation-page .eval-access-card {
    width: min(380px, 100%);
  }
}

@media (max-width: 720px) {
  #home .tracks-section .track-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.home-board-card,
.unified-board-frame,
.figma-panel,
.rules-panel,
.api-contract-section,
.dataset-section {
  border: 1px solid var(--figma-line);
  border-radius: 12px;
  background: var(--figma-card);
  box-shadow: none;
}

.home-board-card,
.unified-board-frame,
.rules-panel,
.api-contract-section,
.dataset-section {
  padding: 26px;
}

.home-section-head,
.board-frame-head,
.api-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.home-section-head.left-aligned {
  align-items: flex-end;
}

.home-section-head h2,
.board-frame-head h2,
.dataset-section h2,
.rules-panel h2,
.rules-mode-section h2,
.api-section-head h2 {
  color: #171717;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
}

.home-section-head p,
.board-frame-head p,
.dataset-section > p,
.rules-mode-section > p,
.api-section-head p {
  margin-top: 8px;
  color: var(--figma-muted);
  font-size: 15px;
  line-height: 1.55;
}

.preview-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid #e8e0d5;
  border-radius: 999px;
  background: #f8f3ec;
}

.preview-tabs span {
  min-width: 92px;
  border-radius: 999px;
  padding: 7px 14px;
  color: #6b6258;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.preview-tabs .active {
  background: #fff;
  color: #1f2933;
}

.preview-table-wrap {
  overflow-x: auto;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #fff;
}

.preview-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.preview-table th,
.preview-table td {
  height: 48px;
  border-bottom: 1px solid #eef1f4;
  padding: 0 14px;
  text-align: center;
  font-size: 15px;
}

.preview-table th {
  background: #f7f8fa;
  color: #536071;
  font-weight: 850;
}

.preview-table td:nth-child(2),
.preview-table th:nth-child(2) {
  text-align: left;
}

.preview-table b,
.preview-table tbody tr:first-child td:nth-child(n+3) {
  color: var(--figma-green);
  font-weight: 900;
}

.tracks-section,
.flow-section,
.route-grid,
.rules-mode-section,
.rules-bottom-grid {
  display: grid;
  gap: 20px;
}

.track-grid,
.flow-grid,
.rule-card-grid,
.dataset-card-grid,
.eligibility-grid {
  display: grid;
  gap: 20px;
}

.track-grid {
  grid-template-columns: repeat(3, 1fr);
}

.flow-grid,
.eligibility-grid {
  grid-template-columns: repeat(4, 1fr);
}

.rule-card-grid,
.dataset-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.dataset-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 398px));
}

.track-card,
.flow-grid article,
.route-grid article,
.dataset-card-grid article,
.rule-card-grid article,
.eligibility-grid article,
.numbered-flow article {
  border: 1px solid var(--figma-line);
  border-radius: 12px;
  padding: 20px;
  background: var(--figma-card);
}

.dataset-card-grid article {
  display: flex;
  min-height: 214px;
  flex-direction: column;
}

.track-card {
  min-height: 185px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.track-card h3,
.dataset-card-grid h3,
.rule-card-grid h3,
.eligibility-grid h3,
.flow-grid h3,
.route-grid h3,
.numbered-flow h3 {
  color: #202020;
  font-size: 20px;
  font-weight: 850;
}

.track-card p,
.dataset-card-grid p,
.rule-card-grid p,
.eligibility-grid p,
.flow-grid p,
.route-grid p,
.numbered-flow p,
.guardrail p {
  color: var(--figma-muted);
  font-size: 14px;
  line-height: 1.5;
}

.track-card button,
.dataset-card-grid button {
  justify-self: end;
  align-self: end;
  width: 44px;
  min-width: 44px;
  padding: 0;
  color: transparent;
  overflow: hidden;
}

.track-card button::after,
.dataset-card-grid button::after {
  content: "→";
  color: #3d3329;
  font-size: 20px;
}

.dataset-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.dataset-card-actions a {
  color: #6f6252;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dataset-card-actions a:hover {
  color: #2f2923;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-grid article span,
.eligibility-grid article span,
.numbered-flow article span,
.dataset-card-grid article > span,
.rule-card-grid article > span,
.guardrail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 30px;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f6efe5;
  color: #544637;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-grid article span,
.eligibility-grid article span,
.numbered-flow article span {
  width: 30px;
  padding: 0;
}

.route-grid {
  grid-template-columns: repeat(4, 1fr);
}

.route-grid article {
  min-height: 112px;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease;
}

.route-grid article:hover {
  border-color: #d8cbbb;
  transform: translateY(-1px);
}

.route-grid article:nth-last-child(-n+2) {
  grid-column: span 2;
}

.board-frame-head {
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--figma-line);
}

.board-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.leaderboard-page .figma-page-hero {
  padding-bottom: 14px;
}

#public .section-head,
#multimodel .section-head,
#coding .section-head {
  display: none;
}

#leaderboardFilters:empty {
  display: none;
}

.evaluation-page {
  gap: 28px;
}

.eval-grid-top {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.figma-panel.panel {
  border-radius: 12px;
  padding: 26px;
  background: var(--figma-card);
  border-color: var(--figma-line);
}

.figma-panel .section-head {
  margin-bottom: 22px;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.figma-panel .section-head h2 {
  font-size: 24px !important;
  font-weight: 850 !important;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
}

.figma-panel .section-note {
  color: var(--figma-muted) !important;
}

.evaluation-page .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.evaluation-page .dataset-area {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.evaluation-page .dataset-list {
  grid-template-columns: 1fr;
}

.current-job-panel {
  min-height: 440px;
}

.small-flow {
  grid-template-columns: repeat(4, 1fr);
}

.benchmark-page,
.rules-page,
.guide-page {
  gap: 34px;
}

.dataset-section {
  display: grid;
  gap: 20px;
}

.rules-panel {
  display: grid;
  gap: 22px;
}

.rules-bottom-grid {
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
}

.numbered-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guardrail {
  align-content: start;
}

.api-contract-section {
  display: grid;
  gap: 20px;
}

.api-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.guide-page .guide-card {
  border-radius: 12px;
  border-color: var(--figma-line);
  background: #fff;
  padding: 26px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card-title-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 12px;
  background: #f6efe5;
  color: #514537;
  font-size: 12px;
  font-weight: 900;
}

.param-table {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border: 1px solid #edf0f3;
  border-radius: 10px;
  overflow: hidden;
}

.param-table > * {
  min-height: 31px;
  border-bottom: 1px solid #edf0f3;
  padding: 8px 12px;
  color: #5f6673;
  font-size: 12px;
  line-height: 1.35;
}

.param-table b {
  background: #f7f8fa;
  color: #3a4656;
}

.param-table > *:nth-last-child(-n+2) {
  border-bottom: 0;
}

.access-dialog {
  border-radius: 16px;
  border-color: var(--figma-line);
  background: var(--figma-card);
}

.access-cta {
  min-width: 168px;
  background: var(--figma-cream);
  border-color: #dbcfc0;
  text-transform: none;
}

button.primary {
  background: #171717;
  border-color: #171717;
}

button.primary:hover {
  background: #2b2b2b;
  border-color: #2b2b2b;
}

button:hover:not(:disabled) {
  border-color: #cfc1ae;
  box-shadow: 0 8px 18px rgba(48, 40, 30, 0.08);
}

.leaderboard-main-section,
.subdataset-detail-table,
#public .leaderboard-main-section,
#public .subdataset-detail-table,
#multimodel .leaderboard-main-section,
#multimodel .subdataset-detail-table,
#coding .leaderboard-main-section,
#coding .subdataset-detail-table {
  border-color: #e8edf2;
  border-radius: 10px;
}

#public .leaderboard-table th,
#multimodel .leaderboard-table th,
#coding .leaderboard-table th {
  background: #f7f8fa;
}

@media (max-width: 1180px) {
  .figma-content.content-shell {
    padding: 0 32px 56px;
  }

  .figma-top-nav {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 72px;
    padding: 14px 24px;
  }

  .top-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    padding-bottom: 4px !important;
  }

  .home-hero,
  .figma-page-hero.split,
  .eval-grid-top,
  .api-contract-grid,
  .rules-bottom-grid {
    grid-template-columns: 1fr;
  }

  .snapshot-card {
    max-width: 560px;
  }

  .track-grid,
  .flow-grid,
  .rule-card-grid,
  .dataset-card-grid,
  .eligibility-grid,
  .route-grid,
  .small-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-grid article:nth-last-child(-n+2) {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .figma-content.content-shell {
    padding: 0 14px 42px;
  }

  .figma-top-nav {
    padding: 12px 14px;
  }

  .figma-brand-copy strong {
    font-size: 18px;
  }

  .home-hero h1,
  .figma-page-hero h1 {
    font-size: 42px;
  }

  .home-hero,
  .figma-page-hero {
    padding: 34px 0 24px;
  }

  .home-board-card,
  .unified-board-frame,
  .figma-panel.panel,
  .rules-panel,
  .api-contract-section,
  .dataset-section {
    padding: 18px;
  }

  .track-grid,
  .flow-grid,
  .rule-card-grid,
  .dataset-card-grid,
  .dataset-card-grid.two,
  .eligibility-grid,
  .route-grid,
  .numbered-flow,
  .small-flow {
    grid-template-columns: 1fr;
  }

  .home-section-head,
  .board-frame-head,
  .api-section-head {
    display: grid;
  }

  .home-section-head h2,
  .board-frame-head h2,
  .dataset-section h2,
  .rules-panel h2,
  .rules-mode-section h2,
  .api-section-head h2 {
    font-size: 28px;
  }

  .auth-box {
    justify-self: end;
  }
}

.figma-top-nav .access-cta {
  white-space: nowrap;
}

#api-guide .figma-page-hero h1 {
  color: var(--figma-ink);
  font-size: 54px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0;
}

#api-guide .figma-page-hero p:not(.figma-eyebrow) {
  color: var(--figma-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.guide-card h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  #api-guide .figma-page-hero h1 {
    font-size: 40px;
    line-height: 48px;
  }

  #api-guide .figma-page-hero p:not(.figma-eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }
}

.figma-content,
.view,
.home-hero,
.home-hero > *,
.home-board-section,
.home-board-card,
.preview-table-wrap,
.tracks-section,
.flow-section,
.explore-section,
.unified-board-frame,
.leaderboard-content,
.leaderboard-main-section,
.subdataset-detail-table,
.benchmark-page,
.dataset-section,
.dataset-card-grid,
.rules-page,
.guide-page,
.api-contract-section,
.api-contract-grid,
.guide-card,
.guide-card-body {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 720px) {
  .home-hero,
  .home-hero > *,
  .hero-copy,
  .hero-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .home-hero h1,
  .figma-page-hero h1 {
    overflow-wrap: break-word;
  }
}

/* Strict Figma guide alignment pass, appended 2026-07-10. */
:root {
  --figma-bg: #faf9f7;
  --figma-card: #fffefa;
  --figma-section: #fffdf9;
  --figma-ink: #2d2a27;
  --figma-body: #817a72;
  --figma-muted: #8a837b;
  --figma-line: #e4ddd3;
  --figma-line-strong: #ded5ca;
  --figma-code: #faf8f4;
  --figma-table-head: #f3eee7;
  --figma-green-soft: #dff3e5;
  --figma-green-text: #31a866;
  --figma-blue-soft: #e9f1ff;
  --figma-blue-text: #426fa9;
}

body {
  background: var(--figma-bg);
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

.figma-top-nav {
  grid-template-columns: 270px minmax(0, 1fr) auto;
  gap: 22px;
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid #e8e1d7;
  background: rgba(255, 254, 250, 0.96);
}

.figma-brand-copy strong {
  color: #302c29;
  font-size: 26px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.figma-brand-copy span {
  display: none;
}

.figma-top-nav .brand-mark {
  border: 1px solid #d9d1c6;
  border-radius: 7px;
  background: #fffefa;
  color: #3b3835;
  font-size: 12px;
  font-weight: 800;
}

.top-nav.tabs {
  gap: 22px;
  justify-content: center;
}

.top-nav .tab {
  height: 36px;
  border-radius: 8px;
  padding: 0 16px;
  color: #45413c;
  font-size: 14px;
  font-weight: 640;
  letter-spacing: 0;
}

.top-nav .tab.active {
  border-color: transparent;
  background: #f5f0ea;
  color: #2d2925;
  font-weight: 760;
}

.figma-top-nav .auth-box {
  justify-self: end;
}

.figma-top-nav .access-cta {
  min-width: 168px;
  min-height: 44px;
  border: 1px solid #171715;
  border-radius: 7px;
  padding: 0 18px;
  background: #181816;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  box-shadow: none;
}

.figma-top-nav .access-cta:hover {
  border-color: #26231f;
  background: #26231f;
  box-shadow: none;
}

.figma-content.content-shell {
  max-width: 1440px;
  padding: 0 80px 64px;
}

.figma-page-hero {
  padding: 54px 0 42px;
}

.guide-page {
  gap: 0;
}

#api-guide .figma-page-hero {
  grid-template-columns: minmax(0, 860px) minmax(240px, 1fr);
  align-items: center;
  min-height: 308px;
  padding: 51px 0 69px;
}

#api-guide .figma-page-hero > div:first-child {
  gap: 22px;
}

#api-guide .figma-eyebrow {
  color: #817b73;
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

#api-guide .figma-page-hero h1 {
  max-width: 860px;
  color: #2c2926;
  font-size: 58px;
  font-weight: 430;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

#api-guide .figma-page-hero p:not(.figma-eyebrow) {
  max-width: 780px;
  color: #827b73;
  font-size: 18px;
  font-weight: 480;
  line-height: 1.52;
}

.guide-hero-button {
  justify-self: center;
  min-width: 176px;
  min-height: 44px;
  border: 1px solid #ded5ca;
  border-radius: 7px;
  background: #fffefa;
  color: #3c3732;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
}

.api-contract-section {
  display: grid;
  gap: 31px;
  width: 100%;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 32px 26px 46px;
  background: var(--figma-section);
}

.api-contract-section + .api-contract-section {
  margin-top: 40px;
}

.api-section-head {
  display: grid;
  gap: 7px;
  margin: 0;
}

.api-section-head h2 {
  color: #312d29;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.api-section-head p {
  max-width: 820px;
  margin: 0;
  color: #827b73;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.42;
}

.api-contract-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}

.guide-page .guide-card {
  display: grid;
  align-content: start;
  gap: 21px;
  min-height: 400px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 26px 24px 24px;
  background: var(--figma-card);
  box-shadow: none;
}

.guide-page .api-contract-section:first-of-type .guide-card {
  min-height: 420px;
}

.card-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.guide-card h3 {
  margin: 0;
  color: #3a352f;
  font-size: 22px;
  font-weight: 520;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.card-title-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  min-width: 100px;
  border: 1px solid #d8ded2;
  border-radius: 999px;
  padding: 0 14px;
  background: var(--figma-green-soft);
  color: var(--figma-green-text);
  font-size: 12px;
  font-weight: 840;
  white-space: nowrap;
}

.guide-card:nth-child(2) .card-title-row span {
  border-color: #d6dced;
  background: var(--figma-blue-soft);
  color: var(--figma-blue-text);
}

.guide-card-body {
  display: grid;
  grid-template-columns: minmax(0, 258px) minmax(0, 262px);
  gap: 20px;
  align-items: stretch;
}

.guide-page .guide-card pre {
  width: 100%;
  height: 250px;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--figma-line);
  border-radius: 6px;
  padding: 14px;
  background: var(--figma-code);
  color: #312d29;
  font-size: 9px;
  line-height: 1.42;
  box-shadow: none;
}

.guide-page .api-contract-section:first-of-type .guide-card pre {
  height: 274px;
}

.guide-page .guide-card code {
  color: inherit;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: inherit;
  line-height: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.param-table {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-self: stretch;
  min-width: 0;
  height: 250px;
  border: 1px solid var(--figma-line);
  border-radius: 6px;
  overflow: hidden;
  background: #fffefa;
}

.api-contract-section:first-of-type .param-table {
  height: 274px;
}

.param-table > * {
  display: flex;
  align-items: center;
  min-height: 0;
  border-bottom: 1px solid var(--figma-line);
  padding: 0 11px;
  color: #817a72;
  font-size: 10px;
  font-weight: 560;
  line-height: 1.22;
}

.param-table b {
  min-height: 30px;
  background: var(--figma-table-head);
  color: #786f65;
  font-size: 10px;
  font-weight: 820;
}

.param-table > *:nth-last-child(-n+2) {
  border-bottom: 0;
}

.page-map-section {
  padding-bottom: 42px;
}

#api-guide .api-contract-section:nth-of-type(1) {
  min-height: 600px;
}

#api-guide .api-contract-section:nth-of-type(2) {
  min-height: 580px;
}

#api-guide .api-contract-section:nth-of-type(3) {
  min-height: 381px;
}

.guide-page-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 32px;
}

.guide-page-map article {
  display: grid;
  align-content: start;
  gap: 9px;
  min-height: 99px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  padding: 19px 20px;
  background: var(--figma-card);
  cursor: default;
}

.guide-page-map article[data-view] {
  cursor: pointer;
}

.guide-page-map h3 {
  margin: 0;
  color: #3b352f;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.22;
}

.guide-page-map p {
  margin: 0;
  color: #867d74;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.42;
}

@media (max-width: 1280px) {
  .figma-content.content-shell {
    padding: 0 56px 60px;
  }

  .top-nav.tabs {
    gap: 10px;
  }

  .guide-card-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-page .guide-card pre,
  .guide-page .api-contract-section:first-of-type .guide-card pre,
  .param-table,
  .api-contract-section:first-of-type .param-table {
    height: auto;
    min-height: 220px;
  }
}

@media (max-width: 980px) {
  #api-guide .figma-page-hero,
  .api-contract-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero-button {
    justify-self: start;
  }

  .guide-page-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #api-guide .figma-page-hero {
    padding: 34px 0 38px;
  }

  #api-guide .figma-page-hero h1 {
    font-size: 42px;
  }

  .api-contract-section {
    padding: 22px 16px 28px;
  }

  .guide-page-map {
    grid-template-columns: 1fr;
  }

  .card-title-row {
    grid-template-columns: 1fr;
  }
}

/* Authoritative Figma alignment. Keep this final layer last. */
:root {
  --figma-bg: #faf9f7;
  --figma-nav: #fdfcf8;
  --figma-card: #fdfcf8;
  --figma-section: rgba(251, 250, 246, 0.72);
  --figma-ink: #272522;
  --figma-muted: #716a5f;
  --figma-line: #e4ded4;
  --figma-green: #25a04b;
  --figma-green-soft: #daf4e4;
}

html,
body {
  overflow-x: hidden;
  background: var(--figma-bg);
}

body,
button,
input,
select,
textarea {
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

.figma-top-nav {
  grid-template-columns: 270px minmax(0, 1fr) auto;
  gap: 20px;
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--figma-line);
  background: rgba(253, 252, 248, 0.98);
  backdrop-filter: none;
}

.figma-brand {
  gap: 16px;
}

.figma-top-nav .brand-mark {
  width: 34px;
  height: 28px;
  border-color: #d9d2c8;
  border-radius: 7px;
  background: var(--figma-card);
  color: var(--figma-ink);
  font-size: 12px;
  font-weight: 700;
}

.figma-brand-copy strong {
  color: var(--figma-ink);
  font-size: 28px;
  font-weight: 600;
  line-height: 32px;
}

.top-nav.tabs {
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.top-nav .tab {
  height: 36px;
  border-radius: 7px;
  padding: 0 16px;
  color: var(--figma-ink);
  font-size: 14px;
  font-weight: 400;
}

.top-nav .tab.active {
  border-color: transparent;
  background: #f6f2ec;
  font-weight: 600;
}

.figma-top-nav .access-cta {
  width: 168px;
  min-width: 168px;
  height: 44px;
  min-height: 44px;
  border-radius: 7px;
  padding: 0 14px;
  background: #1e1d1a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.figma-content.content-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px 64px;
}

.figma-eyebrow {
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
}

.home-view {
  gap: 64px;
}

.home-hero {
  grid-template-columns: minmax(0, 760px) 440px;
  justify-content: space-between;
  gap: 48px;
  min-height: 382px;
  padding: 54px 0 36px;
}

.hero-copy,
.figma-page-hero > div:first-child {
  gap: 18px;
}

.home-hero h1,
.figma-page-hero h1 {
  max-width: 860px;
  color: var(--figma-ink);
  font-size: 54px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0;
}

.hero-description,
.figma-page-hero p:not(.figma-eyebrow) {
  max-width: 820px;
  color: var(--figma-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.hero-actions {
  gap: 14px;
  margin-top: 14px;
}

.hero-actions button,
.guide-hero-button,
.small-button,
.preview-open-button {
  min-height: 44px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  padding: 0 18px;
  background: var(--figma-card);
  color: var(--figma-ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.hero-actions button.primary,
button.primary {
  border-color: #1e1d1a;
  background: #1e1d1a;
  color: #fff;
}

.snapshot-card {
  width: 440px;
  min-height: 226px;
  gap: 16px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 26px;
  background: var(--figma-card);
  box-shadow: 0 14px 30px rgba(39, 37, 34, 0.06);
}

.snapshot-card h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
}

.snapshot-stats strong {
  font-size: 34px;
  font-weight: 600;
}

.snapshot-stats span,
.snapshot-pills span {
  font-size: 12px;
  font-weight: 400;
}

.snapshot-pills span,
.hero-pills span,
.board-meta-row span {
  min-height: 28px;
  border-color: var(--figma-line);
  background: #f6f2ec;
  color: var(--figma-muted);
}

.home-board-section {
  display: grid;
  gap: 16px;
}

.home-board-section > h2,
.home-section-head h2,
.dataset-section h2,
.rules-panel h2,
.rules-mode-section h2,
.api-section-head h2 {
  color: var(--figma-ink);
  font-size: 30px;
  font-weight: 400;
  line-height: 38px;
}

.home-board-card,
.unified-board-frame,
.figma-panel.panel,
.rules-panel,
.api-contract-section,
.track-card,
.flow-grid article,
.route-grid article,
.dataset-card-grid article,
.rule-card-grid article {
  border-color: var(--figma-line);
  border-radius: 8px;
  background: var(--figma-card);
  box-shadow: none;
}

.home-board-card {
  padding: 14px 24px 12px;
}

.preview-tabs {
  width: 324px;
  height: 30px;
  gap: 4px;
  margin: 0 0 14px;
  border-color: var(--figma-line);
  border-radius: 7px;
  padding: 3px;
  background: #f6f2ec;
}

.preview-tabs span {
  min-width: 100px;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 400;
}

.preview-table-wrap {
  width: 100%;
  border: 0;
  border-radius: 0;
  overflow-x: auto;
}

.preview-table {
  width: 100%;
  min-width: 1212px;
  table-layout: auto;
}

.preview-table th,
.preview-table td {
  height: 48px;
  border-bottom: 1px solid var(--figma-line);
  padding: 0 8px;
  color: var(--figma-ink);
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
  white-space: normal;
}

.preview-table thead th {
  background: #f3efe9;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 500;
}

.preview-table thead tr:first-child th {
  height: 36px;
  border-bottom: 0;
}

.preview-table thead tr:last-child th {
  height: 36px;
}

.preview-table tbody tr:first-child {
  background: rgba(218, 244, 228, 0.26);
}

.preview-table tbody tr:first-child td:nth-child(n+3) {
  color: var(--figma-green);
  font-weight: 600;
}

.preview-overall {
  display: grid;
  grid-template-columns: 44px 48px;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.preview-overall b {
  color: inherit;
  font-size: 12px;
  font-weight: 600;
}

.preview-overall i {
  display: block;
  width: 48px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--figma-green) var(--score), #ebe8e2 var(--score));
}

.preview-open-button {
  min-height: 30px;
  margin-top: 10px;
  padding: 0 14px;
  font-size: 11px;
}

.tracks-section,
.flow-section,
.explore-section,
.rules-mode-section {
  display: grid;
  gap: 20px;
}

.home-section-head,
.board-frame-head,
.api-section-head {
  margin: 0;
}

.home-section-head p,
.dataset-section > p,
.rules-mode-section > p,
.api-section-head p {
  margin-top: 0;
  color: var(--figma-muted);
  font-size: 13px;
  line-height: 18px;
}

.track-grid {
  grid-template-columns: repeat(3, minmax(0, 398px));
  justify-content: space-between;
  gap: 32px;
}

.track-card {
  min-height: 178px;
  padding: 22px;
}

.track-card h3,
.flow-grid h3,
.route-grid h3,
.dataset-card-grid h3,
.rule-card-grid h3,
.eligibility-grid h3,
.numbered-flow h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.track-card p,
.flow-grid p,
.route-grid p,
.dataset-card-grid p,
.rule-card-grid p,
.eligibility-grid p,
.numbered-flow p,
.guardrail p {
  color: var(--figma-muted);
  font-size: 13px;
  line-height: 18px;
}

.track-card button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 8px;
  background: #1e1d1a;
}

.track-card button::after {
  color: #fff;
  font-size: 18px;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.flow-grid article {
  min-height: 128px;
  padding: 18px;
}

.flow-grid article span,
.numbered-flow article span {
  width: 26px;
  min-width: 26px;
  min-height: 26px;
  margin-bottom: 8px;
  padding: 0;
  font-size: 11px;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 32px;
}

.route-grid article {
  min-height: 112px;
  padding: 20px;
}

.figma-page-hero,
.leaderboard-page .figma-page-hero {
  padding: 72px 0 58px;
}

.leaderboard-page {
  gap: 0;
}

.unified-board-frame {
  min-height: 940px;
  padding: 26px 28px 34px;
}

.board-frame-head {
  align-items: center;
  margin: 0;
  padding-bottom: 22px;
}

.board-frame-head h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.board-frame-head p {
  margin-top: 4px;
  color: var(--figma-muted);
  font-size: 12px;
  line-height: 18px;
}

.board-switch.tabs {
  gap: 10px;
}

.board-switch .tab {
  min-width: 118px;
  height: 36px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  background: var(--figma-card);
  font-size: 12px;
  font-weight: 500;
}

.board-switch .tab.active {
  border-color: #1e1d1a;
  background: #1e1d1a;
  color: #fff;
}

.board-meta-row {
  margin: 18px 0;
}

.board-meta-row span {
  min-height: 30px;
  font-size: 11px;
  font-weight: 500;
}

.leaderboard-main-section,
.subdataset-detail-table,
#public .leaderboard-main-section,
#public .subdataset-detail-table,
#multimodel .leaderboard-main-section,
#coding .leaderboard-main-section {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  overflow: auto;
}

#public .leaderboard-main-section .leaderboard-table {
  min-width: 1212px !important;
}

#public .subdataset-detail-table .leaderboard-table {
  min-width: 980px !important;
}

#multimodel .leaderboard-table {
  min-width: 760px !important;
}

#coding .leaderboard-table {
  min-width: 700px !important;
}

#public .leaderboard-table,
#multimodel .leaderboard-table,
#coding .leaderboard-table {
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

#public .leaderboard-table th,
#public .leaderboard-table td,
#multimodel .leaderboard-table th,
#multimodel .leaderboard-table td,
#coding .leaderboard-table th,
#coding .leaderboard-table td {
  height: 48px;
  border-bottom: 1px solid var(--figma-line);
  padding: 0 8px;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 11px;
  line-height: 14px;
}

#public .leaderboard-table th,
#multimodel .leaderboard-table th,
#coding .leaderboard-table th {
  background: #f3efe9;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 500;
}

.rank-badge,
#public .rank-badge,
#multimodel .rank-badge,
#coding .rank-badge {
  width: auto;
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--figma-ink);
  font-size: 12px;
  font-weight: 400;
}

#public .version-link,
#multimodel .version-link,
#coding .version-link,
#public .leaderboard-overall-score > span,
#coding .leaderboard-overall-score > span,
#public .leaderboard-table .score-metric strong,
#multimodel .leaderboard-table .score-metric strong,
#coding .leaderboard-table .score-metric strong {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

#public .leaderboard-overall-score,
#coding .leaderboard-overall-score {
  grid-template-columns: 54px minmax(80px, 126px);
  gap: 10px;
}

.leaderboard-detail-panel {
  margin-top: 28px;
}

.benchmark-page,
.rules-page {
  gap: 72px;
}

.benchmark-page .figma-page-hero,
.rules-page .figma-page-hero {
  padding-bottom: 20px;
}

.dataset-section {
  gap: 24px;
  border: 0;
  padding: 0;
  background: transparent;
}

.dataset-card-grid {
  grid-template-columns: repeat(3, minmax(0, 398px));
  gap: 28px 40px;
}

.dataset-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 398px));
}

.dataset-card-grid article {
  min-height: 150px;
  padding: 18px;
}

.dataset-card-grid article > span,
.rule-card-grid article > span,
.guardrail span {
  min-height: 22px;
  margin-bottom: 10px;
  padding: 0 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: lowercase;
}

.dataset-card-actions {
  justify-content: flex-end;
}

.dataset-card-actions a {
  color: var(--figma-green);
  font-size: 12px;
  font-weight: 600;
}

.rules-page .figma-page-hero.split {
  grid-template-columns: minmax(0, 1fr) auto;
}

.rules-panel {
  padding: 26px 24px;
}

.eligibility-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
}

.eligibility-grid article {
  grid-column: span 2;
  border: 0;
  padding: 0;
  background: transparent;
}

.eligibility-grid article:nth-child(4) {
  grid-column: 2 / span 2;
}

.eligibility-grid article:nth-child(5) {
  grid-column: 4 / span 2;
}

.eligibility-grid article span {
  float: left;
  width: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0 10px 32px 0;
  padding: 0;
  background: #e1f5e7;
  color: var(--figma-green);
  font-size: 12px;
}

.rule-card-grid {
  grid-template-columns: repeat(3, minmax(0, 398px));
  gap: 40px;
}

.rule-card-grid article {
  min-height: 194px;
  padding: 20px;
}

.rules-bottom-grid {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 40px;
}

.evaluation-page {
  gap: 28px;
}

.evaluation-page .figma-page-hero.split {
  grid-template-columns: minmax(0, 760px) 440px;
  justify-content: space-between;
}

.eval-grid-top {
  grid-template-columns: minmax(0, 760px) minmax(340px, 1fr);
  gap: 56px;
}

.figma-panel.panel {
  padding: 24px;
}

.figma-panel .section-head h2 {
  font-size: 24px !important;
  font-weight: 400 !important;
}

.current-job-panel {
  min-height: 420px;
}

.guide-page .guide-card-body {
  grid-template-columns: minmax(0, 258px) minmax(0, 262px);
  gap: 20px;
}

@media (max-width: 1320px) {
  .figma-top-nav {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 0 22px;
  }

  .figma-brand-copy strong {
    font-size: 23px;
  }

  .top-nav.tabs {
    gap: 2px;
  }

  .top-nav .tab {
    padding: 0 10px;
    font-size: 12px;
  }

  .figma-top-nav .access-cta {
    width: 150px;
    min-width: 150px;
    font-size: 12px;
  }

  .figma-content.content-shell {
    padding: 0 48px 60px;
  }

  .home-hero,
  .evaluation-page .figma-page-hero.split {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 38px;
  }

  .snapshot-card {
    width: 100%;
  }

  .track-grid,
  .dataset-card-grid,
  .rule-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .guide-page .guide-card-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 16px;
  }
}

@media (max-width: 1100px) {
  .figma-top-nav {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 12px 24px 8px;
  }

  .top-nav.tabs {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .home-hero,
  .figma-page-hero.split,
  .evaluation-page .figma-page-hero.split,
  .eval-grid-top,
  .rules-bottom-grid,
  .api-contract-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 0;
  }

  .snapshot-card {
    max-width: 440px;
  }

  .track-grid,
  .dataset-card-grid,
  .rule-card-grid,
  .flow-grid,
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .eligibility-grid article,
  .eligibility-grid article:nth-child(4),
  .eligibility-grid article:nth-child(5) {
    grid-column: auto;
  }

  .guide-page .guide-card-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .figma-content.content-shell {
    padding: 0 14px 42px;
  }

  .figma-top-nav {
    padding: 10px 14px 7px;
  }

  .figma-brand-copy strong {
    font-size: 20px;
    line-height: 26px;
  }

  .figma-top-nav .access-cta {
    width: 132px;
    min-width: 132px;
    height: 38px;
    min-height: 38px;
    padding: 0 8px;
    font-size: 11px;
  }

  .home-view,
  .benchmark-page,
  .rules-page {
    gap: 42px;
  }

  .home-hero,
  .figma-page-hero,
  .leaderboard-page .figma-page-hero {
    padding: 38px 0 30px;
  }

  .home-hero h1,
  .figma-page-hero h1,
  #api-guide .figma-page-hero h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-description,
  .figma-page-hero p:not(.figma-eyebrow),
  #api-guide .figma-page-hero p:not(.figma-eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }

  .snapshot-card {
    width: 100%;
  }

  .home-board-card,
  .unified-board-frame,
  .figma-panel.panel,
  .rules-panel,
  .api-contract-section {
    padding: 16px;
  }

  .track-grid,
  .dataset-card-grid,
  .dataset-card-grid.two,
  .rule-card-grid,
  .flow-grid,
  .route-grid,
  .eligibility-grid,
  .numbered-flow,
  .guide-page-map,
  .guide-page .guide-card-body {
    grid-template-columns: 1fr;
  }

  .route-grid article:nth-last-child(-n+2) {
    grid-column: span 1;
  }

  .board-frame-head,
  .home-section-head,
  .api-section-head {
    display: grid;
  }

  .board-switch.tabs {
    width: 100%;
    overflow-x: auto;
  }

  .board-switch .tab {
    min-width: 104px;
  }

  .guide-page .guide-card pre,
  .guide-page .api-contract-section:first-of-type .guide-card pre,
  .param-table,
  .api-contract-section:first-of-type .param-table {
    width: 100%;
    height: auto;
    min-height: 220px;
    overflow: auto;
  }
}

/* Final specificity fixes for the exported Figma screens. */
.figma-top-nav .access-cta {
  white-space: nowrap;
}

#api-guide .figma-page-hero h1 {
  color: var(--figma-ink);
  font-size: 54px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0;
}

#api-guide .figma-page-hero p:not(.figma-eyebrow) {
  color: var(--figma-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.guide-card h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  #api-guide .figma-page-hero h1 {
    font-size: 40px;
    line-height: 48px;
  }

  #api-guide .figma-page-hero p:not(.figma-eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Home page refinement: interactive public-board previews. */
#home .home-hero {
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
  min-height: 330px;
}

#home .home-board-card {
  padding: 14px 24px 16px;
}

#home .preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 438px;
  height: 36px;
  gap: 4px;
  margin-bottom: 18px;
  padding: 3px;
}

#home .preview-tabs button {
  min-width: 0;
  min-height: 28px;
  border: 0;
  border-radius: 5px;
  padding: 0 16px;
  background: transparent;
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 400;
  box-shadow: none;
  cursor: pointer;
}

#home .preview-tabs button.active {
  background: #fff;
  color: var(--figma-ink);
  font-weight: 500;
}

.home-preview-content {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.home-preview-content .preview-table-wrap {
  border: 0;
  overflow: auto;
}

.home-preview-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

.home-preview-textual {
  min-width: 1212px;
}

.home-preview-multimodal {
  min-width: 760px;
}

.home-preview-coding {
  min-width: 700px;
}

.home-preview-table th,
.home-preview-table td {
  height: 48px;
  border-bottom: 1px solid var(--figma-line);
  padding: 0 8px;
  text-align: center;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 14px;
}

.home-preview-table th {
  background: #f3efe9;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 500;
  white-space: normal;
}

.home-preview-table thead tr:first-child th {
  height: 36px;
  border-bottom: 0;
}

.home-preview-table thead tr:last-child th {
  height: 36px;
}

.home-preview-table th:nth-child(2),
.home-preview-table td:nth-child(2) {
  text-align: left;
}

.home-preview-table tbody tr:first-child {
  background: rgba(218, 244, 228, 0.26);
}

.home-preview-table .dataset-score-td,
.home-preview-table .question-type-score-td {
  background: var(--score-bg, transparent);
  color: var(--score-text, var(--figma-ink));
  font-weight: var(--score-weight, 400);
}

.home-preview-score {
  display: grid;
  grid-template-columns: 48px 64px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-preview-score > span {
  color: #111;
  font-size: 12px;
  font-weight: 400;
}

.home-preview-score.is-best > span {
  color: var(--figma-green);
  font-weight: 700;
}

.home-preview-score > i {
  display: block;
  width: 64px;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e6e0;
}

.home-preview-score > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--figma-green);
}

#home .preview-open-button {
  margin-top: 14px;
}

#home .track-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  color: #fff;
}

#home .track-card button::after {
  content: none;
}

#home .track-card button span {
  display: block;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 1320px) {
  #home .home-hero {
    grid-template-columns: minmax(0, 860px);
  }
}

@media (max-width: 720px) {
  #home .home-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  #home .preview-tabs {
    width: 100%;
  }

  #home .preview-tabs button {
    padding: 0 8px;
  }
}

/* Evaluation workspace alignment and private-result table polish. */
#run .eval-grid-top {
  align-items: stretch;
}

#run #evalCreatePanel,
#run .current-job-panel {
  height: 100%;
  min-height: 0;
}

#run .current-job-panel {
  display: flex;
  flex-direction: column;
}

#run .current-job-panel .active-jobs {
  flex: 0 0 auto;
}

#run .current-job-panel .job-detail {
  min-width: 0;
  flex: 1 1 auto;
  align-content: start;
  overflow: auto;
}

#run .current-job-panel .job-detail.empty-state {
  display: grid;
  min-height: 190px;
  place-items: center;
}

#run .eval-flow-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#run .eval-flow-panel .home-section-head {
  margin-bottom: 0;
}

#run #recentJobsPanel,
#run #privateResultsPanel {
  overflow: hidden;
}

#run [hidden] {
  display: none !important;
}

#run .recent-jobs {
  gap: 18px;
  margin: 0;
  padding: 0;
  border-top: 0;
}

#run .recent-jobs-head {
  align-items: flex-end;
  margin: 0;
  padding: 0;
}

#run .recent-inline-detail {
  display: grid;
  gap: 16px;
  min-width: 0;
}

#run .recent-inline-detail .run-detail-head {
  border-color: #e8e2da;
  background: #fffdf9;
}

#run .recent-inline-detail .job-summary-grid {
  grid-template-columns: repeat(4, minmax(130px, 1fr));
}

#run .recent-inline-detail .job-task-wrap {
  max-height: 520px;
  overflow: auto;
  border-color: #e8e2da;
  scrollbar-gutter: stable;
}

@media (max-width: 900px) {
  #run .recent-inline-detail .job-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#run .recent-jobs-head > div {
  gap: 5px;
}

#run .recent-jobs-head h2,
#run #privateResultsPanel .section-head h2 {
  margin: 0;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

#run .recent-jobs-head small,
#run #privateResultsPanel .section-note {
  color: var(--figma-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

#run #privateResultsPanel .section-head {
  align-items: flex-end;
  margin-bottom: 20px;
}

#run .private-overview {
  margin-bottom: 20px;
}

#run .table-toolbar {
  min-height: 52px;
  margin: 0;
  padding: 0 0 14px;
  border: 0;
  background: transparent;
}

#run .table-toolbar > div:first-child {
  display: grid;
  gap: 3px;
}

#run .table-toolbar strong {
  color: var(--figma-ink);
  font-size: 14px;
  font-weight: 650;
}

#run .table-toolbar span {
  color: var(--figma-muted);
  font-size: 12px;
}

#run .private-table-wrap {
  max-height: 640px;
  overflow: auto;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  background: var(--figma-card);
  scrollbar-gutter: stable;
}

#run .private-table {
  width: 100%;
  min-width: 1432px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--figma-card);
}

#run .private-table:has(.col-user) {
  min-width: 1572px;
}

#run .private-table thead {
  background: var(--figma-table-head, #f3eee7);
}

#run .private-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--figma-line);
  background: var(--figma-table-head, #f3eee7);
  color: #625b53;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

#run .private-table td {
  height: 62px;
  min-width: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--figma-line);
  color: var(--figma-ink);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  vertical-align: middle;
}

#run .private-table tbody tr:last-child td {
  border-bottom: 0;
}

#run .private-table tbody tr:hover {
  background: #fbfaf7;
}

#run .private-table .col-id {
  width: 168px;
}

#run .private-table .col-status {
  width: 140px;
}

#run .private-table .col-score {
  width: 94px;
}

#run .private-table .col-datasets {
  width: 280px;
}

#run .private-table .col-version {
  width: 150px;
}

#run .private-table .col-mode {
  width: 80px;
}

#run .private-table .col-suite {
  width: 240px;
}

#run .private-table .col-time {
  width: 170px;
}

#run .private-table .col-user {
  width: 140px;
}

#run .private-table .col-action {
  width: 110px;
}

#run .private-job-cell .result-job-id,
#run .private-version-cell .text-strong,
#run .private-user-cell .mono {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  white-space: nowrap;
}

#run .private-job-cell .result-job-id {
  color: #3d5268;
  font-size: 12px;
  font-weight: 500;
}

#run .private-version-cell .text-strong {
  font-weight: 600;
}

#run .private-created-cell,
#run .private-mode-cell,
#run .private-suite-cell,
#run .private-status-cell,
#run .private-action-cell {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

#run .private-status-cell .status-badge,
#run .private-mode-cell .suite-chip,
#run .private-suite-cell .suite-chip {
  max-width: 100%;
}

#run .private-failure-cell {
  min-width: 0;
  text-align: left;
}

#run .result-failure {
  min-width: 0;
  max-width: 100%;
  border: 1px solid color-mix(in srgb, var(--danger) 20%, var(--figma-line));
  border-radius: 7px;
  background: color-mix(in srgb, var(--danger-soft) 58%, var(--figma-card));
  overflow: hidden;
  text-align: left;
}

#run .result-failure summary {
  min-width: 0;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--danger);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .result-failure pre {
  max-height: 180px;
  margin: 0;
  padding: 8px 9px;
  border-top: 1px solid color-mix(in srgb, var(--danger) 16%, var(--figma-line));
  color: var(--danger);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  line-height: 1.45;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#run .result-failure-empty {
  color: var(--figma-muted);
}

#run .private-suite-cell .suite-chip {
  display: inline-flex;
  width: auto;
  overflow: hidden;
  justify-content: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .private-action-cell .small-button {
  width: 100%;
  max-width: 82px;
  margin-inline: auto;
}

#run .private-average-cell .score-metric {
  justify-items: center;
}

#run .private-score-list {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 6px;
  justify-items: center;
}

#run .private-score-item {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

#run .private-score-item summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  background: #fbfaf7;
}

#run .private-score-item summary::before {
  grid-column: 1;
}

#run .private-score-title {
  grid-column: 2;
  overflow: hidden;
  color: var(--figma-ink);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .private-score-item .status-badge,
#run .private-score-item .score-pill,
#run .private-score-item em {
  flex: 0 0 auto;
  white-space: nowrap;
}

#run .private-score-item .status-badge,
#run .private-score-item .score-pill {
  min-width: 58px;
  height: 24px;
  padding-inline: 8px;
  font-size: 11px;
}

#run .private-score-detail {
  display: grid;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  padding: 8px 0 2px;
  overflow-x: auto;
}

#run .private-score-detail .breakdown-block,
#run .private-score-detail .error-text {
  min-width: 0;
  max-width: 100%;
}

#run .private-score-detail .nested-table {
  min-width: 420px;
}

#run .private-score-detail pre {
  max-width: 100%;
  overflow: auto;
}

#run .suite-dataset-list {
  display: grid;
  gap: 8px;
  min-width: 260px;
  padding: 10px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  background: #fffdf9;
}

#run .suite-dataset-list h4 {
  margin: 0;
  color: var(--figma-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

#run .suite-dataset-grid {
  display: grid;
  gap: 2px;
}

#run .suite-dataset-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--figma-ink);
  font-size: 12px;
}

#run .suite-dataset-row:nth-child(odd) {
  background: #f7f5f1;
}

#run .suite-dataset-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .suite-dataset-row strong {
  color: #249a45;
  font-weight: 600;
}

#run .suite-dataset-row em,
#run .private-score-empty {
  margin: 0;
  color: var(--figma-muted);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

#run .private-score-error {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid #f0cbc5;
  border-radius: 7px;
  background: #fff7f5;
  color: #a93528;
}

#run .private-score-error span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #f8ddd8;
  font-size: 11px;
  font-weight: 700;
}

#run .private-score-error p {
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .private-score-error p b,
#run .private-score-error p small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .private-score-error p small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .evaluation-error-panel-head {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .evaluation-error-card {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .evaluation-error-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .evaluation-error-action {
    grid-template-columns: 22px minmax(0, 1fr);
  }
}

@media (max-width: 1100px) {
  #run .eval-grid-top {
    align-items: start;
  }

  #run #evalCreatePanel,
  #run .current-job-panel {
    height: auto;
  }

  #run .current-job-panel .job-detail.empty-state {
    min-height: 150px;
  }
}

@media (max-width: 720px) {
  #run .recent-jobs-head,
  #run .table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  #run .recent-jobs-head .filter-control,
  #run .table-toolbar .filter-row {
    width: 100%;
  }

  #run .table-toolbar .filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #run .private-table-wrap {
    max-height: 560px;
  }
}

/* Guide contract cards: one readable row per request or response. */
#api-guide .api-contract-list {
  display: grid;
  width: 100%;
  gap: 28px;
}

#api-guide .guide-contract-card {
  display: grid;
  min-height: 0;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  background: var(--figma-card);
  box-shadow: none;
}

#api-guide .guide-contract-card .card-title-row {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 24px;
}

#api-guide .guide-contract-card .card-title-row > div {
  display: grid;
  min-width: 0;
  gap: 8px;
}

#api-guide .guide-contract-card h2 {
  margin: 0;
  color: var(--figma-ink);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

#api-guide .guide-contract-card .card-title-row p {
  max-width: 860px;
  margin: 0;
  color: var(--figma-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

#api-guide .guide-contract-card.response-card .card-title-row > span {
  border-color: #d6dced;
  background: var(--figma-blue-soft);
  color: var(--figma-blue-text);
}

#api-guide .guide-contract-card.request-card .card-title-row > span {
  border-color: #d8ded2;
  background: var(--figma-green-soft);
  color: var(--figma-green-text);
}

#api-guide .guide-contract-card .guide-card-body {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  align-items: stretch;
  gap: 28px;
}

#api-guide .guide-contract-card pre,
#api-guide .guide-contract-card .param-table {
  width: 100%;
  height: auto !important;
  min-height: 300px;
  margin: 0;
}

#api-guide .guide-contract-card pre {
  align-self: stretch;
  overflow: auto;
  padding: 22px;
  font-size: 13px;
  line-height: 1.6;
}

#api-guide .guide-contract-card .param-table {
  grid-template-columns: 150px 104px minmax(0, 1fr);
  align-self: stretch;
}

#api-guide .guide-contract-card .param-table > * {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

#api-guide .guide-contract-card .param-table b {
  font-size: 13px;
  font-weight: 700;
}

#api-guide .guide-contract-card .param-table > *:nth-last-child(-n+3) {
  border-bottom: 0;
}

#api-guide .guide-contract-card .param-table > span:nth-child(3n + 2) {
  color: var(--figma-ink);
  font-weight: 650;
}

#api-guide .guide-contract-card .param-table > span:nth-child(3n + 1),
#api-guide .guide-contract-card .param-table > span:nth-child(3n) {
  color: #817a72;
  font-weight: 500;
}

#api-guide .guide-contract-card .param-table > span:nth-child(3n) {
  display: block;
}

@media (max-width: 1100px) {
  #api-guide .guide-contract-card .guide-card-body {
    grid-template-columns: 1fr;
  }

  #api-guide .guide-contract-card pre,
  #api-guide .guide-contract-card .param-table {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  #api-guide .api-contract-list {
    gap: 20px;
  }

  #api-guide .guide-contract-card {
    gap: 20px;
    padding: 18px;
  }

  #api-guide .guide-contract-card .card-title-row {
    grid-template-columns: 1fr;
  }

  #api-guide .guide-contract-card .card-title-row > span {
    justify-self: start;
  }

  #api-guide .guide-contract-card h2 {
    font-size: 24px;
  }

  #api-guide .guide-contract-card pre {
    min-height: 260px;
    padding: 16px;
    font-size: 12px;
  }

  #api-guide .guide-contract-card .param-table {
    grid-template-columns: 92px 82px minmax(0, 1fr);
    min-height: 0;
  }

  #api-guide .guide-contract-card .param-table > * {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* Compact page map at the end of the Guide. */
#api-guide .page-map-section {
  min-height: 0 !important;
  gap: 22px;
  padding: 28px 30px 30px;
}

#api-guide .page-map-section .api-section-head {
  gap: 6px;
}

#api-guide .page-map-section .api-section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

#api-guide .page-map-section .api-section-head p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

#api-guide .guide-page-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 240px));
  justify-content: start;
  gap: 14px 16px;
}

#api-guide .guide-page-map article {
  display: grid;
  min-height: 104px;
  align-content: center;
  gap: 7px;
  padding: 16px 18px;
}

#api-guide .guide-page-map h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
}

#api-guide .guide-page-map p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 980px) {
  #api-guide .guide-page-map {
    grid-template-columns: repeat(2, minmax(190px, 240px));
  }
}

@media (max-width: 560px) {
  #api-guide .page-map-section {
    padding: 20px 18px;
  }

  #api-guide .guide-page-map {
    grid-template-columns: 1fr;
  }
}

/* Textual leaderboard ranking is controlled from one menu, not table headers. */
#public .leaderboard-rank-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0 16px;
}

#public #leaderboardRankControl {
  display: flex;
  justify-content: flex-end;
}

#public .leaderboard-rank-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 0 10px 0 12px;
  background: var(--figma-card);
  color: var(--figma-muted);
  box-shadow: none;
}

#public .leaderboard-rank-control > span {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--figma-muted);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}

#public .leaderboard-rank-control select {
  min-width: 190px;
  max-width: 290px;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

#public .leaderboard-detail-head .leaderboard-rank-control {
  margin-left: auto;
}

#public .leaderboard-table th,
#public .leaderboard-table .leaderboard-head-label,
#public .leaderboard-table .version-link {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  letter-spacing: 0;
}

#public .leaderboard-table .leaderboard-head-label {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

#public .leaderboard-table .version-link {
  font-weight: 400;
}

#public .leaderboard-table .version-link.top-ranked-model {
  font-weight: 700;
}

/* Final presentation layer: unified title bands and preview-control parity. */
.figma-top-nav {
  border-bottom-color: #cbd4d8 !important;
  background: #dce3e7 !important;
  box-shadow: 0 1px 0 rgba(44, 54, 59, 0.04) !important;
}

.figma-top-nav :is(.figma-brand-copy strong, .figma-brand-copy span, .top-nav .tab) {
  color: #293136 !important;
}

.figma-top-nav .brand-mark {
  border-color: #bbc6cc !important;
  background: rgba(255, 255, 255, 0.52) !important;
  color: #293136 !important;
}

.figma-top-nav .top-nav .tab:hover {
  border-color: rgba(82, 99, 108, 0.14) !important;
  background: rgba(255, 255, 255, 0.36) !important;
}

.figma-top-nav .top-nav .tab.active {
  border-color: #c3cdd2 !important;
  background: #f8f8f6 !important;
  color: #293136 !important;
}

.figma-top-nav :is(.access-identity, .access-exit-button) {
  border-color: #bcc8ce !important;
  background: rgba(255, 255, 255, 0.38) !important;
  color: #293136 !important;
}

.figma-top-nav .access-identity span { color: #6e7a80 !important; }
.figma-top-nav .access-identity strong { color: #293136 !important; }

.figma-top-nav .access-exit-button:hover {
  border-color: #aebbc1 !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: #293136 !important;
}

.figma-top-nav :is(.access-session, .access-entry) .access-cta {
  border-color: #30393e !important;
  background: #30393e !important;
  color: #fff !important;
}

#home > .home-hero,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  width: 100% !important;
  margin-top: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e9edf0 !important;
  box-shadow: 0 0 0 100vmax #e9edf0 !important;
  clip-path: inset(0 -100vmax);
}

#home > .home-hero::before,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 158px,
    rgba(88, 108, 118, 0.10) 159px,
    rgba(88, 108, 118, 0.10) 161px,
    transparent 162px,
    transparent 320px
  );
  background-position: 32px 0;
  opacity: 0.56;
  pointer-events: none;
}

#home > .home-hero::after,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -155px;
  width: 460px;
  height: 460px;
  border: 2px solid rgba(88, 108, 118, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 52px rgba(88, 108, 118, 0.055),
    0 0 0 104px rgba(88, 108, 118, 0.028);
  transform: translateY(-50%);
  pointer-events: none;
}

#home > .home-hero > *,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  #home > .home-hero::before,
  :is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero::before {
    background-position: 12px 0;
    opacity: 0.42;
  }

  #home > .home-hero::after,
  :is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero::after {
    display: none;
  }
}

#home > .home-hero {
  min-height: 350px !important;
  padding: 58px 0 !important;
}

#home .home-hero .figma-eyebrow,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero .figma-eyebrow {
  color: #69767d !important;
  font-weight: 500 !important;
}

#home .home-hero h1,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero h1 {
  color: #252c30 !important;
}

#home .home-hero .hero-description,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero p:not(.figma-eyebrow) {
  color: #5e6970 !important;
}

#home .home-hero .hero-actions button {
  border-color: #c6d0d5 !important;
  background: rgba(255, 255, 255, 0.46) !important;
  color: #293136 !important;
}

#home .home-hero .hero-actions button:hover {
  border-color: #abb9bf !important;
  background: rgba(255, 255, 255, 0.76) !important;
}

#home .home-hero .hero-actions button.primary {
  border-color: #30393e !important;
  background: #30393e !important;
  color: #fff !important;
}

#home .preview-tabs.board-switch.tabs {
  display: grid !important;
  grid-template-columns: repeat(3, 118px) !important;
  justify-content: end !important;
  width: 100% !important;
  height: auto !important;
  gap: 10px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--figma-line) !important;
  border-radius: 0 !important;
  padding: 10px 0 22px !important;
  background: transparent !important;
}

#home .preview-tabs.board-switch.tabs button {
  width: 118px !important;
  min-width: 118px !important;
  height: 36px !important;
  min-height: 36px !important;
  border: 1px solid var(--figma-line) !important;
  border-radius: 7px !important;
  padding: 0 16px !important;
  background: var(--figma-card) !important;
  color: var(--figma-ink) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

#home .preview-tabs.board-switch.tabs button.active {
  border-color: #1e1d1a !important;
  background: #1e1d1a !important;
  color: #fff !important;
}

#home .home-preview-rank-toolbar {
  min-height: 42px !important;
  margin: 12px 0 16px !important;
}

#home .leaderboard-rank-control {
  min-height: 38px !important;
  gap: 9px !important;
  border: 1px solid var(--figma-line) !important;
  border-radius: 8px !important;
  padding: 0 10px 0 12px !important;
  background: var(--figma-card) !important;
}

#home .leaderboard-rank-control > span {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

#home .leaderboard-rank-control select {
  min-width: 190px !important;
  max-width: 310px !important;
  height: 34px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

@media (max-width: 720px) {
  #home .preview-tabs.board-switch.tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  #home .preview-tabs.board-switch.tabs button {
    width: auto !important;
    min-width: 0 !important;
  }

  #home > .home-hero {
    padding: 38px 0 !important;
  }
}

/* Home preview controls mirror the full leaderboard controls. */
#home .preview-tabs.board-switch.tabs {
  display: grid;
  grid-template-columns: repeat(3, 118px);
  justify-content: end;
  width: 100%;
  height: auto;
  gap: 10px;
  margin: 0;
  border-bottom: 1px solid var(--figma-line);
  padding: 10px 0 22px;
  background: transparent;
}

#home .preview-tabs.board-switch.tabs button {
  width: 118px;
  min-width: 118px;
  height: 36px;
  min-height: 36px;
  border: 1px solid var(--figma-line);
  border-radius: 7px;
  padding: 0 16px;
  background: var(--figma-card);
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

#home .preview-tabs.board-switch.tabs button.active {
  border-color: #1e1d1a;
  background: #1e1d1a;
  color: #fff;
}

#home .home-preview-rank-toolbar {
  min-height: 42px;
  margin: 12px 0 16px;
}

#home .leaderboard-rank-control {
  min-height: 38px;
  gap: 9px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 0 10px 0 12px;
  background: var(--figma-card);
  box-shadow: none;
}

#home .leaderboard-rank-control > span {
  width: auto;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

#home .leaderboard-rank-control select {
  min-width: 190px;
  max-width: 310px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 400;
}

/* One quiet, full-width title band across all six public pages. */
.figma-top-nav {
  border-bottom-color: #cbd4d8 !important;
  background: #dce3e7 !important;
  box-shadow: 0 1px 0 rgba(44, 54, 59, 0.04);
}

.figma-top-nav .figma-brand-copy strong,
.figma-top-nav .figma-brand-copy span,
.figma-top-nav .top-nav .tab {
  color: #293136;
}

.figma-top-nav .brand-mark {
  border-color: #bbc6cc !important;
  background: rgba(255, 255, 255, 0.52) !important;
  color: #293136 !important;
}

.figma-top-nav .top-nav .tab:hover {
  border-color: rgba(82, 99, 108, 0.14);
  background: rgba(255, 255, 255, 0.36);
  color: #1f272b;
}

.figma-top-nav .top-nav .tab.active {
  border-color: #c3cdd2;
  background: #f8f8f6;
  color: #293136;
}

.figma-top-nav .access-identity,
.figma-top-nav .access-exit-button {
  border-color: #bcc8ce !important;
  background: rgba(255, 255, 255, 0.38) !important;
  color: #293136 !important;
}

.figma-top-nav .access-identity span {
  color: #6e7a80;
}

.figma-top-nav .access-identity strong {
  color: #293136;
}

.figma-top-nav .access-exit-button:hover {
  border-color: #aebbc1 !important;
  background: rgba(255, 255, 255, 0.68) !important;
  color: #293136 !important;
}

.figma-top-nav .access-session .access-cta,
.figma-top-nav .access-entry .access-cta {
  border-color: #30393e;
  background: #30393e;
  color: #fff;
}

#home > .home-hero,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero {
  position: relative;
  width: 100%;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: #e9edf0;
  box-shadow: 0 0 0 100vmax #e9edf0;
  clip-path: inset(0 -100vmax);
}

#home > .home-hero {
  min-height: 350px;
  padding: 58px 0;
}

#home .home-hero .figma-eyebrow,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero .figma-eyebrow {
  color: #69767d !important;
  font-weight: 500;
}

#home .home-hero h1,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero h1 {
  color: #252c30 !important;
}

#home .home-hero .hero-description,
:is(#public, #multimodel, #coding, #run, #benchmark-details, #rules, #api-guide) > .figma-page-hero p:not(.figma-eyebrow) {
  color: #5e6970 !important;
}

#home .home-hero .hero-actions button {
  border-color: #c6d0d5;
  background: rgba(255, 255, 255, 0.46);
  color: #293136;
}

#home .home-hero .hero-actions button:hover {
  border-color: #abb9bf;
  background: rgba(255, 255, 255, 0.76);
  color: #20272b;
}

#home .home-hero .hero-actions button.primary {
  border-color: #30393e;
  background: #30393e;
  color: #fff;
}

#home .home-hero .hero-actions button.primary:hover {
  border-color: #20282c;
  background: #20282c;
}

@media (max-width: 720px) {
  #home .preview-tabs.board-switch.tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  #home .preview-tabs.board-switch.tabs button {
    width: auto;
    min-width: 0;
  }

  #home > .home-hero {
    padding: 38px 0;
  }
}

/* Home leaderboard preview uses the same main-table system as the full boards. */
#home .home-board-card {
  padding: 24px;
}

#home .preview-tabs.board-switch.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  width: min(100%, 486px);
  height: auto;
  gap: 12px;
  margin: 0 0 4px auto;
  padding: 0;
  border: 0;
  background: transparent;
}

#home .preview-tabs.board-switch.tabs button {
  min-height: 48px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  background: #fff;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

#home .preview-tabs.board-switch.tabs button.active {
  border-color: #1e1d1a;
  background: #1e1d1a;
  color: #fff;
  font-weight: 400;
}

#home .home-preview-rank-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0 16px;
}

#home .leaderboard-rank-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 0 10px 0 12px;
  background: var(--figma-card);
  color: var(--figma-muted);
}

#home .leaderboard-rank-control > span {
  color: var(--figma-muted);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

#home .leaderboard-rank-control select {
  min-width: 190px;
  max-width: 310px;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
}

#home .home-preview-main {
  width: 100%;
  max-width: 100%;
  max-height: 680px;
  overflow: auto;
  border: 1px solid #e6ebf1;
  border-radius: 0;
  background: #fff;
  scrollbar-color: rgba(78, 78, 78, 0.55) transparent;
}

#home .home-preview-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

#home .home-preview-textual { min-width: 1212px; }
#home .home-preview-multimodal { min-width: 760px !important; }
#home .home-preview-coding { min-width: 700px !important; }

#home .home-preview-table th,
#home .home-preview-table td {
  border-bottom: 1px solid var(--figma-line);
  padding: 0 7px;
  color: #151515;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  text-align: center;
  vertical-align: middle;
}

#home .home-preview-table td {
  height: 48px;
}

#home .home-preview-table thead th {
  height: auto;
  background: #fff !important;
  color: #151515 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 21.25px !important;
  padding: 7px !important;
  letter-spacing: 0 !important;
}

#home .home-preview-table .leaderboard-head-primary th,
#home .home-preview-table .dataset-group-head,
#home .home-preview-table thead th[rowspan] {
  height: 26px !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 21.25px !important;
}

#home .home-preview-table .leaderboard-head-secondary th,
#home .home-preview-table .dataset-metric-head {
  top: 30px;
  height: 26px !important;
  color: #151515 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 17.5px !important;
}

#home .home-preview-table .leaderboard-head-label {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  font: inherit;
}

#home .home-preview-table tbody tr:first-child {
  background: transparent;
}

#home .home-preview-table th:nth-child(2),
#home .home-preview-table td:nth-child(2) {
  text-align: center;
}

#home .home-preview-table .rank-badge {
  width: auto;
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #4f5965;
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

#home .home-preview-table .version-link {
  color: #151515;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400;
  line-height: 1.2;
}

#home .home-preview-table .version-link.top-ranked-model {
  color: #2fa241;
  font-weight: 700;
}

#home .home-preview-table :is(.dataset-score-td, .question-type-score-td) {
  background: var(--score-bg, transparent);
  color: var(--score-text, #151515);
}

#home .home-preview-table :is(.dataset-score-cell, .question-type-score-cell) {
  display: inline-flex;
  min-width: 82px;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: var(--score-weight, 400);
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
  letter-spacing: 0;
}

#home .home-preview-table .leaderboard-overall-score > span {
  color: inherit;
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
  letter-spacing: 0;
}

#home .home-preview-table .leaderboard-overall-score {
  display: grid;
  grid-template-columns: 54px minmax(80px, 126px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

#home .home-preview-table .leaderboard-overall-score > span {
  color: var(--overall-score-text, #2fa241);
  font-weight: var(--overall-score-weight, 400);
  text-align: right;
}

#home .home-preview-table .leaderboard-overall-track {
  position: relative;
  height: 13px;
  overflow: hidden;
  border-radius: 2px;
  background: #f0eee9;
}

#home .home-preview-table .leaderboard-overall-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #3aa247;
}

#home .home-preview-public .col-rank { width: 64px; }
#home .home-preview-public .col-version { width: 150px; }
#home .home-preview-public .col-score { width: 224px; }
#home .home-preview-multimodal .col-rank,
#home .home-preview-coding .col-rank { width: 42px; }
#home .home-preview-multimodal .col-version,
#home .home-preview-coding .col-version { width: 92px; }
#home .home-preview-multimodal .col-dataset-score,
#home .home-preview-coding .col-dataset-score { width: 80px; }
#home .home-preview-coding .col-score { width: 190px; }

@media (max-width: 720px) {
  #home .preview-tabs.board-switch.tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  #home .preview-tabs.board-switch.tabs button {
    min-height: 40px;
    padding: 0 8px;
    font-size: 13px;
  }

  #home .home-preview-rank-toolbar {
    align-items: stretch;
  }

  #home .leaderboard-rank-control {
    width: 100%;
  }

  #home .leaderboard-rank-control select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

/* Header access controls: key and exit sit before the primary contribution action. */
@media (min-width: 1321px) {
  .figma-content.content-shell {
    max-width: 1600px;
    padding-right: 64px;
    padding-left: 64px;
  }
}

#api-guide .figma-eyebrow {
  font-weight: 400 !important;
}

.rules-page .guardrail > span {
  display: inline-flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 0;
  border: 1px solid #e1d8cc;
  border-radius: 8px;
  padding: 0 16px;
  background: #f7f2eb;
  color: #4f463d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  box-shadow: 0 1px 0 rgba(45, 39, 33, 0.03);
}

/* Balanced evaluation panels and a calmer current-job hierarchy. */
#run .eval-grid-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

#run #evalCreatePanel,
#run .current-job-panel {
  width: 100%;
  min-width: 0;
}

#run #evalCreatePanel {
  height: auto;
}

#run .current-job-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: var(--eval-create-panel-height, auto);
  max-height: var(--eval-create-panel-height, none);
  overflow: hidden;
}

#run .current-job-panel .active-jobs {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 10px;
}

#run .current-job-panel .active-jobs-head {
  min-height: 28px;
  align-items: center;
}

#run .current-job-panel .active-job-list {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

#run .current-job-panel .active-job-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-width: 0;
  min-height: 70px;
  gap: 8px 16px;
  padding: 13px 16px;
  overflow: hidden;
}

#run .current-job-panel .active-job-card > :nth-child(even) {
  justify-self: end;
}

#run .current-job-panel .active-job-progress {
  position: absolute;
  right: 16px;
  bottom: 6px;
  left: 16px;
  display: block;
  width: auto;
  height: 6px;
  overflow: hidden;
  border: 1px solid #d7d0c7;
  border-radius: 999px;
  background: #e2ddd5;
  box-shadow: inset 0 1px 2px rgba(56, 48, 39, 0.08);
  pointer-events: none;
}

#run .current-job-panel .active-job-progress i {
  display: block;
  width: 0;
  min-width: 3px;
  height: 100%;
  border-radius: 999px;
  background: #35a853;
  transition: width 220ms ease;
}

#run .current-job-panel .job-detail {
  flex: 1 1 auto;
  gap: 16px;
  min-height: 0;
  padding-right: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

#run .current-job-panel .run-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  align-items: start;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 10px;
}

#run .current-job-panel .run-detail-head h3 {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.25;
}

#run .current-job-panel .run-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 2px 0 0;
  color: var(--figma-muted);
  font-size: 13px;
  font-weight: 400;
}

#run .current-job-panel .run-detail-actions {
  align-items: center;
  align-self: start;
  flex-wrap: nowrap;
}

#run .current-job-panel .job-detail > .job-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
}

#run .current-job-panel .job-detail > .job-actions span {
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

#run .current-job-panel .job-detail > .job-actions .danger-button {
  min-width: 96px;
  min-height: 38px;
}

#run .current-job-panel .job-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

#run .current-job-panel .summary-card {
  min-height: 90px;
  padding: 12px;
  border-radius: 10px;
}

#run .current-job-panel .summary-card span {
  font-size: 11px;
  font-weight: 600;
}

#run .current-job-panel .summary-card strong,
#run .current-job-panel .task-count-metric strong {
  font-size: 17px;
}

#run .current-job-panel .metadata-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#run .current-job-panel .metadata-strip span {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#run .current-job-panel .job-task-wrap {
  border-radius: 8px;
  scrollbar-gutter: stable;
}

#run .current-job-panel .job-task-table {
  min-width: 900px;
}

#run .current-job-panel .job-task-table th:nth-child(1),
#run .current-job-panel .job-task-table td:nth-child(1) {
  width: 150px;
}

#run .current-job-panel .job-task-table th:nth-child(2),
#run .current-job-panel .job-task-table td:nth-child(2),
#run .current-job-panel .job-task-table th:nth-child(3),
#run .current-job-panel .job-task-table td:nth-child(3),
#run .current-job-panel .job-task-table th:nth-child(4),
#run .current-job-panel .job-task-table td:nth-child(4) {
  width: 95px;
}

#run .current-job-panel .job-task-table th:nth-child(5),
#run .current-job-panel .job-task-table td:nth-child(5) {
  width: 260px;
}

#run .current-job-panel .job-task-table th:nth-child(6),
#run .current-job-panel .job-task-table td:nth-child(6) {
  width: 80px;
}

#run .current-job-panel .job-task-table th:nth-child(7),
#run .current-job-panel .job-task-table td:nth-child(7) {
  width: 190px;
}

@media (max-width: 1100px) {
  #run .eval-grid-top {
    grid-template-columns: 1fr;
  }

  #run .current-job-panel {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 720px) {
  #run .current-job-panel .job-summary-grid,
  #run .current-job-panel .metadata-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #run .current-job-panel .job-detail > .job-actions {
    grid-template-columns: 1fr;
  }
}

#home .route-grid article:nth-last-child(-n + 2) {
  grid-column: span 1;
}

@media (min-width: 1101px) {
  #home .route-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #home .route-grid article {
    grid-column: span 1 !important;
    width: 100%;
    min-width: 0;
    height: 100%;
  }
}

/* Home identity: a restrained colored title band with a related fixed nav. */
.figma-top-nav {
  border-bottom-color: #334d48 !important;
  background: #203833 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.figma-top-nav .figma-brand-copy strong,
.figma-top-nav .figma-brand-copy span,
.figma-top-nav .top-nav .tab {
  color: #f6f3ec;
}

.figma-top-nav .brand-mark {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f6f3ec !important;
}

.figma-top-nav .top-nav .tab:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.figma-top-nav .top-nav .tab.active {
  border-color: #ece6db;
  background: #f5f1e8;
  color: #203833;
}

.figma-top-nav .access-identity,
.figma-top-nav .access-exit-button {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #f6f3ec !important;
}

.figma-top-nav .access-identity span {
  color: #b8c9c4;
}

.figma-top-nav .access-identity strong {
  color: #fff;
}

.figma-top-nav .access-exit-button:hover {
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}

.figma-top-nav .access-session .access-cta,
.figma-top-nav .access-entry .access-cta {
  border-color: #f5f1e8;
  background: #f5f1e8;
  color: #203833;
}

#home .home-hero {
  position: relative;
  min-height: 350px;
  align-content: center;
  margin-top: 24px;
  border: 1px solid #3d5953;
  border-radius: 8px;
  padding: 58px 64px;
  background: #2d4943;
  box-shadow: 0 14px 34px rgba(35, 54, 50, 0.12);
}

#home .home-hero .hero-copy {
  max-width: 1000px;
}

#home .home-hero .figma-eyebrow {
  color: #b9cbc6;
  font-weight: 500;
}

#home .home-hero h1 {
  max-width: 100%;
  color: #fffdf8;
  white-space: normal;
}

#home .home-hero .hero-description {
  color: #d6e0dd;
}

#home .home-hero .hero-actions button {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fffdf8;
}

#home .home-hero .hero-actions button:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

#home .home-hero .hero-actions button.primary {
  border-color: #f5f1e8;
  background: #f5f1e8;
  color: #203833;
}

#home .home-hero .hero-actions button.primary:hover {
  border-color: #fff;
  background: #fff;
}

@media (min-width: 721px) and (max-width: 1320px) {
  #home .home-hero h1 {
    font-size: 48px;
    line-height: 58px;
  }
}

@media (max-width: 720px) {
  #home .home-hero {
    margin-top: 14px;
    padding: 38px 24px;
  }
}

@media (min-width: 1101px) {
  #benchmark-details .dataset-card-grid,
  #benchmark-details .dataset-card-grid.two {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 32px;
  }
}

#benchmark-details .dataset-card-grid,
#benchmark-details .dataset-card-grid.two {
  grid-auto-rows: 160px;
}

#benchmark-details .dataset-card-grid article {
  width: 100%;
  min-height: 160px;
  height: 160px;
}

@media (min-width: 721px) and (max-width: 1100px) {
  #benchmark-details .dataset-card-grid,
  #benchmark-details .dataset-card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #benchmark-details .dataset-card-grid,
  #benchmark-details .dataset-card-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  #api-guide .guide-page-map {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    width: 100%;
    gap: 14px 16px;
  }

  #api-guide .guide-page-map article {
    grid-column: span 3;
  }

  #api-guide .guide-page-map article:nth-child(n + 5) {
    grid-column: span 4;
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  #api-guide .guide-page-map article:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }
}

/* Keep the Guide page map aligned with the spacing and grid rhythm above it. */
#api-guide .api-contract-section + .page-map-section {
  margin-top: 48px;
}

@media (min-width: 981px) {
  #api-guide .guide-page-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  #api-guide .guide-page-map article,
  #api-guide .guide-page-map article:nth-child(n + 5) {
    grid-column: auto;
    min-height: 108px;
  }
}

@media (min-width: 561px) and (max-width: 980px) {
  #api-guide .guide-page-map article:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
}

.figma-top-nav {
  position: fixed !important;
  top: 0 !important;
  right: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  margin: 0;
}

.figma-shell.app-frame {
  padding-top: var(--top-nav-height, 72px);
}

html {
  scroll-padding-top: calc(var(--top-nav-height, 72px) + 16px);
}

:is(#evalCreatePanel, #privateResultsPanel, .figma-page-hero) {
  scroll-margin-top: calc(var(--top-nav-height, 72px) + 16px);
}

.figma-top-nav .auth-box {
  display: flex;
  width: auto;
  min-width: 0;
  align-self: stretch;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.figma-top-nav .access-entry,
.figma-top-nav .access-session {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.figma-top-nav .access-identity {
  display: inline-flex;
  min-width: 0;
  height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2ddd5;
  border-radius: 8px;
  padding: 0 12px;
  background: #f8f5f0;
  box-shadow: none;
}

.figma-top-nav .access-identity span {
  color: #7b746b;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.figma-top-nav .access-identity strong {
  max-width: 156px;
  overflow: hidden;
  color: #292622;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-top-nav .access-exit-button {
  display: inline-flex;
  width: 58px;
  min-width: 58px;
  height: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2ddd5;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: #59534c;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
}

.figma-top-nav .access-exit-button:hover {
  border-color: #d8b9b4;
  background: #fff7f5;
  color: #a13f34;
  box-shadow: none;
}

.figma-top-nav .access-session .access-cta,
.figma-top-nav .access-entry .access-cta {
  display: inline-flex;
  width: 168px;
  min-width: 168px;
  height: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0;
}

@media (max-width: 1320px) {
  .figma-top-nav .access-identity strong {
    max-width: 112px;
  }

  .figma-top-nav .access-identity span {
    display: none;
  }

  .figma-top-nav .access-session .access-cta,
  .figma-top-nav .access-entry .access-cta {
    width: 150px;
    min-width: 150px;
  }
}

@media (max-width: 720px) {
  .figma-top-nav {
    grid-template-columns: 1fr;
  }

  .figma-top-nav .auth-box {
    grid-column: 1 / -1;
    width: 100%;
  }

  .figma-top-nav .access-session,
  .figma-top-nav .access-entry {
    width: 100%;
  }

  .figma-top-nav .access-identity {
    flex: 1 1 auto;
  }

  .figma-top-nav .access-identity strong {
    max-width: 100%;
  }

  .figma-top-nav .access-session .access-cta,
  .figma-top-nav .access-entry .access-cta {
    width: 132px;
    min-width: 132px;
    height: 40px;
    min-height: 40px;
  }
}

/* Exact header parity across textual, multimodal, and coding leaderboards. */
:is(#public, #multimodel, #coding)
  :is(.leaderboard-main-section, .subdataset-detail-table)
  .leaderboard-table thead th {
  background: #fff !important;
  color: #151515 !important;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 21.25px !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  vertical-align: middle !important;
}

:is(#public, #multimodel, #coding)
  :is(.leaderboard-main-section, .subdataset-detail-table)
  .leaderboard-table thead .dataset-group-head,
:is(#public, #multimodel, #coding)
  :is(.leaderboard-main-section, .subdataset-detail-table)
  .leaderboard-table thead th[rowspan] {
  font-size: 17px !important;
  line-height: 21.25px !important;
}

:is(#public, #multimodel, #coding)
  :is(.leaderboard-main-section, .subdataset-detail-table)
  .leaderboard-table thead .dataset-metric-head {
  color: #151515 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 17.5px !important;
}

:is(#public, #multimodel, #coding)
  :is(.leaderboard-main-section, .subdataset-detail-table)
  .leaderboard-table thead .leaderboard-head-label {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

/* Match Multimodal and Coding header typography exactly to Textual. */
:is(#multimodel, #coding) .leaderboard-table thead th {
  background: #fff !important;
  color: #151515 !important;
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 21.25px !important;
  padding: 7px !important;
  text-align: center !important;
  vertical-align: middle !important;
}

:is(#multimodel, #coding) .grouped-leaderboard-head .leaderboard-head-primary th,
:is(#multimodel, #coding) .grouped-leaderboard-head .dataset-group-head {
  height: 26px;
  background: #fff !important;
  color: #151515 !important;
  font-size: 17px !important;
  line-height: 21.25px !important;
  padding: 7px !important;
}

:is(#multimodel, #coding) .grouped-leaderboard-head .leaderboard-head-secondary th,
:is(#multimodel, #coding) .grouped-leaderboard-head .dataset-metric-head {
  height: 26px;
  background: #fff !important;
  color: #151515 !important;
  font-size: 14px !important;
  line-height: 17.5px !important;
  padding: 7px !important;
}

#public .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#public .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head {
  font-weight: 400 !important;
}

/* Keep all public leaderboard tracks on the same visual and interaction system. */
:is(#public, #multimodel, #coding) .leaderboard-rank-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0 16px;
}

:is(#public, #multimodel, #coding) .leaderboard-rank-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--figma-line);
  border-radius: 8px;
  padding: 0 10px 0 12px;
  background: var(--figma-card);
  color: var(--figma-muted);
  box-shadow: none;
}

:is(#public, #multimodel, #coding) .leaderboard-rank-control > span {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--figma-muted);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}

:is(#public, #multimodel, #coding) .leaderboard-rank-control select {
  min-width: 190px;
  max-width: 310px;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--figma-ink);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

:is(#public, #multimodel, #coding) .leaderboard-detail-head {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

:is(#public, #multimodel, #coding) .leaderboard-detail-head .leaderboard-rank-control {
  margin-left: auto;
}

#multimodel .leaderboard-table th,
#multimodel .leaderboard-table .leaderboard-head-label,
#multimodel .grouped-leaderboard-head .dataset-group-head,
#multimodel .grouped-leaderboard-head .dataset-metric-head,
#coding .leaderboard-table th,
#coding .leaderboard-table .leaderboard-head-label,
#coding .grouped-leaderboard-head .dataset-group-head,
#coding .grouped-leaderboard-head .dataset-metric-head,
#multimodel .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#multimodel .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head,
#coding .leaderboard-main-section .grouped-leaderboard-head .dataset-group-head,
#coding .leaderboard-main-section .grouped-leaderboard-head .dataset-metric-head {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}

:is(#multimodel, #coding) .leaderboard-table .leaderboard-head-label {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

:is(#multimodel, #coding) .leaderboard-table .version-link {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
  font-size: 17px !important;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

:is(#multimodel, #coding) .leaderboard-table .version-link.top-ranked-model {
  font-weight: 700;
}

#multimodel .leaderboard-table :is(.dataset-score-cell, .question-type-score-cell),
#coding .leaderboard-table :is(.dataset-score-cell, .question-type-score-cell),
#coding .leaderboard-overall-score > span {
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  :is(#multimodel, #coding) .leaderboard-rank-toolbar,
  :is(#multimodel, #coding) .leaderboard-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  :is(#multimodel, #coding) .leaderboard-rank-control {
    width: 100%;
    margin-left: 0;
  }

  :is(#multimodel, #coding) .leaderboard-rank-control select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

#public .leaderboard-main-section .dataset-score-cell,
#public .subdataset-detail-table .question-type-score-cell,
#public .leaderboard-overall-score > span {
  font-family: "MeriendaLeaderboardNumbers", CNNSansDisplayW04-Regular, "CNN Sans Display W04 Regular", Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  #public .leaderboard-rank-toolbar {
    align-items: stretch;
  }

  #public #leaderboardRankControl,
  #public .leaderboard-rank-control {
    width: 100%;
  }

  #public .leaderboard-rank-control select {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  #public .leaderboard-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  #public .leaderboard-detail-head .leaderboard-rank-control {
    margin-left: 0;
  }
}

/* Textual leaderboard header and model typography. */
#public .leaderboard-table th,
#public .leaderboard-table .leaderboard-head-label,
#public .grouped-leaderboard-head .dataset-group-head,
#public .grouped-leaderboard-head .dataset-metric-head,
#public .leaderboard-main-section .leaderboard-table thead th:first-child,
#public .leaderboard-main-section .leaderboard-table thead th:nth-child(2),
#public .subdataset-detail-table .leaderboard-table thead th:first-child,
#public .subdataset-detail-table .leaderboard-table thead th:nth-child(2) {
  font-weight: 400 !important;
}

#public .leaderboard-table .version-link {
  font-size: 17px !important;
  line-height: 1.2;
}

#public .leaderboard-table .version-link.top-ranked-model {
  font-weight: 700;
}
.leaderboard-table .col-run-metric {
  width: 140px;
}

.leaderboard-run-metric {
  white-space: nowrap;
}

/* Keep model names readable and centered across every public board surface. */
:is(#multimodel, #coding) :is(.leaderboard-main-section, .subdataset-detail-table) .col-version,
#home :is(.home-preview-multimodal, .home-preview-coding) .col-version {
  width: 220px !important;
}

:is(#multimodel, #coding) .leaderboard-table th:nth-child(2),
:is(#multimodel, #coding) .leaderboard-table td:nth-child(2),
#home :is(.home-preview-multimodal, .home-preview-coding) th:nth-child(2),
#home :is(.home-preview-multimodal, .home-preview-coding) td:nth-child(2) {
  text-align: center !important;
}

:is(#multimodel, #coding) .leaderboard-table td:nth-child(2) .leaderboard-model-cell,
#home :is(.home-preview-multimodal, .home-preview-coding) td:nth-child(2) {
  align-items: center;
  justify-content: center;
}

:is(#multimodel, #coding) .leaderboard-table td:nth-child(2) .version-link,
#home :is(.home-preview-multimodal, .home-preview-coding) td:nth-child(2) .version-link {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#multimodel .leaderboard-table,
#home .home-preview-multimodal {
  min-width: 888px !important;
}

#coding .leaderboard-table,
#home .home-preview-coding {
  min-width: 828px !important;
}

/* Give sortable headers a fixed arrow lane so labels stay centered and clear. */
.leaderboard-header-sort {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  padding: 0 24px;
}

.leaderboard-header-sort .leaderboard-head-label {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

.leaderboard-header-sort .leaderboard-sort-arrows {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* Podium colors apply only to leaderboard rank numbers. */
:is(#public, #multimodel, #coding, #home) .leaderboard-table .rank-badge.rank-badge-gold {
  color: #d4af37 !important;
}

:is(#public, #multimodel, #coding, #home) .leaderboard-table .rank-badge.rank-badge-silver {
  color: #8a929d;
}

:is(#public, #multimodel, #coding, #home) .leaderboard-table .rank-badge.rank-badge-bronze {
  color: #a76632;
}

/* Use one typography system for private-result values and expanded scores. */
#run .private-table,
#run .private-table td,
#run .private-table td *,
#run .private-score-detail,
#run .private-score-detail * {
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif !important;
}

#run .private-table :is(.score-metric strong, .score-pill, .suite-dataset-row strong) {
  font-variant-numeric: tabular-nums;
}


/* Submission receipt shown until an administrator schedules the evaluation. */
#run .job-submission-receipt {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 330px;
  padding: 34px 28px;
  border: 1px solid color-mix(in srgb, var(--theme-positive, #149c75) 28%, var(--theme-line));
  border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--theme-positive, #149c75) 12%, transparent), transparent 48%), var(--theme-surface);
  text-align: center;
}
#run .job-submission-receipt-icon { display:grid; place-items:center; width:52px; height:52px; margin-bottom:14px; border:1px solid color-mix(in srgb, var(--theme-positive, #149c75) 45%, var(--theme-line)); border-radius:50%; color:var(--theme-positive, #149c75); font-size:24px; font-weight:800; }
#run .job-submission-receipt h3 { margin:7px 0 8px; color:var(--theme-ink); font-size:21px; }
#run .job-submission-receipt > p { max-width:520px; margin:0; color:var(--theme-muted); font-size:13px; line-height:1.65; }
#run .job-submission-receipt-meta { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:min(100%,560px); margin-top:24px; overflow:hidden; border:1px solid var(--theme-line); border-radius:10px; }
#run .job-submission-receipt-meta > span { display:grid; min-width:0; gap:4px; padding:12px 14px; }
#run .job-submission-receipt-meta > span + span { border-left:1px solid var(--theme-line); }
#run .job-submission-receipt-meta small { color:var(--theme-muted); font-size:10px; font-weight:750; letter-spacing:.06em; text-transform:uppercase; }
#run .job-submission-receipt-meta strong { overflow:hidden; color:var(--theme-ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
#run .job-submission-receipt .job-actions { display:grid; grid-template-columns:auto minmax(0,1fr); width:min(100%,560px); margin-top:18px; align-items:center; gap:12px; padding:11px 12px; border:1px solid var(--theme-line); border-radius:10px; text-align:left; }
#run .job-submission-receipt .job-actions span { color:var(--theme-muted); font-size:11px; line-height:1.5; }
@media (max-width: 640px) { #run .job-submission-receipt-meta { grid-template-columns:1fr 1fr; } #run .job-submission-receipt-meta > span + span { border-left:0; } #run .job-submission-receipt .job-actions { grid-template-columns:1fr; text-align:center; } }
