/* Level 5 (be ICP) figures. */
#l5 .l5-fig-cycle { max-width: 30rem; }
#l5 .l5-fig-bowls svg.dg + .fig-legend { margin: 4px 0 10px; }
#l5 .l5-sw-src { color: var(--source); }
#l5 .l5-sw-tgt { color: var(--target); }
/* k-d tree: regions the search skips. A muted tint, so the contrast with the searched region holds in both themes. */
#l5 .dg .l5-skip { fill: color-mix(in srgb, var(--muted) 16%, transparent); }
/* on wide screens the idea diagram sits beside the text, as on the neighbouring levels, so the activity stays near the top */
@media (min-width: 900px) {
  #l5 .idea { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); grid-template-rows: auto 1fr; column-gap: 28px; align-items: start; }
  #l5 .idea > h3, #l5 .idea > .brief { grid-column: 1; }
  #l5 .idea > .fig { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: none; }
}
