:root {
  color-scheme: light;
  --dl-radius: 8px;
  --dl-radius-sm: 6px;
  --dl-text: #14212b;
  --dl-muted: #586875;
  --dl-line: #d7e2e8;
  --dl-surface: #ffffff;
  --dl-soft: #f2f7f9;
  --dl-primary: #0d7490;
  --dl-primary-rgb: 13, 116, 144;
  --dl-accent: #b45d24;
  --dl-hero: #102736;
  --dl-shadow: 0 22px 52px rgba(20, 33, 43, .12);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dl-text);
  background: var(--dl-surface);
}

main,
.site-header {
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

body.image-zoom-open {
  overflow: hidden;
}

a {
  color: var(--dl-primary);
}

.btn {
  --bs-btn-border-radius: var(--dl-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.4rem;
  max-width: 100%;
}

.btn-primary {
  --bs-btn-bg: var(--dl-primary);
  --bs-btn-border-color: var(--dl-primary);
  --bs-btn-hover-bg: #0a6078;
  --bs-btn-hover-border-color: #0a6078;
}

.btn-outline-primary {
  --bs-btn-color: var(--dl-primary);
  --bs-btn-border-color: var(--dl-primary);
  --bs-btn-hover-bg: var(--dl-primary);
  --bs-btn-hover-border-color: var(--dl-primary);
}

.site-header {
  z-index: 1030;
}

.site-nav {
  --bs-navbar-brand-color: var(--dl-text);
  --bs-navbar-active-color: var(--dl-primary);
  backdrop-filter: saturate(180%) blur(10px);
}

.site-nav .container-xl {
  min-width: 0;
}

.site-nav .navbar-brand {
  min-width: 0;
}

.site-nav .navbar-brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav .navbar-toggler {
  flex: 0 0 auto;
}

.platform-topline {
  padding: .42rem 0;
  background: #102736;
  color: rgba(255, 255, 255, .84);
  font-size: .88rem;
}

.platform-topline-development {
  background: #32cd32;
  color: #102116;
  font-weight: 700;
}

.platform-topline span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.platform-topline a {
  color: inherit;
  text-decoration: none;
}

.header-platform .site-nav {
  min-height: 4.7rem;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--dl-line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: var(--dl-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--dl-primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.platform-hero {
  min-height: 660px;
  padding: 4.8rem 0 4.4rem;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(16, 39, 54, .98) 0%, rgba(17, 66, 82, .95) 52%, rgba(37, 67, 57, .95) 100%),
    var(--dl-hero);
}

.platform-hero-title {
  max-width: 580px;
  margin-bottom: 1.35rem;
  font-size: 2.75rem;
  line-height: 1.08;
  font-weight: 720;
}

.platform-hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
}

.platform-hero-actions {
  margin-top: 1.7rem;
}

.platform-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.8rem;
}

.platform-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  min-width: 0;
  min-height: 2.25rem;
  padding: .38rem .65rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--dl-radius-sm);
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .08);
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.platform-proof-row i {
  color: #7ed7b8;
}

.platform-hero-visual {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--dl-radius);
  background: #ffffff;
  box-shadow: 0 26px 64px rgba(0, 0, 0, .28);
  cursor: zoom-in;
  text-decoration: none;
}

.platform-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: contain;
  object-position: center;
}

.platform-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: inherit;
  pointer-events: none;
}

.platform-zoom-cue {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.25rem;
  padding: .35rem .65rem;
  border-radius: var(--dl-radius-sm);
  color: #ffffff;
  background: rgba(7, 17, 23, .78);
  font-size: .88rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.platform-flow-band {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(16, 39, 54, .98) 0%, rgba(17, 57, 70, .96) 58%, rgba(32, 59, 49, .96) 100%),
    #102736;
}

.platform-flow-band .section-header p:last-child {
  color: rgba(255, 255, 255, .76);
}

.platform-flow {
  display: grid;
  grid-template-columns: .86fr 1.16fr .86fr;
  gap: .85rem;
  align-items: stretch;
}

.flow-column {
  display: grid;
  align-content: start;
  gap: .65rem;
  min-height: 500px;
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, .08);
}

