/***************/
/* MEYER RESET */
/***************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/**************/
/* BASE RULES */
/**************/
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #f5f0ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #3d3d3a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  margin: 0 auto;
  max-width: 720px;
  padding: 0 24px;
  width: 100%;
}

.container-wide {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 24px;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: #191918;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.5em 0 0.5em;
  padding: 0;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
}
h1 a {
  color: inherit;
  text-decoration: none;
}
h1 a:hover {
  color: #c45a3c;
}

h2 {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
  color: #6b6b65;
}

p {
  margin: 0 0 1.2em;
}

a {
  color: #c45a3c;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
a:hover, a:active {
  color: #96442d;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.5em;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

ol ul, ul ol, ul ul, ol ol {
  margin: 0;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: 600;
}

img {
  max-width: 100%;
  border-radius: 8px;
}

code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

pre {
  background: #191918;
  color: #e8e4de;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5em 0;
  line-height: 1.5;
}
pre code {
  background: none;
  padding: 0;
  color: inherit;
}

blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 3px solid #c45a3c;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0 8px 8px 0;
  color: #6b6b65;
  font-style: italic;
  font-size: 1.05rem;
}
blockquote p:last-child {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid #e8e4de;
  margin: 2em 0;
}

.date {
  font-size: 0.9rem;
  color: #6b6b65;
  font-style: normal;
}

::selection {
  color: #fff;
  background: #c45a3c;
}

::-moz-selection {
  color: #fff;
  background: #c45a3c;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

/*********************/
/* HEADER / NAV      */
/*********************/
.site-header {
  background: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e4de;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-name {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.site-name a {
  color: #191918;
  text-decoration: none;
}
.site-name a:hover {
  color: #c45a3c;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: #6b6b65;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-nav a:hover {
  color: #191918;
  background: #f5f0ea;
}
.site-nav a.active {
  color: #191918;
  background: #f5f0ea;
}
.site-nav a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
}
@media screen and (max-width: 768px) {
  .site-nav {
    gap: 0;
  }
  .site-nav a {
    font-size: 0.82rem;
    padding: 8px 10px;
  }
}

/*********************/
/* HERO / HOME       */
/*********************/
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .hero {
    padding: 48px 0 36px;
  }
}
.hero .hero-actions {
  margin-top: 24px;
}
.hero .primary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #191918;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero .primary-link:hover {
  color: #fff;
  background: #2e2e2c;
}

.hero-kicker {
  margin-bottom: 10px;
  color: #c45a3c;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bench-entry {
  max-width: 760px;
  margin: 0 auto;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #6b6b65;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: left;
}

/*********************/
/* BLOG LIST         */
/*********************/
.posts-section {
  padding: 0 0 60px;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6b65;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e4de;
}

.post-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.post-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
@media screen and (max-width: 768px) {
  .post-card {
    padding: 20px 20px;
  }
}

.post-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  margin: 0 0 8px;
  line-height: 1.3;
}
.post-card-title a {
  color: #191918;
  text-decoration: none;
}
.post-card-title a:hover {
  color: #c45a3c;
}

.post-card-meta {
  font-size: 0.85rem;
  color: #6b6b65;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-card-category {
  background: rgba(196, 90, 60, 0.1);
  color: #c45a3c;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-card-excerpt {
  color: #6b6b65;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/*********************/
/* POST DETAIL       */
/*********************/
.post-header {
  padding: 60px 0 32px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .post-header {
    padding: 36px 0 24px;
  }
}

.post-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
@media screen and (max-width: 768px) {
  .post-title {
    font-size: 1.8rem;
  }
}

.post-meta {
  font-size: 0.9rem;
  color: #6b6b65;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-content {
  padding-bottom: 40px;
}
.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
  margin-top: 2em;
}
.post-content img {
  margin: 1.5em 0;
}

.post .comments {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e8e4de;
}

/*********************/
/* PROJECTS PAGE     */
/*********************/
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.project-card-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #191918;
}
.project-card-title a {
  color: inherit;
  text-decoration: none;
}
.project-card-title a:hover {
  color: #c45a3c;
}

.project-card-desc {
  font-size: 0.9rem;
  color: #6b6b65;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.project-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
}

.project-tag {
  background: #f5f0ea;
  color: #6b6b65;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #c45a3c;
  font-weight: 500;
  font-size: 0.85rem;
}
.project-link svg {
  width: 14px;
  height: 14px;
}

/*********************/
/* ABOUT / PAGE      */
/*********************/
.page-content {
  padding: 48px 0 60px;
}
@media screen and (max-width: 768px) {
  .page-content {
    padding: 32px 0 40px;
  }
}

.page-content h1:first-child {
  margin-top: 0;
}

/*********************/
/* PAGINATION        */
/*********************/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}

.pagination-link {
  font-size: 0.9rem;
  color: #3d3d3a;
  text-decoration: none;
}
.pagination-link:hover {
  color: #c45a3c;
}
.pagination-link.disabled {
  color: #e8e4de;
  pointer-events: none;
}

.pagination-info {
  font-size: 0.85rem;
  color: #6b6b65;
}

/*********************/
/* OPENCLAW ARCH PAGE */
/*********************/
.openclaw-arch-page {
  --ocb-bg: #f6f2ea;
  --ocb-paper: rgba(255, 252, 247, 0.88);
  --ocb-paper-strong: #fffaf2;
  --ocb-ink: #1f1c17;
  --ocb-muted: #6f675c;
  --ocb-line: rgba(52, 43, 30, 0.1);
  --ocb-accent: #d97757;
  --ocb-shadow: 0 18px 60px rgba(92, 71, 43, 0.08);
  --ocb-radius-lg: 24px;
  --ocb-radius-xl: 32px;
  color: var(--ocb-ink);
}

.ocb-shell {
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 28px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .ocb-shell {
    padding: 0 18px;
  }
}

.ocb-hero {
  padding: 56px 0 36px;
}

.ocb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(52, 43, 30, 0.08);
  color: var(--ocb-accent);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ocb-hero h1,
.ocb-section-head h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ocb-ink);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 20px 0 18px;
}

.ocb-hero h1 {
  max-width: 980px;
  font-size: clamp(3.2rem, 7vw, 6.1rem);
}

