/* Article grid, using the public site's typography and navigation. */
.bench-page {
  --bench-ink: var(--ceras-ink);
  --bench-line: var(--ceras-rule);
  --bench-ceras: var(--ceras-navy);
  --bench-nitro: #6354bd;
  --bench-direct: #7189bb;
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(0, 220px);
  column-gap: clamp(32px, 5.56vw, 80px);
  align-items: start;
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
  padding-block: 56px 96px;
  color: var(--bench-ink);
  font-family: var(--font-sans);
}

.bench-page > :not(.bench-toc) { grid-column: 1; min-width: 0; }
.bench-hero { max-width: 820px; }
.bench-hero nav,
.bench-hero > a:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 32px;
  color: var(--ceras-muted);
  font-size: 13px;
}
.bench-hero small { display: block; color: var(--ceras-muted); font-size: 13px; }
.bench-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(32px, 3.1vw, 42px);
  font-weight: 520;
  line-height: 1.1;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.bench-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--ceras-muted);
  font-size: 19px;
  line-height: 1.55;
}
.bench-hero a:hover, .bench-body a:hover, .bench-related a:hover { color: var(--ceras-navy-hover); }
.bench-page > .bench-toc {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: start;
  position: sticky;
  top: calc(var(--public-header-height, 68px) + 24px);
  border: 0;
}
.bench-toc > :is(p,h2) { background: transparent; padding: 6px 0 14px; }
.bench-toc a { padding-block: 9px; }
.bench-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 32px clamp(18px,4.45vw,64px);
  margin: 42px 0 0;
}
.bench-kpis figure { margin: 0; min-width: 0; }
.bench-kpis figcaption { font: 550 16.5px/1.5 var(--font-sans); }
.bench-kpis small { display: block; color: var(--ceras-muted); font-size: 12px; line-height: 1.45; margin: 3px 0 37px; }
.bench-kpis dl {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
  max-width: 228px;
  padding: 0;
  margin: 0 0 50px;
  border-bottom: 1px solid var(--bench-line);
}
.bench-kpis dl > div {
  position: relative;
  flex: 1 1 0;
  max-width: 72px;
  height: var(--h);
  min-width: 0;
  background: var(--bench-ceras);
}
.bench-kpis dl > div:nth-child(2) { background: var(--bench-nitro); }
.bench-kpis dl > div:nth-child(3) { background: var(--bench-direct); }
.bench-kpis dd,.bench-kpis dt {
  position: absolute;
  width: 100%;
  margin: 0;
  text-align: center;
  line-height: 1.22;
}
.bench-kpis dd { bottom: calc(100% + 7px); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bench-kpis dt { top: calc(100% + 9px); font-size: 12px; }
.bench-body {
  color: var(--bench-ink);
  font-size: 16.5px;
  line-height: 1.65;
}
.bench-body section { margin: 56px 0; }
.bench-body :is(p,h2,h3,ul,ol) { max-width: 800px; }
.bench-body h2,.bench-related h2,.bench-cta h2 {
  margin: 48px 0 16px;
  font-size: 26px;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.bench-body h3 { font-size: 20px; line-height: 1.35; margin: 28px 0 12px; }
.bench-body p { margin: 16px 0; }
.bench-body figure { margin: 42px 0; }
.bench-body figcaption { margin-bottom: 16px; font-size: 17px; font-weight: 550; }
.bench-chart svg { display: block; width: 100%; height: auto; }
.bench-body table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.bench-body :is(th,td) { border-bottom: 1px solid var(--bench-line); padding: 10px 12px; text-align: right; }
.bench-body tr > :first-child { text-align: left; }
.bench-body th { font-weight: 550; }
.bench-body thead { background: var(--ceras-panel); }
.bench-body details { border-block: 1px solid var(--bench-line); padding: 13px 0; margin: 18px 0; }
.bench-body summary { cursor: pointer; font-size: 15px; font-weight: 550; }
.bench-related,.bench-cta { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--bench-line); }
.bench-related h2,.bench-cta h2 { margin: 0 0 16px; }
.bench-related a { display: block; padding-block: 10px; }
.bench-cta p { max-width: 640px; line-height: 1.6; }
.bench-cta a { display: inline-block; padding: 12px 18px; background: var(--ceras-navy); color: white; text-decoration: none; font-weight: 550; }

@media (max-width: 1150px) {
  .bench-page { display: block; width: min(880px, calc(100% - 64px)); }
  .bench-page > .bench-toc { position: static; margin: 32px 0; }
  .bench-toc ul { display: flex; flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .bench-kpis { column-gap: 22px; }
  .bench-kpis dl { max-width: 188px; }
  .bench-kpis dt { font-size: 11px; }
}
@media (max-width: 660px) {
  .bench-page { width: calc(100% - 40px); padding-block: 44px 64px; }
  .bench-hero h1 { font-size: 32px; }
  .bench-hero p { font-size: 17px; }
  .bench-kpis { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .bench-body { font-size: 16px; }
  .bench-body h2,.bench-cta h2,.bench-related h2 { font-size: 23px; }
  .bench-body :is(th,td) { padding: 9px 6px; }
}

.bench-body .bench-bars {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--bench-line);
  border-radius: 8px;
  background: var(--ceras-paper);
}
.bench-bars figcaption { margin: 0; }
.bench-bars small { font-size: 13px; color: var(--ceras-muted); }
.bench-bars dl { display: grid; gap: 14px; margin: 22px 0 3px; }
.bench-bars dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px; align-items: center; }
.bench-bars dt { font-size: 14px; }
.bench-bars dd { display: grid; grid-template-columns: minmax(0,1fr) 4rem; gap: 12px; align-items: center; margin: 0; }
.bench-bars dd span { display: block; height: 14px; background: var(--bench-ceras); }
.bench-bars dl > div:nth-child(2) dd span { background: var(--bench-nitro); }
.bench-bars dl > div:nth-child(3) dd span { background: var(--bench-direct); }
.bench-bars dl > div:nth-child(2):last-child dd span,
.bench-kpis dl > div:nth-child(2):last-child { background: #536f99; }
.bench-bars b { font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.bench-body > table > caption { text-align: left; font-weight: 550; margin: 22px 0 10px; }
.bench-body table:has(td:nth-child(2):last-child) td { overflow-wrap: break-word; }
.bench-body #metode + table td { text-align: left; }
.bench-body .bench-cta { margin-bottom: 0; }
@media (max-width: 1150px) {
  .bench-page > .bench-toc { display: flex; flex-wrap: wrap; gap: 4px; }
  .bench-toc > p { flex-basis: 100%; }
}
@media (max-width: 660px) {
  .bench-bars dl > div { grid-template-columns: minmax(5rem, 28%) minmax(0, 1fr); gap: 8px; }
  .bench-bars dd { grid-template-columns: minmax(0, 1fr) 3.25rem; gap: 6px; }
}

/* The three reported routes share a scale; the paired retest sits below. */
.bench-page .bench-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }

.bench-kpis .stream-summary { grid-column: 1 / -1; padding: 24px 0 30px; border-block: 1px solid var(--bench-line); }
.stream-summary figcaption { font-size: 22px; letter-spacing: -.035em; }
.bench-kpis .stream-summary small { margin: 3px 0 24px; }
.bench-kpis .stream-summary dl { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width:none; height:auto; gap:0; margin:0; border:0; }
.bench-kpis .stream-summary dl > div { height:auto; max-width:none; background:transparent; padding-inline:clamp(12px,2vw,24px); border-left:1px solid var(--bench-line); }
.bench-kpis .stream-summary dl > div:first-child { border:0; padding-left:0; }
.bench-kpis .stream-summary :is(dt,dd) { position:static; text-align:left; width:auto; }
.stream-summary dt { display:flex; gap:9px; align-items:center; font-size:14px; font-weight:550; }
.stream-summary img { object-fit:contain; }
.bench-kpis .stream-summary dd { margin-top:14px; font: 450 clamp(36px,4.8vw,68px)/1 var(--font-sans); letter-spacing:-.065em; font-variant-numeric:tabular-nums; }
.stream-summary dd b { font-weight:inherit; }
.bench-body > table :is(td,th) { text-align:left; padding:16px 12px 16px 0; }
.bench-body > table thead { background:transparent; color:var(--ceras-muted); }
.bench-body > table thead th { border-bottom:1px solid var(--bench-line); }
.bench-body > table tbody tr:hover > * { background:var(--ceras-panel); }
.bench-body > table caption { color:var(--ceras-navy); font-weight:600; text-align:left; }
@media(max-width:660px) {
  .bench-page .bench-kpis { grid-template-columns:minmax(0,1fr); }
  .bench-kpis .stream-summary dl { grid-template-columns:1fr; }
  .bench-kpis .stream-summary dl > div { display:flex; justify-content:space-between; align-items:center; padding:12px 0; border:0; border-bottom:1px solid var(--bench-line); }
  .bench-kpis .stream-summary dd { margin:0; }
}
