<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* Styles for pattern recognition and grid pattern questions */

.pattern-sequence {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
  gap: 15px;
}

.pattern-grid-container {
  display: inline-block;
  margin: 10px;
  padding: 15px;
  border: 1px solid #ccc;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.sequence-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  background-color: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

table.pattern-grid {
  border-collapse: collapse;
  font-size: 24px;
  background-color: #fff;
}

table.pattern-grid td {
  width: 40px;
  height: 40px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ccc;
}

.question-mark-grid {
  background-color: #f9f9f9;
  position: relative;
}

/* Override border for question mark cell to make it stand out */
.question-mark-grid td.question-mark {
  font-size: 32px;
  font-weight: bold;
  color: #cc0000;
  background-color: #f9f9f9;
}

/* Special styling for the question mark container */
.question-mark-container {
  display: none;
}

.question-mark-container .question-mark {
  display: none;
}

/* Answer options styling */
.options {
  margin-top: 30px;
}

.option {
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 8px;
}

.option:hover {
  background-color: #f8f8f8;
}

.option input[type="radio"] {
  margin-right: 10px;
}

.pattern-option-label {
  display: flex;
  align-items: center;
}

.pattern-option-label table.pattern-grid {
  font-size: 18px;
  display: inline-block;
  margin-right: 15px;
}

.pattern-option-label table.pattern-grid td {
  width: 30px;
  height: 30px;
}

.option-letter {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: #666;
  color: white;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
  margin-left: 10px;
}

.html-pattern-option {
  display: inline-block;
}

.html-pattern-option table.pattern-grid {
  font-size: 18px;
  margin: 0 10px 0 0;
  border-collapse: collapse;
}

.html-pattern-option table.pattern-grid td {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ccc;
}

/* Ensure pattern grids render properly */
table.pattern-grid {
  border-collapse: collapse;
  margin: 10px auto;
  display: inline-block;
}

table.pattern-grid td {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #333;
  font-weight: bold;
  font-size: 20px;
}

.pattern-option-label table.pattern-grid {
  margin: 0 auto;
}

/* Fix for HTML patterns in options and results */
.option .pattern-option-label table.pattern-grid {
  display: inline-block;
  vertical-align: middle;
}

/* Make sure the HTML renders in results too */
.result .pattern-option-label table.pattern-grid {
  display: inline-block;
  vertical-align: middle;
}

/* Raw HTML formatting specific to pattern/grid questions */
.html-raw br {
  display: none;
}

/* Logic deduction question formatting */
.logic-premises {
  margin: 15px 0;
  padding-left: 20px;
}

.logic-premise {
  margin-bottom: 8px;
  font-weight: normal;
}

.logic-conclusion {
  margin-top: 10px;
  font-weight: bold;
}

/* Grid HTML container styling */
.grid-html {
  display: inline-block;
  vertical-align: middle;
}

.grid-html table.pattern-grid {
  display: inline-table;
  border-collapse: collapse;
  margin: 0;
}

.grid-html table.pattern-grid td {
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #333;
  font-size: 20px;
  font-weight: bold;
}

/* Ensure question mark is properly centered */
.grid-html table.pattern-grid td.question-mark {
  font-weight: bold;
  font-size: 24px;
}

/* Option letter styling */
.option-letter {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-weight: bold;
}
</pre></body></html>