.flow-column h2 {
  margin: .25rem .2rem .35rem;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-core {
  background: rgba(255, 255, 255, .13);
}

.flow-node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  align-items: center;
  min-height: 3.35rem;
  padding: .65rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--dl-radius-sm);
  background: rgba(255, 255, 255, .1);
}

.flow-node i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--dl-radius-sm);
  background: rgba(126, 215, 184, .14);
  color: #8be0bf;
}

.flow-node span {
  min-width: 0;
  color: rgba(255, 255, 255, .9);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.platform-legacy-band {
  padding: 1rem 0;
  border-bottom: 1px solid var(--dl-line);
  background: #ffffff;
}

.platform-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.platform-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .7rem;
  align-items: start;
  min-height: 6.2rem;
  padding: 1rem;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  color: var(--dl-text);
  text-decoration: none;
  background: #ffffff;
}

.platform-action:hover {
  color: var(--dl-text);
  border-color: rgba(var(--dl-primary-rgb), .35);
  box-shadow: 0 12px 28px rgba(var(--dl-primary-rgb), .1);
}

.platform-action i {
  grid-row: span 2;
  color: var(--dl-primary);
  font-size: 1.25rem;
}

.platform-action span {
  color: var(--dl-muted);
  font-size: .92rem;
}

.platform-action strong,
.platform-action span,
.platform-card h3,
.platform-card p,
.platform-pillar h3,
.platform-pillar p,
.content-panel,
.feature-panel,
.benefit-panel,
.workflow-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section-pad {
  padding: 4.5rem 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-header h2,
.page-hero h1 {
  font-weight: 650;
}

.section-header p:last-child {
  color: var(--dl-muted);
  margin-bottom: 0;
}

.platform-card {
  display: block;
  padding: 1.2rem;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  color: var(--dl-text);
  text-decoration: none;
  background: #ffffff;
}

.platform-card:hover {
  color: var(--dl-text);
  border-color: rgba(var(--dl-primary-rgb), .35);
  box-shadow: var(--dl-shadow);
}

.platform-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  border-radius: var(--dl-radius);
  background: rgba(var(--dl-primary-rgb), .1);
  color: var(--dl-primary);
  font-size: 1.25rem;
}

.platform-card h3,
.platform-pillar h3,
.security-item h3,
.workflow-list h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.platform-card p,
.platform-pillar p,
.security-item p,
.workflow-row span {
  color: var(--dl-muted);
}

.platform-audience-card span,
.package-card strong {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--dl-primary);
  font-weight: 700;
}

.platform-product-band,
.platform-modules,
.muted-band {
  background: var(--dl-soft);
}

.platform-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.platform-pillar {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 33, 43, .06);
}

.platform-pillar > div {
  padding: 1.25rem;
}

.platform-pillar i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  border-radius: var(--dl-radius);
  background: rgba(var(--dl-primary-rgb), .1);
  color: var(--dl-primary);
  font-size: 1.25rem;
}

.platform-pillar img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top: 1px solid var(--dl-line);
}

.deployment-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.deployment-card {
  min-height: 14rem;
}

.platform-security {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(16, 39, 54, .98) 0%, rgba(17, 57, 70, .96) 58%, rgba(32, 59, 49, .96) 100%),
    #102736;
}

.platform-security h2 {
  font-size: 2.6rem;
  line-height: 1.08;
}

.platform-security p {
  color: rgba(255, 255, 255, .78);
}

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

.security-item {
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--dl-radius);
  background: rgba(255, 255, 255, .08);
}

.security-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: .85rem;
  border-radius: var(--dl-radius);
  background: rgba(126, 215, 184, .14);
  color: #8be0bf;
}

.security-item p {
  color: rgba(255, 255, 255, .76);
}

.module-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.module-grid span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  min-height: 2.35rem;
  padding: .45rem .72rem;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius-sm);
  background: #ffffff;
  color: var(--dl-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.workflow-list {
  padding: 1.2rem;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: #ffffff;
  box-shadow: var(--dl-shadow);
}

.workflow-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  padding: .85rem 0;
  border-top: 1px solid var(--dl-line);
}

.workflow-row i {
  color: var(--dl-primary);
  margin-top: .1rem;
}

.package-card {
  min-height: 15.5rem;
}

