.console-documentation.content-layout--fill > .background__content {
  overflow: hidden;
}

.console-documentation__page {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
  overflow: hidden;
}

.console-documentation__page > .console-page-header {
  flex-shrink: 0;
}

.console-documentation__layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 21rem) minmax(0, 1fr);
  gap: 1rem;
  min-height: 0;
}

.console-documentation__detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.console-documentation__panel-body {
  padding: clamp(1rem, 2vw, 1.4rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.console-documentation__topics {
  display: grid;
  gap: 1.25rem;
}

.console-documentation__topic {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid #dfe8e3;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgb(251 214 162 / 0.2), transparent 32%),
    #fff;
  box-shadow: 0 9px 24px rgb(16 35 26 / 0.05);
}

.console-documentation__topic-heading {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.console-documentation__topic-number {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(145deg, #007f8b, #3ebbc8);
  font-family: var(--ds-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgb(0 127 139 / 0.18);
}

.console-documentation__topic h2 {
  margin: 0;
  color: #10231a;
  font-family: var(--ds-font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.console-documentation__topic-heading p {
  margin: 0.4rem 0 0;
  color: #5b6b63;
  font-size: 0.9rem;
  line-height: 1.55;
}

.console-documentation__steps {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.console-documentation__steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgb(7 123 58 / 0.09);
  border-radius: 0.75rem;
  background: #f8fbf9;
}

.console-documentation__steps li > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #056832;
  background: #e4f4e9;
  font-size: 0.76rem;
  font-weight: 800;
}

.console-documentation__steps p {
  margin: 0.28rem 0 0;
  color: #263b31;
  font-size: 0.9rem;
  line-height: 1.52;
}

@media (max-width: 960px) {
  .console-documentation__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(12rem, 34vh) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .console-documentation__topic-heading {
    grid-template-columns: 1fr;
  }
}
