/* Dining philosophers (/dining-philosophers): the round table beside its explanation and buttons (stacked on narrow
   screens), and the timeline with its legend. Tiles, panels, buttons and the legend come from the app kit
   (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.dp-landing-app .dp-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: var(--ak-space-3, 1rem);
    align-items: center;
}

@media (max-width: 860px) { .dp-landing-app .dp-main { grid-template-columns: minmax(0, 1fr); } }

.dp-landing-app .dp-table { display: block; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1; cursor: pointer; touch-action: manipulation; }
.dp-landing-app .dp-side { display: flex; flex-direction: column; gap: var(--ak-space-3, 1rem); min-width: 0; }
.dp-landing-app .dp-explain { margin: 0; line-height: 1.5; min-height: 7.5em; }
.dp-landing-app .dp-explain.is-bad { border-color: var(--ak-danger); }
.dp-landing-app .dp-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }

.dp-landing-app .dp-timeline-panel { display: flex; flex-direction: column; gap: var(--ak-space-2, 0.5rem); }
.dp-landing-app .dp-timeline { display: block; width: 100%; }
.dp-landing-app .dp-swatch-think { --ak-swatch: var(--ak-border); }
.dp-landing-app .dp-swatch-hungry { opacity: 0.45; }
