/* jellyqda drift & play · css/08-code-atlas.css
   Code-Atlas: Dateibaum, Funktionslisten, Aufruf-Grafik.
   Die CSS-Dateien werden in Nummern-Reihenfolge geladen: spätere Regeln gewinnen. */

.explorer { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; align-items: start; }
.ftree { max-height: calc(100vh - 210px); overflow: auto; position: sticky; top: 118px; padding: 10px; }
.ftree .d, .ftree .f { display: flex; align-items: center; gap: 6px; padding: 3px 6px; border-radius: 6px; cursor: pointer; font-size: 14px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.ftree .d:hover, .ftree .f:hover { background: var(--surface2); }
.ftree .f.on { background: var(--accent-soft); }
.ftree .f .sz { margin-left: auto; color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; padding-left: 8px; }
.ftree .f .ok { color: var(--good); font-weight: 700; }
.ftree .kids { padding-left: 14px; border-left: 1px solid var(--line); margin-left: 9px; }
.ftree .ico { width: 16px; height: 16px; flex: none; color: var(--muted); }
@media (max-width: 860px) { .explorer { grid-template-columns: minmax(0, 1fr); } .ftree { position: static; max-height: 46vh; } }
.fnlist { display: grid; gap: 4px; }
.fnrow { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); align-items: baseline; }
.fnrow:hover { background: var(--surface2); }
.fnrow code { color: var(--tk-fn); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.fnrow span { font-size: 14px; color: var(--ink2); }
@media (max-width: 560px) { .fnrow { grid-template-columns: 1fr; gap: 0; } }
.ego text { font-family: var(--f-mono); font-size: 12px; fill: var(--ink); }
.ego .n rect { fill: var(--surface2); stroke: var(--line2); }
.ego .n.c rect { fill: var(--accent); stroke: var(--accent); }
.ego .n.c text { fill: var(--accent-ink); font-weight: 600; }
.ego .n { cursor: pointer; }
.ego .n:hover rect { stroke: var(--accent); }
.ego path { fill: none; stroke: var(--line2); stroke-width: 1.3; }
.ego .h { font-family: var(--f-body); font-size: 12px; fill: var(--muted); }