.ocb-hero h1 .soft {
  color: #8f6f52;
  font-weight: 600;
}

.ocb-hero .lead,
.ocb-section-head p,
.ocb-hero-summary p,
.ocb-flow-row p,
.ocb-info-card p,
.ocb-rationale-card p,
.ocb-dataset-card p,
.ocb-trust-card p {
  margin: 0;
  color: var(--ocb-muted);
  line-height: 1.85;
  font-size: 1rem;
}

.ocb-hero .lead {
  max-width: 860px;
  font-size: 1.18rem;
}

.ocb-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ocb-button {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(52, 43, 30, 0.1);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ocb-ink);
  font-weight: 600;
}

.ocb-button.primary {
  background: #1f1c17;
  color: #fffaf2;
  border-color: #1f1c17;
  box-shadow: 0 14px 30px rgba(31, 28, 23, 0.12);
}

.ocb-hero-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.ocb-card,
.ocb-panel,
.ocb-info-card,
.ocb-rationale-card,
.ocb-dataset-card,
.ocb-trust-card {
  border-radius: var(--ocb-radius-lg);
  border: 1px solid var(--ocb-line);
  background: var(--ocb-paper);
  box-shadow: var(--ocb-shadow);
}

.ocb-hero-summary,
.ocb-hero-visual,
.ocb-panel,
.ocb-info-card,
.ocb-rationale-card,
.ocb-dataset-card,
.ocb-trust-card {
  padding: 24px;
}

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

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

.ocb-metric-box {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(52, 43, 30, 0.08);
}

.ocb-metric-box strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}

.ocb-metric-box span {
  color: var(--ocb-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  display: block;
}

.ocb-hero-visual {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(248, 241, 232, 0.84));
}

.ocb-mini-label,
.ocb-kicker {
  color: var(--ocb-accent);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ocb-flow {
  display: grid;
  gap: 16px;
}

.ocb-flow-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(52, 43, 30, 0.08);
}

.ocb-flow-row code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: #f5ede2;
  color: #8f5f43;
  border: 1px solid rgba(143, 95, 67, 0.12);
  font-size: 0.88rem;
  text-align: center;
}

.ocb-section {
  padding: 84px 0 0;
}

.ocb-section-head {
  max-width: 980px;
  margin-bottom: 28px;
}

.ocb-section-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.ocb-section-head.compact h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.ocb-image-frame {
  margin: 20px 0 24px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(52, 43, 30, 0.08);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(247, 240, 230, 0.88));
  box-shadow: var(--ocb-shadow);
  overflow: visible;
}

.ocb-image-frame img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: 20px;
  background: #fffaf3;
}

.ocb-card-grid {
  display: grid;
  gap: 18px;
}

.ocb-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocb-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metrics-row {
  margin-top: 18px;
}

