/* Figure 3. The outside test. Every class is prefixed wf3-.
   Colours with a meaning: cyan = the computed correlations of friends that write nothing; ink = the bound 2 and the measured value; dashed hairline = the ceiling 2√2. */
.wf3 {
  --k-paper: var(--wf-paper, #faf8f3); --k-ink: var(--wf-ink, #1d1d1b); --k-body: var(--wf-body, #2a2926); --k-soft: var(--wf-soft, #3c3a36);
  --k-hair: var(--wf-hair, #8a8a8a); --k-rule: var(--wf-rule, color-mix(in srgb, var(--k-ink) 16%, var(--k-paper)));
  --k-tint: var(--wf-tint, color-mix(in srgb, var(--k-ink) 5%, var(--k-paper)));
  --k-c: var(--wf-cyan, #009fe3); --k-c-text: var(--wf-cyan-text, #0072b5);
  --k-text: var(--wf-text, "InterVariable", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif);
  --k-display: var(--wf-display, "Inter Display", "InterVariable", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif);
  --k-mono: var(--wf-mono, "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace);
  container-type: inline-size;
  margin: 0; padding: clamp(.9rem, 1.8vw, 1.25rem); background: var(--k-paper); color: var(--k-body);
  border: 1px solid var(--k-ink); font-family: var(--k-text); font-weight: 420; line-height: 1.42; box-sizing: border-box; position: relative;
}
@media screen and (prefers-color-scheme: dark) {
  .wf3 { --k-paper: var(--wf-paper, #141413); --k-ink: var(--wf-ink, #faf8f3); --k-body: var(--wf-body, #e9e6df); --k-soft: var(--wf-soft, #c9c5bc);
    --k-c: var(--wf-cyan, #2bb3f0); --k-c-text: var(--wf-cyan-text, #2bb3f0); --k-tint: var(--wf-tint, color-mix(in srgb, var(--k-ink) 7%, var(--k-paper))); }
}
.wf3 *, .wf3 *::before, .wf3 *::after { box-sizing: border-box; }
.wf3-label { margin: 0; font: 700 .7rem/1.3 var(--k-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--k-soft); }
.wf3-gk { font-style: normal; text-transform: none; letter-spacing: 0; }
.wf3-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline;
  padding-bottom: .7rem; margin-bottom: .9rem; border-bottom: 1px solid var(--k-rule); }
.wf3-live { color: var(--k-ink); }
.wf3-live::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; background: var(--k-c); vertical-align: .05rem; }

.wf3-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@container (min-width: 760px) { .wf3-grid { grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); } }
.wf3-labs { display: block; width: 100%; max-width: 380px; margin-bottom: .8rem; overflow: visible; }
.wf3-range { width: 100%; margin: .4rem 0 0; accent-color: var(--k-ink); height: 32px; cursor: pointer; }
.wf3-range:focus-visible { outline: 3px solid var(--k-c-text); outline-offset: 3px; }
.wf3-ticks { display: flex; justify-content: space-between; font: 400 .66rem/1.3 var(--k-mono); color: var(--k-soft); }
.wf3-right { min-width: 0; }
.wf3-num { margin: .3rem 0 0; font-family: var(--k-display); font-weight: 860; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: .86; letter-spacing: -.05em; color: var(--k-ink); font-variant-numeric: tabular-nums; }
.wf3-words { margin: .45rem 0 .6rem; font-size: .95rem; line-height: 1.36; color: var(--k-ink); max-width: 44rem; }
.wf3-plot { display: block; width: 100%; overflow: visible; }
.wf3-plot text, .wf3-labs text { font-family: var(--k-mono); fill: var(--k-soft); font-size: 10px; letter-spacing: .04em; paint-order: stroke; stroke: var(--k-paper); stroke-width: 3px; stroke-linejoin: round; }
.wf3-plot .cap, .wf3-labs .cap { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; fill: var(--k-ink); }
.wf3-plot .ceil-t { fill: var(--k-soft); }
.wf3-plot .lab-t { letter-spacing: .06em; }
.wf3-plot .mv { fill: var(--k-ink); font-weight: 700; }
.wf3-plot .meas-t { font-size: 9px; letter-spacing: .02em; }
.wf3-plot .axis { stroke: var(--k-ink); stroke-width: 1.2; }
.wf3-plot .tick { stroke: var(--k-ink); stroke-width: 1; }
.wf3-plot .bound { stroke: var(--k-ink); stroke-width: 2; }
.wf3-plot .ceil { stroke: var(--k-hair); stroke-width: 1.4; stroke-dasharray: 5 4; }
.wf3-plot .curve { fill: none; stroke: var(--k-c); stroke-width: 2.2; }
.wf3-plot .dot { fill: var(--k-paper); stroke: var(--k-c); stroke-width: 2.6; }
.wf3-plot .drop { stroke: var(--k-c); stroke-width: 1; stroke-dasharray: 2 3; }
.wf3-plot .sep { stroke: var(--k-rule); stroke-width: 1; }
.wf3-plot .err { stroke: var(--k-ink); stroke-width: 1.6; }
.wf3-plot .mpt { fill: var(--k-ink); }
.wf3-labs .rim { fill: none; stroke: var(--k-ink); stroke-width: 1.2; }
.wf3-labs .ndl { stroke: var(--k-ink); stroke-width: 2; }
.wf3-labs .ndl.b { stroke: var(--k-ink); }
.wf3-labs .nl { font-weight: 700; fill: var(--k-ink); font-size: 11px; }
.wf3-labs .box { fill: none; stroke: var(--k-ink); stroke-width: 2; }
.wf3-labs .reg { fill: none; stroke: var(--k-c); stroke-width: 1.6; }
.wf3-labs .ref { stroke: var(--k-hair); stroke-width: 1; stroke-dasharray: 2 3; }
.wf3-labs .strong { fill: var(--k-ink); font-weight: 700; }
.wf3-labs .ndl { stroke: var(--k-c); stroke-width: 2.4; }
.wf3-labs .link { stroke: var(--k-ink); stroke-width: 1; stroke-dasharray: 2 3; }
.wf3-E { border-collapse: collapse; margin-top: .8rem; font: 400 .78rem/1.4 var(--k-mono); color: var(--k-body); }
.wf3-E caption { text-align: left; margin-bottom: .25rem; }
.wf3-E th { font-weight: 400; text-align: left; padding: .1rem .9rem .1rem 0; color: var(--k-soft); }
.wf3-E thead th { text-align: right; }
.wf3-sum { margin: .4rem 0 0; font: 400 .74rem/1.4 var(--k-mono); color: var(--k-soft); font-variant-numeric: tabular-nums; }
.wf3-E td { font-weight: 700; padding: .1rem 1.2rem .1rem 0; color: var(--k-ink); font-variant-numeric: tabular-nums; text-align: right; }
.wf3-cap { margin: 1rem 0 0; font-size: .84rem; line-height: 1.4; color: var(--k-soft); max-width: 60rem; }
.wf3-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (forced-colors: active) {
  .wf3-plot .curve, .wf3-plot .dot, .wf3-labs .reg { stroke: LinkText; }
  .wf3-plot .axis, .wf3-plot .bound, .wf3-plot .err, .wf3-labs .rim, .wf3-labs .ndl, .wf3-labs .box { stroke: CanvasText; }
  .wf3-plot .mpt { fill: CanvasText; } .wf3 text { fill: CanvasText; stroke: Canvas; }
}
@media print { .wf3 { --k-paper: #fff; --k-ink: #000; --k-body: #111; --k-soft: #333; break-inside: avoid; } .wf3, .wf3 * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
