.node-side { margin: 0; border: 0; padding: 0; min-width: 0; }
.node-side legend { color: var(--secondary); font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.node-side > input { accent-color: var(--accent); }
.node-side > label { cursor: pointer; padding: 4px 12px 4px 2px; font-size: 14px; font-weight: 600; }
.node-key { display: flex; gap: 8px 17px; flex-wrap: wrap; margin: 12px 0; }
.node-key span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; }
.node-key i { display: inline-grid; place-items: center; width: 15px; height: 13px; border: 1px solid; border-radius: 50%; font: 700 9px/1 sans-serif; }
.node-key .key-primary { color: white; border-color: #754668; background: #66335b; border-radius: 37% 47% 30% 43%; }
.node-key .key-n1 { background: #c3e4df; border-color: #28655f; }
.node-key .key-n2 { background: #ffdfab; border-color: #905e2b; }
.node-key .key-n3 { background: #e0cce9; border-color: #674b76; }
.node-projections { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(0,1fr); gap: 9px; align-items: start; }
.node-projections > div { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper); }
.node-projections h3 { margin: 0; padding: 7px 9px; font-size: 14px; font-weight: 650; }
.node-projections img { display: block; width: 100%; height: auto; }
.node-inset p { font-size: 13px; line-height: 1.45; padding: 6px 9px 0; }
.node-inset .node-small { font-size: 11px; color: var(--secondary); padding: 4px 9px 8px; }
.node-comparison .node-left { display: none; }
#nodes-left:checked ~ .node-comparison .node-right { display: none; }
#nodes-left:checked ~ .node-comparison img.node-left { display: block; }
#nodes-left:checked ~ .node-comparison span.node-left { display: inline; }
.tnm-plate .node-example { margin-top: 10px; padding: 8px 11px; border-left: 3px solid var(--accent); background: var(--paper); font-size: 14px; line-height: 1.55; }
.tnm-plate .node-example strong { display: block; }
.node-index { margin: 9px 0; }
.node-stations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 14px; margin: 0; }
.node-stations > div { display: grid; grid-template-columns: 3.5rem 1fr; gap: 7px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.node-stations dt { font-weight: 700; color: var(--accent); }
.node-stations dd { margin: 0; }
.node-index .plate-note { margin: 7px 0 12px; }
.node-sources { font-size: 12px; line-height: 1.6; }
.node-sources a { color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 600px) {
  .node-projections { grid-template-columns: 1fr; }
  .node-inset { display: grid; grid-template-columns: minmax(0,46%) 1fr; column-gap: 4px; }
  .node-inset h3 { grid-column: 1/-1; }
  .node-inset img { grid-row: span 2; }
  .node-inset p { align-self: end; }
  .node-inset .node-small { align-self: start; }
  .node-stations { grid-template-columns: 1fr; }
}
.lung-extent-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lung-extent-grid > div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.lung-extent-grid img { width: 100%; height: auto; display: block; grid-column: 1 / -1; }
.lung-extent-grid b { padding-left: 8px; color: var(--accent); }
.lung-extent-grid span { padding: 0 8px 8px 0; font-size: 14px; }
@media (max-width: 480px) {
  .lung-extent-grid { gap: 6px; }
  .lung-extent-grid > div { display: flex; flex-direction: column; gap: 3px; }
  .lung-extent-grid span { padding-left: 8px; }
}