.ocb-info-card h3,
.ocb-rationale-card h3,
.ocb-dataset-card h3,
.ocb-trust-card h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 12px;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.ocb-score-stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.ocb-stack-block {
  min-height: 220px;
  padding: 22px 22px 24px;
  border-radius: 28px;
  color: #fffaf2;
  box-shadow: 0 16px 40px rgba(92, 71, 43, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ocb-stack-block small {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 18px;
}

.ocb-stack-block strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}

.ocb-stack-block p {
  margin: 0;
  color: rgba(255, 250, 242, 0.92);
  line-height: 1.75;
  font-size: 0.97rem;
}

.ocb-stack-block.blue {
  background: linear-gradient(180deg, #6d84e8, #5a71d1);
}

.ocb-stack-block.violet {
  background: linear-gradient(180deg, #8a67e4, #7450cf);
}

.ocb-stack-block.amber {
  background: linear-gradient(180deg, #d3a04d, #c78c2f);
}

.ocb-stack-block.terracotta {
  background: linear-gradient(180deg, #d4866d, #c16d56);
}

.ocb-formula {
  margin-top: 18px;
  margin-bottom: 32px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fbf5eb;
  border: 1px solid rgba(52, 43, 30, 0.08);
  overflow: auto;
}

.ocb-formula code {
  font-size: 1.02rem;
  color: #6d4f38;
  white-space: nowrap;
}

.ocb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ocb-pill {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(52, 43, 30, 0.08);
  color: #5f594f;
  font-size: 0.9rem;
}

.ocb-rationale-grid {
  margin-top: 36px;
}

@media screen and (max-width: 1120px) {
  .ocb-hero-grid,
  .ocb-card-grid.four,
  .ocb-card-grid.three,
  .ocb-score-stack-grid,
  .ocb-hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .ocb-hero {
    padding: 36px 0 28px;
  }

  .ocb-section {
    padding-top: 64px;
  }

  .ocb-hero h1 {
    font-size: 2.85rem;
  }

  .ocb-hero .lead {
    font-size: 1.05rem;
  }

  .ocb-hero-grid,
  .ocb-card-grid.four,
  .ocb-card-grid.three,
  .ocb-score-stack-grid,
  .ocb-hero-metrics {
    grid-template-columns: 1fr;
  }

  .ocb-flow-row {
    grid-template-columns: 1fr;
  }
}
/*********************/
.site-footer {
  border-top: 1px solid #e8e4de;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #6b6b65;
}
.site-footer .site-stats {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.site-footer a {
  color: #6b6b65;
}
.site-footer a:hover {
  color: #c45a3c;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b6b65;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  margin-top: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.back-link svg {
  width: 16px;
  height: 16px;
}
.back-link:hover {
  color: #c45a3c;
}

.highlight {
  background: #191918 !important;
  color: #e8e4de !important;
  margin: 1.5em 0;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.5;
  border: none !important;
  box-shadow: none !important;
}
.highlight pre {
  margin: 0;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit;
}
.highlight code {
  background: none !important;
  padding: 0;
  color: inherit;
  font-size: 0.9em;
}

code {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

.highlight .c {
  color: #75715e;
}

/* Comment */
.highlight .err {
  color: #f92672;
}

/* Error */
.highlight .g {
  color: #f8f8f2;
}

/* Generic */
.highlight .k {
  color: #66d9ef;
  font-weight: bold;
}

/* Keyword */
.highlight .l {
  color: #ae81ff;
}

/* Literal */
.highlight .n {
  color: #f8f8f2;
}

/* Name */
.highlight .o {
  color: #f92672;
}

/* Operator */
.highlight .x {
  color: #f8f8f2;
}

/* Other */
.highlight .p {
  color: #f8f8f2;
}

/* Punctuation */
.highlight .cm {
  color: #75715e;
}

/* Comment.Multiline */
.highlight .cp {
  color: #75715e;
}

/* Comment.Preproc */
.highlight .c1 {
  color: #75715e;
}

/* Comment.Single */
.highlight .cs {
  color: #75715e;
}

/* Comment.Special */
.highlight .gd {
  color: #f92672;
}

/* Generic.Deleted */
.highlight .ge {
  color: #f8f8f2;
  font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
  color: #f92672;
}

/* Generic.Error */
.highlight .gh {
  color: #f8f8f2;
}

/* Generic.Heading */
.highlight .gi {
  color: #a6e22e;
}

/* Generic.Inserted */
.highlight .go {
  color: #66d9ef;
}

/* Generic.Output */
.highlight .gp {
  color: #f92672;
}

/* Generic.Prompt */
.highlight .gs {
  color: #f8f8f2;
  font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
  color: #75715e;
}

/* Generic.Subheading */
.highlight .gt {
  color: #f92672;
}

/* Generic.Traceback */
.highlight .kc {
  color: #66d9ef;
}

/* Keyword.Constant */
.highlight .kd {
  color: #66d9ef;
}

/* Keyword.Declaration */
.highlight .kn {
  color: #f92672;
}

/* Keyword.Namespace */
.highlight .kp {
  color: #66d9ef;
}

/* Keyword.Pseudo */
.highlight .kr {
  color: #66d9ef;
}

/* Keyword.Reserved */
.highlight .kt {
  color: #a6e22e;
}

/* Keyword.Type */
.highlight .ld {
  color: #e6db74;
}

/* Literal.Date */
.highlight .m {
  color: #ae81ff;
}

/* Literal.Number */
.highlight .s {
  color: #e6db74;
}

/* Literal.String */
.highlight .na {
  color: #a6e22e;
}

/* Name.Attribute */
.highlight .nb {
  color: #f8f8f2;
}

/* Name.Builtin */
.highlight .nc {
  color: #a6e22e;
  font-weight: bold;
}

/* Name.Class */
.highlight .no {
  color: #66d9ef;
}

/* Name.Constant */
.highlight .nd {
  color: #a6e22e;
}

/* Name.Decorator */
.highlight .ni {
  color: #f8f8f2;
}

/* Name.Entity */
.highlight .ne {
  color: #a6e22e;
}

/* Name.Exception */
.highlight .nf {
  color: #a6e22e;
}

/* Name.Function */
.highlight .nl {
  color: #f8f8f2;
}

/* Name.Label */
.highlight .nn {
  color: #f8f8f2;
}

/* Name.Namespace */
.highlight .nx {
  color: #a6e22e;
}

/* Name.Other */
.highlight .py {
  color: #f8f8f2;
}

/* Name.Property */
.highlight .nt {
  color: #f92672;
}

/* Name.Tag */
.highlight .nv {
  color: #f8f8f2;
}

/* Name.Variable */
.highlight .ow {
  color: #f92672;
}

/* Operator.Word */
.highlight .w {
  color: #f8f8f2;
}

/* Text.Whitespace */
.highlight .mf {
  color: #ae81ff;
}

/* Literal.Number.Float */
.highlight .mh {
  color: #ae81ff;
}

/* Literal.Number.Hex */
.highlight .mi {
  color: #ae81ff;
}

/* Literal.Number.Integer */
.highlight .mo {
  color: #ae81ff;
}

/* Literal.Number.Oct */
.highlight .sb {
  color: #e6db74;
}

/* Literal.String.Backtick */
.highlight .sc {
  color: #e6db74;
}

/* Literal.String.Char */
.highlight .sd {
  color: #e6db74;
}

/* Literal.String.Doc */
.highlight .s2 {
  color: #e6db74;
}

/* Literal.String.Double */
.highlight .se {
  color: #ae81ff;
}

/* Literal.String.Escape */
.highlight .sh {
  color: #e6db74;
}

/* Literal.String.Heredoc */
.highlight .si {
  color: #e6db74;
}

/* Literal.String.Interpol */
.highlight .sx {
  color: #e6db74;
}

/* Literal.String.Other */
.highlight .sr {
  color: #e6db74;
}

/* Literal.String.Regex */
.highlight .s1 {
  color: #e6db74;
}

/* Literal.String.Single */
.highlight .ss {
  color: #e6db74;
}

/* Literal.String.Symbol */
.highlight .bp {
  color: #f8f8f2;
}

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: #f8f8f2;
}

/* Name.Variable.Class */
.highlight .vg {
  color: #f8f8f2;
}

/* Name.Variable.Global */
.highlight .vi {
  color: #f8f8f2;
}

/* Name.Variable.Instance */
.highlight .il {
  color: #ae81ff;
}

/* Literal.Number.Integer.Long */
.post-content div.highlight,
.post-content figure.highlight,
.post-content .highlight,
.page-content div.highlight,
.page-content figure.highlight,
.page-content .highlight,
article div.highlight,
article figure.highlight,
article .highlight,
main div.highlight,
main figure.highlight,
main .highlight {
  background: #1e1e1e !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  margin: 1.5em 0 !important;
  padding: 0 !important;
  overflow: auto !important;
}
.post-content div.highlight pre,
.post-content div.highlight pre.highlight,
.post-content figure.highlight pre,
.post-content figure.highlight pre.highlight,
.post-content .highlight pre,
.post-content .highlight pre.highlight,
.page-content div.highlight pre,
.page-content div.highlight pre.highlight,
.page-content figure.highlight pre,
.page-content figure.highlight pre.highlight,
.page-content .highlight pre,
.page-content .highlight pre.highlight,
article div.highlight pre,
article div.highlight pre.highlight,
article figure.highlight pre,
article figure.highlight pre.highlight,
article .highlight pre,
article .highlight pre.highlight,
main div.highlight pre,
main div.highlight pre.highlight,
main figure.highlight pre,
main figure.highlight pre.highlight,
main .highlight pre,
main .highlight pre.highlight {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  margin: 0 !important;
  overflow-x: auto !important;
  line-height: 1.5 !important;
}
.post-content div.highlight pre code,
.post-content div.highlight pre.highlight code,
.post-content figure.highlight pre code,
.post-content figure.highlight pre.highlight code,
.post-content .highlight pre code,
.post-content .highlight pre.highlight code,
.page-content div.highlight pre code,
.page-content div.highlight pre.highlight code,
.page-content figure.highlight pre code,
.page-content figure.highlight pre.highlight code,
.page-content .highlight pre code,
.page-content .highlight pre.highlight code,
article div.highlight pre code,
article div.highlight pre.highlight code,
article figure.highlight pre code,
article figure.highlight pre.highlight code,
article .highlight pre code,
article .highlight pre.highlight code,
main div.highlight pre code,
main div.highlight pre.highlight code,
main figure.highlight pre code,
main figure.highlight pre.highlight code,
main .highlight pre code,
main .highlight pre.highlight code {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  border: none !important;
  font-size: 0.9em !important;
}
.post-content pre:not(.highlight),
.page-content pre:not(.highlight),
article pre:not(.highlight),
main pre:not(.highlight) {
  background: #1e1e1e !important;
  color: #d4d4d4 !important;
  padding: 20px 24px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: none !important;
}
.post-content pre:not(.highlight) code,
.page-content pre:not(.highlight) code,
article pre:not(.highlight) code,
main pre:not(.highlight) code {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
}

/*********************/
/* BENCH             */
/*********************/
.bench-body {
  background: linear-gradient(180deg, #faf7f2 0%, #f5f0ea 100%);
}

.bench-main {
  padding-bottom: 72px;
}

.bench-header {
  background: rgba(255, 255, 255, 0.9);
}

.bench-header-inner {
  max-width: 1420px;
}

.bench-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #191918;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bench-brand-logo-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.bench-brand-logo {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(25, 25, 24, 0.15);
  transition: opacity 0.22s ease;
}

.bench-brand-logo-default {
  opacity: 1;
}

.bench-brand-logo-hover {
  opacity: 0;
}

.bench-brand:hover .bench-brand-logo-default {
  opacity: 0;
}

.bench-brand:hover .bench-brand-logo-hover {
  opacity: 1;
}

.bench-brand-text {
  font-size: 1.15rem;
}

.bench-nav {
  margin-left: auto;
  justify-content: flex-end;
}

.bench-nav a {
  font-size: 0.95rem;
  padding: 12px 18px;
}

.bench-shell {
  max-width: 1420px;
}

.bench-hero {
  padding: 72px 0 40px;
}

.bench-kicker {
  margin: 0 0 10px;
  color: #c45a3c;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bench-hero h1,
.bench-detail-hero h1 {
  margin: 0 0 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
@media screen and (max-width: 768px) {
  .bench-hero h1,
  .bench-detail-hero h1 {
    font-size: 2.4rem;
  }
}

.bench-intro {
  max-width: 980px;
  margin: 0;
  color: #6b6b65;
  font-size: 1.2rem;
  line-height: 1.8;
}

.bench-section {
  padding: 16px 0 0;
}

.bench-head-copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 860px;
}

.bench-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .bench-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .bench-section-head .bench-head-copy {
    width: 100%;
    max-width: none;
  }
}
.bench-section-head h2 {
  margin: 0 0 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.bench-section-head h2 span {
  color: #4d6cf0;
}
.bench-section-head p {
  margin: 0;
  color: #6b6b65;
  font-size: 1.05rem;
  max-width: 980px;
}

.bench-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .bench-section-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }
}

.bench-ghost-link,
.bench-ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: #6b6b65;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.bench-ghost-link:hover, .bench-ghost-link:focus-visible {
  color: #191918;
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.bench-ghost-button {
  appearance: none;
  cursor: pointer;
}
.bench-ghost-button:hover, .bench-ghost-button:focus-visible {
  color: #191918;
  border-color: rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
}
.bench-ghost-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.bench-button-icon {
  font-size: 1rem;
  line-height: 1;
}

.bench-export-panel[hidden] {
  display: none;
}

.bench-export-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 360px;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(25, 25, 24, 0.14);
  z-index: 20;
}

.bench-export-panel-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.bench-export-panel-head strong {
  color: #191918;
  font-size: 1rem;
  font-weight: 700;
}
.bench-export-panel-head span {
  color: #6b6b65;
  font-size: 0.82rem;
  line-height: 1.45;
}

.bench-export-panel-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.bench-export-text-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: #4d6cf0;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.bench-export-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.bench-export-column-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #191918;
  font-size: 0.86rem;
  line-height: 1.35;
}
.bench-export-column-item input {
  margin-top: 2px;
  flex: 0 0 auto;
}
.bench-export-column-item span {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.bench-export-column-item.is-required {
  opacity: 0.78;
}

.bench-export-required-note {
  color: #6b6b65;
  font-size: 0.72rem;
}

.bench-export-panel-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.bench-export-secondary,
.bench-export-primary {
  appearance: none;
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.bench-export-secondary {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #6b6b65;
}

.bench-export-primary {
  border: 1px solid transparent;
  background: #4d6cf0;
  color: #fff;
}

.bench-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(25, 25, 24, 0.06);
}

.bench-leaderboard-card {
  padding: 8px 0;
}

.bench-leaderboard-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 8px 0;
  color: #6b6b65;
  font-size: 0.82rem;
  line-height: 1.6;
}
.bench-leaderboard-note span:first-child {
  color: #191918;
  font-weight: 700;
}
.bench-leaderboard-note code {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.045);
  color: #191918;
  font-size: 0.78rem;
}
@media screen and (max-width: 768px) {
  .bench-leaderboard-note {
    margin: 14px 4px 0;
  }
}

.bench-chart-card {
  margin-top: 32px;
  padding: 22px 24px 30px 20px;
  overflow: hidden;
}

.bench-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.bench-chart-head > .bench-head-copy {
  flex: 1 1 0;
  min-width: 0;
}
.bench-chart-head > div:first-child {
  flex: 1 1 0;
  min-width: 0;
}
.bench-chart-head > .bench-chart-toolbar {
  flex: 0 0 372px;
  min-width: 372px;
  justify-content: flex-end;
}
@media screen and (max-width: 768px) {
  .bench-chart-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .bench-chart-head > .bench-head-copy,
  .bench-chart-head > div:first-child,
  .bench-chart-head > .bench-chart-toolbar {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
  .bench-chart-head h2 {
    margin-left: 0;
  }
  .bench-chart-head p {
    padding-left: 0;
  }
}
.bench-chart-head h2 {
  margin: 0 0 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.bench-chart-head h2 span {
  color: #4d6cf0;
}
.bench-chart-head p {
  margin: 0;
  padding-left: 14px;
  color: #6b6b65;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 860px;
}

.bench-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
@media screen and (max-width: 768px) {
  .bench-chart-toolbar {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.bench-chart-filter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}
.bench-chart-filter span {
  color: #6b6b65;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.bench-chart-filter select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #191918;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bench-chart-filter-compact {
  min-width: 140px;
}

.bench-chart-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 24px;
}

.bench-chart-grid {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: max-content;
  padding: 12px 4px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bench-chart-item {
  display: grid;
  grid-template-rows: 30px 268px 104px;
  justify-items: center;
  align-items: start;
  width: 104px;
  min-width: 104px;
  color: inherit;
  text-decoration: none;
}

.bench-chart-rank,
.bench-chart-value {
  display: block;
  width: 100%;
  text-align: center;
  color: #191918;
  font-weight: 700;
  line-height: 1.1;
}

.bench-chart-rank {
  font-size: 0.82rem;
  color: #6b6b65;
}

.bench-chart-column {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 268px;
  padding: 0 10px;
}

.bench-chart-value {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.92rem;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

.bench-chart-fill {
  display: block;
  width: 100%;
  min-height: 72px;
  border-radius: 10px 10px 6px 6px;
  background: linear-gradient(180deg, #5ea95d 0%, #4f9850 100%);
  box-shadow: 0 8px 20px rgba(77, 108, 240, 0.12);
  transition: height 0.24s ease;
}

.bench-chart-item:nth-child(6n + 1) .bench-chart-fill {
  background: linear-gradient(180deg, #5ea95d 0%, #58a859 100%);
}

.bench-chart-item:nth-child(6n + 2) .bench-chart-fill {
  background: linear-gradient(180deg, #242424 0%, #1d1d1d 100%);
}

.bench-chart-item:nth-child(6n + 3) .bench-chart-fill {
  background: linear-gradient(180deg, #467bde 0%, #3f73d4 100%);
}

.bench-chart-item:nth-child(6n + 4) .bench-chart-fill {
  background: linear-gradient(180deg, #c78462 0%, #bf7a57 100%);
}

.bench-chart-item:nth-child(6n + 5) .bench-chart-fill {
  background: linear-gradient(180deg, #d84b74 0%, #ca3e67 100%);
}

.bench-chart-item:nth-child(6n + 6) .bench-chart-fill {
  background: linear-gradient(180deg, #f17a28 0%, #eb6e18 100%);
}

.bench-chart-label-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  padding-top: 10px;
  overflow: hidden;
}

.bench-chart-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex: 0 0 28px;
}

.bench-chart-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  text-align: center;
}
.bench-chart-label strong,
.bench-chart-label span {
  display: -webkit-box;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  word-break: break-word;
}
.bench-chart-label strong {
  color: #191918;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.16;
  -webkit-line-clamp: 2;
}
.bench-chart-label span {
  color: #6b6b65;
  font-size: 0.68rem;
  line-height: 1.15;
  -webkit-line-clamp: 2;
}

@media screen and (max-width: 768px) {
  .bench-chart-card {
    padding: 22px 18px 28px;
  }

  .bench-chart-item {
    width: 88px;
    min-width: 88px;
    grid-template-rows: 28px 248px 98px;
  }

  .bench-chart-column {
    height: 248px;
    padding: 0 8px;
  }

  .bench-chart-label strong {
    font-size: 0.78rem;
  }
}
.bench-table-wrap {
  overflow-x: auto;
}

.bench-scatter-card {
  --bench-scatter-head-offset: calc(var(--bench-scatter-y-column, 36px) + 12px);
  margin-top: 32px;
}

.bench-scatter-frame {
  --bench-scatter-y-column: 36px;
  display: grid;
  grid-template-columns: var(--bench-scatter-y-column) minmax(0, 1fr);
  grid-template-areas: 'y plot' '. x-title';
  column-gap: 12px;
  row-gap: 18px;
  align-items: center;
  min-height: 520px;
}

.bench-scatter-y-title,
.bench-scatter-x-title {
  color: #6b6b65;
  font-weight: 700;
}

.bench-scatter-y-title {
  grid-area: y;
  justify-self: center;
  align-self: center;
  transform: rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
}

.bench-scatter-plot-wrap {
  grid-area: plot;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.bench-scatter-x-title {
  grid-area: x-title;
  margin-top: 0;
  text-align: center;
}

.bench-scatter-x-axis {
  position: relative;
  height: 28px;
  margin-top: 10px;
  color: #6b6b65;
  font-size: 0.85rem;
  min-width: 980px;
}

.bench-scatter-x-axis span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.bench-scatter-x-axis span.is-edge-left {
  transform: none;
}

.bench-scatter-x-axis span.is-edge-right {
  transform: translateX(-100%);
}

.bench-scatter-plot {
  position: relative;
  width: 100%;
  min-width: 980px;
  height: 380px;
  border-left: 2px solid rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  background: rgba(250, 247, 242, 0.58);
  overflow: hidden;
}

.bench-scatter-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 16.666% 20%;
}

.bench-scatter-point {
  position: absolute;
  display: inline-flex;
  align-items: center;
  color: #191918;
  text-decoration: none;
  transform: translate(-5px, 5px);
  z-index: 2;
  overflow: visible;
}

.bench-scatter-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4d6cf0;
  box-shadow: 0 0 0 4px rgba(77, 108, 240, 0.12);
  flex: 0 0 10px;
}

.bench-scatter-line,
.bench-scatter-name {
  position: absolute;
  top: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.bench-scatter-line {
  left: 14px;
  width: 18px;
  height: 1px;
  background: rgba(25, 25, 24, 0.22);
  transform: translateY(-50%);
}

.bench-scatter-name {
  left: 36px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 22px rgba(25, 25, 24, 0.12);
  color: #191918;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transform: translateY(-50%);
}

.bench-scatter-point:hover,
.bench-scatter-point:focus-visible {
  z-index: 4;
}

.bench-scatter-point:hover .bench-scatter-line,
.bench-scatter-point:hover .bench-scatter-name,
.bench-scatter-point:focus-visible .bench-scatter-line,
.bench-scatter-point:focus-visible .bench-scatter-name {
  opacity: 1;
  visibility: visible;
}

.bench-scatter-point.bench-scatter-point-flip .bench-scatter-line {
  left: auto;
  right: 14px;
}

.bench-scatter-point.bench-scatter-point-flip .bench-scatter-name {
  left: auto;
  right: 36px;
}

.bench-scatter-point:nth-child(6n + 1) .bench-scatter-dot {
  background: #5ea95d;
}

.bench-scatter-point:nth-child(6n + 2) .bench-scatter-dot {
  background: #242424;
}

.bench-scatter-point:nth-child(6n + 3) .bench-scatter-dot {
  background: #467bde;
}

.bench-scatter-point:nth-child(6n + 4) .bench-scatter-dot {
  background: #c78462;
}

.bench-scatter-point:nth-child(6n + 5) .bench-scatter-dot {
  background: #d84b74;
}

.bench-scatter-point:nth-child(6n + 6) .bench-scatter-dot {
  background: #f17a28;
}

@media screen and (max-width: 768px) {
  .bench-scatter-frame {
    --bench-scatter-y-column: 28px;
  }

  .bench-scatter-x-axis,
  .bench-scatter-plot {
    min-width: 760px;
  }
}
.bench-table-wrap {
  overflow-x: auto;
}

.bench-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1700px;
}
.bench-table th,
.bench-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}
.bench-table th {
  color: #6b6b65;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bench-table tbody tr:last-child td {
  border-bottom: none;
}

.bench-sortable {
  cursor: pointer;
  user-select: none;
}

.bench-sort-indicator {
  display: inline-block;
  min-width: 14px;
  margin-left: 6px;
  color: #b8b2aa;
}

.bench-sort-active {
  color: #4d6cf0 !important;
}

.bench-row {
  transition: background 0.2s ease;
  cursor: pointer;
}
.bench-row:hover {
  background: rgba(0, 0, 0, 0.025);
}

.bench-model-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bench-model-cell strong {
  color: #191918;
  font-size: 1.08rem;
  line-height: 1.2;
}
.bench-model-cell span {
  color: #6b6b65;
  font-size: 0.88rem;
  line-height: 1.35;
}

.bench-model-column {
  min-width: 240px;
}

.bench-model-cell-rich {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
}

.bench-model-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: block;
}

.bench-model-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.bench-model-meta strong {
  word-break: break-word;
}

.bench-price-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
}

.bench-price-cell strong {
  font-size: 0.92rem;
  color: #191918;
}

.bench-price-cell span {
  font-size: 0.82rem;
  color: #6b6b65;
}

.bench-export-surface .bench-table {
  min-width: 0;
}

.bench-export-surface .bench-table th,
.bench-export-surface .bench-table td {
  padding: 12px 8px;
}

.bench-export-surface .bench-model-column {
  min-width: 190px;
}

.bench-export-surface .bench-token-column {
  min-width: 180px;
}

.bench-export-surface .bench-pass-cell {
  display: block;
  min-width: 0;
}

.bench-export-surface .bench-pass-bar {
  display: none;
}

.bench-export-surface .bench-pass-cell strong {
  display: inline-block;
}

.bench-export-surface .bench-price-cell {
  min-width: 92px;
}

.bench-token-column {
  min-width: 248px;
}

.bench-token-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.bench-token-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  font-size: 0.96rem;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.bench-token-label {
  color: #6b6b65;
  margin-right: 0;
}

.bench-token-value {
  color: #191918;
}

.bench-pass-cell {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 220px;
}
.bench-pass-cell strong {
  font-size: 0.98rem;
  color: #191918;
}

.bench-pass-bar,
.bench-inline-bar,
.bench-bar-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.bench-pass-bar span,
.bench-inline-bar span,
.bench-bar-track span {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b86c39 0%, #d99a57 100%);
}

.bench-inline-bar {
  height: 10px;
  min-width: 120px;
}

.bench-score {
  color: #3f9b54;
  font-weight: 700;
}

.bench-detail-page {
  padding-top: 28px;
}

.bench-back-link {
  margin-top: 0;
}

.bench-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  margin: 24px 0 28px;
}
@media screen and (max-width: 768px) {
  .bench-detail-hero {
    flex-direction: column;
  }
}

.bench-detail-hero-wide {
  align-items: stretch;
}

.bench-detail-title-block {
  flex: 1 1 auto;
}

.bench-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 16px;
  width: min(420px, 100%);
}

.bench-stat-grid-wide {
  width: min(700px, 100%);
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}
@media screen and (max-width: 768px) {
  .bench-stat-grid-wide {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

.bench-stat-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 18px;
}
.bench-stat-card span {
  display: block;
  margin-bottom: 8px;
  color: #6b6b65;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bench-stat-card strong {
  font-size: 1.5rem;
  color: #191918;
}

.bench-summary-strip {
  margin-bottom: 24px;
  padding: 24px 28px;
}

.bench-summary-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .bench-summary-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.bench-summary-strip-grid div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bench-summary-strip-grid span {
  color: #6b6b65;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bench-summary-strip-grid strong {
  font-size: 1.35rem;
  color: #191918;
}

.bench-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .bench-detail-grid {
    grid-template-columns: 1fr;
  }
}

.bench-detail-grid-expanded {
  align-items: start;
}

.bench-card-full {
  grid-column: 1 / -1;
}

.bench-card h2 {
  margin: 0;
  padding: 24px 24px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
}

.bench-dimension-list,
.bench-mini-table,
.bench-bar-list {
  padding: 20px 24px 24px;
}

.bench-dimension-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.bench-dimension-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.025);
}
.bench-dimension-list span {
  color: #6b6b65;
}
.bench-dimension-list strong {
  color: #191918;
}

.bench-bar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bench-bar-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
}
.bench-bar-row span {
  color: #6b6b65;
}
.bench-bar-row strong {
  text-align: right;
}

.bench-scenario-table {
  min-width: 1200px;
}

.bench-scenario-table td strong {
  display: inline-block;
  margin-left: 10px;
}

.bench-mini-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.bench-mini-head {
  color: #6b6b65;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.bench-filter-bar {
  display: grid;
  grid-template-columns: 220px 220px minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .bench-filter-bar {
    grid-template-columns: 1fr;
  }
}
.bench-filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bench-filter-bar span {
  color: #6b6b65;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.bench-filter-bar select,
.bench-filter-bar input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: #191918;
  font-size: 0.95rem;
}

.bench-task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .bench-task-list {
    grid-template-columns: 1fr;
  }
}

