.dependency-main { max-width:1080px; }
.dependency-back { display:inline-block; font-size:14px; }
.dependency-map { padding-bottom:42px; }
.dependency-toolbar { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:16px; margin-bottom:16px; }
.dependency-toolbar h2 { margin:0; }
.dependency-toolbar label { display:grid; gap:6px; font-weight:600; width:min(100%,340px); }
.dependency-toolbar select { min-height:44px; width:100%; padding:5px 10px; font:inherit; color:var(--public-ink); background:white; border:1px solid var(--public-line); border-radius:5px; }
#tc-mef-edges { display:grid; gap:10px; margin:18px 0; }
.dependency-map .edge { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); align-items:center; gap:12px; }
.dependency-map .node { display:block; padding:12px 15px; border-radius:5px; background:var(--public-tint); overflow-wrap:anywhere; }
.dependency-map .relation { display:grid; justify-items:center; gap:5px; text-align:center; font-size:13px; overflow-wrap:anywhere; }
.dependency-map .shaft { position:relative; width:100%; height:0; border-top:2px solid var(--edge-color); }
.dependency-map .shaft::after { content:""; position:absolute; right:0; top:-5px; width:0; height:0; border-block:4px solid transparent; border-left:7px solid var(--edge-color); }
.dependency-map [data-kind="data"] { --edge-color:#3b6553; }
.dependency-map [data-kind="data"] .shaft { border-top-style:dashed; }
.dependency-map [data-kind="filed"] { --edge-color:var(--public-accent); }
.dependency-map [data-kind="ack"] { --edge-color:#334a6e; }
.dependency-map [data-kind="conditional"] { --edge-color:#6d5082; }
.dependency-map [data-kind="conditional"] .shaft { border-top-style:dotted; }
#tc-mef-sources { display:flex; flex-wrap:wrap; gap:5px 16px; font-size:13px; }
.dependency-inventory { border-block:1px solid var(--public-line); margin-top:24px; }
.dependency-inventory summary { cursor:pointer; padding:10px 0; font-weight:600; }
.dependency-inventory dl { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:10px 20px; }
.dependency-inventory dt { font-weight:600; }
.dependency-inventory dd { margin:0; }
.dependency-examples { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.dependency-examples div { min-width:0; }
.dependency-examples pre { max-width:100%; overflow:auto; padding:14px; background:var(--public-tint); }
@media(max-width:570px) {
  .dependency-map .edge,.dependency-inventory dl,.dependency-examples { grid-template-columns:1fr; }
  .dependency-map .edge { border-bottom:1px solid var(--public-line); padding-block:0 12px; gap:6px; }
  .dependency-map .relation { grid-template-columns:auto minmax(0,1fr); justify-items:start; align-items:center; text-align:left; padding-inline-start:12px; }
  .dependency-map .shaft { width:10px; transform:rotate(90deg); }
}
