/* Публичные конспекты тем */

.topic-notes-banner {
  margin: 0 0 1.25rem;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border, #d8dee6);
  border-radius: 8px;
  background: var(--color-surface-muted, #f6f8fb);
}

.topic-notes-banner__label {
  margin: 0 0 .45rem;
  font-weight: 700;
  font-size: .95rem;
}

.topic-notes-banner__list {
  margin: 0;
  padding-left: 1.15rem;
}

.topic-notes-banner__list li {
  margin: .25rem 0;
}

.topic-notes-section {
  margin-bottom: 1.75rem;
}

.topic-note-body {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 42rem;
}

.topic-note-body h2 {
  margin-top: 1.6rem;
  font-size: 1.25rem;
}

.topic-note-body h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.topic-note-body p {
  margin: .7rem 0;
}

.topic-note-body ul,
.topic-note-body ol {
  margin: .6rem 0 .9rem;
  padding-left: 1.3rem;
}

.topic-note-body li {
  margin: .35rem 0;
}

.topic-note-body .tn-example {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 4px solid var(--color-accent, #2b6cb0);
  background: var(--color-surface-muted, #f6f8fb);
  border-radius: 0 8px 8px 0;
}

.topic-note-body .tn-example__label {
  display: block;
  font-weight: 700;
  margin-bottom: .35rem;
}

.topic-note-body .tn-mistake {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: 4px solid #b42318;
  background: #fff5f5;
  border-radius: 0 8px 8px 0;
}

.topic-note-body .tn-memo {
  margin: 1.2rem 0;
  padding: .9rem 1rem;
  border: 1px dashed var(--color-border, #d8dee6);
  border-radius: 8px;
  background: #fffef5;
}

.topic-note-body .tn-frac {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  margin: 0 .15em;
  font-weight: 600;
  line-height: 1.15;
}

.topic-note-body .tn-frac > span {
  padding: 0 .2em;
}

.topic-note-body .tn-frac__bar {
  display: block;
  width: 100%;
  border-top: 2px solid currentColor;
  margin: .05em 0;
  padding: 0 !important;
  height: 0;
  overflow: hidden;
}

.topic-note-body details.tn-check {
  margin: .7rem 0;
  padding: .55rem .75rem;
  border: 1px solid var(--color-border, #d8dee6);
  border-radius: 6px;
}

.topic-note-body details.tn-check summary {
  cursor: pointer;
  font-weight: 600;
}

.topic-note-body details.tn-check[open] summary {
  margin-bottom: .4rem;
}

.topic-note-practice {
  margin-top: 2rem;
  max-width: 42rem;
}

.topic-note-practice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.topic-note-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border, #d8dee6);
  max-width: 42rem;
}
