/* Persimmon's two stylesheets are copied verbatim. Only Ampersand artwork,
   authoring placeholders, and the new evaluation explorer are defined here. */
body.ampersand-page { --paper: var(--surface); --code-bg: #f4f2ee; --code-key: #5e4486; --code-str: #8a5a24; --code-arg: #2e6b5b; }
#skill-panel-teamwork .collaborative-takeaway { grid-column: 1 / -1; grid-row: 3; margin: 12px 0; font: 14px/1.6 var(--sans); }
#skill-panel-teamwork .eval-skill-figure, #skill-panel-teamwork .eval-skill-example { grid-row: 4; }
#skill-panel-teamwork .collaborative-takeaway p { margin: 0; font: inherit; }
.draft-label { color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.cooper-figure { margin: 24px 0; }
#cooper-chart { overflow-x: auto; }
#cooper-chart svg { display: block; width: 100%; min-width: 640px; height: auto; }
#cooper-chart text { fill: var(--ink); font: 12px var(--sans); }
.cooper-equality { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 8 7; }
#cooper-chart .cooper-equality-label { fill: var(--muted); font-size: 13px; }
.cooper-grid { stroke: var(--line); }
#skill-panel-teamwork > .eval-skill-description, #collaborative-results { grid-column: 1 / -1; }
#collaborative-results { min-width: 0; margin-top: 24px; }
#skill-panel-teamwork > #collaborative-results[data-table-only="true"] { grid-column: 1 / -1; grid-row: 5; }
.ci-dimension-control { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 13px/1.4 var(--sans); color: var(--muted); }
.ci-dimension-control select { min-width: 0; max-width: 100%; flex: 0 1 360px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.ci-dimension-control select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ci-plot { display: block; }
.ci-plot svg { width: 100%; height: auto; }
.ci-reference { stroke: var(--muted); stroke-width: 1; opacity: .55; }
.ci-reference-list { font: 12px/1.7 var(--sans); color: var(--ink); }
.ci-swatch { display: inline-block; width: 22px; margin-right: 6px; border-top: 2px dashed var(--muted); vertical-align: middle; }
.ci-swatch.closed { border-top-style: dotted; }
.ci-raw { margin-top: 20px; }
.ci-raw summary { color: var(--ink); cursor: pointer; padding: 12px 0; font-weight: 600; }
#collaborative-results .ci-raw table { border-collapse: collapse; }
#collaborative-results { --table-base: #faf7fd; --table-head: #eee5f6; --table-ink: #352743; --table-grid: #d8c8e5; --score-low: #fcf9ff; --score-high: #c8aedf; --dark-score-ink: #352743; }
#collaborative-results .ci-raw :is(th,td) { background: var(--table-base); color: var(--table-ink); border: 1px solid var(--table-grid); padding: 10px 12px; }
#collaborative-results .ci-raw thead th { background: var(--table-head); }
#collaborative-results .ci-raw .result-ampersand > th { font-weight: 700; box-shadow: inset 3px 0 #7561ae; }
#collaborative-results .ci-raw .result-ampersand > :nth-child(-n+2) { background: #51326e; color: #fff; font-weight: 600; }
#collaborative-results .ci-raw .result-rerun > :nth-child(-n+2) { background: #eee5f6; color: #352743; font-weight: 600; }
#collaborative-results .ci-raw tbody td.ci-score { background: color-mix(in srgb, var(--score-high) var(--score-shade), var(--score-low)); color: var(--dark-score-ink, var(--score-ink)); }
@media (max-width: 700px) { .ci-plot { grid-template-columns: minmax(0,1fr); } }
.matched-scatter text { fill: var(--ink); font: 12px var(--sans); }
.matched-scatter .matched-labels text { font-size: 11px; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
#skill-panel-coding .matched-scatter text { font-size: 18px; }
#skill-panel-coding .matched-scatter .matched-labels text { font-size: 18px; }
#skill-panel-coding .matched-frame text { fill: var(--muted); }
#skill-panel-coding .matched-labels text { fill: var(--muted); }
#skill-panel-coding .matched-labels text.is-ampersand { fill: #7561ae; font-weight: 600; }
.matched-scatter .cooper-better text { fill: var(--accent); font-weight: 600; }
.matched-scatter .coding-point > text { fill: white; font-family: Georgia, serif; font-weight: 700; }
.cooper-point { cursor: pointer; }
.cooper-point circle { fill: white; stroke: #a59aaf; stroke-width: 1.5; }
#cooper-chart .cooper-point .cooper-baseline-label { fill: #b8935c; }
.cooper-point .cooper-pareto { stroke: #aa79ce; stroke-width: 2.5; }
#cooper-chart .cooper-point text { font-size: 11px; paint-order: stroke; stroke: var(--surface); stroke-width: 3px; stroke-linejoin: round; }
#cooper-chart tspan { font-size: 10px; }
.cooper-leader { stroke: var(--muted); opacity: .5; }
.cooper-connection { stroke: #ae78d2; stroke-width: 2; stroke-dasharray: 4 5; }
.cooper-better rect { fill: #7561ae1a; stroke: #7561ae55; stroke-dasharray: 3 3; }
#cooper-chart .cooper-better text { fill: var(--accent); font-weight: 600; }
#cooper-chart .cooper-better-detail { font-size: 11px; font-weight: 400; }
.cooper-point:hover circle, .cooper-point:focus circle { stroke: #ae78d2; stroke-width: 3; }
.cooper-tooltip { padding: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); font: 13px/1.5 var(--sans); }
.cooper-figure figcaption { color: var(--muted); font: 12px/1.5 var(--sans); margin-top: 12px; }
.persimmon-page .eval-skill-card .cooper-figure > p { margin: 2px 0 10px; color: var(--ink); font: 13px/1.5 var(--sans); }
.reading-progress { appearance: none; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; border: 0; background: transparent; color: var(--accent); }
.reading-progress::-webkit-progress-bar { background: transparent; }
.reading-progress::-webkit-progress-value { background: var(--accent); }
.reading-progress::-moz-progress-bar { background: var(--accent); }

/* The same full-bleed hero and positioned heading; only the art layer differs. */
.ampersand-page .hero-art { background: #f0e8f3; }
.ampersand-page .hero-art::before { content: none; }
.ampersand-page .hero-heading { color: #4f3d59; }
.hero-actions a[aria-disabled="true"] { cursor: default; }
.hero-actions a[aria-disabled="true"]:hover { color: inherit; }
.painting-surface { position: absolute; top: 50%; left: calc(50% + min(var(--shell-width), 100vw - 40px) * .31); width: min(500px, 44vw); transform: translate(-50%, -50%); z-index: 2; touch-action: pan-y pinch-zoom; }
.painting-surface[tabindex] { border-radius: 10px; user-select: none; }
/* Avoid a clipped rectangular frame around the interactive artwork. */
.painting-surface:focus { outline: none; }
.hero-illustration { display: block; width: 100%; height: auto; opacity: var(--painting-opacity, 1); }
.hero-pigments { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero-pigments[hidden], #painting-instructions[hidden] { display: none; }
.placeholder { color: #777568; }
 .optional-block { margin: 20px 0; }
.optional-block summary { cursor: pointer; font-size: 14px; }
.optional-block p { font-size: 14px; }
.spec-list { margin: 20px 0; }
.spec-list > div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 8px 0; font-size: 14px; }
.spec-list dt { font-weight: 500; }.spec-list dd { margin: 0; }
@media (max-width: 700px) {
 .painting-surface { top: auto; bottom: 0; left: 50%; width: 300px; max-width: 90vw; transform: translateX(-50%); }
 .transcript-row, .spec-list > div { grid-template-columns: 1fr; gap: 6px; }
 .draft-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce), print {
 .hero-illustration { opacity: 1 !important; }.hero-pigments { display: none !important; }
}
@media print { .reading-progress { display: none; } }

/* Compact hero with the same content gutter as the site header. */
@media screen and (min-width: 701px) {
 .ampersand-page .hero-art { display: grid; align-items: center; height: auto; min-height: calc(100vw * 1652 / 6015 - 3px); padding: 22.5px max(20px, calc((100vw - var(--shell-width)) / 2)); }
 .ampersand-page .hero-heading h1 { font-size: clamp(88px, 8.5vw, 124px); }
 .ampersand-page .hero-heading .article-kicker { margin-bottom: 10px; }
 .ampersand-page .hero-heading { position: relative; inset: auto; transform: none; width: calc(min(var(--shell-width), 100vw - 40px) * .52); }
 .ampersand-page .hero-heading .article-subtitle { margin-top: 16px; font-size: clamp(18px, 1.9vw, 22px); }
 .ampersand-page .hero-heading .article-meta { margin-top: 16px; }
 .ampersand-page .hero-heading .hero-actions { margin-top: 10px; }
 .ampersand-page .painting-surface { top: 50%; transform: translate(-50%, -50%); left: calc(50% + min(var(--shell-width), 100vw - 40px) * .28); width: min(360px, calc(min(var(--shell-width), 100vw - 40px) * .38)); }
}

/* One figure system, based on Persimmon's metric-chart typography and rhythm. */
.ampersand-page .article-content h3.eval-section-heading { margin: 32px 0 12px; padding: 0; font: 500 18px/1.4 var(--sans); letter-spacing: normal; }
/* Training's sub-sections carry long passages, so their headings sit a step above the figure headings. */
.ampersand-page .article-content h3.eval-section-heading:is([id^="training-"], #simulation, #skills) { margin: 40px 0 12px; font: 500 23px/1.3 var(--sans); }
.ampersand-page .article-content h4#slice-of-life { margin: 16px 0 12px; font: 500 18px/1.4 var(--sans); letter-spacing: normal; }
.ampersand-page .article-content h3#behaviors { margin-bottom: 4px; }
.ampersand-page .article-content p.eval-section-intro { margin-bottom: 16px; color: var(--muted); font: 14px/1.6 var(--sans); }
.eval-explorer { --plot-label: 144px; --plot-value: 64px; --plot-gap: 12px; --figure-accent: #775786; overflow-anchor: none; }
.eval-explorer [hidden] { display: none !important; }
.eval-explorer button, .eval-explorer select { font: inherit; color: inherit; }
.eval-nav-group { display: block; }
.eval-nav-group + .eval-nav-group { margin-top: 18px; }
.eval-map-holistic { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: start; }
.eval-explorer [data-eval] { padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; text-align: left; font-size: 14px; line-height: 1.4; }
.eval-map-holistic button span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.eval-explorer [data-eval][aria-pressed="true"] { color: var(--figure-accent); border-bottom-color: currentColor; }
.eval-explorer [data-eval]:focus-visible { outline: 2px solid var(--figure-accent); outline-offset: 4px; }
[data-role="eval-detail"] { margin-top: 24px; }
.persimmon-page .eval-detail-heading h3 { margin: 0 0 28px; padding: 0; font: 500 22px/1.3 var(--sans); letter-spacing: -.02em; }
.eval-chart-panel { min-width: 0; }
.eval-panel-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; color: var(--muted); font: 12px/1.5 var(--sans); }
.persimmon-page .eval-panel-heading h4 { margin: 0; font: inherit; color: inherit; letter-spacing: normal; }
.eval-panel-heading label, .eval-panel-heading select { max-width: 100%; }
.eval-panel-heading label { font-size: 0; }
.eval-panel-heading select { font-size: 12px; }
[data-role="eval-direction"] { margin-left: auto; font-size: 12px; }
.eval-chart { position: relative; overflow: visible; }
.eval-bar-row { position: relative; z-index: 1; display: grid; grid-template-columns: var(--plot-label) minmax(0,1fr) var(--plot-value); gap: var(--plot-gap); align-items: center; min-height: 44px; font: 14px/1.4 var(--sans); }
.eval-bar-name { overflow-wrap: anywhere; }
.featured .eval-bar-name { font-weight: 500; }
.eval-bar-track { display: block; height: 22px; }
.eval-bar-track:has(.eval-bar-ci) { position: relative; }
.eval-bar-ci { position: absolute; top: 50%; height: 1.5px; background: var(--ink, #2f312b); opacity: .7; transform: translateY(-50%); pointer-events: none; }
.eval-bar-ci::before, .eval-bar-ci::after { content: ""; position: absolute; top: -4px; width: 1.5px; height: 9px; background: inherit; }
.eval-bar-ci::before { left: 0; }
.eval-bar-ci::after { right: 0; }
.eval-bar { display: block; height: 100%; background: var(--provider-color, #b3b3b0); }
.eval-bar-value { text-align: right; font-weight: 500; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.eval-plot-backdrop { position: absolute; inset: 0 calc(var(--plot-value) + var(--plot-gap)) 0 calc(var(--plot-label) + var(--plot-gap)); pointer-events: none; background: linear-gradient(to right, var(--negative-tint, transparent) 0 var(--zero), transparent var(--zero)), linear-gradient(to right, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)); border-bottom: 1px solid var(--line); }
.eval-plot-backdrop::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--zero); width: 1px; background: var(--line); transform: translateX(-.5px); }
.eval-plot-backdrop[data-signed="true"] { --negative-tint: #b76f4e0c; }
/* The cost/score chart splits at zero, not the middle, so its 50% gridline would read as a second zero. */
.eval-plot-backdrop[data-measure="lifeCombined"] { background: linear-gradient(to right, var(--negative-tint, transparent) 0 var(--zero), transparent var(--zero)); }
.eval-plot-backdrop[data-signed="true"]::after { width: 2px; background: #706960; transform: translateX(-1px); }
.eval-chart-scale { position: relative; height: 18px; margin: 9px calc(var(--plot-value) + var(--plot-gap)) 0 calc(var(--plot-label) + var(--plot-gap)); color: var(--muted); font: 12px/1.5 var(--sans); }
.eval-chart-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.eval-chart-scale span:first-child { transform: none; }
.eval-chart-scale span:last-child { transform: translateX(-100%); }
.eval-zero-tick { color: var(--ink); }
.eval-chart-empty { font: 14px/1.65 var(--sans); color: var(--muted); padding: 12px 0; }
.eval-row-status { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }
.persimmon-page .eval-small, .persimmon-page .eval-preview-notice { margin: 14px 0 0; color: var(--muted); font: 12px/1.65 var(--sans); }
.eval-metric-key { display: block; overflow-wrap: anywhere; margin-top: 8px; font-size: 10px; }
.eval-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Every comparison model shares one muted honey-sand bar so Ampersand's violet is the only saturated bar. */
.eval-bar-row { --provider-color: #d2b385; }
/* Violet: the most frequent violet pigment dot in the hero ampersand (rgb 117, 97, 174). */
.eval-bar-row[data-provider="humansand"] { --provider-color: #7561ae; }

/* Proactivity's hover interaction uses the same row geometry as every chart. */
.eval-score-detail { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0,1fr) var(--plot-value); gap: var(--plot-gap); align-items: center; padding: 0; border: 0; background: transparent; text-align: left; cursor: help; }
.eval-score-detail:focus-visible { outline: 2px solid var(--figure-accent); outline-offset: 3px; }
.eval-score-tooltip { position: fixed; z-index: 100; max-width: calc(100vw - 16px); padding: 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 8px #00000014; font: 12px/1.6 var(--sans); pointer-events: none; }

/* Multiple measures share the same style, with narrower label columns. */
.eval-chart-panels-multiple { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
.eval-chart-panels-multiple .eval-chart-panel { --plot-label: 96px; --plot-value: 52px; --plot-gap: 8px; }
.eval-chart-panels-multiple .eval-panel-heading { display: block; min-height: 54px; }
.persimmon-page .eval-chart-panels-multiple h4 { color: var(--ink); font-size: 14px; font-weight: 500; }
.eval-chart-panels-multiple [data-role="eval-direction"] { display: block; margin: 4px 0 0; }
.eval-chart-panels-multiple .eval-bar-row { min-height: 48px; font-size: 13px; }
.eval-chart-panels-multiple .eval-chart-scale { font-size: 11px; }
.eval-chart-panels-three { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 700px) {
 .eval-explorer { --plot-label: 104px; --plot-value: 54px; --plot-gap: 8px; }
 .eval-map-holistic { gap: 4px 20px; }
 .persimmon-page .eval-detail-heading h3 { font-size: 20px; }
 .eval-bar-row { font-size: 13px; }
 .eval-chart-scale { font-size: 11px; }
 .eval-chart-scale span:nth-child(even):not(.eval-zero-tick):not(:last-child) { display: none; }
 .eval-chart-panels-multiple { grid-template-columns: 1fr; gap: 28px; }
 .eval-chart-panels-multiple .eval-chart-panel { --plot-label: 104px; --plot-value: 54px; --plot-gap: 8px; }
 .eval-chart-panels-multiple .eval-panel-heading { min-height: 0; }
}

/* Captions sit with their figures. */
.persimmon-page .eval-explanation { margin-top: 18px; }
.persimmon-page .eval-explanation p { margin: 0; color: var(--muted); font: 14px/1.6 var(--sans); }
/* Chiming In: split bars into correct-speak and correct-pass contributions while the chart is hovered or focused. */
.eval-bar-split { display: flex; }
.eval-bar-split .eval-bar-pass { flex: 1; width: auto !important; }
.eval-bar-segment { display: block; height: 100%; background: var(--provider-color, #b3b3b0); transition: opacity .15s ease, margin .15s ease; }
.eval-chart:hover .eval-bar-split, .eval-chart:focus-within .eval-bar-split { background: none; }
.eval-chart:hover .eval-bar-pass, .eval-chart:focus-within .eval-bar-pass { opacity: .38; margin-left: 2px; }
.eval-chart:hover .eval-bar-row:not(:hover) .eval-bar-split, .eval-chart:focus-within .eval-bar-row:not(:focus-within) .eval-bar-split { filter: saturate(.7); }
.eval-tooltip-line { display: flex; align-items: center; gap: 8px; }
.eval-tooltip-swatch { flex: none; width: 10px; height: 10px; background: var(--provider-color, #b3b3b0); }
.eval-tooltip-pass .eval-tooltip-swatch { opacity: .38; }
@media (prefers-reduced-motion: reduce) { .eval-bar-segment { transition: none; } }
/* Timeline embed: the article prose carries the setup, so drop the component's own header. */
.timeline-embed .tl-head { display: none; }

/* Behaviors & skills picker: one eval at a time; chart on the left, description + example on the right. */
:is(.eval-skills-picker, .sim-examples) { --figure-accent: #775786; margin-top: 24px; padding: 28px 32px 32px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.sim-examples [hidden] { display: none !important; }
.sim-examples button { font: inherit; color: inherit; }
/* The tab already names the example, so its heading starts the panel without the usual section gap. */
.ampersand-page .article-content .sim-example > h3.eval-section-heading:first-child { margin-top: 24px; }
.eval-skills-picker [hidden] { display: none !important; }
.eval-skills-picker button { font: inherit; color: inherit; }
.eval-skill-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); }
.eval-skill-tabs [role="tab"] { margin-bottom: -1px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; text-align: left; font-size: 14px; line-height: 1.4; }
.eval-skill-tabs [role="tab"][aria-selected="true"] { color: var(--figure-accent); border-bottom-color: currentColor; }
.eval-skill-tabs [role="tab"]:focus-visible { outline: 2px solid var(--figure-accent); outline-offset: 4px; }
.eval-skill-card { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "head head" "figure context"; column-gap: 36px; min-width: 0; margin-top: 28px; }
.eval-skill-head { grid-area: head; }
.persimmon-page .eval-skill-card p { margin: 0; }
.persimmon-page .eval-skill-card h4.eval-skill-name { margin: 0; padding: 0; color: var(--ink); font: 500 22px/1.3 var(--sans); letter-spacing: -.02em; }
.eval-skill-name a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.persimmon-page .eval-skill-card .eval-skill-credit { margin-top: 4px; color: var(--muted); font: 12px/1.5 var(--sans); }
.eval-skill-figure { grid-area: figure; --plot-label: 128px; --plot-value: 48px; --plot-gap: 8px; margin-top: 24px; min-width: 0; }
.eval-skill-measures { display: grid; gap: 28px; }
.eval-skill-measure { margin: 0; min-width: 0; }
.eval-skill-measure-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font: 12px/1.5 var(--sans); }
.eval-skill-measure-heading span:first-child { color: var(--ink); font-weight: 500; }
.eval-skill-card .eval-bar-row { min-height: 30px; font-size: 13.5px; line-height: 1.3; }
.eval-skill-card .eval-bar-row.featured { min-height: 36px; margin-bottom: 4px; }
.eval-skill-card .eval-bar-row.featured::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; border-bottom: 1px solid var(--line); }
.eval-skill-card .eval-bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The mock label must stay fully visible, so it may wrap instead of truncating. */
.eval-skill-card .featured .eval-bar-name { white-space: normal; }
.eval-skill-card .eval-bar-track { height: 14px; }
.eval-skill-card .featured .eval-bar-track { height: 18px; }
.eval-skill-card .eval-bar-value { font-weight: 400; }
.eval-skill-card .featured .eval-bar-value { font-weight: 500; }
.eval-skill-card .eval-score-detail { min-height: 30px; }
.eval-skill-card .eval-chart-scale { margin-top: 6px; font-size: 11.5px; }
.persimmon-page .eval-skill-card :is(.eval-skill-note, .eval-skill-hint) { margin-top: 8px; color: var(--muted); font: 12px/1.5 var(--sans); }
.eval-skill-context { grid-area: context; margin-top: 24px; min-width: 0; }
.persimmon-page .eval-skill-card .eval-skill-explanation { color: var(--ink); font: 15px/1.6 var(--sans); }
.eval-skill-explanation + .eval-skill-example { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.eval-skill-example { font: 13px/1.5 var(--sans); }
.persimmon-page .eval-skill-example p { font: 13px/1.5 var(--sans); }
.persimmon-page .eval-skill-example .eval-chat-kicker { margin-bottom: 2px; color: var(--figure-accent); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.eval-chat { --pb-accent: #8b5caf; display: grid; gap: 10px; max-width: 560px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
.eval-chat-msg { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.eval-chat-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: #d6d2c6; color: #34362f; font-size: 10px; font-weight: 600; }
.persimmon-page .eval-chat .eval-chat-meta { font-size: 12px; line-height: 1.3; }
.persimmon-page .eval-chat .eval-chat-meta b { font-weight: 600; }
.persimmon-page .eval-chat .eval-chat-text { margin-top: 1px; overflow-wrap: anywhere; }
.eval-chat-note { padding: 4px 0 4px 10px; border-left: 2px solid #d6d2c6; transition: border-color .28s ease; }
.eval-chat-note.pb-pending { border-left-color: transparent; }
.persimmon-page .eval-skill-example .eval-chat-note-label { margin-bottom: 2px; color: var(--muted); font-size: 10.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
.eval-chat-decision { min-height: 28px; }
.persimmon-page .eval-chat .eval-chat-why { margin-left: 30px; color: var(--muted); font-size: 12px; font-style: italic; }
.persimmon-page .eval-chat .eval-chat-msg-model .eval-chat-text { white-space: pre-line; }
.eval-chat-decision-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 5px 11px; border: 1px solid #8b5caf66; border-radius: 14px; background: #8b5caf14; color: #4f3d59; font-weight: 500; }
.eval-chat-decision-label { color: #775786; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }

/* Each eval is one box: name and description across the top, chart left, example right, both columns ending on the same line. */
.eval-skill-panels { display: grid; gap: 28px; margin-top: 20px; }
.coding-chart-interactive { position: relative; margin: 24px 0 0; min-width: 0; }
#skill-panel-cooperation { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "head head"; }
#skill-panel-coding { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head"; }
#skill-panel-cooperation > .cooper-figure { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
#skill-panel-cooperation > .model-results-table { grid-column: 1 / -1; grid-row: 4; }
#skill-panel-cooperation > .eval-skill-description { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; }
#skill-panel-coding > .eval-skill-description { grid-area: auto; grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 0 36px; min-width: 0; }
#skill-panel-coding .eval-skill-explanation { grid-area: auto; grid-column: 1 / -1; grid-row: 1; }
#skill-panel-coding > .eval-skill-description { margin-top: 12px; }
#skill-panel-coding .coding-chart-interactive:not([hidden]) { grid-column: 1 / -1; grid-row: 2; }
#skill-panel-coding .model-results-table { grid-column: 1 / -1; grid-row: 3; }
.model-results-table { margin-top: 24px; overflow-x: auto; align-self: start; }
.model-results-table table { width: 100%; border-collapse: collapse; font: 11px/1.5 var(--sans); color: var(--ink); }
.model-results-table :is(th, td) { padding: 7px 5px; border-bottom: 1px solid var(--line); text-align: right; }
.model-results-table th:first-child { text-align: left; font-weight: 500; }
.model-results-table td:first-child { text-align: left; }
.model-results-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.model-results-table caption { text-align: left; font-weight: 600; margin-bottom: 8px; }
.article-content .model-results-table table { min-width: 0; color: var(--ink); background: var(--surface); }
.article-content .model-results-table :is(th, td, caption) { color: var(--ink); background-color: var(--surface); border-color: var(--line); }
.article-content .model-results-table :is(thead, tbody, tr) { color: var(--ink); background-color: var(--surface); }
.model-results-table { min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
.article-content .model-results-table thead th { background: color-mix(in srgb, var(--ink) 7%, var(--surface)); }
.article-content .model-results-table .result-ampersand > :is(th, td) { background: #60437d; color: #fff; font-weight: 600; }
.article-content .model-results-table .result-baseline > :is(th, td) { background: color-mix(in srgb, #a88cc4 22%, var(--surface)); color: var(--ink); }
.model-results-table p { font: 11px/1.5 var(--sans); color: var(--muted); }
@media (max-width: 700px) {
  #skill-panel-cooperation, #skill-panel-coding > .eval-skill-description { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  #skill-panel-cooperation > .model-results-table, #skill-panel-coding .model-results-table { grid-column: 1; grid-row: auto; }
}
#skill-panel-coding .coding-chart-interactive, #skill-panel-cooperation .cooper-figure { width: 100%; max-width: 720px; margin: 12px auto; }
#skill-panel-coding .model-results-table, #skill-panel-cooperation .model-results-table { margin-top: 8px; }
#skill-panel-coding .eval-skill-explanation > p:last-child, #skill-panel-cooperation > .eval-skill-description > p:last-child { margin-bottom: 8px; }
#skill-panel-cooperation .cooper-figure { max-width: none; }
#cooper-chart svg > text { font: 18px var(--sans); fill: var(--muted); }
#cooper-chart .cooper-point text { font-size: 15px; fill: var(--muted); }
#cooper-chart .cooper-point .cooper-gap { font-size: 15px; }
#cooper-chart .cooper-point text.is-ampersand { fill: #7561ae; font-weight: 600; }
#cooper-chart .cooper-point .cooper-baseline-label,
#cooper-chart .cooper-point .cooper-baseline-label .cooper-gap { font-size: 15px; }
.coding-chart-interactive svg { aspect-ratio: 2; }
.coding-chart-interactive figcaption { margin-bottom: 10px; color: var(--muted); font: 14px/1.5 var(--sans); }
.coding-chart-interactive svg { display: block; width: 100%; height: auto; overflow: visible; }
.coding-chart-interactive .coding-point { cursor: pointer; outline: none; transition: opacity .15s; }
.coding-chart-interactive svg.has-active .coding-point:not(.is-active) { opacity: .35; }
.coding-chart-interactive .coding-point.is-active circle { stroke: #7561ae; stroke-width: 2; }
/* Sits above the hovered logo; JS sets left/top in figure coordinates. */
.coding-tooltip { position: absolute; z-index: 3; transform: translate(-50%, -100%); display: grid; gap: 2px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 12.5px/1.4 var(--sans); white-space: nowrap; box-shadow: 0 6px 18px #0003; pointer-events: none; }
.coding-tooltip span { color: var(--muted); }
.coding-chart-dark { display: none; }
.coding-chart-light { display: block; }
.eval-cost-bar { position: absolute; top: 0; height: 100%; background: #7561ae; border-radius: 3px 0 0 3px; }
/* The highlight sits on a pseudo-element that overhangs the row, so the name gets inner padding while every row keeps the same left edge. */
.eval-life-row.featured::before { content: ''; position: absolute; inset: 0 -10px; z-index: -1; background: #9867cd24; border-radius: 6px; outline: 1px solid #9867cd66; }
@media (max-width: 700px) { .eval-life-row.featured::before { inset: 0 -6px; } }
.eval-life-row.is-base::before { content: ''; position: absolute; inset: 0 -10px; z-index: -1; background: #d2b3851f; border-radius: 6px; outline: 1px solid #d2b38559; }
@media (max-width: 700px) { .eval-life-row.is-base::before { inset: 0 -6px; } }
.eval-life-row.is-base .eval-row-status { color: #b8935c; }
.eval-life-row[data-provider="humansand"] { --provider-color: #d2b385; }
.eval-cost-label, .eval-goal-label { position: absolute; top: -18px; white-space: nowrap; font-size: 11px; line-height: 16px; font-variant-numeric: tabular-nums; }
.eval-cost-label { color: #7561ae; }
.eval-goal-label { color: var(--ink); }
.eval-life-row > .eval-bar-value { visibility: hidden; }
.eval-life-row { min-height: 54px; }
.eval-zero-axis-labels { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin: 0 calc(var(--plot-value) + var(--plot-gap)) 18px calc(var(--plot-label) + var(--plot-gap)); font: 500 12px/1.5 var(--sans); }
.eval-zero-axis-labels span:first-child { color: #7561ae; text-align: center; }
.eval-zero-axis-labels span:last-child { color: var(--ink); text-align: center; }
.eval-cost-goal-track { position: relative; }
/* --zero is set per track from the axis range, so cost and score share one dollar scale. */
.eval-cost-goal-track > .eval-bar { position: absolute; top: 0; left: var(--zero); border-radius: 0; }
.eval-cost-goal-track > .eval-cost-bar { right: calc(100% - var(--zero)); }
.eval-net-marker { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); }
.eval-skill-toggle { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.eval-skill-panels > .eval-skill-card[hidden] { display: none !important; }
.eval-skill-toggle::after { content: '+'; font-size: 26px; font-weight: 400; }
.eval-skill-toggle[aria-expanded="true"]::after { content: '−'; }
.eval-skill-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 2px; }
.eval-skill-panels > .eval-skill-card.is-collapsed { grid-template-areas: "head head"; grid-template-rows: auto; }
.eval-skill-card > [hidden] { display: none !important; }
.eval-skill-panels > .eval-skill-card { grid-template-areas: "head head" "explain explain" "figure example"; grid-template-rows: auto auto 1fr; margin-top: 0; }
.eval-skill-panels .eval-skill-context { display: contents; }
.eval-skill-panels .eval-skill-description { grid-area: explain; }
.persimmon-page .eval-skill-panels .eval-skill-explanation { grid-area: explain; max-width: 720px; margin-top: 14px; }
/* The chart column sets the box height (430px floor); the example contributes none and a long one shrinks to fit. */
.eval-skill-panels .eval-skill-figure { display: flex; flex-direction: column; min-height: 430px; }
/* A card without an example gives its chart both columns rather than leaving the right one empty. */
.eval-skill-panels > .eval-skill-card:has(.eval-skill-example[hidden]) { grid-template-areas: "head head" "explain explain" "figure figure"; }
.eval-skill-panels .eval-skill-figure > :is(.eval-skill-hint, .eval-skill-note) { margin-top: auto; padding-top: 16px; }
.eval-skill-panels .eval-skill-example:not([hidden]) { grid-area: example; display: flex; flex-direction: column; box-sizing: border-box; height: 0; min-height: 100%; margin: 0; padding-top: 24px; border-top: 0; }
.eval-skill-panels .eval-skill-example .eval-chat { display: flex; flex: 1; flex-direction: column; min-height: 0; max-width: none; overflow: hidden; background: #fdfcf9; }
/* --example-fit is set by fitSkillExamples() in evaluations.js. */
.eval-skill-panels .eval-chat > * { flex-shrink: 0; zoom: var(--example-fit, 1); }
@media (max-width: 700px) {
 .eval-skill-tabs { gap: 2px 18px; }
 .eval-skill-card { display: block; }
 :is(.eval-skills-picker, .sim-examples) { padding: 20px 18px 24px; }
  .eval-skill-panels .eval-skill-figure { min-height: 0; }
 .eval-skill-panels .eval-skill-example:not([hidden]) { height: auto; min-height: 0; }
 .eval-skill-panels .eval-skill-example .eval-chat { overflow: visible; }
 .eval-skill-figure { --plot-label: 112px; --plot-value: 44px; }
 .persimmon-page .eval-skill-card h4.eval-skill-name { font-size: 20px; }
 .eval-skill-card .eval-bar-row { font-size: 13px; }
}
/* Recorded tool-call trace inside the Chiming In example. */
.eval-trace-call { display: grid; gap: 2px; min-width: 0; }
.eval-trace-chip { justify-self: start; max-width: 100%; padding: 2px 8px; border: 1px solid #8b5caf40; border-radius: 6px; background: #8b5caf0d; color: #4f3d59; font: 11.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.persimmon-page .eval-chat .eval-trace-result { margin: 0; padding: 0 0 0 10px; border-left: 2px solid #d6d2c6; list-style: none; color: var(--muted); font-size: 12px; line-height: 1.45; }
.persimmon-page .eval-chat .eval-trace-result li { display: -webkit-box; margin: 0; padding: 0; overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.persimmon-page .eval-chat .eval-trace-result li::before { content: none; }
.eval-chat-msg-model .eval-chat-avatar { background: #8b5caf; color: #fff; }
.persimmon-page .eval-chat .eval-chat-msg-model .eval-chat-text + .eval-chat-text { margin-top: 6px; }
.eval-chat-msg-model code { font: 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.persimmon-page .eval-chat .eval-trace-pass { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }

/* Switch between the two simulated weeks; the release checkpoint is the default. */
.timeline-switch { display: inline-flex; gap: 2px; margin: 4px 0 14px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.timeline-switch button { padding: 5px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 12.5px/1.3 var(--sans); cursor: pointer; }
.timeline-switch button[aria-pressed="true"] { background: #7561ae; color: #fff; }
.timeline-switch button:focus-visible { outline: 2px solid #7561ae; outline-offset: 2px; }

/* Attention-cost slider under the simulation charts. */
.eval-attention { max-width: 460px; margin: 18px 0 4px; font: 13px/1.5 var(--sans); }
.eval-attention-head { display: block; margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.eval-attention-top { position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.eval-attention-top .eval-attention-head { margin-bottom: 0; }
.eval-map-holistic > .eval-attention { flex: 0 1 240px; width: 240px; max-width: 100%; margin: 0 0 0 auto; }
.eval-attention input[type="range"] { width: 100%; margin: 0; accent-color: #7561ae; }
.eval-info { position: relative; display: inline-block; width: 15px; height: 15px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: help; }
.eval-info::before { content: ''; position: absolute; inset: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.4'/%3E%3Ccircle cx='8' cy='4.9' r='1' fill='black'/%3E%3Crect x='7.3' y='6.9' width='1.4' height='4.6' rx='.7' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='black' stroke-width='1.4'/%3E%3Ccircle cx='8' cy='4.9' r='1' fill='black'/%3E%3Crect x='7.3' y='6.9' width='1.4' height='4.6' rx='.7' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.eval-info:hover, .eval-info:focus-visible, .eval-info[aria-expanded="true"] { color: var(--ink); }
/* The slider sits at the page's right edge, so the tip opens leftward and never widens the page. */
.eval-info-tip { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; width: min(320px, 80vw); padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 400; font-size: 12.5px; line-height: 1.45; box-shadow: 0 6px 18px #0002; opacity: 0; visibility: hidden; transition: opacity .15s; }
.eval-info:hover + .eval-info-tip, .eval-info:focus-visible + .eval-info-tip, .eval-info[aria-expanded="true"] + .eval-info-tip { opacity: 1; visibility: visible; }
/* Absolutely placed under the labels so showing it never shifts the slider. */
.eval-attention { position: relative; }
.eval-attention-reset { position: absolute; right: 0; top: 100%; margin-top: 2px; padding: 2px 0; border: 0; background: none; color: #7561ae; font: 500 11.5px/1.4 var(--sans); cursor: pointer; }
.eval-attention-reset:hover { text-decoration: underline; }
.eval-attention-labels { display: flex; justify-content: space-between; margin-top: 2px; color: var(--muted); font-size: 11.5px; }

/* Tiny persimmon after every mention of Persimmon, and a linked one beside the & Simulations heading. */
.persimmon-mark { display: inline-block; width: .9em; height: .9em; margin: 0 .05em 0 .15em; vertical-align: -.08em; }
a .persimmon-mark { text-decoration: none; }
/* Persimmon links carry the logo as their cue, so they skip the underline until hovered. */
.article-content a:has(> .persimmon-mark) { text-decoration-line: none; }
.article-content a:has(> .persimmon-mark):hover { text-decoration-line: underline; }
.persimmon-heading-link { display: inline-block; margin-left: .3em; vertical-align: .05em; text-decoration: none; transition: transform .2s ease; }
.persimmon-heading-link img { display: block; width: .62em; height: .62em; }
.persimmon-heading-link:hover { transform: rotate(-12deg) scale(1.08); }
.eval-map-holistic > button[hidden] { display: none; }
.eval-map-holistic > .eval-chart-title { margin: 0; color: var(--ink); font: 600 15px/1.4 var(--sans); }
/* Display equations in Training scroll inside their own box on narrow screens instead of widening the page. */
.ampersand-page .math-display { overflow-x: auto; overflow-y: hidden; margin: 2px 0 24px; padding: 2px 0; }
/* Pull an equation toward the sentence that introduces it; the paragraph margin (20px) would otherwise leave more room above than below. */
.ampersand-page p + .math-display { margin-top: -10px; }
/* KaTeX's own display margin stacks on the wrapper's; the wrapper alone sets the spacing. */
.ampersand-page .math-display .katex-display { margin: 0; }

/* Build section: wrapped, highlighted code in the blog palette; the replayed chat is drawn as a chat, with Ampersand's passes as quiet lines. */
.ampersand-page .article-content pre.code-block { margin: 14px 0 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--code-bg); color: var(--ink); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.ampersand-page .article-content pre.code-block code { font-size: inherit; background: none; padding: 0; }
.tok-key { color: var(--code-key); }
.tok-str { color: var(--code-str); }
.tok-kw, .tok-fn { color: var(--code-key); font-weight: 600; }
.tok-arg, .tok-const { color: var(--code-arg); }
.tok-punct { color: var(--muted); }
.ampersand-page .article-content .build-chat { display: grid; gap: 6px; margin: 12px 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); list-style: none; font: 13.5px/1.45 var(--sans); }
.build-chat-msg { display: grid; gap: 2px; }
.build-chat-msg b { font-size: 12.5px; font-weight: 600; }
.build-chat-msg.is-amp { padding: 8px 10px; border-radius: 10px; background: #7561ae1f; }
.build-chat-msg.is-amp b { color: var(--code-key); }
.build-chat-pass { margin-left: 8px; color: var(--muted); font-size: 11.5px; font-style: italic; white-space: nowrap; }
.build-chat-pass::before { content: '· '; }
.ampersand-page .article-content .build-links { color: var(--muted); }
.ampersand-page .article-content .code-tabs { margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--code-bg); overflow: hidden; }
.code-tabs-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 8px 0; border-bottom: 1px solid var(--line); }
.code-tabs-bar button { padding: 6px 10px 7px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font: 500 12.5px/1.3 var(--sans); cursor: pointer; }
.code-tabs-bar button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--code-key); }
.code-tabs-bar button:focus-visible { outline: 2px solid var(--code-key); outline-offset: -2px; }
.ampersand-page .article-content .code-tabs pre.code-block { margin: 0; border: 0; border-radius: 0; background: none; }
.code-tabs [hidden] { display: none !important; }
@media (max-width: 560px) { .ampersand-page .article-content pre.code-block { padding: 12px 12px; font-size: 11.5px; } }
/* Privacy scatter: theme tokens only, so it reads in both themes. Ampersand is the only accent; every other model is one neutral. */
.persimmon-page .eval-skill-card .privacy-takeaway { margin: 0 0 10px; color: var(--ink); font: 13px/1.5 var(--sans); }
.privacy-scatter { display: block; width: 100%; height: auto; overflow: visible; font: 11px var(--sans); }
.privacy-scatter .ps-grid { stroke: var(--line); stroke-width: 1; }
.privacy-scatter .ps-tick { fill: var(--muted); font-variant-numeric: tabular-nums; }
.privacy-scatter .ps-axis { fill: var(--muted); font-size: 11.5px; }
.privacy-scatter .ps-better { fill: var(--muted); font-size: 11px; font-weight: 500; }
.privacy-scatter .ps-frontier { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-opacity: .55; stroke-linejoin: round; }
.privacy-scatter .ps-point circle { fill: var(--muted); fill-opacity: .8; stroke: var(--surface); stroke-width: 1.5; }
.privacy-scatter .ps-point.is-featured circle { fill: #7561ae; fill-opacity: 1; }
.privacy-scatter .ps-point.has-logo circle { fill: white; fill-opacity: 1; stroke: var(--muted); stroke-width: .8; }
.privacy-scatter .ps-point.has-logo.is-featured circle { stroke: #7561ae; }
.privacy-scatter .ps-label { fill: var(--ink); font-size: 8px; }
.privacy-scatter .ps-label.is-base { fill: #b8935c; }
.privacy-scatter .ps-label.is-featured { fill: #7561ae; font-weight: 700; font-size: 8px; }
.privacy-scatter .ps-axis:not([transform]) { font-size: 10px; }
.privacy-scatter .ps-tick[text-anchor="middle"] { font-size: 10px; }
.eval-skill-panels figcaption,
.eval-skill-panels .eval-skill-measure-heading { color: var(--muted); font: 13px/1.5 var(--sans); }
.eval-skill-panels .eval-skill-measure-heading span:first-child { font: 500 16px/1.5 var(--sans); color: var(--ink); }
.privacy-scatter .ps-axis, .privacy-scatter .ps-tick { font: 10px var(--sans); fill: var(--muted); }
.privacy-scatter .ps-leader { stroke: var(--muted); stroke-width: .8; stroke-opacity: .7; }
/* Teamwork: dimension pills above a thinking-level line chart; reference models are flat dotted lines labelled at the right edge. */
/* The nine dimension pills sit on one justified row; when the figure is too narrow they form an even grid instead of a ragged wrap. */
.eval-skill-figure:has(.teamwork-tabs) { container-type: inline-size; }
.teamwork-tabs { display: flex; justify-content: space-between; gap: 5px; margin-bottom: 14px; }
.teamwork-tabs [role="tab"] { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); cursor: pointer; font-size: 12px; line-height: 1.5; white-space: nowrap; }
@container (max-width: 680px) { .teamwork-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@container (max-width: 440px) { .teamwork-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.teamwork-tabs [role="tab"][aria-selected="true"] { border-color: var(--figure-accent); background: color-mix(in srgb, var(--figure-accent) 10%, transparent); color: var(--figure-accent); }
.teamwork-tabs [role="tab"]:focus-visible { outline: 2px solid var(--figure-accent); outline-offset: 2px; }
.teamwork-chart { display: block; width: 100%; height: auto; overflow: visible; font: 11px var(--sans); }
.teamwork-chart .tw-grid { stroke: var(--line); stroke-width: 1; }
.teamwork-chart .tw-tick { fill: var(--muted); font-variant-numeric: tabular-nums; }
.teamwork-chart .tw-axis { fill: var(--muted); font-size: 11.5px; }
/* Reference lines stay faint so the two solid series and their value labels read first. */
.teamwork-chart .tw-ref line { stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .5; }
.teamwork-chart .tw-series { --series: #7561ae; }
.teamwork-chart .tw-series.is-base { --series: #b8935c; }
.teamwork-chart .tw-series polyline { fill: none; stroke: var(--series); stroke-width: 1.2; stroke-linejoin: round; }
.teamwork-chart .tw-series circle { fill: var(--series); stroke: var(--surface); stroke-width: 1.5; }
.teamwork-chart .tw-series text { fill: var(--series); font-size: 9px; font-weight: 500; font-variant-numeric: tabular-nums; }
.teamwork-chart .tw-leader { fill: none; stroke: var(--muted); stroke-width: .8; opacity: .6; }
.teamwork-chart .tw-label { fill: var(--muted); font-size: 10px; }
.teamwork-chart .tw-label .tw-label-value { font-variant-numeric: tabular-nums; }
.teamwork-chart .is-ampersand:is(.tw-leader, .tw-label) { --series: #7561ae; }
.teamwork-chart .is-base:is(.tw-leader, .tw-label) { --series: #b8935c; }
.teamwork-chart :is(.is-ampersand, .is-base).tw-leader { stroke: var(--series); opacity: 1; }
.teamwork-chart :is(.is-ampersand, .is-base).tw-label { fill: var(--series); font-weight: 600; }
/* The privacy scatter is shorter than the example beside it, so the card grows to the example instead of clipping it. */
.eval-skill-panels #skill-panel-privacy .eval-skill-example:not([hidden]) { height: auto; }
.eval-skill-panels #skill-panel-privacy .eval-skill-example .eval-chat { overflow: visible; }
/* Learning with Persimmon: simulated-user excerpts in the shared tabbed box; the user's pushback is the highlighted message. */
.ampersand-page .article-content .persimmon-examples { margin: 16px 0 22px; }
.ampersand-page .article-content .persimmon-examples .build-chat { margin: 10px 0 0; padding: 0; border: 0; background: none; }
.ampersand-page .article-content .persimmon-example-setup { margin: 0; color: var(--muted); font: 13.5px/1.5 var(--sans); }
.build-chat-msg.is-focus { padding: 8px 10px; border-radius: 10px; background: #d2b38524; }
.persimmon-examples .build-chat-msg { padding: 8px 10px; border-radius: 10px; }
.persimmon-examples .build-chat-msg.is-amp { background: none; }
.persimmon-page .eval-skill-card .teamwork-description { margin: 2px 0 8px; color: var(--muted); font: 12.5px/1.5 var(--sans); }

/* Results tables under the Other Dimensions charts are hidden for now (author's call, October 20); delete this rule to bring them back. */
.eval-skill-panels :is(details:has(.model-results-table), .ci-raw, .model-results-table) { display: none !important; }
/* Privacy scatter: the hover numbers float above the point instead of a box under the chart. */
.privacy-scatter-figure, #cooper-chart { position: relative; }
.privacy-scatter-figure .privacy-point-tip, #cooper-chart .cooper-point-tip { position: absolute; z-index: 5; padding: 4px 8px; border-radius: 6px; transform: translate(-50%, -100%); white-space: nowrap; pointer-events: none; font-size: 12px; box-shadow: 0 2px 8px #0000001f; }
