/* Fine-tune check. The object is the report's own headline sheet: for each test, the fine-tune minus its base, drawn
   as a 95% interval against a zero line. A bar that crosses zero is the plain picture of "no measurable difference".
   One ink for every bar: the sheet shows direction and width, never good or bad. */
.ftc { padding: var(--wp-12) 0 var(--wp-16); }
.ftc :where(h1, h2, h3) { text-wrap: wrap; }
.ftc-top { display: grid; gap: var(--wp-8); grid-template-columns: minmax(0, 1fr); align-items: start; }
.ftc-kicker { font: 500 var(--wp-text-cite)/1.3 var(--wp-font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--wp-muted); margin: 0 0 var(--wp-3); }
.ftc h1 { font-family: var(--wp-font-display); font-weight: 600; font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.015em; margin: 0 0 var(--wp-6); max-width: 13ch; }
.ftc-lede { font-size: var(--wp-text-lede); line-height: 1.5; max-width: 34rem; margin: 0 0 var(--wp-6); }
.ftc-lede a { color: var(--wp-ink); }
.ftc-answer { max-width: 34rem; margin: calc(-1 * var(--wp-2)) 0 var(--wp-6); padding-left: var(--wp-3); border-left: 4px solid var(--wp-ink); font-size: var(--wp-text-ledger); line-height: 1.5; }
.ftc-answer b { font-family: var(--wp-font-mono); font-weight: 600; white-space: nowrap; }
.ftc-actions { display: flex; flex-wrap: wrap; gap: var(--wp-3) var(--wp-6); align-items: center; margin: 0 0 var(--wp-8); }
.ftc-actions a { min-height: 48px; display: inline-flex; align-items: center; }
.ftc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; max-width: 34rem; border-top: var(--wp-rule-strong) solid var(--wp-ink); }
.ftc-facts div { padding: var(--wp-3) var(--wp-4) var(--wp-3) 0; border-bottom: var(--wp-rule) solid var(--wp-hair); }
.ftc-facts dt { font: 500 var(--wp-text-cite)/1.3 var(--wp-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--wp-muted); }
.ftc-facts dd { margin: var(--wp-1) 0 0; font-family: var(--wp-font-display); font-weight: 600; font-size: 1.75rem; line-height: 1.1; }

/* The sheet */
.ftc-sheet { margin: 0; }
.ftc-paper { background: var(--wp-panel); border: var(--wp-rule-strong) solid var(--wp-ink); box-shadow: 10px 10px 0 var(--wp-cited); padding: var(--wp-4) var(--wp-4) var(--wp-6); }
.ftc-sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--wp-1) var(--wp-4); margin: 0 0 var(--wp-4); padding-bottom: var(--wp-2); border-bottom: var(--wp-rule) solid var(--wp-ink); font: 500 var(--wp-text-cite)/1.3 var(--wp-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ftc-sheet-head span:last-child { color: var(--wp-muted); }
.ftc-pair { display: flex; flex-direction: column; gap: 2px; margin: 0 0 var(--wp-4); }
.ftc-pair-ft, .ftc-pair-base { font: 500 var(--wp-text-ledger)/1.35 var(--wp-font-mono); overflow-wrap: anywhere; }
.ftc-pair-ft { font-weight: 600; font-size: 1rem; }
.ftc-pair-vs { font-size: var(--wp-text-meta); color: var(--wp-muted); }
.ftc-slot { margin: 0 0 var(--wp-4); padding: var(--wp-3) var(--wp-4); background: var(--wp-paper); border: var(--wp-rule-strong) dashed var(--wp-ink); font-size: var(--wp-text-ledger); line-height: 1.5; }

/* the axis: -50 to +50 points, ticks at -40 -20 0 +20 +40 = 10% 30% 50% 70% 90% */
.ftc-axis { position: relative; height: 2.75rem; margin: 0 0 var(--wp-2); border-bottom: var(--wp-rule) solid var(--wp-ink); }
.ftc-axis-name { position: absolute; top: 0; left: 0; font-size: var(--wp-text-cite); color: var(--wp-muted); line-height: 1.2; }
.ftc-tick { position: absolute; bottom: var(--wp-1); transform: translateX(-50%); font: 500 .75rem/1 var(--wp-font-mono); color: var(--wp-muted); }
.ftc-tick--0 { color: var(--wp-ink); font-weight: 600; }
.ftc-tick--m40 { left: 10%; } .ftc-tick--m20 { left: 30%; } .ftc-tick--0 { left: 50%; } .ftc-tick--p20 { left: 70%; } .ftc-tick--p40 { left: 90%; }

.ftc .ftc-rows { list-style: none; margin: 0; padding: 0; }
.ftc .ftc-row { margin: 0; padding: var(--wp-4) 0; border-bottom: var(--wp-rule) solid var(--wp-hair); max-width: none; }
.ftc-row-label { margin: 0; font-weight: 600; line-height: 1.3; }
.ftc-row-what { margin: 2px 0 var(--wp-2); font-size: var(--wp-text-meta); line-height: 1.4; color: var(--wp-muted); }
.ftc-row-nums { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--wp-1) var(--wp-3); margin: 0 0 var(--wp-2); font: 500 var(--wp-text-ledger)/1.4 var(--wp-font-mono); }
.ftc-row-nums--slot { color: var(--wp-muted); }
.ftc-nm { font-family: var(--wp-font-body); font-size: var(--wp-text-meta); }
.ftc-k { font-family: var(--wp-font-body); font-size: var(--wp-text-cite); letter-spacing: .04em; text-transform: uppercase; color: var(--wp-muted); margin-right: .35em; }
.ftc-arrow { color: var(--wp-muted); }
.ftc-row-read { margin: var(--wp-2) 0 0; font-size: var(--wp-text-ledger); line-height: 1.45; }
.ftc-row-read b { font-family: var(--wp-font-mono); font-weight: 500; }
.ftc-ci-text { font-family: var(--wp-font-mono); font-size: var(--wp-text-meta); }

