.tt-kb-shell {
  width: min(calc(100% - 48px), var(--tt-width));
  margin-inline: auto;
  padding-block: 28px 64px;
}

.tt-kb .tt-kb-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  font-size: 12px;
  line-height: 1.65;
}

.tt-kb-crumbs li {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--tt-muted);
}

.tt-kb-crumbs li + li::before {
  content: "/";
  color: var(--tt-soft);
  margin-right: 12px;
}

.tt-kb-crumbs a, .tt-kb-back, .tt-kb-toc a, .tt-kb-help a {
  color: var(--tt-cyan);
}

.tt-kb-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 44px;
}

.tt-kb-sidebar, .tt-kb-reader, .tt-kb-original {
  min-width: 0;
}

.tt-kb-back {
  display: block;
  font-size: 13px;
  padding-block: 12px;
  line-height: 1.6;
}

.tt-kb-toc {
  margin-top: 16px;
  border-top: 1px solid var(--tt-line);
  font-size: 13px;
}

.tt-kb-toc summary {
  padding-block: 14px;
  cursor: pointer;
  min-height: 44px;
  color: var(--tt-text);
}

.tt-kb .tt-kb-toc ol {
  padding-left: 18px;
}

.tt-kb .tt-kb-toc a {
  display: block;
  padding-block: 7px;
  font-size: 12px;
  line-height: 1.6;
}

.tt-kb-original > .container {
  max-width: none !important;
  width: 100%;
  padding: 0;
}

.tt-kb-original .content-card {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none !important;
}

.tt-kb h1 {
  color: var(--tt-text);
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -.7px;
  margin: 0 0 24px;
}

.tt-kb-original h2 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 36px 0 18px;
  padding-bottom: 12px;
  color: var(--tt-text);
  border-color: var(--tt-line);
}

.tt-kb-original h3, .tt-kb-original h4, .tt-kb-original h5 {
  font-size: 1.13rem;
  line-height: 1.5;
  margin-block: 28px 16px;
}

.tt-kb-original p, .tt-kb-original li {
  line-height: 1.85;
}

.tt-kb-original pre {
  overflow-x: auto;
  max-width: 100%;
  padding: 18px;
  background: var(--tt-panel);
  border: 1px solid var(--tt-line);
  border-radius: 8px;
}

.tt-kb-original table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
}

.tt-kb-original img {
  max-width: 100%;
  height: auto;
}

.tt-kb-original :is(h2, h3, h4, h5)[id] {
  scroll-margin-top: 24px;
}

.tt-kb-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tt-kb-entry a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.tt-kb-intro {
  max-width: 780px;
  margin-bottom: 44px;
}

.tt-kb-intro > p, .tt-kb-help {
  color: var(--tt-muted);
  line-height: 1.85;
  font-size: 16px;
}

.tt-kb-intro .tt-kb-eyebrow {
  color: var(--tt-cyan);
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.tt-kb-section {
  margin-block: 36px;
}

.tt-kb .tt-kb-section > h2, .tt-kb .tt-kb-related > h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--tt-text);
}

.tt-kb .tt-kb-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tt-kb-cards > li {
  min-width: 0;
}

.tt-kb-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--tt-line);
  border-radius: 12px;
  background: var(--tt-panel);
  text-decoration: none;
}

.tt-kb-card:hover {
  background: var(--tt-panel-raised);
  border-color: #4c718f;
}

.tt-kb-card__title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--tt-text);
}

.tt-kb-card__description {
  color: var(--tt-muted);
  font-size: 13px;
  line-height: 1.8;
}

.tt-kb-card__action {
  margin-top: auto;
  padding-top: 6px;
  color: var(--tt-cyan);
  font-size: 12px;
}

.tt-kb-related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--tt-line);
}

.tt-kb .tt-kb-related .tt-kb-cards {
  grid-template-columns: 1fr;
}

@media (max-width: 1023px) {
  .tt-kb-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tt-kb-toc {
    margin-top: 4px;
  }

  .tt-kb .tt-kb-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .tt-kb-shell {
    width: calc(100% - 32px);
    padding-top: 22px;
  }

  .tt-kb .tt-kb-cards {
    grid-template-columns: 1fr;
  }

  .tt-kb .tt-kb-crumbs ol {
    margin-bottom: 24px;
  }

  .tt-kb-card {
    padding: 20px;
  }
}