.package-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: .15rem .55rem;
  margin-bottom: 1rem;
  border-radius: var(--dl-radius-sm);
  background: rgba(var(--dl-primary-rgb), .1);
  color: var(--dl-primary);
  font-size: .8rem;
  font-weight: 800;
}

.platform-final {
  border-top: 1px solid var(--dl-line);
  background: #ffffff;
}

.platform-final h2 {
  max-width: 760px;
  font-size: 2.4rem;
  line-height: 1.12;
}

.platform-final p {
  max-width: 760px;
  color: var(--dl-muted);
}

.image-zoom-modal {
  --bs-modal-bg: transparent;
  /* prevent the modal element itself from scrolling; the image must always
     sit within the visible viewport, never above or below it */
  overflow: hidden;
}

.image-zoom-modal .modal-content {
  position: relative;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(4, 10, 14, .94);
}

.image-zoom-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  /* flex: 1 + min-height: 0 is more reliable than height: 100% on a flex child;
     fills all remaining column space without overflowing */
  flex: 1 1 0;
  min-height: 0;
  padding: 2rem;
}

.image-zoom-frame img {
  display: block;
  max-width: min(100%, 1800px);
  max-height: calc(100dvh - 4rem);
  object-fit: contain;
  border-radius: var(--dl-radius);
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4);
  cursor: zoom-out;
}

.image-zoom-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--dl-radius-sm);
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  text-decoration: none;
  z-index: 2;
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(var(--dl-primary-rgb), .08), rgba(var(--dl-primary-rgb), .02)),
    var(--dl-soft);
  border-bottom: 1px solid var(--dl-line);
}

.page-hero h1 {
  font-size: 3.45rem;
  line-height: 1.05;
}

.card,
.content-panel,
.benefit-panel,
.feature-panel,
.step-panel,
.form-panel {
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: #fff;
}

.benefit-panel,
.feature-panel,
.step-panel,
.content-panel,
.form-panel {
  padding: 1.35rem;
}

.benefit-panel h3,
.feature-panel h2,
.step-panel h2 {
  color: var(--dl-text);
}

.benefit-panel p,
.feature-panel p,
.step-panel p,
.content-panel p,
.placeholder-copy p {
  color: var(--dl-muted);
}

.asset-shadow {
  box-shadow: 0 18px 45px rgba(23, 32, 42, .11);
}

.viewer-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: var(--dl-radius);
  border: 1px solid rgba(var(--dl-primary-rgb), .5);
  background: #000;
  color: #f6f8fa;
  min-height: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.viewer-placeholder .dicomviewer-container {
  position: absolute;
  inset: 0;
}

.viewer-placeholder #startup-loading-message {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-size: .9rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(var(--dl-primary-rgb), .1);
  color: var(--dl-primary);
  font-weight: 700;
}

.pricing-card {
  box-shadow: var(--dl-shadow);
}

.pricing-card.featured {
  border-color: rgba(var(--dl-primary-rgb), .55);
  box-shadow: 0 18px 42px rgba(var(--dl-primary-rgb), .15);
}

.price {
  color: var(--dl-primary);
  font-size: 1.8rem;
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: .55rem;
  padding-left: 0;
  list-style: none;
}

.feature-list li,
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.feature-list i,
.contact-list i {
  color: var(--dl-accent);
  margin-top: .1rem;
}

.contact-list {
  display: grid;
  gap: .7rem;
  padding-left: 0;
  list-style: none;
  font-size: 1.05rem;
}

.contact-recaptcha {
  min-height: 78px;
}

.form-control,
.form-check-input {
  border-color: var(--dl-line);
  border-radius: var(--dl-radius-sm);
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--dl-primary);
  box-shadow: 0 0 0 .2rem rgba(var(--dl-primary-rgb), .16);
}

.product-visual {
  max-height: 360px;
  object-fit: contain;
  background: #fff;
}

