/* Section 04: PD split over time on three agent workloads (data from the report's appendix). */
.split-charts { margin: 0 0 40px; }
.split-charts-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.split-charts-title { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.split-charts-replay { flex: none; padding: 6px 12px; border: 1px solid #aaa59e; border-radius: 4px; background: #fffdfa; color: var(--fg); font: inherit; font-size: 13px; cursor: pointer; }
.split-charts-replay:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.split-charts-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.split-chart { margin: 0; padding: 12px 12px 6px; border: 1px solid #ddd5ce; border-radius: 10px; background: #fffdfb; }
.split-chart figcaption { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; column-gap: 10px; margin-bottom: 6px; }
.split-chart figcaption b { grid-column: 2; font-size: 16px; font-weight: 600; line-height: 1.2; }
.split-chart figcaption > span:not(.sc-icon) { grid-column: 2; color: #6f6870; font: 11px/1.4 var(--mono); }
.sc-icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 8px; background: #f1ece6 url('media/scene/apps-atlas.png') no-repeat; background-size: 200% 200%; }
.sc-icon-math { background-position: 0 0; }
.sc-icon-cua { background-position: 100% 0; }
.sc-icon-code { background-position: 0 100%; }
.split-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-warm { fill: #ece7e1; }
.sc-grid { stroke: #e6e0da; stroke-width: 1; }
.sc-ylab { fill: #6f6870; font: 8.5px var(--mono); text-anchor: end; }
.sc-xlab { fill: #6f6870; font: 9px var(--mono); text-anchor: middle; }
.sc-xtitle { fill: #8a8188; font: 9px var(--mono); text-anchor: middle; }
/* The measured best split: a wide translucent band, so the red line reads as inside it when they match. */
.sc-best { fill: none; stroke: #2f8f84; stroke-opacity: .28; stroke-width: 11; stroke-linejoin: round; transition: opacity .8s; }
.sc-dyn, .sc-dyn-join { stroke: #8a8188; stroke-width: 2; }
.sc-dyn-join { stroke-width: 1.2; }
.sc-dyn.is-relaunch { stroke-dasharray: 2 3; stroke-width: 2.4; }
.sc-ours { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linejoin: round; }
.sc-cursor { stroke: var(--red); stroke-width: 1; stroke-dasharray: 2 2; opacity: 0; }
.split-charts.is-js:not(.show-best) .sc-best { opacity: 0; }
.split-charts.is-drawing .sc-cursor { opacity: .7; }
.split-charts-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; color: #625b63; font: 12px/1.5 var(--mono); }
.split-charts-key i { display: inline-block; width: 22px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 3px solid var(--red); }
.split-charts-key .k-best { height: 10px; border: 0; border-radius: 3px; background: rgba(47,143,132,.28); }
.split-charts-key .k-dyn { border-top: 2px solid #8a8188; }
.split-charts-key .k-relaunch { border-top: 2.4px dotted #8a8188; }
.split-charts-key .k-warm { height: 10px; border: 0; background: #ece7e1; }
.split-charts-note { margin: 6px 0 0; color: #7a7278; font: 11px/1.5 var(--mono); }
@media (max-width:900px) { .split-charts-grid { grid-template-columns: minmax(0,1fr); } .split-chart { max-width: 520px; } }
@media (max-width:600px) { .split-charts-head { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .sc-best { transition: none; } }
/* Section 05 heading: its first line is a little longer than the other section headings, so scale it a touch smaller to keep two lines. */
.idea-decoupling h2#kv-heading { font-size: clamp(34px,4.15vw,62px); }
