html {
  scroll-padding-top: 24px;
}
.kb-skip {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 12px;
  background: var(--cyan);
  color: var(--bg);
  z-index: 10;
}
.kb-skip:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.kb-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}
.kb-topics a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.kb-topics a:first-child {
  background: var(--cyan);
  color: var(--bg);
  font-weight: 800;
}
.kb-start,
.kb-grid,
.kb-fields,
.kb-install {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.kb-panel {
  min-width: 0;
  padding: 24px;
  background: #091b2d;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.kb-panel h2,
.kb-panel h3 {
  margin: 0 0 12px;
  line-height: 1.3;
}
.kb-panel p {
  margin-bottom: 0;
}
.kb-start a {
  transition: border-color 150ms;
}
.kb-start a:hover {
  border-color: var(--cyan);
}
.kb-start span {
  display: block;
  color: var(--cyan);
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 800;
}
.kb-start h2 {
  font-size: 1.25rem;
}
.kb-article {
  scroll-margin-top: 24px;
}
.kb-article h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
}
.kb-article p,
.kb-article li,
dd {
  color: #bdcee0;
}
.kb-article li {
  padding: 6px 0;
}
.kb-article a:not(.button),
.kb-help a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.kb-help {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.kb-help h3 {
  width: 100%;
  margin: 0;
}
.kb-media {
  display: grid;
  align-content: center;
  min-height: 180px;
  gap: 15px;
  margin: 24px 0;
  padding: 24px;
  text-align: center;
  border: 1px dashed #38718d;
  border-radius: 16px;
  background: repeating-linear-gradient(0deg, #12334a33 0 1px, transparent 1px 32px), #071726;
}
.kb-media b {
  color: #acd8ea;
}
.kb-media figcaption {
  font-size: 0.8rem;
  color: var(--muted);
}
.kb-callout,
.kb-formula {
  padding: 20px;
  background: #12283c;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}
.kb-check {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--cyan);
  border-radius: 12px;
}
.kb-check summary {
  cursor: pointer;
  font-weight: 700;
}
.kb-fields dt {
  font-weight: 750;
  margin-top: 14px;
}
.kb-fields dd {
  margin: 4px 0 0;
}
.kb-lessons {
  padding-left: 0;
  list-style: none;
}
.kb-lessons li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.kb-lessons input {
  width: 22px;
  height: 22px;
  accent-color: var(--cyan);
}
.kb-lessons label {
  display: flex;
  padding: 8px;
}
progress {
  width: 100%;
  height: 16px;
  accent-color: var(--cyan);
}
#kb-search {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 1px solid #437391;
  border-radius: 10px;
  background: #040d19;
  color: var(--text);
  padding: 16px;
}
.kb-example-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.kb-example-fields dt {
  font-weight: 800;
  color: var(--cyan);
}
.kb-example-fields dd {
  margin: 6px 0;
}
.kb-article[hidden],
[hidden] {
  display: none !important;
}
.page-main {
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .kb-start,
  .kb-grid,
  .kb-fields,
  .kb-install,
  .kb-example-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .kb-panel {
    padding: 20px;
  }
  .kb-topics a {
    font-size: 0.85rem;
  }
  .kb-help {
    flex-direction: column;
  }
  .kb-media {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