.bench-task-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(25, 25, 24, 0.05);
}
.bench-task-card h3 {
  margin: 0 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
}
.bench-task-card p {
  margin: 0 0 14px;
  color: #6b6b65;
  font-size: 0.96rem;
}
.bench-task-card details {
  margin-top: 12px;
}
.bench-task-card details summary {
  cursor: pointer;
  color: #c45a3c;
  font-weight: 600;
}
.bench-task-card details p {
  margin-top: 12px;
}

.bench-task-card-wide {
  min-height: 240px;
}

.bench-task-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
@media screen and (max-width: 768px) {
  .bench-task-header {
    grid-template-columns: 1fr;
  }
}

.bench-task-lead {
  min-height: 72px;
}

.bench-task-meta,
.bench-task-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bench-task-meta {
  margin-bottom: 8px;
}

.bench-task-id,
.bench-task-difficulty,
.bench-task-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: #6b6b65;
  font-size: 0.78rem;
  font-weight: 600;
}

.bench-task-tags {
  justify-content: flex-end;
  align-self: start;
}

.bench-architecture-flow {
  margin-bottom: 24px;
  padding: 28px;
}

.bench-flow-grid {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .bench-flow-grid {
    grid-template-columns: 1fr;
  }
}

.bench-flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.04);
  font-weight: 700;
  text-align: center;
}

