/* Neural network sandbox (/neural-network-sandbox): the plane beside the network diagram and its buttons (stacked on
   narrow screens), the ring swatch of the test points, and the grid of input checkboxes. Tiles, panels, the chart and
   the buttons come from the app kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.nn-landing-app .nn-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: var(--ak-space-3, 1rem);
    align-items: start;
}

@media (max-width: 860px) {
    .nn-landing-app .nn-main { grid-template-columns: minmax(0, 1fr); }
}

.nn-landing-app .nn-plot-wrap,
.nn-landing-app .nn-side {
    display: flex;
    flex-direction: column;
    gap: var(--ak-space-2, 0.5rem);
    min-width: 0;
}

.nn-landing-app .nn-plot {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    cursor: crosshair;
    touch-action: manipulation;
}

.nn-landing-app .nn-legend { margin: 0; justify-content: center; }

.nn-landing-app .ak-swatch.nn-ring {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--ak-swatch);
}

.nn-landing-app .nn-net-wrap { min-width: 0; }

.nn-landing-app .nn-net {
    display: block;
    width: 100%;
}

.nn-landing-app .nn-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ak-space-2, 0.5rem);
}

/* The seven inputs as a compact grid of checkboxes. */
.nn-landing-app .nn-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: 0.3rem 0.6rem;
}