.product-visual-zoom {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.product-visual-zoom .product-visual {
  display: block;
  width: 100%;
}

.placeholder-image-stack {
  display: grid;
  gap: 1rem;
}

.placeholder-image-stack img {
  width: 100%;
}

.legal-content {
  max-width: 900px;
}

.legal-section {
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--dl-line);
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  color: var(--dl-muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-list {
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
}

.legal-list li {
  margin-bottom: .65rem;
  padding-left: .2rem;
}

.legal-intro {
  padding-bottom: 2rem;
}

.site-footer {
  background: #fff;
}

.footer-links {
  display: grid;
  gap: .35rem;
}

.footer-links a {
  text-decoration: none;
}

.js-ready body {
  opacity: 0;
  transform: translateY(10px);
}

.js-ready body.page-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease;
}

/* Bootstrap adds modal-open to body when a modal opens. We must clear the
   transform here: a non-none transform on body creates a containing block for
   position: fixed descendants, which would re-anchor the modal to body (the
   full document) instead of the viewport, placing the centered image at
   document_height/2 rather than viewport center. transition-property: opacity
   ensures the transform change is instant, not animated. */
.js-ready body.page-in.modal-open {
  transform: none;
  transition-property: opacity;
}

.js-ready body.page-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .16s ease, transform .16s ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .55s ease, transform .55s ease;
}

.legal-content .reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.benefit-panel,
.pricing-card,
.platform-action,
.platform-card,
.platform-pillar,
.feature-panel {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.benefit-panel:hover,
.pricing-card:hover,
.platform-action:hover,
.platform-card:hover,
.platform-pillar:hover,
.feature-panel:hover {
  transform: translateY(-4px);
}

html.reduced-motion body,
html.reduced-motion .reveal-on-scroll,
html.reduced-motion .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 991.98px) {
  #siteMenu {
    --bs-offcanvas-width: min(88vw, 360px);
  }

  .header-platform .site-nav {
    min-height: 4rem;
    /* backdrop-filter creates a fixed-positioning containing block in Safari, clipping the offcanvas to the nav bounds */
    backdrop-filter: none;
  }

  .site-nav .navbar-brand {
    max-width: calc(100% - 3.5rem);
    margin-right: .5rem;
  }

  .site-nav .navbar-brand img {
    width: 48px !important;
    height: 48px !important;
  }

  .site-nav .navbar-brand span {
    font-size: 1rem;
  }

  .btn {
    white-space: normal;
  }

  .site-nav .offcanvas-body .navbar-nav {
    align-items: stretch;
    gap: .15rem;
  }

  .site-nav .dropdown-menu {
    position: static;
    margin: 0 0 .4rem;
    padding: .15rem 0 .35rem .6rem;
    border: 0;
    box-shadow: none;
  }

  .site-nav .dropdown-item {
    white-space: normal;
  }

  .site-nav .nav-item.ms-lg-2 .btn {
    width: 100%;
    justify-content: center;
  }

  .section-pad {
    padding: 3rem 0;
  }

  .platform-flow {
    grid-template-columns: 1fr;
  }

  .platform-hero {
    min-height: auto;
    padding: 4rem 0;
  }

  .platform-hero-title {
    font-size: 2.25rem;
  }

  .flow-column {
    min-height: auto;
  }

  .platform-action-grid,
  .platform-pillar-grid,
  .deployment-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-security h2,
  .platform-final h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .platform-topline {
    padding: .35rem 0;
    font-size: .8rem;
  }

  .platform-topline .container-xl {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .platform-topline span {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .platform-topline span i {
    margin-right: .35rem;
  }

  .header-platform .site-nav {
    min-height: 3.75rem;
  }

  .platform-hero-title,
  .page-hero h1 {
    font-size: 1.95rem;
  }

  .image-zoom-frame {
    padding: .75rem;
  }

  .btn-lg {
    width: 100%;
  }

  .platform-action-grid,
  .platform-pillar-grid,
  .deployment-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Knowledge Base ===== */

.kb-search-form .form-control {
  border-color: var(--dl-line);
}

.kb-category-card {
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: var(--dl-surface);
  overflow: hidden;
}

.kb-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--dl-soft);
  border-bottom: 1px solid var(--dl-line);
}

.kb-article-count {
  font-size: .75rem;
  font-weight: 600;
  color: var(--dl-muted);
  background: var(--dl-line);
  border-radius: 99px;
  padding: .1rem .55rem;
}

.kb-article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kb-article-list li {
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--dl-line);
}

.kb-article-list li:last-child {
  border-bottom: none;
}

.kb-article-list a {
  font-weight: 500;
  color: var(--dl-primary);
  text-decoration: none;
}