.bench-flow-arrow {
  color: #c45a3c;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.bench-architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .bench-architecture-grid {
    grid-template-columns: 1fr;
  }
}

.bench-architecture-card {
  padding: 24px;
}
.bench-architecture-card h3 {
  margin: 0 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
}
.bench-architecture-card p {
  margin: 0;
  color: #6b6b65;
  line-height: 1.8;
}

.bench-blog-shell {
  max-width: 1120px;
}

.bench-blog-list {
  display: grid;
  gap: 18px;
}

.bench-post-page {
  padding-top: 28px;
}

.bench-post-card {
  padding: 0 0 28px;
}

.bench-post-header {
  padding-bottom: 20px;
}

.bench-post-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px 24px;
}

.bench-lang-switch {
  display: inline-flex;
  gap: 10px;
  margin: 0 0 20px;
}

.bench-lang-btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: #6b6b65;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.bench-lang-btn.is-active {
  background: #191918;
  color: #fff;
  border-color: #191918;
}

.bench-lang-panel {
  display: none;
}

.bench-lang-panel.is-active {
  display: block;
}

.bench-task-list-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media screen and (max-width: 768px) {
  .bench-task-list-compact {
    grid-template-columns: 1fr;
  }
}

.bench-task-card-compact {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bench-task-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 16.6em;
  line-height: 1.65;
}

