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