.t3-main { max-width: 54rem; width: 100%; margin: auto; padding: 1rem; box-sizing: border-box; }
.t3-main [hidden] { display: none !important; }
.t3-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.t3-bar h1, .t3-bar p { margin: 0; }
.t3-bar > div:last-child { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.t3-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.t3-topics button.topic { color: #16342e; background: #f3efff; min-width: 0; }
.t3-topics button.topic:nth-child(5n + 2) { background: #e8f1ff; }
.t3-topics button.topic:nth-child(5n + 3) { background: #ffeef0; }
.t3-topics button.topic:nth-child(5n + 4) { background: #e8f6ed; }
.t3-topics button.topic:nth-child(5n + 5) { background: #fff3e0; }
.t3-topics .topic-title { overflow-wrap: anywhere; }
.t3-topics img[hidden] + .topic-title { grid-column: 1 / -1; }
@media (max-width: 830px) {
  .t3-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .t3-topics { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
}
.t3-practice { text-align: start; min-width: 0; }
.t3-practice blockquote { margin: 1rem 0; padding: 1rem; border-inline-start: .3rem solid #257c70; background: #e7f5f1; white-space: pre-line; overflow-wrap: anywhere; }
.t3-choices { display: grid; gap: .5rem; margin: 1rem 0; }
.t3-choices button { text-align: start; overflow-wrap: anywhere; white-space: normal; width: 100%; }
.t3-choices button[data-result="correct"] { background: #d8f3df; color: #154c25; border-color: #287340; }
.t3-choices button[data-result="wrong"] { background: #ffe2e2; color: #791a1a; border-color: #9a2727; }
.t3-feedback { padding: .75rem; background: #fff0cf; border-radius: .5rem; }

.t3-practice { font-size: 1.1rem; }
.t3-choices button { min-height: 3rem; }
.t3-topics button.topic { grid-template: 1fr / minmax(0, 1fr); min-height: 5rem; }