.bench-task-card details {
  margin-top: 0;
}

.bench-task-card details p {
  white-space: pre-wrap;
}

.bench-task-card summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bench-architecture-page .bench-card {
  overflow: hidden;
  position: relative;
}

.bench-architecture-panel {
  padding: 30px 34px 52px;
  margin-bottom: 64px;
}

.bench-architecture-copy {
  max-width: 920px;
  margin-bottom: 24px;
}

.bench-architecture-copy h3 {
  margin: 0 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.bench-architecture-copy p {
  color: #6b6b65;
  font-size: 1.05rem;
  line-height: 1.85;
}

.bench-flow-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}
@media screen and (max-width: 768px) {
  .bench-flow-board {
    grid-template-columns: 1fr;
  }
}

.bench-flow-stage {
  padding: 22px 20px;
  border-radius: 22px;
  color: #fff;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(25, 25, 24, 0.1);
}
.bench-flow-stage span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
.bench-flow-stage strong {
  font-size: 1rem;
  line-height: 1.6;
}

.stage-1 {
  background: linear-gradient(135deg, #b86c39 0%, #d78c53 100%);
}

.stage-2 {
  background: linear-gradient(135deg, #5871d8 0%, #7390f1 100%);
}

.stage-3 {
  background: linear-gradient(135deg, #2f8f78 0%, #55b098 100%);
}

.stage-4 {
  background: linear-gradient(135deg, #5a5d73 0%, #7c82a4 100%);
}

.bench-flow-connector {
  align-self: center;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 108, 240, 0.1), rgba(77, 108, 240, 0.6));
}
@media screen and (max-width: 768px) {
  .bench-flow-connector {
    display: none;
  }
}

.bench-signal-grid-rich,
.bench-advantage-grid-rich {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media screen and (max-width: 768px) {
  .bench-signal-grid-rich,
  .bench-advantage-grid-rich {
    grid-template-columns: 1fr;
  }
}

.bench-signal-grid,
.bench-advantage-grid {
  display: grid;
  gap: 18px;
}

.bench-signal-card,
.bench-advantage-card {
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 22px;
}

.bench-signal-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #4d6cf0;
}

.bench-signal-card strong,
.bench-advantage-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  color: #191918;
}

.bench-signal-card p,
.bench-advantage-card p {
  margin: 0;
  color: #6b6b65;
  font-size: 0.95rem;
  line-height: 1.75;
}

.bench-score-diagram {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
@media screen and (max-width: 768px) {
  .bench-score-diagram {
    grid-template-columns: 1fr;
  }
}

.bench-score-block {
  min-height: 130px;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.bench-score-block span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.92;
}
.bench-score-block strong {
  font-size: 0.98rem;
  line-height: 1.55;
}

.block-blue {
  background: linear-gradient(135deg, #4967d9 0%, #6e89f1 100%);
}

.block-purple {
  background: linear-gradient(135deg, #7351d4 0%, #956ff2 100%);
}

.block-gold {
  background: linear-gradient(135deg, #b97a2c 0%, #d6a34f 100%);
}

.block-red {
  background: linear-gradient(135deg, #a85a4b 0%, #d07e6d 100%);
}

.bench-score-plus,
.bench-score-times {
  text-align: center;
  font-size: 2rem;
  color: #8f8a83;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .bench-score-plus,
  .bench-score-times {
    display: none;
  }
}

.bench-score-formula-card {
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(77, 108, 240, 0.06);
  color: #4d6cf0;
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.95rem;
  line-height: 1.7;
}

.bench-audit-flow {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 22px;
  align-items: stretch;
}
@media screen and (max-width: 768px) {
  .bench-audit-flow {
    grid-template-columns: 1fr;
  }
}

.bench-audit-column {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 22px;
  padding: 22px;
}
.bench-audit-column h4 {
  margin: 0 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #191918;
}

.bench-audit-center {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #191918 0%, #474742 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(25, 25, 24, 0.16);
  min-height: 220px;
}

.bench-audit-pill {
  display: inline-flex;
  margin: 0 10px 10px 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #6b6b65;
  font-size: 0.88rem;
  font-weight: 600;
}

.bench-scenario-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bench-scenario-id {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.76rem;
  color: #6b6b65;
}

.bench-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(77, 108, 240, 0.1);
  color: #4d6cf0;
  font-size: 0.78rem;
  font-weight: 700;
}

.bench-pill-soft {
  background: rgba(0, 0, 0, 0.05);
  color: #6b6b65;
}

.bench-pass-yes {
  color: #3f9b54;
  font-weight: 800;
  font-size: 1.1rem;
}

.bench-pass-no {
  color: #a7a19a;
  font-weight: 800;
  font-size: 1.1rem;
}

.bench-blog-shell-wide {
  max-width: 1280px;
}

.bench-post-card-wide {
  padding-bottom: 34px;
}

.bench-post-content-wide {
  max-width: 1080px;
}

.bench-architecture-panel:first-of-type {
  margin-bottom: 88px;
}

.bench-architecture-panel + .bench-architecture-panel {
  margin-top: 18px;
}

.bench-task-header > div:first-child {
  min-width: 0;
}

.bench-task-details {
  margin-top: 8px;
}

.bench-task-details summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.bench-task-details[open] summary {
  margin-bottom: 12px;
}

.bench-task-full {
  width: 100%;
  white-space: pre-wrap;
  color: #6b6b65;
  line-height: 1.7;
}

.bench-post-card .comments {
  padding: 0 28px;
  margin-top: 24px;
}

.bench-post-card .comments iframe,
.bench-post-card .comments .giscus {
  width: 100%;
}

.bench-task-card-compact {
  overflow: hidden;
}

.bench-task-lead,
.bench-task-full {
  width: 100%;
  max-width: 100%;
  word-break: break-word;
}

.bench-task-details-bottom {
  margin-top: 0;
}

.bench-task-details-bottom summary {
  margin-bottom: 12px;
}

.bench-task-full {
  display: block;
  width: 100%;
}

.bench-architecture-panel:first-of-type {
  padding-bottom: 72px;
}

.bench-architecture-panel:nth-of-type(2) {
  margin-top: 28px;
}

@media screen and (max-width: 768px) {
  .bench-task-card-compact {
    min-height: auto;
  }

  .bench-task-header {
    grid-template-columns: 1fr;
  }

  .bench-task-tags {
    justify-content: flex-start;
  }

  .bench-task-clamp {
    -webkit-line-clamp: 12;
    min-height: auto;
  }
}
.bench-post-card .comments {
  margin-left: 20px;
  margin-right: 20px;
  width: auto;
}

.bench-task-details .bench-task-full {
  display: none;
}

.bench-task-details[open] .bench-task-clamp {
  display: none;
}

.bench-task-details[open] .bench-task-full {
  display: block;
}

.bench-task-details .bench-task-clamp {
  margin-bottom: 0;
}

.bench-architecture-panel:first-of-type {
  padding: 42px 48px 88px;
}

.bench-architecture-page .bench-architecture-panel {
  clear: both;
}

.bench-architecture-hero-card {
  padding: 56px 56px 40px;
  margin-bottom: 28px;
}

.bench-architecture-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bench-architecture-stack .bench-architecture-panel {
  margin: 0;
  padding: 36px 40px 44px;
}

.bench-task-main {
  min-width: 0;
}

.bench-task-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 10px;
  max-width: 220px;
}

.bench-task-tags span {
  max-width: 100%;
}

.bench-task-header-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.bench-task-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.bench-task-chip-row-top {
  align-items: flex-start;
}

.bench-task-chip-row-bottom {
  align-items: flex-start;
}

.bench-task-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: #6b6b65;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 100%;
  min-width: 0;
}

.bench-task-id,
.bench-task-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bench-task-id {
  flex: 1 1 260px;
  max-width: 100%;
}

.bench-task-difficulty {
  flex: 0 0 auto;
}

.bench-task-tag {
  flex: 0 1 auto;
  max-width: 220px;
}

.bench-task-card-compact {
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.bench-task-card-compact h3 {
  margin: 0 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  line-height: 1.45;
}

.bench-task-toggle {
  appearance: none;
  border: none;
  background: transparent;
  color: #c45a3c;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0;
  margin: 0 0 14px;
  cursor: pointer;
  text-align: left;
}

.bench-task-preview,
.bench-task-full {
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: #6b6b65;
  line-height: 1.72;
}

.bench-task-preview {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 13.6em;
  margin: 0 0 16px;
}

.bench-task-full {
  display: none;
}

.bench-task-card.is-expanded .bench-task-preview {
  display: none;
}

.bench-task-card.is-expanded .bench-task-full {
  display: block;
}

@media screen and (max-width: 768px) {
  .bench-architecture-hero-card {
    padding: 36px 24px 40px;
  }

  .bench-architecture-stack {
    gap: 28px;
  }

  .bench-architecture-stack .bench-architecture-panel {
    padding: 28px 24px 32px;
  }

  .bench-task-header-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bench-task-chip-row-right {
    justify-content: flex-start;
    max-width: none;
  }
}