.kb-article-list a:hover {
  text-decoration: underline;
}

.kb-article-summary {
  font-size: .8125rem;
  color: var(--dl-muted);
  margin: .2rem 0 0;
  line-height: 1.4;
}

/* Article layout */

.kb-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.kb-sidebar {
  position: sticky;
  top: 5rem;
}

.kb-sidebar-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--dl-muted);
  margin-bottom: .5rem;
}

.kb-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kb-sidebar-nav li {
  border-left: 2px solid var(--dl-line);
  padding: .3rem 0 .3rem .75rem;
  margin-bottom: .1rem;
  font-size: .875rem;
}

.kb-sidebar-nav li.active {
  border-left-color: var(--dl-primary);
  font-weight: 600;
}

.kb-sidebar-nav a {
  color: var(--dl-text);
  text-decoration: none;
}

.kb-sidebar-nav li.active a {
  color: var(--dl-primary);
}

.kb-sidebar-nav a:hover {
  color: var(--dl-primary);
}

.kb-breadcrumb {
  font-size: .85rem;
}

.kb-mobile-back {
  align-items: center;
  gap: .4rem;
  color: var(--dl-primary);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}

.kb-mobile-back:hover {
  color: #0a6078;
}

/* Article body */

.kb-article-body {
  min-width: 0;
}

.kb-article-body h1,
.kb-article-body h2,
.kb-article-body h3,
.kb-article-body h4 {
  color: var(--dl-hero);
  margin-top: 1.75rem;
  margin-bottom: .65rem;
}

.kb-article-body h2 {
  font-size: 1.3rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--dl-line);
}

.kb-article-body p,
.kb-article-body li {
  line-height: 1.75;
  color: var(--dl-text);
}

.kb-article-body code {
  background: var(--dl-soft);
  border: 1px solid var(--dl-line);
  border-radius: 4px;
  padding: .15em .4em;
  font-size: .875em;
  color: var(--dl-accent);
}

.kb-article-body pre {
  max-width: 100%;
  background: var(--dl-soft);
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  padding: 1rem 1.25rem;
  overflow-x: auto;
}

.kb-article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--dl-text);
  font-size: .875rem;
}

.kb-article-body ul,
.kb-article-body ol {
  padding-left: 1.5rem;
}

.kb-article-body blockquote {
  border-left: 3px solid var(--dl-primary);
  margin: 1.25rem 0;
  padding: .5rem 1rem;
  color: var(--dl-muted);
  background: var(--dl-soft);
  border-radius: 0 var(--dl-radius) var(--dl-radius) 0;
}

.kb-article-body a {
  color: var(--dl-primary);
}

.kb-article-body img {
  max-width: 100%;
  border-radius: var(--dl-radius);
  margin: 1rem 0;
}

.kb-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: .9rem;
}

.kb-article-body th {
  background: var(--dl-soft);
  text-align: left;
  padding: .5rem .75rem;
  border: 1px solid var(--dl-line);
  font-weight: 600;
}

.kb-article-body td {
  padding: .5rem .75rem;
  border: 1px solid var(--dl-line);
}

/* Search results */

.kb-search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kb-result-item {
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  padding: 1.1rem 1.25rem;
  background: var(--dl-surface);
}

.kb-result-category {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dl-muted);
  margin-bottom: .3rem;
}

.kb-result-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dl-primary);
  text-decoration: none;
}

.kb-result-title:hover {
  text-decoration: underline;
}

.kb-result-summary {
  font-size: .875rem;
  color: var(--dl-muted);
  margin: .35rem 0 0;
}

@media (max-width: 991.98px) {
  .kb-breadcrumb {
    gap: .35rem;
    font-size: .8rem;
  }

  .kb-breadcrumb .breadcrumb-item {
    min-width: 0;
  }

  .kb-breadcrumb .breadcrumb-item.active {
    display: none;
  }

  .kb-article-body p,
  .kb-article-body li,
  .kb-article-body a,
  .kb-article-body code {
    overflow-wrap: anywhere;
  }

  .kb-article-body pre code {
    overflow-wrap: normal;
    word-break: normal;
  }

  .kb-article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  .kb-sidebar {
    position: static;
    order: 2;
  }
}