.ftc-track { position: relative; height: 1.75rem; }
.ftc-track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right,
  transparent calc(10% - .5px), var(--wp-hair) calc(10% - .5px) calc(10% + .5px), transparent calc(10% + .5px) calc(30% - .5px),
  var(--wp-hair) calc(30% - .5px) calc(30% + .5px), transparent calc(30% + .5px) calc(70% - .5px),
  var(--wp-hair) calc(70% - .5px) calc(70% + .5px), transparent calc(70% + .5px) calc(90% - .5px),
  var(--wp-hair) calc(90% - .5px) calc(90% + .5px), transparent calc(90% + .5px)); }
.ftc-zero { position: absolute; top: -2px; bottom: -2px; left: calc(50% - 1px); width: 2px; background: var(--wp-ink); }
.ftc-ci { position: absolute; top: calc(50% - 5px); height: 10px; background: var(--wp-ink); }
.ftc-dot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--wp-panel); border: 3px solid var(--wp-ink); }
.ftc-track--slot::after { content: ""; position: absolute; top: calc(50% - 7px); height: 14px; left: 4%; right: 4%; background: repeating-linear-gradient(135deg, var(--wp-hair) 0 2px, transparent 2px 7px); }
.ftc-couple { margin: var(--wp-4) 0 0; font-size: var(--wp-text-ledger); line-height: 1.5; border-left: 4px solid var(--wp-ink); padding-left: var(--wp-3); }

/* the card's row: a different source, so an outlined bar on the same axis */
.ftc-ref { margin-top: var(--wp-4); padding-top: var(--wp-4); border-top: var(--wp-rule) dashed var(--wp-muted); }
.ftc-ref-label { margin: 0 0 var(--wp-2); font-size: var(--wp-text-meta); line-height: 1.4; color: var(--wp-muted); }
.ftc-track--ref .ftc-ci { background: transparent; border: 2px solid var(--wp-muted); top: calc(50% - 6px); height: 12px; }
.ftc-track--ref .ftc-dot { border-color: var(--wp-muted); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-width: 3px; }
.ftc-ref .ftc-row-read { color: var(--wp-muted); }
.ftc-sheet figcaption { margin-top: var(--wp-6); font-size: var(--wp-text-meta); line-height: 1.5; color: var(--wp-muted); max-width: 32rem; }

/* Sections */
.ftc-section { margin-top: var(--wp-16); }
.ftc-section > h2 { font-family: var(--wp-font-display); font-weight: 600; font-size: var(--wp-text-title); line-height: 1.04; border-top: var(--wp-rule-strong) solid var(--wp-ink); padding-top: var(--wp-6); margin: 0 0 var(--wp-6); scroll-margin-top: var(--wp-6); }
.ftc h3 { font-family: var(--wp-font-body); font-weight: 600; font-size: var(--wp-text-h3); line-height: 1.3; margin: 0 0 var(--wp-3); }
.ftc p, .ftc li { max-width: var(--wp-measure); }
.ftc ul { padding-left: 1.25rem; }
.ftc li + li { margin-top: var(--wp-2); }
.ftc code { font-family: var(--wp-font-mono); font-size: .92em; overflow-wrap: anywhere; }
.ftc-small { font-size: var(--wp-text-meta); color: var(--wp-muted); }
.ftc-section a:not(.button):not(.button-secondary) { color: var(--wp-ink); }

.ftc-slot--inline { max-width: var(--wp-measure); }
.ftc-files { display: flex; flex-wrap: wrap; gap: var(--wp-3) var(--wp-6); align-items: center; }
.ftc-files a { min-height: 48px; display: inline-flex; align-items: center; }
.ftc-run { margin: var(--wp-6) 0; max-width: var(--wp-measure); border-top: var(--wp-rule-strong) solid var(--wp-ink); }
.ftc-run div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: var(--wp-3) 0; border-bottom: var(--wp-rule) solid var(--wp-hair); }
.ftc-run dt { font: 500 var(--wp-text-cite)/1.3 var(--wp-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--wp-muted); }
.ftc-run dd { margin: 0; line-height: 1.5; }
.ftc .ftc-carry { list-style: none; padding: 0; max-width: var(--wp-measure); }
.ftc-carry li { padding-left: var(--wp-4); border-left: var(--wp-rule-strong) solid var(--wp-ink); }

