@layer stage {
  /* Chapters 9 and 10.  Every class here starts with pj- ("project"). */

  /* ---- shared pieces ---- */
  .canvas .pj-geo { font-size: 15px; fill: var(--ink-2); }
  .canvas .pj-geo.is-strong { fill: var(--ink); font-weight: 700; }
  .canvas .pj-geo.is-faint { fill: var(--ink-3); font-size: 13px; }
  .canvas .pj-map-title { font-family: var(--font-title); font-weight: 900; font-size: 17px; }
  .canvas .pj-map-tick { font-family: var(--font-num); font-size: 14px; fill: var(--ink-2); }
  .canvas .pj-map-note { font-size: 13.5px; fill: var(--ink-2); }
  .canvas .pj-map-note.is-strong { fill: var(--ink); font-weight: 700; font-size: 15px; }
  .pj-ruler { stroke: var(--ink-3); stroke-width: 2; fill: none; }
  .pj-ruler.is-half { stroke-dasharray: 4 4; stroke-width: 1.5; }
  .pj-brace { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
  .pj-brace.is-strong { stroke: var(--ink); stroke-width: 2; }

  .pj-lines { display: grid; gap: 0.2rem; justify-items: center; text-align: center; min-block-size: 1.5rem; }
  .pj-lines .calc { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.25rem; }

  .pj-cards { display: grid; gap: 0.6rem; }
  @media (min-width: 40rem) {
    .pj-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pj-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .pj-cards .note { padding: 0.6rem 0.8rem; }
  .pj-cards .note h3 { font-size: 1.0625rem; }
  .pj-cards .note h3 code, .pj-cards .note p code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }
  .pj-cards .note p { font-size: 0.9375rem; }
  .pj-cards .note .num { color: var(--ink); font-size: 1.1em; }
  .pj-spark { inline-size: 100%; block-size: auto; max-block-size: 4.5rem; }
  .pj-spark polyline { fill: none; stroke: var(--route-2opt); stroke-width: 2.5; stroke-linejoin: round; }
  .pj-spark circle { fill: var(--route-2opt); }

  .pj-tally, .pj-table-panel { overflow-x: auto; }
  table.pj-table { border-collapse: collapse; inline-size: 100%; font-size: 0.9375rem; }
  table.pj-table caption { caption-side: top; text-align: start; color: var(--ink-2); font-size: 0.875rem; padding-block-end: 0.3rem; }
  table.pj-table th, table.pj-table td { border-block-end: 0.07rem solid var(--rule); padding: 0.3rem 0.6rem; text-align: start; vertical-align: baseline; }
  table.pj-table thead th { color: var(--ink-2); font-weight: 400; font-size: 0.875rem; background: var(--paper); }
  table.pj-table tbody th { font-weight: 400; }
  table.pj-table td { color: var(--ink-2); }
  table.pj-table .pj-tally-n, table.pj-table td.is-num { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.125rem; font-weight: 700; color: var(--ink); text-align: end; white-space: nowrap; }
  table.pj-table tr.is-done .pj-tally-n::after { content: " ✓"; color: var(--good); }
  table.pj-table tr.is-total th, table.pj-table tr.is-total td { border-block-end: 0; background: var(--wash); font-weight: 700; }
  table.pj-table code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; }

  .pj-meter { display: grid; gap: 0.35rem; }
  .pj-meter-title { color: var(--ink-2); font-size: 0.875rem; margin-block-start: 0.3rem; }
  .pj-meter-row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 5.5rem; gap: 0.6rem; align-items: center; font-size: 0.9375rem; }
  .pj-meter-track { block-size: 1.25rem; background: var(--paper); border-radius: 0.3rem; overflow: clip; }
  .pj-meter-fill { display: block; block-size: 100%; inline-size: 0; background: var(--c, var(--ink-3)); }
  .pj-meter-value { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.0625rem; font-weight: 700; white-space: nowrap; }

  .pj-counters, .pj-load-numbers { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: center; }
  .pj-counter { display: flex; align-items: baseline; gap: 0.45rem; color: var(--ink-2); font-size: 0.9375rem; }
  .pj-counter-number { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.9rem; line-height: 1.15; color: var(--ink); min-inline-size: 2ch; text-align: end; }
  .pj-counter-number.is-final { background: var(--signal); color: var(--on-signal); border-radius: 0.3rem; padding-inline: 0.35rem; }

  /* ---- 9.1 the six jobs ---- */
  .pj-pipe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
  .pj-job {
    position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: 0.2rem 0.7rem; align-items: center;
    padding: 0.4rem 0.75rem; border: 0.07rem solid var(--rule); border-radius: var(--radius); background: var(--paper);
  }
  .pj-job + .pj-job::before { content: ""; position: absolute; inset-block-end: 100%; inset-inline-start: 1.65rem; block-size: 0.5rem; inline-size: 0.25rem; background: var(--asphalt); }
  .pj-job-no {
    display: inline-grid; place-items: center; inline-size: 1.9rem; block-size: 1.5rem; border: 0.12rem solid var(--ink); border-radius: 0.3rem;
    background: var(--signal); color: var(--on-signal); font-family: var(--font-num); font-weight: 700;
  }
  .pj-job h3 { font-size: 1.0625rem; }
  .pj-job-what { font-size: 0.875rem; color: var(--ink-2); line-height: 1.5; }
  .pj-job-files { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-block-start: 0.15rem; }
  .pj-job-files code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.8125rem; background: var(--sheet); border: 0.07rem solid var(--rule); border-radius: 0.25rem; padding: 0 0.35rem; }
  .pj-job-where { font-size: 0.8125rem; color: var(--ink-2); white-space: nowrap; border-inline-start: 0.2rem solid var(--signal); padding-inline-start: 0.5rem; }

  /* ---- 9.2 / 9.3 the service area ---- */
  .pj-area { fill: var(--paper); stroke: var(--ink-3); stroke-width: 2; }
  .pj-area-grid { stroke: var(--rule); stroke-width: 1; }
  .pj-dot { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
  .pj-dot.is-depot { fill: var(--ink); }
  .pj-dot.is-same { fill: var(--signal); }
  .pj-band { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 6 5; }
  .pj-town-ring { fill: none; stroke: var(--route-hk); stroke-width: 1.5; }
  .pj-town-ring.is-wide { stroke-dasharray: 3 4; }
  .pj-town-cross { fill: none; stroke: var(--route-hk); stroke-width: 2.5; stroke-linecap: round; }

  /* ---- 9.4 rounding ---- */
  .pj-leg { stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 6 5; }
  .pj-corner { fill: none; stroke: var(--ink-3); stroke-width: 1.5; }
  .pj-hyp { stroke: var(--route-hk); stroke-width: 4; stroke-linecap: round; }
  .canvas .pj-ruler-end { font-family: var(--font-num); font-size: 17px; fill: var(--ink-2); }
  .canvas .pj-ruler-end.is-hit { fill: var(--ink); font-weight: 700; font-size: 20px; }
  .pj-pin { fill: var(--signal); stroke: var(--ink); stroke-width: 1.5; }

  /* ---- 9.6 the calling line ---- */
  .pj-code-panel { background: var(--paper); border: 0.07rem solid var(--rule); border-radius: var(--radius); padding: 0.6rem 0.9rem; overflow-x: auto; }
  .pj-code { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9375rem; line-height: 1.9; white-space: pre; }
  .pj-code-part { border-radius: 0.25rem; padding: 0.1rem 0.15rem; }
  .pj-code-part.is-lit { background: var(--signal); color: var(--on-signal); font-weight: 700; }

  /* ---- 9.7 the long row of slots ---- */
  .pj-slots { display: grid; gap: 0.55rem; justify-items: center; }
  .pj-bits { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; justify-content: center; }
  .pj-bits-label { color: var(--ink-2); font-size: 0.875rem; }
  button.pj-bit { font-family: var(--font-num); font-size: 1rem; min-inline-size: 6.2rem; min-block-size: 2.1rem; }
  button.pj-bit[aria-pressed="true"] { background: var(--signal); color: var(--on-signal); border-color: var(--ink); font-weight: 700; }
  .pj-bits-line { font-family: var(--font-num); font-size: 1.0625rem; text-align: center; }
  .pj-bits-line b { font-size: 1.25em; }
  .pj-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr)); gap: 0.4rem; inline-size: 100%; }
  .pj-group { border: 0.1rem solid var(--rule); border-radius: 0.4rem; padding: 0.25rem; display: grid; gap: 0.2rem; background: var(--paper); }
  .pj-group.is-now { border-color: var(--ink); }
  .pj-group-head { font-size: 0.75rem; line-height: 1.35; color: var(--ink-2); text-align: center; }
  .pj-group-head b { font-family: var(--font-num); font-size: 1.2em; color: var(--ink); }
  .pj-group-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.15rem; }
  .pj-slot { display: grid; justify-items: center; background: var(--sheet); border: 0.07rem solid var(--rule); border-radius: 0.25rem; padding-block: 0.1rem; }
  .pj-slot-stop, .pj-slot-no { font-size: 0.6875rem; line-height: 1.3; color: var(--ink-3); white-space: nowrap; }
  .pj-slot-value { font-family: var(--font-num); font-size: 1.25rem; line-height: 1.2; font-weight: 700; min-block-size: 1.2em; }
  .pj-slot.is-unused .pj-slot-value { color: var(--ink-3); font-weight: 400; }
  .pj-slot.is-used { background: var(--wash); }
  .pj-slot.is-lit { outline: 0.2rem solid var(--route-hk); outline-offset: -0.1rem; }
  .pj-bytes { display: flex; flex-wrap: wrap; gap: 0.3rem 0.7rem; align-items: center; justify-content: center; font-size: 0.9375rem; color: var(--ink-2); }
  .pj-bytes b { font-family: var(--font-num); font-size: 1.15em; color: var(--ink); }
  .pj-bytes-row { display: inline-flex; gap: 0.12rem; }
  .pj-bytes-row i { inline-size: 0.9rem; block-size: 1.3rem; border: 0.1rem solid var(--ink); background: var(--wash); }
  .pj-bytes-row i.is-from { background: var(--route-hk); margin-inline-start: 0.3rem; }

  /* ---- 9.8 two programs and a comparison ---- */
  .pj-box { fill: var(--paper); stroke: var(--ink-3); stroke-width: 2; }
  .pj-box.is-hk { stroke: var(--route-hk); }
  .canvas .pj-box-title { font-size: 16px; font-weight: 700; }
  .canvas .pj-box-sub { font-size: 13.5px; fill: var(--ink-2); }
  .canvas .pj-box-sub.is-verdict { fill: var(--good); font-weight: 700; font-size: 15px; }
  .pj-wire { stroke: var(--ink-3); stroke-width: 2; fill: none; }
  .pj-wall { stroke: var(--bad); stroke-width: 2.5; stroke-dasharray: 7 6; }
  .pj-plate { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
  .canvas .pj-plate-text { font-family: var(--font-num); font-size: 20px; font-weight: 700; }
  .pj-equal { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
  .is-same .pj-equal { fill: var(--good); stroke: var(--good); }
  .is-off .pj-equal { fill: var(--bad); stroke: var(--bad); }
  .canvas .pj-equal-text { font-family: var(--font-num); font-size: 22px; font-weight: 700; fill: var(--sheet); }

  /* ---- 9.9 wrong answers for the checkers ---- */
  .canvas .pj-node-no { font-family: var(--font-num); font-size: 14px; font-weight: 700; }
  .canvas .mark-depot .pj-node-no { fill: var(--sheet); }
  .pj-arc { fill: none; stroke: var(--route-nn); stroke-width: 2.5; stroke-linecap: round; }
  .pj-answers { display: grid; gap: 0.35rem; }
  .pj-answer {
    display: grid; grid-template-columns: max-content auto minmax(0, 1fr); gap: 0.1rem 0.6rem; align-items: center;
    padding: 0.3rem 0.6rem; border-radius: 0.4rem; background: var(--paper); border-inline-start: 0.3rem solid var(--rule);
  }
  .pj-answer.is-ok { border-inline-start-color: var(--good); }
  .pj-answer.is-bad { border-inline-start-color: var(--bad); }
  .pj-answer-route { font-family: var(--font-num); font-size: 1.0625rem; white-space: nowrap; }
  .pj-answer-route .is-flag { background: var(--signal); color: var(--on-signal); font-weight: 700; padding-inline: 0.2em; border-radius: 0.2rem; }
  .pj-stamp { display: inline-block; font-weight: 700; font-size: 0.875rem; padding: 0 0.5rem; border: 0.12rem solid currentColor; border-radius: 0.3rem; rotate: -4deg; white-space: nowrap; }
  .pj-answer.is-ok .pj-stamp { color: var(--good); }
  .pj-answer.is-bad .pj-stamp { color: var(--bad); }
  .pj-answer-claim { font-size: 0.875rem; color: var(--ink); }
  .pj-answer-why { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.45; }

  /* ---- 9.10 two tables ---- */
  .pj-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr)); gap: 0.75rem; align-items: start; }
  .pj-pair-side { display: grid; gap: 0.4rem; justify-items: center; }
  table.pj-dist th, table.pj-dist td { inline-size: 2.9rem; block-size: 2rem; font-size: 1.125rem; }
  table.pj-dist th { font-size: 0.9375rem; }
  table.pj-dist td.is-hot { background: var(--signal); color: var(--on-signal); font-weight: 700; }
  table.pj-dist td.is-other { background: var(--wash); outline: 0.15rem solid var(--bad); outline-offset: -0.15rem; font-weight: 700; }
  .pj-pair-results { display: grid; gap: 0.25rem; inline-size: 100%; }
  .pj-pair-line { font-size: 0.875rem; line-height: 1.5; padding: 0.25rem 0.5rem; border-radius: 0.3rem; background: var(--paper); border-inline-start: 0.25rem solid var(--rule); }
  .pj-pair-line .num { font-size: 1.15em; font-weight: 700; }
  .pj-pair-line.is-right { border-inline-start-color: var(--good); }
  .pj-pair-line.is-wrong { border-inline-start-color: var(--bad); }

  /* ---- 9.11 the checkpoint and the fingerprints ---- */
  .pj-gate { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.5fr) auto minmax(0, 1fr); gap: 0.4rem; align-items: stretch; }
  .pj-gate-box { border: 0.1rem solid var(--rule); border-radius: var(--radius); background: var(--paper); padding: 0.5rem 0.6rem; display: grid; gap: 0.15rem; align-content: start; font-size: 0.875rem; color: var(--ink-2); }
  .pj-gate-box h3 { font-size: 1rem; color: var(--ink); }
  .pj-gate-box.is-gate { border-color: var(--ink); }
  .pj-gate-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
  .pj-gate-box li::before { content: "□ "; color: var(--ink-3); }
  .pj-gate-box li.is-ok { color: var(--ink); }
  .pj-gate-box li.is-ok::before { content: "✓ "; color: var(--good); font-weight: 700; }
  .pj-gate-arrow { align-self: center; color: var(--ink-3); font-size: 1.25rem; }
  .pj-gate-count { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.6rem; line-height: 1.2; color: var(--ink); }
  @media (max-width: 40rem) { .pj-gate { grid-template-columns: minmax(0, 1fr); } .pj-gate-arrow { display: none; } }
  .pj-prints { display: grid; gap: 0.3rem; }
  .pj-prints-title { color: var(--ink-2); font-size: 0.875rem; }
  .pj-prints-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .pj-print { display: inline-flex; align-items: baseline; gap: 0.4rem; padding: 0.15rem 0.55rem; border: 0.1rem solid var(--rule); border-radius: 1rem; background: var(--paper); font-size: 0.875rem; }
  .pj-print code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
  .pj-print b { color: var(--ink-3); }
  .pj-print.is-same { border-color: var(--good); }
  .pj-print.is-same b { color: var(--good); }
  .pj-print.is-changed { border-color: var(--bad); }
  .pj-print.is-changed b { color: var(--bad); }

  /* ---- 9.12 the squeeze and the waffle ---- */
  .pj-zone { fill: var(--signal); opacity: 0.45; }
  .pj-push { stroke: var(--ink-2); stroke-width: 2; }
  .pj-mark-line { stroke-width: 5; stroke-linecap: round; }
  .pj-mark.is-bound .pj-mark-line { stroke: var(--ink); }
  .pj-mark.is-route .pj-mark-line { stroke: var(--route-hk); }
  .canvas.is-closed .pj-mark .pj-mark-line { stroke: var(--good); }
  .pj-waffle { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: center; }
  .pj-waffle-text { display: grid; gap: 0.1rem; max-inline-size: 17rem; }
  .pj-waffle-number { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 1.9rem; line-height: 1.2; }
  .pj-waffle-caption { color: var(--ink-2); font-size: 0.9375rem; }
  .pj-waffle-grid { display: grid; grid-template-columns: repeat(var(--cols, 10), minmax(0, 0.95rem)); gap: 0.2rem; max-inline-size: 100%; }
  .pj-waffle-grid i { aspect-ratio: 1; border-radius: 0.15rem; background: var(--paper); border: 0.07rem solid var(--rule); }
  .pj-waffle-grid i.is-on { background: var(--good); border-color: var(--good); }
  .pj-waffle-grid i.is-rest { background: var(--ink-3); border-color: var(--ink-3); }
  .pj-waffle-grid i.is-far { background: var(--signal); border-color: var(--ink); }

  /* ---- 10.1 the grid of cells ---- */
  .pj-cell { fill: none; stroke: var(--ink-3); stroke-width: 1.2; }
  .pj-cell-fill.is-exact { fill: var(--route-hk); }
  .pj-cell-fill.is-large { fill: var(--route-2opt); }
  .canvas .pj-cell-size { font-family: var(--font-num); font-size: 13px; fill: var(--ink-2); }

  /* ---- 10.2 three small maps ---- */
  .pj-route { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }

  /* ---- 10.3 what is timed ---- */
  .pj-time { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0.3rem; }
  .pj-time-step { text-align: center; font-size: 0.875rem; line-height: 1.4; padding: 0.5rem 0.2rem; border-radius: 0.3rem; background: var(--paper); border: 0.07rem solid var(--rule); }
  .pj-time.is-clocked .pj-time-step.is-timed { background: var(--signal); color: var(--on-signal); border-color: var(--ink); font-weight: 700; }
  .pj-time-clock { grid-row: 2; text-align: center; font-size: 0.8125rem; font-weight: 700; border-block-start: 0.2rem solid var(--ink); padding-block-start: 0.15rem; white-space: nowrap; }
  .pj-tiers { display: grid; gap: 0.3rem; }
  .pj-tier { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 9.5rem; gap: 0.6rem; align-items: center; font-size: 0.875rem; }
  .pj-tier-when { color: var(--ink-2); }
  .pj-tier-bar { display: flex; gap: 0.25rem; block-size: 1.1rem; }
  .pj-tier-bar i { flex: 1; border-radius: 0.2rem; background: var(--ink-3); }
  .pj-tier-bar i.is-batch { background: repeating-linear-gradient(90deg, var(--ink-3) 0 0.12rem, var(--paper) 0.12rem 0.24rem); border: 0.07rem solid var(--ink-3); }
  .pj-tier-how { font-weight: 700; }
  .pj-strip-dot { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
  .pj-strip-dot.is-min { fill: var(--signal); }
  .pj-strip-dot.is-slow { fill: var(--bad); stroke: var(--bad); }
  .pj-strip-dot.is-twice { fill: var(--route-hk); stroke: var(--route-hk); }
  .pj-note-stem { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 2 3; }
  .pj-rank { fill: var(--ink-3); }
  .pj-rank.is-mid { fill: var(--signal); stroke: var(--ink); stroke-width: 1.5; }

  /* ---- 10.4 a busy machine ---- */
  .pj-load { display: grid; gap: 0.5rem; }
  .pj-load-row { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 0.6rem; align-items: center; font-size: 0.875rem; color: var(--ink-2); }
  .pj-load-cells { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .pj-load-cells i { inline-size: 1.15rem; block-size: 1.15rem; }
  .pj-load-cells i.is-core { border: 0.12rem solid var(--ink); border-radius: 0.2rem; background: var(--sheet); }
  .pj-load-cells i.is-task { border-radius: 50%; background: var(--route-nn); }
  .pj-stretch { display: grid; gap: 0.35rem; }
  .pj-stretch-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.6rem; align-items: center; font-size: 0.875rem; }
  .pj-stretch-track { display: flex; block-size: 1.3rem; background: var(--paper); border-radius: 0.3rem; overflow: clip; }
  .pj-stretch-track i { display: block; block-size: 100%; overflow: clip; font-style: normal; font-size: 0.75rem; text-align: center; line-height: 1.3rem; }
  .pj-stretch-track i.is-work { background: var(--route-hk); }
  .pj-stretch-track i.is-wait { background: var(--rule); color: var(--ink-2); }

  /* ---- 10.6 memory ---- */
  .pj-mem { display: grid; grid-template-columns: 2fr 2fr 4fr; gap: 0.3rem; }
  .pj-mem-block { grid-row: 2; text-align: center; font-size: 0.8125rem; line-height: 1.45; padding: 0.6rem 0.3rem; border: 0.1rem solid var(--rule); border-radius: 0.3rem; background: var(--paper); color: var(--ink-2); }
  .pj-mem-block.is-new { border-color: var(--route-hk); color: var(--ink); font-weight: 700; }
  .pj-mem.has-traced .pj-mem-block.is-new { background: var(--wash); }
  .pj-mem-brace { font-size: 0.8125rem; font-weight: 700; text-align: center; }
  .pj-mem-brace.is-whole { grid-column: 1 / -1; grid-row: 1; border-block-end: 0.2rem solid var(--ink); padding-block-end: 0.15rem; }
  .pj-mem-brace.is-traced { grid-column: 3; grid-row: 3; border-block-start: 0.2rem solid var(--route-hk); padding-block-start: 0.15rem; }

  /* ---- 10.9 resampling ---- */
  .pj-mean { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 4; }
  .pj-zoom { stroke: var(--signal); stroke-width: 7; stroke-linecap: round; }
  .pj-boot-bar { fill: var(--route-nn); }
  .pj-boot-bar.is-out { fill: var(--ink-3); opacity: 0.45; }
  .pj-boot-tick { fill: var(--route-nn); stroke: var(--ink); stroke-width: 1.5; }
  .pj-whisker { fill: none; stroke-width: 3; stroke-linecap: round; }
}
