:root {
  color-scheme: light;
  --ink: #182624;
  --muted: #4d605a;
  --accent: #09665c;
  --line: #d6e1dc;
  --wash: #f3f8f6;
  --white: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
  background: var(--white);
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, figure, p { margin: 0; }
img { display: block; width: 100%; height: auto; }
button, select { font: inherit; color: inherit; }
a { color: var(--accent); }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #087b70; outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.16; }
.wrap { width: min(calc(100% - 48px), 1080px); margin-inline: auto; }
.reading { width: min(calc(100% - 48px), 790px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 0; transform: translateY(-150%); background: white; padding: .5rem 1rem; z-index: 2; }
.skip:focus { transform: translateY(0); }
.top { border-bottom: 1px solid var(--line); }
.top-nav, .footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 58px; font-size: .9rem; }
.top-nav div { display: flex; flex-wrap: wrap; justify-content: end; gap: .25rem 1.3rem; }
.top-nav a, .footer a { text-decoration: none; }
.top-nav a:hover, .footer a:hover { text-decoration: underline; }
.nav-button { border: 0; background: transparent; padding: .2rem 0; color: var(--accent); font-size: inherit; }
.nav-button:hover { text-decoration: underline; }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; font-weight: 750; color: var(--ink); white-space: nowrap; }
.wordmark img { width: 34px; height: 34px; flex: none; }
.intro { padding: 40px 0 24px; text-align: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .75rem; font-weight: 750; margin-bottom: .6rem; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: 3.3rem; font-weight: 700; max-width: 850px; margin: 0 auto .85rem; text-wrap: balance; }
h1 span { color: var(--accent); }
.authors { font-size: .95rem; font-weight: 650; }
.authors span { margin-inline: .32rem; color: var(--accent); }
.authors .author-name { display: inline-block; margin: 0; color: var(--ink); }
.affiliation { color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.resources { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.15rem 0; }
.resource, .icon-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); min-height: 40px; padding: .35rem .9rem; text-decoration: none; font-size: .87rem; font-weight: 650; }
.resource:is(a, button):hover, .icon-button:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.resource.primary, .resource.primary:hover { background: var(--accent); border-color: var(--accent); color: white; }
.unavailable { color: var(--muted); background: var(--wash); }
.tldr { font-size: .98rem; max-width: 740px; margin: 0 auto; color: var(--muted); }
.tldr strong { color: var(--accent); margin-right: .4rem; }
.paper-figure { margin: 1.25rem auto 0; max-width: 1024px; }
.paper-figure > a, .scene { display: block; }
.paper-figure > a, .scene:not(.empty) { cursor: zoom-in; }
.paper-figure img { background: white; }
.paper-figure figcaption { margin-top: .55rem; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.paper-figure figcaption strong { color: var(--ink); }
.teaser { margin-top: 0; margin-bottom: 35px; }
.single { max-width: 780px; margin-top: 1.9rem; }
.band { padding-block: 44px; border-top: 1px solid var(--line); }
.tinted { background: var(--wash); }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 2.15rem; margin-bottom: .8rem; text-wrap: balance; }
h3 { font-size: .98rem; }
.section-copy { color: var(--muted); max-width: 780px; margin-bottom: 1.15rem; }
.method-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-block: 1.2rem 1.7rem; }
.method-flow > div { border-top: 2px solid #6aa99e; padding-top: .68rem; }
.method-flow p { color: var(--muted); margin-top: .45rem; font-size: .88rem; }
.overview-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-block: 1.4rem; }
.overview-details > div { border-top: 2px solid #6aa99e; padding-top: .7rem; min-width: 0; }
.overview-details p { color: var(--muted); margin-top: .5rem; font-size: .93rem; }
.contributions ul { margin: .6rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.contributions li + li { margin-top: .3rem; }
.viewer { border-block: 1px solid var(--line); padding-block: .85rem; }
.viewbar, .compare-bar, .case-line, .case-nav, .citation-head { display: flex; align-items: center; gap: .5rem; }
.viewbar, .case-line, .citation-head { justify-content: space-between; }
.viewbar, .compare-bar { flex-wrap: wrap; }
.case-line { margin-block: .8rem .4rem; }
.case-line span { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .86rem; }
.segments { display: inline-flex; max-width: 100%; }
.segments button { border: 1px solid var(--line); min-height: 40px; padding: .3rem .63rem; background: white; font-size: .84rem; font-weight: 650; }
.segments button:first-child { border-radius: 5px 0 0 5px; }
.segments button:last-child { border-radius: 0 5px 5px 0; }
.segments button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
.segments button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: white; }
button { cursor: pointer; }
.case-nav { flex: 1 1 260px; max-width: 410px; }
.icon-button { flex: 0 0 40px; padding: 0; font-size: 1.15rem; }
select { min-height: 40px; max-width: 100%; min-width: 0; padding: .3rem .45rem; border-radius: 5px; border: 1px solid var(--line); background: white; font-size: .87rem; }
.case-nav select { width: 100%; }
.image-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
.image-grid.four-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.image-grid figure { min-width: 0; }
.scene { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 5px; background: #e6eeeb; }
.scene img { width: 100%; height: 100%; object-fit: contain; }
.scene.empty { display: grid; place-content: center; text-align: center; padding: .2rem; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.image-grid figcaption { display: flex; align-items: center; font-weight: 650; padding-bottom: .3rem; min-height: 2.75rem; font-size: .85rem; line-height: 1.22; overflow-wrap: anywhere; }
.image-grid .is-ours figcaption { color: var(--accent); }
.compare-bar { padding-top: .75rem; font-size: .87rem; }
.compare-bar label { font-size: .87rem; font-weight: 700; }
#comparison-status { color: var(--muted); }
.tile-status { margin-top: .3rem; color: #813d25; font-size: .77rem; }
.case-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.case-meta, .split-note { color: var(--muted); font-size: .85rem; }
.case-meta label { display: flex; align-items: center; gap: .4rem; }
input[type="checkbox"] { accent-color: var(--accent); }
.split-note { margin-top: .65rem; }
.case-carousel { margin-block: .9rem 1rem; }
.case-toolbar, .case-controls { display: flex; align-items: center; gap: .5rem; }
.case-toolbar { justify-content: space-between; min-height: 52px; padding-bottom: .3rem; }
#s1-title { margin-top: .55rem; font-size: 1rem; text-align: center; }
.case-figure-label { color: var(--muted); font-size: .76rem; }
.case-controls { flex: none; gap: .3rem; }
.case-controls .icon-button { width: 40px; }
.case-controls button:disabled { opacity: .42; cursor: default; }
#s1-count { min-width: 2.4rem; text-align: center; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.case-slides {
  --slide-width: 64%;
  --slide-gap: .45rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--slide-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  background: var(--wash);
  border-radius: 6px;
  padding-block: .45rem;
}
.case-slide {
  flex: 0 0 var(--slide-width);
  min-width: 0;
  scroll-snap-align: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.case-slide:first-child { margin-inline-start: calc((100% - var(--slide-width)) / 2); }
.case-slide:last-child { margin-inline-end: calc((100% - var(--slide-width)) / 2); }
.case-slide:focus-visible { outline-offset: -3px; }
.case-slide picture { display: block; }
.case-slide img { transition: transform .28s ease, opacity .28s ease; }
.case-slide:not([aria-pressed="true"]) img { transform: scale(.88); transform-origin: left center; opacity: .8; }
.case-slide:has(~ [aria-pressed="true"]) img { transform-origin: right center; }
.case-slide[aria-pressed="true"] { cursor: default; }
@media (prefers-reduced-motion: reduce) { .case-slide img { transition: none; } }
.agent-request { margin: 0 0 .65rem; font-size: .9rem; font-weight: 550; white-space: pre-line; overflow-wrap: anywhere; }
.agent-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 1rem; }
.replay-stage, .replay-detail { min-width: 0; }
.replay-stage { display: flex; flex-direction: column; gap: .5rem; }
.replay-stage figcaption, .replay-caption { color: var(--muted); font-size: .76rem; line-height: 1.25; overflow-wrap: anywhere; }
.replay-scene { background: var(--wash); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.replay-canvas { display: grid; container-type: inline-size; background: #e6eeeb; }
.replay-caption { padding: .35rem .5rem; }
.marked-scene { position: relative; width: 100%; aspect-ratio: var(--frame-ratio); }
#agent-source > .scene { position: absolute; inset: 0; aspect-ratio: auto; }
#agent-inset .scene { width: 100%; }
#agent-source .scene img { object-fit: fill; }
#agent-inset { position: absolute; right: .45rem; bottom: .45rem; width: min(44%, 14rem); padding: .2rem; background: #202b2a; border: 1px solid #eef6f3; border-radius: 4px; }
#agent-inset .scene { height: clamp(36px, 16cqw, 105px); aspect-ratio: auto; }
#agent-source #agent-inset img { object-fit: contain; }
#agent-inset figcaption { color: #eef6f3; padding: .15rem .15rem 0; }
.agent-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.overlay-label { stroke: #141d20; stroke-width: 4px; stroke-linejoin: round; paint-order: stroke; font-weight: 750; }
.overlay-region { filter: drop-shadow(0 0 1px #111919); }
.replay-controls { display: flex; align-items: center; gap: .4rem; }
.replay-controls button { display: grid; place-items: center; }
.replay-controls button:disabled { opacity: .42; cursor: default; }
.replay-controls span { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .83rem; padding-inline: .2rem; }
.replay-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); grid-auto-rows: 96px; gap: .5rem; }
.replay-media.is-result { grid-auto-rows: auto; grid-template-columns: minmax(0, 1fr); }
.replay-media.is-result figure { width: min(64%, 280px); }
.replay-media.is-result .scene { aspect-ratio: var(--frame-ratio); }
.replay-media figure { display: grid; min-width: 0; grid-template-rows: minmax(0, 1fr) auto; gap: .25rem; }
.replay-media .scene, .replay-media figure > p { aspect-ratio: auto; min-height: 0; background: var(--wash); }
.replay-media figcaption { min-height: 1.9em; }
.region-crop { width: 100%; max-width: 100%; min-height: 0; align-self: center; background-repeat: no-repeat; border-radius: 5px; }
.trace-icon { display: block; width: 17px; height: 17px; flex: none; }
#agent-steps { display: flex; gap: .2rem; list-style: none; margin: .45rem 0 .6rem; padding: 3px; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: 6px; }
#agent-steps li { flex: 1 0 auto; }
#agent-steps button { display: grid; grid-template-columns: auto auto; grid-template-rows: 1.25rem auto; justify-content: center; justify-items: center; align-items: center; gap: .15rem .35rem; width: 100%; height: 51px; padding: .2rem .43rem; border: 1px solid transparent; border-radius: 4px; background: white; cursor: pointer; }
#agent-steps button:focus-visible { outline-offset: -2px; }
#agent-steps button:hover, #agent-steps button[aria-pressed="true"] { background: #e8f4ef; border-color: #b4d1c7; }
.step-number { width: 1.25rem; text-align: center; border-radius: 50%; background: var(--wash); font-size: .71rem; font-weight: 750; line-height: 1.25rem; }
#agent-steps [aria-pressed="true"] .step-number { background: var(--accent); color: white; }
.step-text { grid-column: 1 / -1; white-space: nowrap; font: 700 .73rem ui-monospace, monospace; }
.replay-detail { min-height: 0; display: grid; grid-template-rows: 28px var(--input-height, minmax(0, 1fr)) var(--output-height, minmax(0, 1.36fr)); gap: .4rem; font-size: .8rem; line-height: 1.4; }
.trace-tool-header { display: flex; align-items: center; justify-content: space-between; gap: .4rem; }
.trace-tool-header h3 { display: flex; align-items: center; gap: .45rem; font: 700 .9rem ui-monospace, monospace; }
.trace-raw { border: 1px solid var(--line); border-radius: 4px; background: white; padding: .15rem .55rem; cursor: pointer; font: 650 .75rem ui-monospace, monospace; }
.trace-raw:hover, .trace-raw[aria-pressed="true"] { background: var(--wash); border-color: var(--accent); }
.trace-pane { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); border: 1px solid var(--line); border-radius: 6px; background: white; }
.trace-pane h4 { margin: 0; padding: .24rem .6rem; font-size: .75rem; background: var(--wash); border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; }
.trace-scroll { overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; overflow-wrap: anywhere; }
.trace-content { display: flow-root; padding: .45rem .55rem; }
.trace-pane .trace-scroll:focus-visible { outline-offset: -3px; }
.trace-agent { margin-bottom: .7rem; padding: .5rem .7rem; background: var(--wash); border-left: 3px solid #6aa99e; border-radius: 4px; font-size: .85rem; }
.trace-agent p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
.trace-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); column-gap: .6rem; row-gap: .14rem; margin: .1rem 0 .35rem; }
.trace-fields dt { color: var(--muted); }
.trace-fields dd { margin: 0; font-variant-numeric: tabular-nums; white-space: pre-wrap; }
.trace-text-block { margin-top: .36rem; }
.trace-text-block p { white-space: pre-wrap; }
.trace-subhead { font-size: .8rem; margin: .08rem 0 .28rem; }
.trace-control-metrics { display: flex; flex-wrap: wrap; gap: .2rem .65rem; margin-bottom: .35rem; }
.trace-control-metrics > span { display: inline-flex; align-items: baseline; gap: .3rem; }
.trace-control-metrics small { color: var(--muted); }
.trace-controls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .5rem; margin-bottom: .45rem; }
.trace-controls-grid > div { display: flex; align-items: start; gap: .35rem; }
.trace-controls-grid + .trace-fields { margin-top: .45rem; }
.trace-point { display: inline-block; background: var(--point-color); color: #162323; padding: .02rem .31rem; border-radius: 3px; font: 650 .69rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.trace-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .75rem; }
.trace-table th, .trace-table td { text-align: left; vertical-align: top; padding: .21rem .28rem; border-bottom: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; }
.trace-table th { color: var(--muted); background: var(--wash); }
.trace-table code { white-space: normal; font-variant-numeric: tabular-nums; }
.trace-point-results { min-width: 318px; }
.trace-point-results th:is(:nth-child(2), :nth-child(3), :nth-child(4)) { width: 15%; }
.trace-point-results :is(th, td):nth-child(n+2):nth-child(-n+4) { padding-inline: .2rem; }
.trace-point-results td:nth-child(n+2):nth-child(-n+4) code { font-size: .7rem; white-space: nowrap; }
.trace-point-results th:last-child { width: 29%; }
.trace-point-name, .trace-quality { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; justify-items: start; }
.trace-point-name > *, .trace-quality > * { max-width: 100%; }
.trace-pixel { font-variant-numeric: tabular-nums; color: var(--muted); }
.trace-validity { background: #e5f3ed; color: #255745; padding: .05rem .25rem; border-radius: 3px; }
.trace-warning { display: inline-block; margin: .1rem .15rem .1rem 0; padding: .1rem .3rem; color: #693b00; background: #fff1cb; border-radius: 4px; font-size: .67rem; line-height: 1.25; }
.trace-diagram { display: block; width: 124px; height: 35px; stroke-width: 2; fill: none; background: var(--wash); border-radius: 4px; margin-bottom: .3rem; }
.trace-filename, .trace-receipt { display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; font-weight: 700; flex-wrap: wrap; }
.trace-filename span { color: var(--accent); }
.trace-file-list { margin: 0; padding-left: 1rem; }
.trace-pane pre { margin: 0; padding: .4rem; font: .74rem/1.5 ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
.trace-pane .trace-code { white-space: pre-wrap; background: #f1f5f8; padding-left: 0; }
.trace-code-line { display: flex; min-height: 1.5em; }
.trace-code-line > span:last-child { min-width: 0; }
.trace-line-number { flex: 0 0 2.1rem; padding-right: .5rem; text-align: right; color: #52636a; background: #e7edf1; margin-right: .5rem; user-select: none; }
.syntax-keyword { color: #6b37a0; font-weight: 700; }
.syntax-builtin { color: #145495; }
.syntax-string { color: #21602d; }
.syntax-number { color: #9b4218; }
.syntax-comment { color: #52636a; font-style: italic; }
.trace-terminal { color: #e2efeb; background: #202b2a; border-radius: 5px; }
.trace-terminal { padding: .35rem .55rem; }
.trace-terminal dt, .trace-terminal strong { color: #abdacc; }
.trace-terminal strong { font: 650 .72rem ui-monospace, monospace; }
.trace-terminal-empty { font: .74rem/1.3 ui-monospace, monospace; }
.trace-terminal pre { padding: .1rem 0 .3rem; color: inherit; background: transparent; border: 0; line-height: 1.3; }
.trace-pane .trace-formula, .trace-equation, .trace-pane .trace-json { border-radius: 4px; background: var(--wash); }
.trace-equation { padding: .4rem; font: 650 .86rem/1.4 ui-monospace, monospace; }
.training-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem .8rem; }
.training-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.training-grid figcaption { margin-top: .25rem; font-size: .86rem; font-weight: 650; }
.propositions { max-width: 900px; padding-left: 1.5rem; }
.propositions li + li { margin-top: .5rem; }
.verification { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.spacing { width: 100%; max-width: 560px; margin-inline: 0; }
.table-wrap { overflow-x: auto; max-width: 100%; margin-top: 1.7rem; }
table { width: 100%; border-collapse: collapse; line-height: 1.4; font-size: .84rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; color: var(--muted); padding-bottom: .65rem; max-width: min(100%, 780px); }
caption strong { color: var(--ink); }
th, td { padding: .48rem .52rem; border-bottom: 1px solid var(--line); text-align: center; }
thead { border-block: 2px solid #76968c; background: var(--wash); }
thead tr + tr th { border-top: 1px solid var(--line); }
tbody th, thead tr:first-child th:first-child { text-align: left; }
tbody td { white-space: nowrap; }
tbody tr:last-child { border-bottom: 2px solid #76968c; }
tbody tr.ours { background: #e8f4ef; }
#table1 th[scope="row"] { min-width: 118px; overflow-wrap: anywhere; }
#table1 td:nth-child(2) { white-space: normal; min-width: 86px; text-align: left; }
#table2 th[scope="row"] { white-space: nowrap; }
#table3 { min-width: 960px; }
#table3 caption { width: min(780px, calc(100vw - 48px)); }
#table3 th[scope="row"] { white-space: nowrap; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 5px; padding: 1rem; font-size: .86rem; margin: 0; }
.citation-head { margin-bottom: .65rem; }
.citation-head h2 { margin: 0; }
.status { min-height: 1.35rem; font-size: .84rem; color: var(--muted); }
.footer { min-height: 65px; }
#lightbox { width: min(95vw, 1600px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid #536762; border-radius: 8px; background: #141d20; color: white; }
#lightbox::backdrop { background: rgba(11, 19, 21, .82); }
.zoom-toolbar { display: flex; align-items: center; gap: .45rem; padding: .5rem .65rem; background: #222d30; }
.zoom-toolbar p { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: .88rem; }
.zoom-toolbar .resource { flex: none; padding-inline: .55rem; }
.zoom-toolbar .resource[aria-pressed="true"] { background: #c7efe7; border-color: #91d3ca; }
.zoom-scroll { overflow: auto; max-height: calc(94vh - 72px); background: #141d20; }
.zoom-scroll img { width: auto; max-width: 100%; max-height: calc(94vh - 76px); object-fit: contain; margin: auto; background: white; }
.actual-size .zoom-scroll img { max-width: none; max-height: none; }
@media (max-width: 760px) {
  caption { width: calc(100vw - 48px); }
  .image-grid, .image-grid.four-tiles, .training-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-layout, .verification { grid-template-columns: minmax(0, 1fr); }
  .overview-details { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .case-slides { --slide-width: 100%; }
  .agent-layout { gap: .75rem; }
  .replay-detail { height: 400px; margin-bottom: calc(var(--used-height, 400px) - 400px); }
  .replay-media { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr)); grid-auto-rows: 68px; }
  .replay-media > :only-child { grid-column: 1 / -1; }
}
@media (min-width: 761px) {
  #agent > .wrap { width: min(calc(100% - 48px), 1160px); }
  .agent-layout[data-tool="run_bash"] .replay-stage { min-height: min(510px, 47vw); }
  .replay-detail { contain: size; }
}
@media (min-width: 1000px) {
  .trace-table :is(th, td) { padding-block: .14rem; }
  .trace-point-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .3rem; }
  .trace-point-name > small:not(.trace-pixel) { display: none; }
  .trace-quality { display: flex; align-items: baseline; flex-wrap: wrap; gap: .15rem .3rem; }
}
@media (max-width: 520px) {
  caption { width: calc(100vw - 28px); }
  #table3 caption { width: calc(100vw - 28px); }
  .wrap, .reading { width: calc(100% - 28px); }
  .top-nav, .footer { font-size: .8rem; }
  .top-nav div { gap: .25rem .65rem; }
  .intro { padding-top: 26px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .tldr { font-size: .9rem; }
  .resource { padding-inline: .55rem; }
  .resources { gap: .35rem; }
  .band { padding-block: 32px; }
  .image-grid figcaption { min-height: 2.25rem; }
  .training-grid { grid-template-columns: minmax(0, 1fr); }
  .top-nav { padding-block: .3rem; }
  th, td { padding-inline: .43rem; }
}

.table-wrap + .section-copy, .paper-figure + .section-copy { margin-top: 2.4rem; }

#table-cue thead tr:first-child th:first-child { text-align: center; }
#table-cue thead tr:first-child th:first-child,
#table-cue thead tr:nth-child(2) th:nth-child(2),
#table-cue tbody td:nth-child(2) { border-right: 1px solid var(--line); }
