/* Chapter 11: error-against-steps chart (inline SVG). */
.ch11-figure { margin: 1.2rem 0; }
.ch11-chart {
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a;
  display: block; height: auto; font-family: inherit;
}
@media (prefers-color-scheme: dark) {
  .ch11-chart { --s1: #3987e5; --s2: #d95926; --s3: #199e70; }
}
.ch11-chart .grid { stroke: var(--rule); stroke-width: .6; }
.ch11-chart .tick { fill: var(--muted); font-size: 10px; }
.ch11-chart .axis { fill: var(--muted); font-size: 10px; }
.ch11-chart .note { fill: var(--muted); font-size: 9px; }
.ch11-chart .lab { fill: var(--fg); font-size: 10px; }
.ch11-chart .mark16 { stroke: var(--muted); stroke-width: .8; stroke-dasharray: 2 3; }
.ch11-chart .opt { stroke: var(--fg); stroke-width: 1; stroke-dasharray: 6 3; }
.ch11-chart .leader { stroke: var(--muted); stroke-width: .6; }
.ch11-chart polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch11-chart .s-plain { stroke: var(--muted); stroke-dasharray: 5 3; }
.ch11-chart .s-g { stroke: var(--s1); }
.ch11-chart .s-i { stroke: var(--s3); stroke-dasharray: 1 3; }
.ch11-chart .s-j { stroke: var(--s2); stroke-width: 2.6; }
.ch11-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .82rem; color: var(--muted); margin: .4rem 0; }
.ch11-legend span::before { content: ""; display: inline-block; width: 1.4rem; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: .35rem; }
.ch11-legend .l-j::before { border-color: #eb6834; border-top-width: 3px; }
.ch11-legend .l-g::before { border-color: #2a78d6; }
.ch11-legend .l-i::before { border-color: #1baf7a; border-top-style: dotted; }
.ch11-legend .l-plain::before { border-color: var(--muted); border-top-style: dashed; }
@media (prefers-color-scheme: dark) {
  .ch11-legend .l-j::before { border-color: #d95926; }
  .ch11-legend .l-g::before { border-color: #3987e5; }
  .ch11-legend .l-i::before { border-color: #199e70; }
}