.ftc .ftc-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: var(--wp-6); grid-template-columns: minmax(0, 1fr); }
.ftc .ftc-steps li { counter-increment: s; margin: 0; border-top: var(--wp-rule) solid var(--wp-ink); padding-top: var(--wp-4); max-width: none; }
.ftc-steps li::before { content: "0" counter(s); display: block; font: 500 var(--wp-text-meta)/1 var(--wp-font-mono); color: var(--wp-muted); margin-bottom: var(--wp-3); }
.ftc-steps p { margin: 0; }

.ftc-rules { margin-top: var(--wp-12); max-width: var(--wp-measure); }
.ftc-rule-list { margin: var(--wp-4) 0 var(--wp-6); border-top: var(--wp-rule-strong) solid var(--wp-ink); }
.ftc-rule-list div { display: grid; gap: var(--wp-1) var(--wp-6); grid-template-columns: minmax(0, 1fr); padding: var(--wp-3) 0; border-bottom: var(--wp-rule) solid var(--wp-hair); }
.ftc-rule-list dt { font-weight: 600; }
.ftc-rule-list dd { margin: 0; font-family: var(--wp-font-mono); font-size: var(--wp-text-ledger); line-height: 1.5; }
.ftc-limits { margin-top: var(--wp-8); background: var(--wp-panel); border: var(--wp-rule-strong) solid var(--wp-ink); padding: var(--wp-6); max-width: var(--wp-measure); }
.ftc-limits ul { margin: 0; }
.ftc-method-link { margin-top: var(--wp-6); }
.ftc-method-link p { margin: 0; }
.ftc-method-link a { font-weight: 600; font-size: var(--wp-text-lede); display: inline-block; padding: 12px 0; }
.ftc-method-link a::after { content: " \2192"; }

/* Right of reply, questions, who we are */
.ftc-about p { max-width: var(--wp-measure); }
.ftc-about a { display: inline-block; padding: 12px 0; margin: -12px 0; }

@container page (min-width: 56rem) {
  .ftc { padding-top: var(--wp-16); }
  .ftc-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--wp-12); }
  .ftc-paper { padding: var(--wp-6) var(--wp-6) var(--wp-8); }
  .ftc .ftc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp-8); }
  .ftc-rule-list div { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); }
  .ftc-run div { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--wp-4); }
}

/* Method page: a reference document, so a numbered contents list and hash ledgers */
.ftc-doc .ftc-kicker a { color: var(--wp-muted); display: inline-block; padding: 12px 0; margin: -12px 0; }
.ftc-doc h1 { max-width: none; }
.ftc-toc { max-width: var(--wp-measure); border-top: var(--wp-rule-strong) solid var(--wp-ink); border-bottom: var(--wp-rule) solid var(--wp-hair); padding: var(--wp-4) 0; }
.ftc-toc ol { margin: 0; padding-left: 1.5rem; columns: 2 14rem; column-gap: var(--wp-8); }
.ftc-toc li { break-inside: avoid; }
.ftc .ftc-toc li + li { margin-top: 0; }
.ftc-toc a { color: var(--wp-ink); display: inline-block; padding: 12px 0; }
.ftc-doc ul { max-width: var(--wp-measure); }
.ftc-doc h3 { margin-top: var(--wp-8); }
.ftc-hashes { margin: var(--wp-4) 0 var(--wp-2); max-width: var(--wp-measure); border-top: var(--wp-rule) solid var(--wp-ink); }
.ftc-hashes div { padding: var(--wp-2) 0; border-bottom: var(--wp-rule) solid var(--wp-hair); }
.ftc-hashes dt { font: 500 var(--wp-text-cite)/1.3 var(--wp-font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--wp-muted); }
.ftc-hashes dd { margin: 2px 0 0; }
.ftc-hashes code { font-size: var(--wp-text-meta); overflow-wrap: anywhere; word-break: break-all; }
.ftc-cwe { font-family: var(--wp-font-mono); font-size: var(--wp-text-ledger); line-height: 1.7; }
.ftc-nw { white-space: nowrap; }
.ftc-sheet { scroll-margin-top: var(--wp-4); }
.ftc-sheet-foot { margin: var(--wp-4) 0 0; }
.ftc-sheet-foot a { color: var(--wp-ink); font-weight: 600; font-size: var(--wp-text-ledger); display: inline-block; padding: 12px 0; margin: -12px 0 -12px; }
.ftc-sheet-foot a::after { content: " \2193"; }

/* interval positions, generated: axis runs from -50 to +50 points */
.ftc-ci--functional { left: 46.7%; width: 5.1%; }
.ftc-dot--functional { left: 49.2%; }
.ftc-ci--cweval_func { left: 43.0%; width: 8.3%; }
.ftc-dot--cweval_func { left: 47.2%; }
.ftc-ci--cweval_funcsec { left: 49.7%; width: 7.2%; }
.ftc-dot--cweval_funcsec { left: 53.2%; }
.ftc-ci--card { left: 7.5%; width: 8.5%; }
.ftc-dot--card { left: 11.7%; }
