:root{--type-title:2rem;--type-section:1.625rem;--type-subtitle:1.25rem;--type-body:1.0625rem;--type-interface:.875rem;--type-caption:.75rem;--ret:#0072B2;--linear-probe:#D55E00;--difference-of-means:#A62646;--control:#454B54;--steering:#008C87;--score-heat:#BCD5E6;--matrix-correct:#3D739F;--matrix-error:#D69579;--bg:#fbfaf7;--panel:#fff;--pale:#edf4f6;--ink:#222621;--soft:#62675f;--rule:#dddeda;--blue:#117caf;--blue-dark:#0d658f;--red:#B45143;--orange:#b77324;--green:#527d68;--serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--mono:ui-monospace,"SFMono-Regular",Consolas,monospace}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--serif);font-size:var(--type-body);line-height:1.65;-webkit-font-smoothing:antialiased}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}:focus-visible{outline:2px solid var(--blue);outline-offset:4px}button{cursor:pointer}button:disabled,select:disabled,input:disabled{cursor:wait;opacity:.6}.prose{width:100%;max-width:744px;min-width:0;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px}.wide{max-width:1120px;margin:32px auto}.skip{position:absolute;top:-90px;left:20px;background:white;padding:10px;z-index:99}.skip:focus{top:12px}.article-header{padding-top:32px;padding-bottom:38px}.back{display:inline-block;margin-bottom:28px;font:14px/1.5 var(--sans)}.eyebrow{font:13px/1.6 var(--sans);color:var(--soft);margin:38px 0 20px}.article-header h1{font-size:var(--type-title);font-weight:500;letter-spacing:-.025em;line-height:1.13;margin:0;text-wrap:balance;overflow-wrap:anywhere}.article-header h1 em{color:var(--blue)}.article-header .authors{font:var(--type-body)/1.6 var(--sans);color:var(--soft);margin:24px 0 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.article-header .authors .sep{color:var(--soft)}.article-header .affil{font:14px/1.6 var(--sans);color:var(--soft);margin:6px 0 0}.article-header .corr{font:var(--type-interface)/1.6 var(--sans);color:var(--soft);margin:4px 0 0}.article-header .corr a{color:var(--blue);overflow-wrap:anywhere}.opening{font-size:var(--type-subtitle);line-height:1.4;letter-spacing:-.01em;margin:28px 0 16px}.lede{font-size:var(--type-body);line-height:1.6;color:var(--soft)}.article-links{display:flex;align-items:baseline;gap:10px 20px;flex-wrap:wrap;margin-top:20px;font:13px/1.5 var(--sans)}.article-links a{border-bottom:1px solid var(--rule);padding:0}.section{padding-top:48px;padding-bottom:28px}h2{font-size:var(--type-section);line-height:1.2;font-weight:500;letter-spacing:-.018em;margin:0 0 25px}p{margin:0 0 22px}h3{line-height:1.3}.subheading{font-size:var(--type-subtitle);font-weight:500;margin:42px 0 18px}.contrast-example{display:grid;grid-template-columns:1fr 1fr;margin:30px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:22px 0;gap:28px}.contrast-example p{font-size:var(--type-body);line-height:1.5;margin:7px 0 0}.small-label{font:12px/1.5 var(--sans);text-transform:uppercase;letter-spacing:.06em;color:var(--soft)}.method-note{font:15px/1.7 var(--sans);border-left:2px solid var(--rule);padding:8px 0 8px 18px;margin:28px 0;color:var(--soft)}summary{cursor:pointer;color:var(--ink)}details[open]>summary{margin-bottom:14px}details p:last-child{margin-bottom:0}.pipeline{padding:25px 30px;background:var(--pale);border-radius:8px;font-family:var(--sans)}.pipeline-phase+.pipeline-phase{margin-top:24px;padding-top:22px;border-top:1px solid #cfdee3}.phase-caption{display:block;font-size:13px;color:var(--blue-dark);margin-bottom:15px}.pipeline-steps{display:flex;align-items:center;gap:20px}.pipeline-steps>div{flex:1}.pipeline-steps strong{display:block;font-size:16px;font-weight:600}.pipeline-steps span:not(.pipeline-connector){display:block;font-size:14px;line-height:1.5;color:var(--soft);margin-top:5px}.pipeline-connector{display:block;width:36px;height:1px;background:#91b1bf;flex-shrink:0}.ret-node{border-left:3px solid var(--blue);padding-left:15px}.later .pipeline-steps{max-width:650px}.interactive{border:1px solid var(--rule);border-radius:12px;background:var(--panel);overflow:hidden;font-family:var(--sans);font-size:15px;line-height:1.6}.widget-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:24px 26px 14px}.widget-heading .small-label{margin:0 0 4px}.widget-heading h3{font:500 var(--type-subtitle)/1.3 var(--serif);margin:0}.select-label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--soft);min-width:180px;max-width:360px}select{appearance:auto;max-width:100%;padding:8px 30px 8px 10px;border:1px solid var(--rule);border-radius:5px;background:var(--panel);color:var(--ink);font-size:14px;cursor:pointer}.example-description{margin:0;padding:0 26px 16px;color:var(--soft);font-size:15px;max-width:900px}.widget-details{border-top:1px solid var(--rule);padding:14px 26px;font-size:14px;color:var(--soft)}.widget-details pre{white-space:pre-wrap;max-height:280px;overflow:auto;font:13px/1.7 var(--mono)}.widget-note{font-size:13px;line-height:1.6;color:var(--soft);padding:14px 26px;margin:0}.data-status{padding:0 26px 18px;font-size:14px;color:var(--soft);margin:0}.data-status:empty{display:none}.finding{border-left:3px solid var(--blue);padding:4px 0 4px 22px;margin:35px 0}.finding strong{color:var(--blue-dark)}.trace-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;padding:5px 26px 10px;font-size:12px;color:var(--soft)}.gradient-key{display:inline-block;vertical-align:middle;margin:0 6px;width:68px;height:9px;background:linear-gradient(90deg,#fff,var(--score-heat));border-radius:2px}.under-key{display:inline-block;margin-right:6px;width:24px;height:6px;vertical-align:middle;border-bottom:2px solid var(--red)}.under-key.steering{border-color:var(--steering)}.under-key.excluded{border-color:#85908d;border-bottom-style:dotted}.trace-chart{height:175px;position:relative;padding:0 18px}.trace-chart canvas{display:block;width:100%;height:100%;cursor:crosshair}.trace-controls{display:flex;align-items:center;gap:12px;padding:10px 26px 15px;flex-wrap:wrap}.small-button{padding:6px 12px;border:1px solid var(--rule);background:white;border-radius:5px;color:var(--ink);font-size:13px}.small-button:hover{background:var(--pale)}.small-button[aria-pressed=true]{background:var(--pale);border-color:var(--blue)}.range-wrap{display:flex;align-items:center;gap:10px;flex:1;min-width:160px;font-size:13px}.range-wrap input{min-width:80px;width:100%}input[type=range]{accent-color:var(--blue);height:24px;cursor:pointer}.trace-counter{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px;color:var(--soft)}.trace-position{padding:10px 26px;background:#f7f8f6;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);display:flex;gap:22px;flex-wrap:wrap;font-size:13px}.trace-position strong{font-weight:600}.trace-transcript{height:345px;overflow:auto;padding:22px 26px;font:13px/1.85 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;scroll-behavior:auto;position:relative}.trace-transcript:focus-visible{outline-offset:-3px}.token{padding:1px 0;border-radius:1px;box-decoration-break:clone;-webkit-box-decoration-break:clone;cursor:pointer}.token.judge-hack{text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:3px}.token.judge-excluded{border-bottom:1px dotted #85908d}.token.steered{border-bottom:3px solid var(--steering)}.token.current{outline:2px solid var(--ret);outline-offset:1px}.token.future{opacity:.2}.phase-boundary{display:block;font:11px/1.6 var(--sans);color:var(--soft);text-transform:uppercase;letter-spacing:.06em;border-top:1px solid var(--rule);margin:16px 0 10px;padding-top:12px}.phase-boundary:first-child{border-top:0;margin-top:0}.trace-footer{display:flex;justify-content:space-between;gap:16px;padding:10px 26px;border-top:1px solid var(--rule);font-size:12px;color:var(--soft)}.trace-check{display:flex;align-items:center;gap:6px}.strength-readout{font-size:var(--type-subtitle);font-family:var(--serif);color:var(--blue);white-space:nowrap}.strength-control{margin:8px 26px 22px}.strength-control>label{font-size:13px;color:var(--soft)}.strength-control input{width:100%;display:block;margin:9px 0 0}.strength-ticks{display:flex;justify-content:space-between;font-size:12px;color:var(--soft);margin-top:2px}.strength-ticks button{border:0;background:none;font-size:12px;color:inherit;padding:4px}.strength-ticks button[aria-current=true]{color:var(--blue);font-weight:700}.outcome-strip{display:flex;gap:9px 24px;flex-wrap:wrap;padding:13px 26px;margin-bottom:15px;background:var(--pale);font-size:13px}.outcome-strip strong{display:block;color:var(--ink);font-size:14px}.outcome-strip span{color:var(--soft)}.benchmark-summary{padding:18px 26px;border-top:1px solid var(--rule);font-size:15px;color:var(--soft)}.benchmark-summary strong{color:var(--ink)}.outcomes-canvas{height:310px;width:100%;display:block}.chart-key{display:flex;gap:12px 24px;flex-wrap:wrap;padding:0 26px 15px;font-size:13px;color:var(--soft)}.swatch{display:inline-block;height:10px;width:10px;margin-right:6px;border-radius:2px}.macro-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--rule)}.macro-map{position:relative;min-width:0;height:375px;border-left:1px solid var(--rule)}.macro-map canvas{width:100%;height:100%;display:block;cursor:crosshair}.macro-text{height:375px;overflow:auto;padding:20px;font:12.5px/1.85 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}.macro-state{padding:13px 26px;background:var(--pale);font-size:14px}.macro-legend{display:flex;gap:8px 20px;flex-wrap:wrap;padding:14px 26px;font-size:12px}.macro-legend span{max-width:320px}.macro-token.current{outline:2px solid var(--blue-dark);outline-offset:1px}.macro-controls{padding:15px 26px;display:flex;gap:14px;align-items:center}.macro-controls input{flex:1;min-width:80px}.map-caption{font-size:12px;color:var(--soft);padding:0 26px 16px;margin:0}.training-methods{display:grid;grid-template-columns:1fr 1fr;gap:28px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:24px 0;margin:30px 0}.training-methods h3{font-size:22px;font-weight:500;margin:0 0 12px}.training-methods p{font-size:18px;line-height:1.55}.training-methods .equation{font-size:17px;color:var(--blue-dark);margin-bottom:0;font-style:italic}.training-charts{display:grid;grid-template-columns:1fr 1fr}.training-charts>div{min-width:0}.training-charts h4{font-size:14px;font-weight:500;margin:10px 26px 0}.training-charts canvas{height:240px;width:100%;display:block}.boundary-note{font-size:17px;color:var(--soft);border-left:2px solid var(--rule);padding-left:20px}.sources{font-size:17px}.sources ul{padding-left:20px}.sources li{margin-bottom:12px}.source-note{font:14px/1.7 var(--sans);color:var(--soft)}footer{font:14px/1.7 var(--sans);padding-top:28px;padding-bottom:50px}footer p{margin:12px 0 0;color:var(--soft)}
@media(min-width:1500px){.wide{max-width:1180px}}
@media(max-width:1180px){.wide{margin-left:28px;margin-right:28px}}
@media(max-width:700px){:root{--type-body:1rem;--type-title:1.75rem}.prose{padding-left:23px;padding-right:23px}.article-header{padding-top:25px;padding-bottom:25px}.eyebrow{margin-top:28px}.section{padding-top:37px;padding-bottom:20px}.wide{margin-left:16px;margin-right:16px}.pipeline{padding:22px}.pipeline-steps{flex-direction:column;align-items:stretch;gap:13px}.pipeline-connector{height:18px;width:1px;margin-left:8px}.pipeline-steps strong{font-size:15px}.widget-heading{padding:20px 18px 13px;flex-direction:column;gap:15px}.widget-heading .select-label{width:100%;max-width:none}.example-description{padding:0 18px 15px}.trace-legend{padding-left:18px;padding-right:18px;font-size:11px}.trace-controls{padding:10px 18px;gap:9px}.trace-counter{width:100%}.trace-transcript{height:340px;padding:18px;font-size:13px}.trace-position{padding:10px 18px;gap:12px;font-size:12px}.widget-note,.widget-details,.benchmark-summary{padding:14px 18px}.trace-footer{padding:10px 18px}.strength-control{margin-left:18px;margin-right:18px}.strength-readout{position:static;align-self:flex-end;margin-top:-5px}.outcome-strip{padding:13px 18px}.macro-layout{grid-template-columns:1fr}.macro-map{height:310px;border-left:0;border-top:1px solid var(--rule)}.macro-text{height:280px}.training-charts{grid-template-columns:1fr}.training-methods{grid-template-columns:1fr;gap:20px}.training-methods>div+div{border-top:1px solid var(--rule);padding-top:20px}.contrast-example{gap:20px}.outcomes-canvas{height:290px}.chart-key{padding:0 18px 15px;font-size:12px;gap:8px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.score-mode{margin:0 26px 14px;max-width:340px}

/* Append after the existing article styles. Scoped to the replacement figure. */
.pipeline.ret-transfer {
  --transfer-blue: #107da6;
  --transfer-teal: #207a72;
  max-width: 1080px;
  padding: 28px 0 20px;
  margin-top: 38px;
  margin-bottom: 38px;
  background: none;
  border-radius: 0;
  border-top: 1px solid var(--rule, #dddeda);
  border-bottom: 1px solid var(--rule, #dddeda);
  font-family: var(--sans, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.ret-transfer-flow {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.15fr) 28px minmax(0, 1.15fr) 28px minmax(0, 1.1fr);
  grid-template-rows: auto 44px auto;
  column-gap: 18px;
  align-items: center;
}

.ret-transfer-phase {
  align-self: start;
  padding-top: 2px;
}

.ret-transfer-phase > span {
  display: block;
  max-width: 114px;
  color: var(--transfer-blue);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ret-transfer-phase > strong {
  display: block;
  margin-top: 5px;
  color: var(--ink, #222621);
  font-family: var(--serif, Georgia, serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
}

.ret-transfer-node {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3px 0;
}

.ret-transfer-node > strong {
  display: block;
  color: var(--ink, #222621);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.ret-transfer-node > span {
  display: block;
  margin-top: 7px;
  color: var(--soft, #62675f);
  font-size: 14px;
  line-height: 1.65;
}

.ret-transfer-arrow {
  display: block;
  position: relative;
  width: 100%;
  height: 1px;
  background: var(--transfer-blue);
  opacity: .75;
}

.ret-transfer-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--transfer-blue);
  border-top: 1px solid var(--transfer-blue);
  transform: rotate(45deg);
}

.ret-transfer-ret {
  padding: 5px 0 5px 18px;
  border-left: 3px solid var(--transfer-blue);
}

.ret-transfer-ret > strong {
  color: var(--transfer-blue);
  font-family: var(--serif, Georgia, serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}

.ret-transfer-bridge {
  grid-area: 2 / 6;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-left: 20px;
  border-left: 1px solid var(--transfer-blue);
  margin-left: 1px;
}

.ret-transfer-bridge > span {
  color: var(--transfer-blue);
  font-size: 12px;
  line-height: 1.5;
}

.ret-transfer-before { grid-area: 1 / 1; }
.ret-transfer-synthetic { grid-area: 1 / 2; }
.ret-transfer-arrow-a { grid-area: 1 / 3; }
.ret-transfer-base { grid-area: 1 / 4; }
.ret-transfer-arrow-b { grid-area: 1 / 5; }
.ret-transfer-learn { grid-area: 1 / 6; }
.ret-transfer-after { grid-area: 3 / 1; }
.ret-transfer-generations { grid-area: 3 / 2; }
.ret-transfer-arrow-c { grid-area: 3 / 3; }
.ret-transfer-updated { grid-area: 3 / 4; }
.ret-transfer-arrow-d { grid-area: 3 / 5; }
.ret-transfer-apply { grid-area: 3 / 6; }

.ret-transfer-after > span { color: var(--transfer-teal); }
.ret-transfer-arrow-c,
.ret-transfer-arrow-d { background: var(--transfer-teal); }
.ret-transfer-arrow-c::after,
.ret-transfer-arrow-d::after { border-color: var(--transfer-teal); }

.ret-transfer > figcaption {
  margin-top: 24px;
  padding-left: 138px;
  color: var(--soft, #62675f);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .pipeline.ret-transfer { margin-left: 32px; margin-right: 32px; }
}

@media (max-width: 960px) and (min-width: 681px) {
  .ret-transfer-flow {
    grid-template-columns: 101px minmax(0, 1.15fr) 21px minmax(0, 1.1fr) 21px minmax(0, 1.1fr);
    column-gap: 12px;
  }
  .ret-transfer-phase > strong { font-size: 23px; }
  .ret-transfer-node > strong { font-size: 16px; }
  .ret-transfer-ret > strong { font-size: 25px; }
  .ret-transfer-ret { padding-left: 13px; }
  .ret-transfer-bridge { padding-left: 15px; }
  .ret-transfer-desktop-break { display: none; }
  .ret-transfer > figcaption { padding-left: 113px; }
}

@media (max-width: 680px) {
  .pipeline.ret-transfer {
    margin: 30px 23px;
    padding: 23px 0 18px;
  }
  .ret-transfer-flow {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 0;
  }
  .ret-transfer-flow > * { grid-area: auto; }
  .ret-transfer-phase {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 15px;
    padding: 0 0 18px;
  }
  .ret-transfer-phase > span { max-width: none; font-size: 12px; }
  .ret-transfer-phase > strong { margin: 0; font-size: 23px; }
  .ret-transfer-node { grid-column: 2; padding: 0; }
  .ret-transfer-node > strong { font-size: 17px; }
  .ret-transfer-node > span { margin-top: 4px; font-size: 14px; }
  .ret-transfer-arrow {
    grid-column: 2;
    width: 1px;
    height: 19px;
    margin: 9px 0 9px 2px;
  }
  .ret-transfer-arrow::after {
    right: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }
  .ret-transfer-ret {
    padding: 3px 0 3px 14px;
    border-left: 3px solid var(--transfer-blue);
  }
  .ret-transfer-ret > strong { font-size: 26px; }
  .ret-transfer-bridge {
    grid-column: 2;
    min-height: 33px;
    padding-left: 16px;
  }
  .ret-transfer-after { margin-top: 20px; }
  .ret-transfer-desktop-break { display: none; }
  .ret-transfer > figcaption {
    margin-top: 23px;
    padding-left: 24px;
    font-size: 13px;
  }
}

/* Compact type inside interactive figures; article prose retains its reading size. */
.interactive { font-size:14px; }
.widget-heading h3 { font-size:var(--type-subtitle); }
.example-description { font-size:14px; }
.trace-controls, .macro-controls { font-size:13px; }
.macro-state { font-size:13px; }
.macro-state .macro-cluster { display:block; margin-top:2px; font-size:12px; color:var(--soft); }
@media(max-width:700px) { .trace-transcript { font-size:12px; } .macro-text { font-size:12px; }  }

/* Quiet section guide, with a compact menu on narrow screens. */
.section-guide { position:fixed; top:50%; left:24px; width:145px; transform:translateY(-50%); z-index:30; font:14px/1.45 var(--sans); }
.section-guide-label { margin:0 0 15px; color:var(--soft); font-size:12px; }
.section-guide ol { list-style:none; margin:0; padding:0; border-left:1px solid var(--rule); }
.section-guide li { margin:0; }
.section-guide a { position:relative; display:block; padding:7px 0 7px 14px; color:var(--soft); text-decoration:none; }
.section-guide a:hover { color:var(--blue); }
.section-guide a[aria-current="location"] { color:var(--blue); font-weight:600; }
.section-guide a[aria-current="location"]::before { content:""; position:absolute; left:-1px; top:7px; bottom:7px; width:2px; background:var(--blue); }
.section-guide-toggle { display:none; }
@media(min-width:1101px) {
  body { padding-left:185px; }
  .wide { width:calc(100% - 64px); }
  .pipeline.ret-transfer { margin-left:auto; margin-right:auto; }
}
@media(max-width:1100px) {
  html { scroll-padding-top:68px; }
  .section-guide { position:sticky; top:0; left:auto; width:auto; transform:none; background:var(--bg); border-bottom:1px solid var(--rule); }
  .section-guide-label { display:none; }
  .section-guide-toggle { display:flex; width:100%; align-items:center; gap:15px; padding:13px 24px; border:0; background:none; color:var(--soft); text-align:left; font:13px/1.5 var(--sans); }
  .section-guide-toggle span { color:var(--blue); font-weight:600; }
  .section-guide-toggle svg { margin-left:auto; transition:transform .15s; }
  .section-guide-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
  .section-guide ol { display:none; border:0; padding:4px 24px 15px; grid-template-columns:1fr 1fr; gap:0 20px; max-height:60vh; overflow:auto; }
  .section-guide.is-open ol { display:grid; }
  .section-guide a { padding:8px 0 8px 12px; }
}

/* The preparation pipeline supports all four uses of RET. */
.ret-transfer-uses { grid-area:3 / 2 / 4 / 7; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; border-top:1px solid var(--transfer-blue); }
.ret-transfer-uses a { position:relative; display:block; padding-top:21px; color:var(--ink); text-decoration:none; }
.ret-transfer-uses a::before { content:""; position:absolute; left:0; top:0; height:12px; width:1px; background:var(--transfer-blue); }
.ret-transfer-uses strong { display:block; font-size:16px; line-height:1.4; font-weight:600; color:var(--transfer-blue); }
.ret-transfer-uses span { display:block; margin-top:7px; font-size:14px; line-height:1.65; color:var(--soft); }
.ret-transfer-uses a:hover strong { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:960px) and (min-width:681px) { .ret-transfer-uses { gap:17px; } .ret-transfer-uses strong { font-size:15px; } }
@media(max-width:680px) {
  .ret-transfer-uses { grid-area:auto; grid-column:2; grid-template-columns:1fr 1fr; gap:20px 18px; border-top:0; }
  .ret-transfer-uses a { padding-top:12px; border-top:1px solid var(--rule); }
  .ret-transfer-uses a::before { display:none; }
  .ret-transfer-uses strong { font-size:15px; }
  .ret-transfer-uses span { font-size:13px; }
}

/* Two compact views of the same RET operating point. */
.confusion-comparison { max-width:980px; font-family:var(--sans); }
.confusion-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:38px; }
.confusion-table { border-collapse:separate; border-spacing:3px; width:100%; font-size:13px; line-height:1.4; }
.confusion-table caption { text-align:left; padding:0 0 15px 3px; }
.confusion-table caption strong { display:block; font:500 var(--type-subtitle)/1.3 var(--serif); }
.confusion-table caption span { display:block; margin-top:5px; color:var(--soft); font-size:12px; }
.confusion-table thead th { font-size:12px; font-weight:500; padding:0 4px 8px; color:var(--soft); text-align:center; }
.confusion-table thead th:first-child { text-align:left; }
.confusion-table tbody th { width:35%; padding:12px 10px 12px 0; font-weight:500; text-align:left; }
.confusion-table td { width:32.5%; padding:13px 6px; text-align:center; border-radius:3px; }
.confusion-table td strong { display:block; font-size:var(--type-subtitle); font-weight:600; font-variant-numeric:tabular-nums; }
.confusion-table td span { display:block; margin-top:3px; font-size:12px; font-variant-numeric:tabular-nums; }
.confusion-correct { color:#1D1C1A; }
.confusion-error { color:#1D1C1A; }
.confusion-comparison figcaption { margin:15px 3px 0; font-size:12px; line-height:1.65; color:var(--soft); }
.monitor-example-links { display:flex; flex-wrap:wrap; gap:10px 25px; font:14px/1.6 var(--sans); }
.monitor-example-links a { border-bottom:1px solid #b7cfd9; }
@media(max-width:800px) { .confusion-pair { grid-template-columns:1fr; gap:27px; } .confusion-comparison { max-width:520px; } }

/* Keep the hacking verdict prominent as the steering strength changes. */
#steer-outcome { align-items:center; column-gap:36px; padding-top:17px; padding-bottom:17px; }
#steer-outcome .hacking-verdict { min-width:230px; padding-left:13px; border-left:4px solid currentColor; color:#24644c; }
#steer-outcome .hacking-verdict > span { color:inherit; font-size:12px; font-weight:600; }
#steer-outcome .hacking-verdict > strong { color:inherit; font-size:var(--type-subtitle); font-weight:650; line-height:1.35; margin-top:3px; }
#steer-outcome[data-hacking="detected"] .hacking-verdict { color:#a5322d; }
#steer-outcome[data-hacking="no-answer"] .hacking-verdict { color:#62675f; }
@media(max-width:700px) {
  #steer-outcome { gap:13px 22px; }
  #steer-outcome .hacking-verdict { width:100%; min-width:0; }

}


/* The paper's pipeline, arranged vertically for the article. */
.ret-pipeline { width:calc(100% - 64px); max-width:640px; margin:38px auto; font-family:var(--sans); }
.ret-pipeline-stage { padding:20px 26px; border:1px solid #cad5dc; border-radius:7px; background:#f7fafb; }
.ret-pipeline-stage h3 { margin:0 0 18px; font:500 var(--type-subtitle)/1.4 var(--serif); color:var(--ink); }
.ret-pipeline-node { display:grid; grid-template-columns:72px minmax(0,1fr); column-gap:24px; align-items:center; min-height:56px; }
.ret-pipeline-node svg { width:72px; height:56px; display:block; }
.ret-pipeline-node strong { display:block; font-size:var(--type-interface); font-weight:600; line-height:1.4; }
.ret-pipeline-node span { display:block; margin-top:3px; font-size:14px; line-height:1.5; color:var(--soft); }
.ret-pipeline-node .ret-pipeline-hacking { color:var(--red); }
.ret-pipeline-arrow { position:relative; min-height:32px; padding:4px 0 4px 96px; margin:6px 0; }
.ret-pipeline-arrow::before { content:""; position:absolute; width:1px; height:25px; left:35px; top:0; background:var(--ret); }
.ret-pipeline-arrow::after { content:""; position:absolute; left:32px; top:20px; width:6px; height:6px; border-right:1px solid var(--ret); border-bottom:1px solid var(--ret); transform:rotate(45deg); }
.ret-pipeline-arrow span { font-size:13px; line-height:1.5; color:var(--soft); }
.ret-pipeline-bridge { padding:0 27px; }
.ret-pipeline-representation { min-height:68px; margin:6px 0; }
.ret-pipeline-representation img { display:block; width:88px; height:auto; max-width:none; margin-left:-8px; mix-blend-mode:multiply; }
.ret-pipeline-representation strong { color:var(--ret); font-size:var(--type-subtitle); }
.ret-pipeline-uses { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; margin-top:18px; padding-top:14px; border-top:1px solid #d5e1e7; }
.ret-pipeline-uses a { font-size:14px; line-height:1.5; }
@media(max-width:540px) {
  .ret-pipeline { width:calc(100% - 46px); }
  .ret-pipeline-stage { padding:18px; }

  .ret-pipeline-node { column-gap:16px; }
  .ret-pipeline-bridge { padding:0 19px; }
  .ret-pipeline-arrow { padding-left:88px; }
  .ret-pipeline-uses { column-gap:16px; }
}

/* Compact supporting figures. */
.affinity-figure { width:calc(100% - 46px); max-width:520px; margin:24px auto 0; }
.affinity-figure figcaption { margin:14px 2px 0; font:13px/1.65 var(--sans); color:var(--soft); }
.affinity-canvas { display:block; width:100%; height:220px; }
#affinity-status { padding:20px 26px; }
#outcome-widget { width:calc(100% - 46px); max-width:640px; margin:28px auto; }
#outcome-widget .widget-heading { padding:20px 22px 12px; }
#outcome-widget .chart-key { display:flex; justify-content:center; align-items:center; gap:8px 18px; padding:10px 18px 17px; font-size:13px; line-height:1.4; color:var(--ink); }
#outcome-widget .chart-key>span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
#outcome-widget .chart-key .swatch { flex:0 0 10px; width:10px; height:10px; margin:0; border-radius:1px; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
#outcome-widget .outcomes-canvas { height:280px; }
@media(max-width:700px) { #outcome-widget .outcomes-canvas { height:250px; } }
@media(max-width:600px) { #outcome-widget .chart-key { display:grid; grid-template-columns:repeat(2,max-content); gap:8px 18px; padding:10px 14px 16px; } }

/* One type scale for prose, figure headings, controls and captions. */
.article-header .article-date{font:var(--type-interface)/1.6 var(--sans);color:var(--soft);margin:12px 0 0}
.article-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 0}
.article-actions .btn{font:600 var(--type-interface)/1.5 var(--sans);padding:8px 18px;border-radius:999px;border:1px solid var(--ink);color:var(--ink);background:transparent;text-decoration:none}
.article-actions .btn:hover{background:var(--ink);color:var(--bg)}
.article-header .opening{margin-top:28px}
.prose h2{margin-bottom:20px}
.prose .subheading{margin-top:32px;margin-bottom:16px}
.prose>p{margin-bottom:18px}
.example-description,.widget-details,.data-status,.benchmark-summary,.outcome-strip,.outcome-strip strong,.select-label select,.macro-state,.ret-pipeline-node span,.ret-pipeline-uses a{font-size:var(--type-interface)}
.back,.monitor-example-links,.section-guide{font-size:var(--type-interface)}
.small-label,.select-label,.trace-legend,.chart-key,.macro-legend,.widget-note,.map-caption,.trace-position,.trace-footer,.trace-counter,.strength-control>label,.strength-ticks,.strength-ticks button,.confusion-comparison figcaption,.affinity-figure figcaption,.macro-state .macro-cluster{font-size:var(--type-caption)}
.small-button,.range-wrap{font-size:var(--type-interface)}

/* A compact citation closes the article. */
.citation-section { padding-bottom:64px; }
.citation-section .bib { margin:0; padding:20px; border:1px solid var(--rule); border-radius:8px; background:var(--panel); font:13px/1.7 var(--mono); white-space:pre-wrap; overflow-wrap:anywhere; }
.citation-section .bib code { font:inherit; }
.citation-section .article-actions { align-items:center; margin-top:16px; }
#cite-copy-status { font:var(--type-caption)/1.5 var(--sans); color:var(--soft); }

/* Interactive Figure 1: the exact recorded pair, in two compact rows. */
.figure-one-teaser { width:calc(100% - 46px); max-width:1040px; margin:0 auto 24px; border:1px solid var(--rule); border-radius:10px; background:var(--panel); overflow:hidden; font:14px/1.5 var(--sans); }
.teaser-intro { padding:21px 24px 19px; }
.teaser-intro h2 { font:500 21px/1.3 var(--serif); margin:0 0 20px; }
.teaser-pipeline-desktop { display:block; width:100%; height:auto; }
.teaser-pipeline-mobile { display:none; }
.teaser-legend { padding:13px 24px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); column-gap:22px; row-gap:8px; font-size:12px; }
.teaser-response { padding:17px 24px 0; }
.teaser-response + .teaser-response { border-top:1px solid var(--rule); }
.teaser-response-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:12px; }
.teaser-response-heading h3 { margin:0; font:500 19px/1.35 var(--serif); }
.teaser-verdict { font-size:13px; font-weight:650; white-space:nowrap; }
.teaser-verdict.hacks { color:var(--red); }
.teaser-verdict.no-hack { color:#24644c; }
.teaser-trace { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); column-gap:22px; }
.teaser-trace .trace-transcript { grid-column:1; grid-row:1 / 3; height:170px; min-width:0; padding:10px 13px; border:1px solid #e6e8e4; border-radius:5px; font-size:12px; line-height:1.8; text-align:justify; }
.teaser-trace .trace-chart { grid-column:2; grid-row:1; height:124px; padding:0; min-width:0; }
.teaser-trace .trace-controls { grid-column:2; grid-row:2; padding:5px 0 0; gap:7px; align-content:start; }
.teaser-trace .range-wrap { min-width:100px; font-size:12px; gap:5px; }
.teaser-trace .range-wrap input { min-width:45px; }
.teaser-trace .small-button { padding:4px 8px; font-size:12px; }
.teaser-trace .trace-counter { width:auto; font-size:12px; }
.teaser-trace .trace-position { grid-column:1 / -1; grid-row:3; padding:10px 0 12px; background:none; border:0; font-size:12px; gap:5px 16px; }
.figure-one-teaser figcaption { padding:15px 24px 19px; border-top:1px solid var(--rule); color:var(--soft); font-size:12px; line-height:1.65; }
.figure-one-teaser .data-status:empty { display:none; }
@media(max-width:760px) {
  .teaser-intro,.teaser-response { padding-left:17px; padding-right:17px; }
  .teaser-pipeline-desktop { display:block; width:100%; height:auto; }
.teaser-pipeline-mobile { display:none; }
.teaser-legend { padding:12px 17px; }
  .teaser-trace { grid-template-columns:minmax(0,1fr); }
  .teaser-trace .trace-transcript { grid-column:1; grid-row:1; height:145px; }
  .teaser-trace .trace-chart { grid-column:1; grid-row:2; height:115px; margin-top:10px; }
  .teaser-trace .trace-controls { grid-column:1; grid-row:3; padding-top:3px; }
  .teaser-trace .trace-position { grid-row:4; }
  .teaser-response-heading h3 { font-size:17px; }
  .figure-one-teaser figcaption { padding:13px 17px 17px; }
}

/* Figure 1 pipeline and the response-level annotation note. */
.confusion-footnote { margin:12px 3px 0; font:12px/1.65 var(--sans); color:var(--soft); }
.article-actions .paper-link { background:var(--ret); border-color:var(--ret); color:#fff; }
.article-actions .paper-link:hover { background:var(--ink); border-color:var(--ink); }
@media(max-width:650px) {
  .teaser-pipeline-desktop { display:none; }
  .teaser-pipeline-mobile { display:block; width:100%; margin:0; }
  .teaser-pipeline-mobile .ret-pipeline-stage { padding:15px; }
  .teaser-pipeline-mobile .ret-pipeline-stage h3 { font-size:16px; margin-bottom:12px; }
  .teaser-pipeline-mobile .ret-pipeline-bridge { padding:0 15px; }
  .teaser-pipeline-mobile .ret-pipeline-node { column-gap:12px; }
  .teaser-pipeline-mobile .ret-pipeline-node span { font-size:12px; }
  .teaser-pipeline-mobile .ret-pipeline-uses { gap:8px 12px; margin-top:12px; }
}

.prose .macro-supervision-note { margin:14px 0 24px; font:12px/1.65 var(--sans); color:var(--soft); }
