/* The report is authored and rendered by fusor; these styles share the
   documentation site's visual language, without an external font request. */
:root {
  --ink: #182722;
  --muted: #607068;
  --line: #e0e7e3;
  --green: #087d57;
  --pale: #edf7f1;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #77c7a3;
  outline-offset: 4px;
}
.topbar {
  height: 76px;
  position: static;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: #fff;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.brand strong span {
  color: var(--muted);
  font-weight: 400;
}
.topbar nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 550;
}
.topbar nav .active {
  color: var(--green);
}
.page {
  max-width: 1440px;
  margin: auto;
  padding: 0 4%;
}
.hero {
  padding: 65px 0 46px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  font:
    600 10px ui-monospace,
    monospace;
  letter-spacing: 1.4px;
  color: var(--green);
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 17px;
}
.eyebrow span,
.run-meta i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20a576;
}
.hero h1 {
  font-size: clamp(30px, 3.8vw, 49px);
  font-weight: 640;
  letter-spacing: -2px;
  line-height: 1.13;
  margin: 0 0 21px;
}
.intro {
  color: var(--muted);
  font-size: 16px;
  max-width: 545px;
  margin: 0;
}
.principle {
  border: 1px solid var(--line);
  padding: 26px;
  background: linear-gradient(140deg, #f8fbf9, #fff);
  border-radius: 12px;
}
.small-label {
  color: var(--muted);
  font:
    600 9px ui-monospace,
    monospace;
  letter-spacing: 1.2px;
}
.principle h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 13px 0 9px;
}
.principle p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 20px;
}
.principle a {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.report-toolbar {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 5px 0 14px;
}
.categories {
  display: flex;
  gap: 3px;
  overflow: auto;
}
.categories button {
  white-space: nowrap;
  padding: 8px 11px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.categories button:hover {
  background: #f5f7f6;
}
.categories button.active {
  color: var(--green);
  background: var(--pale);
  font-weight: 600;
}
.percentile {
  display: flex;
  padding: 3px;
  background: #f0f3f1;
  border-radius: 7px;
  flex-shrink: 0;
}
.percentile button {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 5px;
  cursor: pointer;
}
.percentile button.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px #1934261a;
}
.run-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px 0;
  font-size: 10px;
  color: var(--muted);
}
.run-meta i {
  margin-right: 5px;
  width: 5px;
  height: 5px;
}
.run-meta a {
  margin-left: auto;
  color: var(--green);
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.results,
.memory-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin: 0;
  display: table;
}
.results {
  min-width: 970px;
}
.results caption,
.memory-table caption {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.results th,
.memory-table th {
  background: #f8faf9;
  color: var(--ink);
  text-align: right;
  padding: 18px 15px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
}
.results th:first-child,
.memory-table th:first-child {
  text-align: left;
  width: 30%;
  padding-left: 23px;
}
.results th small,
.memory-table th small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
  letter-spacing: 0;
}
.results th.rust-column {
  background: #edf6f0;
  color: #07613f;
}
.results td {
  padding: 14px 15px;
  text-align: right;
  border-bottom: 1px solid #edf0ee;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-variant-numeric: tabular-nums;
}
.results td:first-child {
  padding-left: 23px;
  text-align: left;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #273d32;
}
.results td:first-child small {
  display: block;
  color: #78887e;
  font-size: 9px;
  font-weight: 400;
  margin-top: 4px;
  max-width: 285px;
}
.results td:first-child .unit {
  font:
    9px ui-monospace,
    monospace;
  color: #829187;
  margin-left: 7px;
}
.results td.rust-column {
  background: #f8fcf9;
}
.results td.best {
  color: #047346;
  font-weight: 700;
}
.results tr:last-child td,
.memory-table tr:last-child td {
  border-bottom: 0;
}
.results tbody tr:hover td {
  background: #f4f8f5;
}
.table-note {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  padding: 15px 0 0;
}
.best-key {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  flex-shrink: 0;
}
.memory-section {
  padding-top: 66px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0;
}
.section-heading a {
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}
.tag {
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 9px;
  border-radius: 5px;
  white-space: nowrap;
}
.section-lead {
  font-size: 12px;
  color: var(--muted);
  max-width: 760px;
  margin: 14px 0 25px;
  line-height: 1.8;
}
.memory-table {
  min-width: 850px;
}
.memory-table th:first-child {
  width: auto;
}
.memory-table td {
  padding: 15px;
  text-align: right;
  font:
    12px ui-monospace,
    monospace;
  border-bottom: 1px solid #edf0ee;
}
.memory-table td:first-child {
  padding-left: 23px;
  font: 500 12px inherit;
  text-align: left;
}
.fine-print {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 870px;
  margin-top: 15px;
}
.environment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
  margin-top: 34px;
  background: #fafcfb;
}
.environment strong {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
}
.methodology {
  padding: 70px 0 0;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 32px 0 36px;
}
.method-grid article > span {
  font:
    11px ui-monospace,
    monospace;
  color: #9dafa3;
}
.method-grid h3 {
  font-size: 14px;
  margin: 12px 0 10px;
}
.method-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.reproduce {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  background: #f8fbf9;
  border-radius: 10px;
  padding: 26px;
}
.reproduce h3 {
  font-size: 15px;
  margin: 0 0 9px;
}
.reproduce p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.reproduce pre {
  background: #122b20;
  color: #c1e0cd;
  font-size: 11px;
  padding: 17px 28px;
  border-radius: 7px;
  margin: 0;
  min-width: 310px;
  line-height: 1.8;
  overflow: auto;
}
.reproduce code {
  font-family: ui-monospace, monospace;
  background: none;
  padding: 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 34px 0;
  border-top: 1px solid var(--line);
  margin-top: 55px;
}
.footer a {
  color: var(--green);
}
.load-status {
  padding: 30px;
  background: #f6faf7;
  margin: 20px 0;
  border-radius: 8px;
  font-size: 13px;
}
.load-status button {
  border: 1px solid var(--line);
  background: white;
  padding: 6px 12px;
  border-radius: 5px;
  color: var(--green);
  cursor: pointer;
}
.report-error {
  color: #823615;
  font-size: 12px;
  background: #fff6ef;
  padding: 12px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .page {
    padding: 0 55px;
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 30px;
    grid-template-columns: 1fr 275px;
  }
  .categories button {
    padding: 8px;
  }
  .report-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
  .categories {
    max-width: 100%;
  }
  .percentile {
    align-self: flex-end;
  }
  .run-meta {
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .topbar nav {
    gap: 15px;
    font-size: 11px;
  }
  .topbar nav a:last-child {
    display: none;
  }
  .brand {
    font-size: 14px;
    gap: 8px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .brand strong span {
    display: none;
  }
  .page {
    padding: 0 20px;
  }
  .hero {
    display: block;
    padding: 40px 0 30px;
  }
  .hero h1 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .intro {
    font-size: 14px;
  }
  .principle {
    margin-top: 27px;
    padding: 20px;
  }
  .principle h2 {
    margin: 8px 0;
    font-size: 19px;
  }
  .principle p {
    margin-bottom: 12px;
  }
  .report-toolbar {
    gap: 8px;
  }
  .categories {
    width: 100%;
    padding-bottom: 4px;
  }
  .run-meta {
    font-size: 9px;
    padding: 18px 0;
  }
  .run-meta a {
    margin-left: 0;
  }
  .memory-section {
    padding-top: 45px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-lead {
    font-size: 12px;
  }
  .table-note {
    font-size: 9px;
  }
  .environment {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    gap: 20px 16px;
  }
  .methodology {
    padding-top: 45px;
  }
  .method-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 25px 0;
  }
  .method-grid article {
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }
  .reproduce {
    display: block;
    padding: 20px;
  }
  .reproduce pre {
    margin-top: 20px;
    min-width: 0;
    padding: 15px;
    font-size: 10px;
  }
  .footer {
    gap: 18px;
    font-size: 10px;
  }
  .footer p {
    margin: 0;
  }
}

.results tbody th,
.memory-table tbody th {
  background: transparent;
  white-space: normal;
  border-bottom: 1px solid #edf0ee;
  font-weight: 500;
  padding: 14px 15px 14px 23px;
  text-align: left;
}
.results tbody th small {
  font-size: 9px;
  max-width: 275px;
  line-height: 1.6;
}
.results tbody th em {
  font:
    9px ui-monospace,
    monospace;
  color: #829187;
  margin-left: 7px;
}
.results tbody tr:last-child th,
.memory-table tbody tr:last-child th {
  border-bottom: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 48px;
  font-size: 10px;
  color: var(--muted);
}

.results {
  table-layout: fixed;
}
.results thead th:first-child {
  width: 280px;
}
.table-scroll {
  overscroll-behavior-x: contain;
}
.table-scroll:focus-visible {
  outline: 2px solid #77c7a3;
  outline-offset: 3px;
}
.mobile-table-hint {
  display: none;
}
@media (max-width: 700px) {
  .results {
    min-width: 920px;
  }
  .results thead th:first-child {
    width: 180px;
  }
  .results tbody th {
    padding-left: 16px;
    padding-right: 12px;
  }
  .results thead th:first-child {
    padding-left: 16px;
  }
  .results tbody th small {
    line-height: 1.7;
  }
  .mobile-table-hint {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin: 0 0 12px;
  }
}

.results td .operation {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  white-space: nowrap;
}
