/* Game of Life & cellular automata (P0077) */
.gl-tool .controls button[aria-pressed="true"] { background: #3B6970; color: #FFFFFF; }
.gl-row { margin: 0 0 8px; }
.gl-row label { font-weight: bold; margin-right: 6px; }
.gl-in { min-height: 46px; width: 7em; padding: 0 10px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; margin: 0 12px 8px 0; box-sizing: border-box; }
.gl-sel { width: auto; max-width: 100%; }
.gl-inline { display: inline; }
.gl-btn { min-height: 46px; padding: 0 16px; border: 2px solid #3B6970; border-radius: 10px; background: #3B6970; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; margin: 0 0 8px; }
.gl-check { display: inline-block; min-height: 46px; line-height: 46px; }
.gl-check input { width: 24px; height: 24px; vertical-align: middle; }
.gl-canvas { display: block; width: 100%; max-width: 645px; height: auto; margin: 6px auto 8px; border: 1px solid #C9C2B4; border-radius: 6px; touch-action: none; image-rendering: pixelated; }
.gl-stats { font-variant-numeric: tabular-nums; margin: 0 0 8px; }
.gl-rle-box { margin: 8px 0; }
.gl-rle-box summary { min-height: 44px; line-height: 44px; font-weight: bold; cursor: pointer; }
.gl-rle { width: 100%; box-sizing: border-box; font-family: Consolas, "Courier New", monospace; border: 2px solid #8C96A6; border-radius: 10px; padding: 8px; }
.gl-scroll { overflow-x: auto; }
.gl-wtable { border-collapse: collapse; margin: 6px 0; }
.gl-wtable caption { text-align: left; color: #4A5568; padding: 4px 0; }
.gl-wtable th, .gl-wtable td { border: 1px solid #E5E0D5; padding: 4px 8px; text-align: center; font-size: 1.1em; }
.gl-wtable th { text-align: left; font-size: .9em; }
.gl-note { color: #4A5568; }
