
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; line-height: 1.5; background: #f4f4f4; color: #333; }
.container { max-width: 900px; margin: 2rem auto; background: #fff; padding: 1.5rem; border-radius: 8px; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
header h1 { font-size: 1.75rem; }
.controls { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
button { padding: 0.5rem 1rem; border: none; background: #0078d4; color: #fff; border-radius: 4px; cursor: pointer; }
button:hover { background: #005a9e; }
label { display: flex; align-items: center; gap: 0.25rem; font-size: 0.9rem; }
#testArea .question { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid #ddd; border-radius: 6px; background: #fafafa; }
#testArea h3 { margin-bottom: 0.5rem; }
.choice { margin: 0.25rem 0; display: flex; align-items: center; }
.choice input { margin-right: 0.5rem; }
.feedback { margin-top: 0.5rem; font-weight: bold; }
.hidden { display: none; }
.correct { color: green; }
.incorrect { color: red; }
.explanation { margin-top: 0.5rem; font-style: italic; color: #555; }
footer { margin-top: 2rem; }
#domainBreakdown, #recommendations { margin-top: 1rem; }
@media print {
  .controls, #regenerate, #instantFeedback, #reviewMode { display: none; }
  body { background: #fff; }
}
