/* Knowledge navigation keeps the surrounding page steady while results change. */
[data-knowledge-page] {
  overflow-anchor: none;
}
[data-knowledge-page] .knowledge-hero {
  min-height: 350px;
  align-items: start;
}
[data-knowledge-page] .knowledge-hero h1 {
  min-height: 2.25em;
}
[data-knowledge-page] .knowledge-hero .lead {
  min-height: 4.5em;
  font-size: var(--text-lg);
}
[data-knowledge-page] .knowledge-hero > img {
  object-fit: cover;
}
[data-knowledge-page] .knowledge-tabs {
  flex-wrap: wrap;
}
[data-knowledge-page] .knowledge-tabs a {
  flex: 1 1 140px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
}
.knowledge-tabs small {
  margin-left: 5px;
  opacity: .7;
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}
.knowledge-mobile-filters {
  display: none;
}
.knowledge-subtopics {
  display: grid;
  gap: 3px;
  margin: 4px 0 12px 10px;
  padding-left: 12px;
  border-left: 2px solid #dcebf6;
}
.knowledge-subtopics a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  color: #536b85;
  font-size: var(--text-xs);
  line-height: 1.45;
  border-radius: 9px;
  overflow-wrap: anywhere;
}
.knowledge-subtopics a[aria-current] {
  background: #e7f3fc;
  color: #185a88;
  font-weight: 600;
}
.knowledge-subtopics a:hover {
  background: #f0f7fc;
}
.knowledge-subtopics small,
.topics-panel small:last-child {
  flex: none;
  font-variant-numeric: tabular-nums;
}
.knowledge-result-context {
  min-height: 24px;
  margin: 4px 0 12px;
  color: #61758e;
  font-size: var(--text-xs);
  line-height: 1.6;
}
.knowledge-result-context a {
  display: inline-block;
  padding: 5px 0 5px 8px;
  color: #276d9e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.knowledge-status {
  min-height: 24px;
  margin: -12px 0 12px;
  font-size: var(--text-xs);
  color: #617b96;
}
.knowledge-status a {
  text-decoration: underline;
}
[data-knowledge-results] {
  min-height: 750px;
  min-width: 0;
}
[data-knowledge-results] .section-heading {
  min-height: 48px;
}
[data-knowledge-results] .question summary {
  min-height: 76px;
  overflow-wrap: anywhere;
}
.knowledge-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: var(--text-xs);
  color: #617b96;
}
.knowledge-sort select,
.knowledge-sort-submit {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6fafe;
  padding: 6px 10px;
  color: var(--ink);
  max-width: 100%;
  font: inherit;
}
[data-enhanced] .knowledge-sort-submit {
  display: none;
}
.knowledge-pagination {
  min-height: 48px;
}
[data-knowledge-page][aria-busy="true"] .questions-list {
  opacity: 0.6;
}
.article-figure {
  margin: 0 0 25px;
}
.article-figure .article-cover {
  margin-bottom: 0;
  object-fit: cover;
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: #61758e;
}
.article-section > div {
  min-width: 0;
  flex: 1;
}
.article-section p + p {
  margin-top: 15px;
}
.article-section ul {
  padding-left: 1.4em;
  margin: 15px 0;
  color: #607289;
  font-size: var(--text-base);
  line-height: 1.75;
}
.article-section li + li {
  margin-top: 8px;
}
.article-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.article-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.article-table-wrap th,
.article-table-wrap td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  min-width: 130px;
}
.article-table-wrap th {
  background: #edf6fc;
  font-weight: 600;
}
.article-table-wrap tr:last-child td {
  border-bottom: 0;
}
.article-faq {
  margin: 36px 0;
}
.article-faq h2 {
  margin-bottom: 18px;
}
.article-services {
  margin: 32px 0;
  padding: 24px;
  border-radius: 18px;
  background: #eaf5fe;
}
.article-services h2 {
  margin-bottom: 10px;
}
.article-services > p {
  line-height: 1.6;
  margin-bottom: 17px;
}
.article-services > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-services a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  min-height: 44px;
  border: 1px solid #cddfea;
  border-radius: 12px;
  background: #ffffffc9;
  font-size: var(--text-sm);
}
.article-services a .icon {
  width: 18px;
  flex: none;
}
.article-reader .breadcrumbs {
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  [data-knowledge-page] .knowledge-hero {
    min-height: 0;
  }
  [data-knowledge-page] .knowledge-hero h1 {
    min-height: 2.3em;
    font-size: clamp(27px, 7.2vw, 36px);
  }
  [data-knowledge-page] .knowledge-hero .lead {
    min-height: 6em;
    font-size: var(--text-base);
  }
  [data-knowledge-page] .knowledge-hero > img {
    height: 160px;
  }
  [data-knowledge-page] .knowledge-tabs {
    display: none;
  }
  [data-knowledge-page] .knowledge-tabs a {
    display: grid;
    place-items: center;
    min-height: 44px;
  }
  [data-knowledge-page] .topics-panel {
    display: none;
  }
  .knowledge-mobile-filters {
    display: grid;
    gap: 12px;
    margin: 0 0 16px;
  }
  .knowledge-mobile-filters form {
    min-width: 0;
  }
  .knowledge-mobile-filters label {
    display: block;
    margin-bottom: 6px;
    color: #61758e;
    font-size: 13px;
    line-height: 1.4;
  }
  .knowledge-mobile-filters form > div {
    display: flex;
    gap: 8px;
  }
  .knowledge-mobile-filters select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #d8e5ef;
    border-radius: 12px;
    color: var(--ink);
    background: #f4f9fd;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-overflow: ellipsis;
  }
  .knowledge-mobile-filters select:disabled {
    color: #61758e;
    opacity: 1;
    background: #f5f7f9;
  }
  .knowledge-filter-submit {
    flex: none;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #d8e5ef;
    border-radius: 12px;
    background: #e7f3fc;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
  }
  [data-enhanced] .knowledge-filter-submit {
    display: none;
  }
  [data-knowledge-results] {
    min-height: 850px;
  }
  [data-knowledge-results] .question summary {
    min-height: 84px;
    font-size: 15px;
  }
  .knowledge-status {
    margin-top: 0;
  }
  .knowledge-sort {
    gap: 7px;
  }
  .knowledge-pagination {
    gap: 10px;
  }
  .knowledge-pagination .button {
    padding-inline: 14px;
  }
  .article-section {
    display: block;
  }
  .article-section .step-number {
    display: inline-grid;
    margin-bottom: 12px;
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
  .article-section p,
  .article-section ul {
    font-size: 16px;
    line-height: 1.75;
  }
  .article-services {
    padding: 20px 16px;
  }
  .article-services > div {
    display: grid;
  }
  .article-services a {
    justify-content: space-between;
  }
  .article-reader .article-cover {
    aspect-ratio: 1.85;
  }
  .breadcrumbs {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-knowledge-page] * {
    scroll-behavior: auto;
  }
}

.article-services a.button { background:#101720; border-color:#101720; color:#fff; justify-content:center; padding:13px 22px; }
.article-services a.button:hover { background:#243443; color:#fff; }
.article-reader--compact .article-toc {display:none}
.article-reader--compact .article-section{display:block;margin-block:22px;padding:0}
.article-reader--compact .step-number{display:none}
.article-reader--compact .article-section h2{font-size:22px;line-height:1.25;margin-bottom:10px}
.article-reader--compact .article-section p,.article-reader--compact .article-section li{font-size:16px;line-height:1.55}
.article-reader--compact .article-figure{margin-block:20px}
.article-reader--compact .article-cover{max-height:300px;object-fit:cover}
.article-reader--compact .article-services{padding:18px 0 0;background:transparent;border-top:1px solid #dce7ee;border-radius:0;margin:24px 0}
.article-reader--compact .article-services>p{font-size:12px;margin-bottom:12px}
@media(max-width:760px){.article-reader--compact .detail-heading h1{font-size:28px;line-height:1.15}.article-reader--compact .article-cover{max-height:190px}.article-reader--compact .article-section{margin-block:20px}.article-reader--compact .article-section h2{font-size:20px}.article-reader--compact .article-services a.button{width:100%}}
