/* Bertrand's paradox (/bertrands-paradox): the circle beside its legend, the reason and the buttons (stacked on narrow
   screens), and the method buttons in the table. Tiles, panels, the chart, the table and the buttons come from the app
   kit (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.bp-landing-app .bp-main {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: var(--ak-space-3, 1rem);
    align-items: center;
}

@media (max-width: 760px) {
    .bp-landing-app .bp-main { grid-template-columns: minmax(0, 1fr); }
}

.bp-landing-app .bp-circle {
    display: block;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
}

.bp-landing-app .bp-side {
    display: flex;
    flex-direction: column;
    gap: var(--ak-space-3, 1rem);
    min-width: 0;
}

.bp-landing-app .bp-legend { margin: 0; }

.bp-landing-app .bp-why {
    margin: 0;
    line-height: 1.5;
}

.bp-landing-app .bp-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ak-space-2, 0.5rem);
}

.bp-landing-app .bp-axis {
    margin: 0.25rem 0 0;
    text-align: center;
}

/* The method name in each row picks that method; the chosen row is bold (tr.ak-strong). */
.bp-landing-app .bp-pick {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.bp-landing-app .bp-pick:hover { color: var(--ak-accent); text-decoration: underline; }

.bp-landing-app .bp-pick:focus-visible {
    outline: 2px solid var(--ak-accent);
    outline-offset: 2px;
    border-radius: 2px;
}
