/* Explicit competition table layout; separate URL avoids reuse of older table CSS. */
#tasks .rules-table-wrap { display: block; width: 100%; max-width: 100%; overflow-x: auto; margin: 1.25rem 0; }
#tasks .rules-content table { display: table; width: 100%; min-width: 34rem; table-layout: fixed; border-collapse: collapse; border: 1px solid #b0b3b2; font-size: .95rem; }
#tasks .rules-content th, #tasks .rules-content td { display: table-cell; box-sizing: border-box; padding: 1rem 1.5rem; border: 1px solid #b0b3b2; text-align: left; vertical-align: middle; white-space: normal; overflow-wrap: break-word; line-height: 1.55; }
#tasks .rules-content th { background: #e8ebea; font-weight: 700; }
#tasks .rules-content tbody tr:nth-child(even) { background: #fafafa; }
#tasks #task-definition table { min-width: 0; }
#tasks #task-definition th:first-child { width: 55%; }
#tasks #task-definition th:last-child { width: 45%; }
#tasks #task-definition th:last-child, #tasks #task-definition td:last-child { text-align: center; }
#tasks #evaluation-scoring th:first-child { width: 28%; }
#tasks #evaluation-scoring th:nth-child(2), #tasks #evaluation-scoring th:nth-child(3) { width: 36%; }
#tasks #evaluation-scoring table:has(th:last-child:nth-child(2)) { min-width: 0; }
#tasks #evaluation-scoring table:has(th:last-child:nth-child(2)) th:first-child { width: 72%; }
#tasks #evaluation-scoring table:has(th:last-child:nth-child(2)) th:last-child { width: 28%; }
#tasks #evaluation-scoring table:has(th:last-child:nth-child(2)) th:last-child,
#tasks #evaluation-scoring table:has(th:last-child:nth-child(2)) td:last-child { text-align: center; }
@media(max-width:600px) {
 #tasks .rules-content th, #tasks .rules-content td { padding: .85rem 1rem; }
 #tasks .rules-content table { font-size: .9rem; }
}
