/* /doc/ : learning path map and hub cards */
.lp-node { cursor: pointer; }
.lp-node rect { transition: stroke .15s, fill .15s; }
.lp-node:hover rect.dg-box, .lp-node:focus-visible rect.dg-box { stroke: var(--green); fill: var(--green-soft); }
.lp-node:focus-visible { outline: none; }
.lp-node:focus-visible rect { stroke-width: 2.5; }
.hub-more { margin: .4rem 0 1.6rem; font-weight: 600; }
.hub-more a { text-decoration: none; }
.hub-more a::after { content: " →"; }
.lp-node text { text-decoration: none; }
.lp-list { display: none; }
@media (max-width: 640px) {
  .diagram.lp-fig { display: none; }
  .lp-list { display: grid; gap: 8px; margin: 1rem 0 1.6rem; padding: 0; list-style: none; counter-reset: lp; }
  .lp-list li { counter-increment: lp; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); }
  .lp-list li::before { content: counter(lp); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--green-ink); font: 700 12px var(--sans); }
  .lp-list a { font-weight: 600; }
  .lp-list code { margin-left: auto; }
}
