@font-face {
  font-family: Benchmark Inter;
  src: url('../../fonts/webfonts/InterVar.woff2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
.kt-ai-benchmark {
  --kt-bg: #f7f9f8;
  --kt-panel: #fff;
  --kt-text: #16241e;
  --kt-muted: #4f6258;
  --kt-line: #dce5df;
  --kt-accent: #156346;
  --kt-tint: #e7f3ec;
  --ab-writing: #31558f;
  --ab-writing-bg: #edf2fc;
  --ab-coding: #176448;
  --ab-coding-bg: #e7f3ec;
  --ab-value: #805318;
  --ab-value-bg: #faf0df;
  --ab-hover: #f1f6f3;
  font-family: Benchmark Inter, Inter, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .kt-ai-benchmark {
    --kt-bg: #101715;
    --kt-panel: #17221d;
    --kt-text: #ebf2ee;
    --kt-muted: #adbbb3;
    --kt-line: #304039;
    --kt-accent: #92d9b6;
    --kt-tint: #263d32;
    --ab-writing: #b4cbfc;
    --ab-writing-bg: #243751;
    --ab-coding: #a7dcc2;
    --ab-coding-bg: #263d32;
    --ab-value: #f4ce90;
    --ab-value-bg: #403422;
    --ab-hover: #1d2c25;
  }
}
.kt-ai-benchmark .kt-shell { width: min(100% - 40px, 1024px); }
.kt-ai-benchmark .kt-main { padding-block: 32px 36px; }
.kt-ai-benchmark button:enabled, .kt-ai-benchmark select { cursor: pointer; }
.ab-heading { margin-bottom: 19px; }
.ab-heading h1 { font-size: 40px; font-weight: 740; line-height: 1.15; letter-spacing: 0; margin: 6px 0; }
.ab-kicker, .ab-snapshot, .ab-context { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ab-kicker { color: var(--kt-accent); font-weight: 680; font-size: 14px; margin: 0; }
.ab-kicker svg, .ab-snapshot svg { width: 14px; height: 14px; }
.ab-lead { color: var(--kt-muted); margin: 0; }
.ab-snapshot { gap: 7px 17px; margin: 12px 0 0; color: var(--kt-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ab-snapshot a { display: inline-flex; align-items: center; gap: 4px; text-underline-offset: 3px; }
.ab-snapshot time { white-space: nowrap; }
.ab-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ab-pick { --pick: var(--ab-writing); --pick-bg: var(--ab-writing-bg); min-width: 0; padding: 13px 15px 14px; border: 1px solid var(--kt-line); border-radius: 8px; background: var(--kt-panel); }
.ab-pick--coding { --pick: var(--ab-coding); --pick-bg: var(--ab-coding-bg); }
.ab-pick--value { --pick: var(--ab-value); --pick-bg: var(--ab-value-bg); }
.ab-pick h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: var(--pick); font-size: 13px; font-weight: 680; }
.ab-pick h2 svg { box-sizing: content-box; width: 16px; height: 16px; padding: 4px; border-radius: 5px; background: var(--pick-bg); }
.ab a.ab-pick-name { display: inline; color: var(--kt-text); font-weight: 750; font-size: 17px; line-height: 1.23; text-decoration: none; overflow-wrap: anywhere; }
.ab-pick-name:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.ab-pick-name svg { display: inline-block; vertical-align: middle; margin-left: 4px; color: var(--pick); width: 13px; height: 13px; }
.ab-pick p { margin: 4px 0 0; color: var(--kt-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ab-pick strong { color: var(--pick); font-size: 14px; font-weight: 760; }
.ab-rankings, .ab-sources { margin-top: 28px; scroll-margin-top: 10px; }
.ab-section-title, .ab-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ab-section-title { margin-bottom: 8px; }
.ab-section-title h2, .ab-sources > h2 { margin: 0; font-weight: 735; font-size: 22px; line-height: 1.25; letter-spacing: 0; }
.ab-icon-button { padding-inline: 9px; min-height: 36px; min-width: 36px; font-size: 12px; }
.ab-icon-button svg { width: 15px; height: 15px; }
.ab-toolbar { margin-bottom: 10px; }
.ab-modes { display: inline-flex; align-items: stretch; gap: 2px; padding: 3px; border: 1px solid var(--kt-line); border-radius: 7px; background: var(--kt-panel); flex: 0 0 auto; }
.ab-modes button { border: 0; padding: 5px 12px; min-height: 34px; color: var(--kt-muted); background: transparent; border-radius: 4px; white-space: nowrap; font: inherit; font-size: 13px; font-weight: 630; }
.ab-modes button:hover { background: var(--ab-hover); color: var(--kt-text); }
.ab-modes button[aria-pressed='true'] { color: var(--kt-accent); background: var(--kt-tint); font-weight: 720; }
.ab-search { position: relative; width: min(100%, 267px); }
.ab-search svg { pointer-events: none; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--kt-muted); }
.ab-search input, .ab-workload .kt-field { min-height: 40px; background: var(--kt-panel); font-size: 14px; }
.ab-search input { padding-left: 32px; }
.ab-workload { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 10px; width: 100%; margin: 0 0 8px; min-inline-size: 0; border: 0; padding: 0; }
.ab-workload label { display: block; min-width: 0; color: var(--kt-muted); font-size: 12px; font-weight: 630; }
.ab-workload .kt-field { margin-top: 3px; }
.ab-context { justify-content: space-between; color: var(--kt-muted); font-size: 12px; margin-bottom: 8px; gap: 2px 10px; }
.ab-context p { margin: 0; }
.ab-warning { border-inline-start: 3px solid var(--ab-value); padding: 5px 10px; font-size: 13px; color: var(--ab-value); background: var(--ab-value-bg); }
.ab-table-wrap { border: 1px solid var(--kt-line); border-radius: 8px; background: var(--kt-panel); }
.ab-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ab-table thead th, .ab-table td, .ab-table tbody th { padding: 9px 13px; border-bottom: 1px solid var(--kt-line); text-align: left; vertical-align: middle; }
.ab-table tbody tr:last-child > * { border-bottom: 0; }
.ab-table tbody tr:hover { background: var(--ab-hover); }
.ab-table thead th { color: var(--kt-muted); font-weight: 650; font-size: 12px; background: var(--kt-bg); }
.ab-table thead th:first-child { border-top-left-radius: 7px; }
.ab-table thead th:last-child { border-top-right-radius: 7px; }
.ab-table .ab-rank { width: 57px; text-align: center; color: var(--kt-muted); }
.ab-table thead th:nth-child(2) { width: 43%; }
.ab-table thead th[data-sort], .ab-table .ab-number { text-align: right; }
.ab-table th[aria-sort] { color: var(--kt-accent); }
.ab-table .ab-number { font-weight: 570; font-feature-settings: 'tnum'; }
.ab-table:has(th[data-sort='writing'][aria-sort]) .ab-writing-score { color: var(--ab-writing); }
.ab-table:has(th[data-sort='coding'][aria-sort]) .ab-coding-score { color: var(--ab-coding); }
.ab-table:has(th[data-sort='value'][aria-sort]) .ab-cost-score { color: var(--ab-value); }
.ab-model-name { display: block; font-size: 14px; font-weight: 690; line-height: 1.35; overflow-wrap: anywhere; }
.ab-model-link { padding: 0; border: 0; background: transparent; color: inherit; text-align: start; font-family: inherit; text-underline-offset: 3px; text-decoration: underline; text-decoration-color: var(--kt-line); }
.ab-model-link:hover, .ab-model-link:focus-visible { color: var(--kt-accent); text-decoration-color: currentColor; }
.ab-maker { display: block; color: var(--kt-muted); font-size: 11px; line-height: 1.2; font-weight: 450; margin-top: 2px; overflow-wrap: anywhere; }
.ab-score-track { display: block; width: 42px; height: 3px; margin: 3px 0 1px auto; background: var(--ab-writing-bg); border-radius: 2px; }
.ab-score-track > span { display: block; width: var(--score); height: 100%; background: var(--ab-writing); border-radius: inherit; }
.ab-cost-short { display: none; }
.ab-na { color: var(--kt-muted); font-weight: 400; }
.ab-empty { margin: 12px 0; text-align: center; color: var(--kt-muted); }
.ab-more { display: flex; margin: 12px auto 0; }
.ab-sources { border-top: 1px solid var(--kt-line); padding-top: 18px; }
.ab-method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 12px; color: var(--kt-muted); font-size: 13px; }
.ab-method h3 { margin: 0; font-size: 15px; color: var(--kt-text); }
.ab-method p { margin: 5px 0; }
.ab-method ul { padding-left: 16px; margin: 0; }
.ab-method time { white-space: nowrap; font-size: 11px; margin-inline-start: 3px; font-variant-numeric: tabular-nums; }
.ab-credit { color: var(--kt-muted); margin: 12px 0 0; font-size: 12px; }
.ab-detail { width: min(100% - 28px, 560px); max-height: 85vh; overflow: auto; color: var(--kt-text); }
.ab-detail::backdrop { background: #14231abb; }
.ab-detail-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.ab-detail-head p { color: var(--kt-muted); margin: 0; font-size: 12px; }
.ab-detail-head h2 { margin: 0; font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; }
.ab-detail-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 12px 0 0; font-size: 13px; }
.ab-detail-grid dt { font-weight: 650; }
.ab-detail-grid dd { margin: 0; color: var(--kt-muted); overflow-wrap: anywhere; }
.ab-detail-grid dd[data-full] { grid-column: 1 / -1; }
@media (max-width: 660px) {
  .kt-ai-benchmark .kt-shell { width: calc(100% - 24px); }
  .kt-ai-benchmark .kt-main { padding-top: 19px; }
  .ab-heading h1 { font-size: 32px; }
  .ab-lead { font-size: 14px; }
  .ab-picks { grid-template-columns: 1fr; gap: 7px; }
  .ab-pick { padding: 8px 11px 9px; }
  .ab-pick h2 { margin-bottom: 4px; }
  .ab-pick h2 svg { width: 13px; height: 13px; }
  .ab-pick p { margin-top: 1px; }
  .ab-rankings { margin-top: 21px; }
  .ab-toolbar { align-items: stretch; flex-wrap: wrap; }
  .ab-table .ab-rank { width: 29px; }
  .ab-table thead th, .ab-table td, .ab-table tbody th { padding-inline: 5px; }
  .ab-table thead th:nth-child(2) { width: 39%; }
  .ab-table thead th[data-sort='value'] { width: 21%; }
  .ab-table { font-size: 12px; }
  .ab-table .ab-number { overflow-wrap: anywhere; }
  .ab-model-name { font-size: 13px; }
  .ab-cost-full { display: none; }
  .ab-cost-short { display: inline; }
  .ab-method { grid-template-columns: 1fr; gap: 12px; }
  .ab-workload { grid-template-columns: 1fr 1fr; }
  .ab-workload label:last-child { grid-column: 1 / -1; }
}
