/* ml_basics calculator - the lower chart's Network view (blueprint 3-2-4-4, user 2026-11-17),
   topics/ml_basics/network_view.ts. Tokens only; loads after dev_basic/style.css. */

/* The lower view select swaps the loss chart and the diagram in one body slot:
   .panel-body sets a display of its own, which would beat the hidden attribute. */
.panel-chart > .panel-body[hidden] { display: none; }

/* The three grid panels' headers: the same height, so the grids start level side by side - at
   1280 px the Input header (sample select, import) wraps to two lines, the others need one. */
@media (min-width: 901px) {
  .app-main > .panel-grid > h2 { min-height: 56px; box-sizing: border-box; }
}

.net-view {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--active-bg);
}

.net-svg { width: 100%; height: 100%; }

.net-node { fill: var(--active-bg); stroke: var(--cell-fg); stroke-width: 1.2; }
.net-label { font-size: 10px; fill: var(--cell-fg); }
.net-bias { font-size: 9px; fill: var(--header-fg); font-variant-numeric: tabular-nums; }
.net-empty { color: var(--header-fg); font-size: 13px; }
