@import 'theme.css';

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   CloudFerro Docs theme layer
   ========================================================= */

:root {
  --cf-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cf-bg: #ffffff;
  --cf-surface: #ffffff;
  --cf-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --cf-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

html,
body {
  background: #ffffff !important;
  font-family: var(--cf-font);
  min-height: 100%;
}

body {
  color: var(--cf-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--cf-link);
}

a:hover {
  color: var(--cf-link-hover);
}

a:visited {
  color: var(--cf-brand);
}

/* Landing page link colors */
.cf-homepage a,
.cf-home-hero a,
.cf-home-panel a,
.cf-card-grid a,
.cf-service-card a {
  color: var(--cf-link) !important;
}

.cf-homepage a:visited,
.cf-home-hero a:visited,
.cf-home-panel a:visited,
.cf-card-grid a:visited,
.cf-service-card a:visited {
  color: var(--cf-brand) !important;
}

.cf-homepage a:hover,
.cf-home-hero a:hover,
.cf-home-panel a:hover,
.cf-card-grid a:hover,
.cf-service-card a:hover {
  color: var(--cf-link-hover) !important;
  text-decoration: underline;
}

.wy-grid-for-nav {
  max-width: none;
}

.wy-body-for-nav,
.wy-nav-content-wrap {
  background: #ffffff !important;
  min-height: 100vh;
}

.wy-nav-content {
  max-width: none;
  margin: 0;
  background: #ffffff !important;
  padding: 26px 34px 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 44px);
  box-sizing: border-box;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.wy-grid-for-nav,
.wy-body-for-nav,
.wy-nav-content-wrap,
.wy-nav-content,
.document,
main[role="main"],
.rst-content,
.cf-page-shell,
.cf-page-shell--home,
.cf-page-shell--section,
.cf-page-shell--article,
.cf-homepage,
.cf-home-services,
.cf-article-layout,
.cf-article-main {
  background: #ffffff !important;
}

.cf-page-shell {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: #ffffff !important;
}

.cf-page-shell--home,
.cf-page-shell--section,
.cf-page-shell--article {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: #ffffff !important;
}

.cf-homepage,
.cf-home-services,
.cf-article-layout,
.cf-article-main {
  min-height: 0;
}

.rst-content {
  min-height: 0;
}

button,
input,
select,
textarea,
.wy-nav-content,
.wy-menu-vertical,
.wy-menu-vertical a,
.wy-side-nav-search,
.rst-content,
.rst-content p,
.rst-content li,
.rst-content table,
.rst-content dl,
.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6,
.cf-topbar,
.cf-topbar__brand,
.cf-topbar__product-label,
.cf-topbar__search input[type="text"],
.cf-topbar__site-link,
.cf-jump-to,
.cf-prev-next,
.cf-footer {
  font-family: var(--cf-font) !important;
}

/* =========================================================
   Top header
   ========================================================= */

.wy-nav-top {
  display: none !important;
}

.cf-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  height: 44px;
  background: var(--cf-topbar);
  border-bottom: 2px solid #0e6dd8;
  display: grid;
  grid-template-columns: auto minmax(280px, 360px) auto;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  margin: 0;
  box-sizing: border-box;
}

.cf-topbar__left,
.cf-topbar__center,
.cf-topbar__right {
  display: flex;
  align-items: center;
}

.cf-topbar__center {
  justify-content: center;
}

.cf-topbar__right {
  justify-content: flex-end;
}

.cf-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff !important;
  text-decoration: none;
  min-width: 0;
}

.cf-topbar__logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: 16px;
  object-fit: contain;
}

.cf-topbar__product-label {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 10px;
  line-height: 1;
}

.cf-topbar__search {
  width: 100%;
  max-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
}

.cf-topbar__search input[type="text"] {
  width: 100%;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 38px 0 12px;
  outline: none;
  font-size: 0.78rem;
  box-shadow: none;
}

.cf-topbar__search input[type="text"]:focus {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.cf-topbar__search input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.cf-topbar__search button {
  position: absolute;
  right: 8px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  box-shadow: none;
  font-size: 0;
}

.cf-topbar__search button::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px auto 0;
  background-color: rgba(255, 255, 255, 0.82);
  -webkit-mask: url("../icons/icon-search.svg") no-repeat center / contain;
  mask: url("../icons/icon-search.svg") no-repeat center / contain;
}

.cf-topbar__site-link {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cf-topbar__site-link-icon {
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.9;
}

/* =========================================================
   Global offset for fixed top bar
   ========================================================= */

.wy-nav-side {
  top: 44px;
  height: calc(100% - 44px);
}

.wy-nav-content-wrap {
  padding-top: 44px;
}

/* =========================================================
   Sidebar
   ========================================================= */

.wy-nav-side {
  background: #ffffff;
  border-right: 1px solid #e7ebf0;
}

.cf-sidebar-brand--hidden {
  display: none !important;
}

.wy-side-nav-search > .cf-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 6px;
  background: #ffffff;
  box-sizing: border-box;
}

.cf-sidebar-brand img {
  display: block !important;
  width: 220px;
  max-width: 100%;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.wy-side-scroll,
.wy-side-nav-search {
  background: #ffffff;
}

.wy-side-nav-search {
  margin-bottom: 0;
  padding: 12px 14px 0;
}

.wy-menu-vertical a,
.wy-menu-vertical a:visited {
  color: #273142;
  font-size: 0.94rem;
  line-height: 1.32;
  font-weight: 500;
  background: transparent !important;
  box-shadow: none !important;
}

.wy-menu-vertical p.caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 16px 10px;
  color: #8fa0b8;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.wy-menu-vertical p.caption::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #dde3ec;
}

/* Top-level section icons */
.wy-menu-vertical li.toctree-l1 > a.reference.internal {
  gap: 12px;
}

.wy-menu-vertical li.toctree-l1 > a[data-cf-icon]::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 17px 17px;
}

/* =========================================================
   Breadcrumbs
   ========================================================= */

.cf-breadcrumbs-wrap {
  margin: 0 0 6px;
}

.cf-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  row-gap: 2px;
  font-size: 0.73rem;
  line-height: 1.3;
  color: #a4acb9;
  padding: 0;
  border: 0;
}

.cf-breadcrumbs__item {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
}

.cf-breadcrumbs__item a,
.cf-breadcrumbs__current {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cf-breadcrumbs a,
.cf-breadcrumbs a:visited {
  color: #a4acb9 !important;
  text-decoration: none;
}

.cf-breadcrumbs a:hover {
  color: #8a93a3 !important;
}

.cf-breadcrumbs__sep {
  color: #cbd2dc;
  margin: 0 4px;
}

.cf-breadcrumbs__current {
  color: #919aaa;
  font-weight: 400;
}

/* =========================================================
   Article layout
   ========================================================= */

.cf-article-layout {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.cf-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  gap: 26px;
  align-items: start;
  flex: 1 1 auto;
  min-height: 0;
}

.cf-article-main {
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.cf-article-aside {
  min-width: 0;
  position: relative;
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.rst-content h5,
.rst-content h6 {
  color: var(--cf-heading);
}

.rst-content h1 {
  font-size: 1.7rem;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.rst-content h2 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.rst-content h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.rst-content p,
.rst-content li,
.rst-content table,
.rst-content dl {
  color: #1f2937;
  font-size: 0.94rem;
  line-height: 1.62;
}

/* Documentation tables must wrap readable text instead of inheriting the RTD
   theme's nowrap rule. Keep individual columns within a scan-friendly width;
   the responsive wrapper remains available when a table has many columns. */
.rst-content table.docutils {
  width: auto;
  max-width: 100%;
  table-layout: auto;
}

.rst-content table.docutils th,
.rst-content table.docutils td,
.rst-content .wy-table-responsive table.docutils th,
.rst-content .wy-table-responsive table.docutils td {
  min-width: 10ch;
  max-width: 48ch;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  vertical-align: top;
}

.rst-content table.docutils th > *,
.rst-content table.docutils td > * {
  max-width: 48ch;
}

/* Give documentation tables an explicit, readable header treatment. The
   tokens keep the color pair brand-configurable without requiring a consumer
   stylesheet override. */
.rst-content table.docutils thead th,
.rst-content .wy-table-responsive table.docutils thead th {
  color: var(--cf-table-header-text) !important;
  background-color: var(--cf-table-header-bg);
  border-color: var(--cf-table-header-bg);
  font-weight: 700;
}

.rst-content table.docutils thead th *,
.rst-content .wy-table-responsive table.docutils thead th * {
  color: inherit !important;
}

/* Hide built-in Sphinx/RTD content footer inside page body */
.wy-nav-content footer:not(.cf-footer),
.wy-nav-content div[role="contentinfo"],
.wy-nav-content .rst-footer-buttons,
.wy-nav-content .footer,
.wy-nav-content .footer-buttons,
.wy-nav-content hr {
  display: none !important;
}

/* =========================================================
   Help box
   ========================================================= */

.cf-help-box {
  margin: 24px 0 0;
  border: 1px solid #b6d8f4;
  background: #edf7ff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.cf-help-box__title {
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}

.cf-help-box__text {
  color: #5b6472;
  font-size: 0.93rem;
}

.cf-help-box__link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================================================
   Jump to
   ========================================================= */

.cf-jump-to {
  position: fixed;
  top: 84px;
  right: 18px;
  width: 198px;
  max-height: calc(100vh - 98px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 13px 13px 11px;
  z-index: 1200;
}

.cf-jump-to__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 9px;
}

.cf-jump-to a {
  display: block;
  padding: 4px 0;
  color: #5b6472;
  text-decoration: none;
  font-size: 0.84rem;
  line-height: 1.32;
}

.cf-jump-to a:hover {
  color: var(--cf-link);
}


.cf-jump-to .current > a {
  color: #0B101E !important;
  font-weight: 400 !important;
}


.cf-jump-to a.is-active {
  color: #E64500 !important;
  font-weight: 400 !important;
}

/* =========================================================
   Prev / next
   ========================================================= */

.cf-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 0;
}

.cf-prev-next__item {
  display: block;
  text-decoration: none;
  padding: 16px 18px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  box-shadow: var(--cf-shadow-sm);
  color: var(--cf-brand) !important;
}

.cf-prev-next__item:link,
.cf-prev-next__item:visited {
  color: var(--cf-brand) !important;
}

.cf-prev-next__label {
  display: block;
  color: var(--cf-brand) !important;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.cf-prev-next__title {
  display: block;
  color: var(--cf-brand) !important;
  font-weight: 700;
  line-height: 1.4;
}

.cf-prev-next__item:hover,
.cf-prev-next__item:focus {
  color: var(--cf-brand-dark) !important;
  text-decoration: none;
}

.cf-prev-next__item:hover .cf-prev-next__label,
.cf-prev-next__item:hover .cf-prev-next__title,
.cf-prev-next__item:focus .cf-prev-next__label,
.cf-prev-next__item:focus .cf-prev-next__title {
  color: var(--cf-brand-dark) !important;
}

.cf-prev-next__item--next {
  text-align: right;
}

/* =========================================================
   Previous / next article navigation - Figma one-line style
   ========================================================= */

.cf-prev-next {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  align-items: stretch;
}

.cf-prev-next__item,
.cf-prev-next__item:link,
.cf-prev-next__item:visited {
  min-width: 0;
  height: 48px;
  padding: 0 18px !important;

  display: flex !important;
  align-items: center;
  gap: 8px;

  background: #ffffff !important;
  border: 1px solid #E1E7EF !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;

  color: #F76109 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;

  overflow: hidden;
}

.cf-prev-next__item:hover,
.cf-prev-next__item:focus {
  color: #E64500 !important;
  text-decoration: none !important;
  border-color: #F7B083 !important;
}

.cf-prev-next__item--prev {
  justify-content: flex-start;
  text-align: left !important;
}

.cf-prev-next__item--next {
  justify-content: flex-end;
  text-align: right !important;
}

.cf-prev-next__item--prev::before {
  content: "←";
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  color: currentColor;
}

.cf-prev-next__item--next::after {
  content: "→";
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
  color: currentColor;
}

.cf-prev-next__title {
  display: block !important;
  min-width: 0;
  max-width: 100%;

  color: currentColor !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 48px !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-decoration: none !important;
}

.cf-prev-next__item--prev .cf-prev-next__title {
  text-align: left;
}

.cf-prev-next__item--next .cf-prev-next__title {
  text-align: right;
}

/* Hide any old label if it exists */
.cf-prev-next__label {
  display: none !important;
}





/* =========================================================
   Homepage
   ========================================================= */

.cf-page-shell--home {
  padding-top: 14px;
}

.cf-homepage {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.cf-home-services {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.cf-home-hero {
  margin-bottom: 14px;
  container-type: inline-size;
}

.cf-home-hero__inner {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  box-shadow: var(--cf-shadow-sm);
  padding: 18px 18px;
}

.cf-home-hero__media {
  /* Keep the decorative tile independent of the wrapped text's height. */
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0f2038, #152b4d);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-home-hero__content {
  min-width: 0;
}

.cf-home-hero__media img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.cf-home-hero__title {
  margin: 0 0 8px;
  color: var(--cf-heading);
  font-size: 1.7rem;
  line-height: 1.14;
  font-weight: 700;
}

.cf-home-hero__text {
  margin: 0 0 10px;
  color: var(--cf-text-soft);
  font-size: 0.94rem;
  line-height: 1.5;
}

.cf-home-hero__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stack the hero before its media column can crowd the copy. */
@container (max-width: 34rem) {
  .cf-home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cf-inline-link {
  color: var(--cf-link);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: underline;
}

.cf-home-panel {
  background: var(--cf-surface);
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  box-shadow: var(--cf-shadow-sm);
  padding: 8px 0 0;
}

.cf-home-panel__header {
  padding: 0 14px 8px;
}

.cf-home-panel__header h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.cf-home-tabs {
  display: flex;
  gap: 10px;
  padding: 0 14px 10px;
  border-bottom: 1px solid var(--cf-border);
  flex-wrap: wrap;
}

.cf-home-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--cf-text-soft);
  padding: 8px 0;
  font-weight: 500;
  font-size: 0.82rem;
  cursor: pointer;
}

.cf-home-tab.is-active {
  color: var(--cf-heading);
  border-bottom-color: var(--cf-brand);
}

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

.cf-service-card {
  min-height: 150px;
  padding: 18px 16px 14px;
  border-right: 1px solid var(--cf-border);
  border-bottom: 1px solid var(--cf-border);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.cf-service-card:nth-child(3n) {
  border-right: 0;
}

.cf-service-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cf-service-card__icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--cf-border);
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}

.cf-service-card__icon img {
  width: 18px;
  height: 18px;
}

.cf-service-card__title {
  margin: 0;
  font-size: 0.92rem;
  color: var(--cf-heading);
}

.cf-service-card__text {
  margin: 0 0 14px;
  color: var(--cf-text-soft);
  font-size: 0.8rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.cf-service-card__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cf-card-link {
  color: var(--cf-brand-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
}

/* Homepage card links: blue before click, orange after click */
.cf-service-card .cf-card-link,
.cf-service-card .cf-card-link:link {
  color: var(--cf-link) !important;
}

.cf-service-card .cf-card-link:visited {
  color: var(--cf-brand) !important;
}

.cf-service-card .cf-card-link:hover,
.cf-service-card .cf-card-link:focus {
  color: var(--cf-link-hover) !important;
  text-decoration: underline;
}

/* =========================================================
   Footer
   ========================================================= */

.cf-footer {
  margin-top: auto !important;
  padding: 18px 0 18px;
  flex: 0 0 auto;
}

.cf-footer__inner {
  background: #ffffff;
  border-top: 1px solid var(--cf-border);
  padding: 14px 18px;
  text-align: center;
  color: var(--cf-text-soft);
  font-size: 0.76rem;
}

.cf-footer__copyright {
  margin-bottom: 6px;
}

.cf-footer__links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cf-footer__links a {
  color: var(--cf-text-soft);
  text-decoration: none;
  font-size: 0.76rem;
}

/* =========================================================
   Existing custom pieces to preserve
   ========================================================= */

.image-with-border {
  border: 2px solid black;
}

.rst-content .highlight-console pre,
.rst-content .highlight-console code {
  color: black !important;
  background: none !important;
  font-weight: normal !important;
  text-shadow: none !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* =========================================================
   UP button
   ========================================================= */

.cf-up-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--cf-brand);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.2s ease;
  z-index: 4900 !important;
}

.cf-up-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cf-up-button:hover {
  background: var(--cf-brand-dark);
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {
  .cf-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-service-card:nth-child(3n) {
    border-right: 1px solid var(--cf-border);
  }

  .cf-service-card:nth-child(2n) {
    border-right: 0;
  }

  .cf-article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cf-article-aside {
    display: none;
  }

  .cf-jump-to {
    display: none;
  }
}

@media (max-width: 900px) {
  .wy-nav-content {
    padding: 20px 18px 0;
  }

  .cf-up-button {
    right: 12px;
    bottom: 12px;
  }

  .cf-card-grid {
    grid-template-columns: 1fr;
  }

  .cf-service-card {
    border-right: 0 !important;
  }

  .cf-prev-next {
    grid-template-columns: 1fr;
  }

  .cf-prev-next__item--next {
    text-align: left;
  }

  .cf-help-box {
    flex-direction: column;
    align-items: flex-start;
  }


}

/* Match the RTD sidebar collapse breakpoint so header states never diverge. */
@media screen and (max-width: 768px) {
  .cf-topbar {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .wy-nav-side {
    top: 0;
    height: 100%;
  }

  .wy-nav-content-wrap {
    padding-top: 108px;
  }

  .cf-topbar__center,
  .cf-topbar__right {
    justify-content: flex-start;
  }

  .cf-topbar__search {
    max-width: none;
  }
}

/* =========================================================
   Anchor offset for fixed header
   ========================================================= */

.rst-content h1[id],
.rst-content h2[id],
.rst-content h3[id],
.rst-content h4[id],
.rst-content h5[id],
.rst-content h6[id] {
  scroll-margin-top: 120px;
}

html {
  scroll-behavior: smooth;
}

/* =========================================================
   Admonitions
   ========================================================= */

.rst-content .admonition,
.rst-content .note,
.rst-content .warning,
.rst-content .important,
.rst-content .tip,
.rst-content .attention,
.rst-content .caution {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  margin: 1rem 0 1.2rem;
  padding: 0 !important;
}

.rst-content .admonition-title {
  padding: 7px 11px;
  margin: 0 !important;
  font-size: 0.88rem;
  font-weight: 700;
}

.rst-content .admonition > *:not(.admonition-title),
.rst-content .note > *:not(.admonition-title),
.rst-content .warning > *:not(.admonition-title),
.rst-content .important > *:not(.admonition-title),
.rst-content .tip > *:not(.admonition-title),
.rst-content .attention > *:not(.admonition-title),
.rst-content .caution > *:not(.admonition-title) {
  padding: 10px 11px;
  margin: 0 !important;
}

.rst-content .admonition p,
.rst-content .note p,
.rst-content .warning p,
.rst-content .important p,
.rst-content .tip p,
.rst-content .attention p,
.rst-content .caution p {
  margin: 0 !important;
}

.rst-content .admonition p + p,
.rst-content .note p + p,
.rst-content .warning p + p,
.rst-content .important p + p,
.rst-content .tip p + p,
.rst-content .attention p + p,
.rst-content .caution p + p {
  margin-top: 0.75rem !important;
}

/* =========================================================
   Section landing pages
   ========================================================= */

.cf-section-index-page .cf-article-main > section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.cf-section-index-page .cf-article-main > section > h1 {
  grid-column: 1 / -1;
  margin: 0 0 20px !important;
}

/* Keep section-group headings in the sidebar and page navigation without
   repeating the card caption in the page body. */
.cf-section-index-page .cf-article-main section.section-navigation-heading > h2 {
  display: none;
}

.cf-section-index-page .cf-article-main > section > section.section-navigation-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.cf-section-index-page .cf-article-main section.section-navigation-heading > .toctree-wrapper.compound {
  flex: 1;
}

.cf-section-index-page .rst-content .toctree-wrapper.compound {
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid var(--cf-border);
  border-radius: 12px;
  box-shadow: var(--cf-shadow-sm);
}

.cf-section-index-page .rst-content .toctree-wrapper.compound:not(:has(> ul > li)) {
  display: none;
}

/* Do not leave a single link box stranded in half of the index grid. A link
   box with one entry, or the unpaired final box in a row, uses both columns. */
.cf-section-index-page
  .cf-article-main
  > section
  > .toctree-wrapper.compound:has(> ul > li:only-child),
.cf-section-index-page
  .cf-article-main
  > section
  > .toctree-wrapper.compound:last-child:nth-child(even) {
  grid-column: 1 / -1;
}

.cf-section-index-page .rst-content .toctree-wrapper > p.caption {
  margin: 0 0 10px;
  color: var(--cf-heading);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.cf-section-index-page .rst-content .toctree-wrapper > ul {
  margin: 0 0 0 18px;
  padding: 0;
}

.cf-section-index-page .rst-content .toctree-wrapper > ul > li {
  margin: 0.25rem 0;
  list-style: disc;
}

.cf-section-index-page .rst-content .toctree-wrapper a,
.cf-section-index-page .rst-content .toctree-wrapper a:visited {
  color: #0B101E !important;
  font-size: 0.9rem;
}

.cf-section-index-page .rst-content .toctree-wrapper a:hover,
.cf-section-index-page .rst-content .toctree-wrapper a:focus,
.cf-section-index-page .rst-content .toctree-wrapper a:active {
  color: #E64500 !important;
}

@media (max-width: 900px) {
  .cf-section-index-page .cf-article-main > section {
    grid-template-columns: 1fr;
  }
}

.rst-content > ul.simple:first-of-type,
.rst-content > ul:first-of-type {
  margin-top: 1.1rem;
}

.rst-content > ul.simple:first-of-type > li,
.rst-content > ul:first-of-type > li {
  margin-bottom: 0.9rem;
}

.rst-content > ul.simple:first-of-type a,
.rst-content > ul:first-of-type a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cf-link) !important;
}

.rst-content > ul.simple:first-of-type a:visited,
.rst-content > ul:first-of-type a:visited {
  color: var(--cf-brand) !important;
}

.rst-content > ul.simple:first-of-type ul,
.rst-content > ul:first-of-type ul {
  margin-top: 0.4rem;
}

/* =========================================================
   FINAL SIDEBAR + ARTICLE OVERRIDES
   ========================================================= */

.cf-article-main .document,
.cf-article-main .rst-content {
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.wy-menu-vertical li.current,
.wy-menu-vertical li.current > ul,
.wy-menu-vertical li.current > ul > li,
.wy-menu-vertical li.current > ul > li.current {
  background: transparent !important;
  box-shadow: none !important;
}

.wy-menu-vertical li.toctree-l1.current,
.wy-menu-vertical li.toctree-l1.current > a,
.wy-menu-vertical li.toctree-l1.current > a:hover,
.wy-menu-vertical li.toctree-l1.current > a:visited {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--cf-sidebar-active-link) !important;
}

.wy-menu-vertical li.toctree-l1.current > ul {
  background: transparent !important;
  margin: 0 !important;
  padding: 4px 0 8px !important;
  border: 0 !important;
}

.wy-menu-vertical li.toctree-l2 > ul,
.wy-menu-vertical li.toctree-l3,
.wy-menu-vertical li.toctree-l4,
.wy-menu-vertical li.toctree-l5,
.wy-menu-vertical li.toctree-l6 {
  display: none !important;
}

.wy-menu-vertical li.toctree-l1 > a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 10px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wy-menu-vertical li.toctree-l2 > a {
  position: relative !important;
  display: block !important;
  margin: 0 0 0 28px !important;
  padding: 6px 10px !important;
  font-size: 0.86rem !important;
  line-height: 1.28 !important;
  color: #374151 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.cf-sidebar-link-tooltip {
  position: fixed;
  z-index: 6000;
  width: max-content;
  max-width: 320px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(31, 41, 55, 0.96);
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.3;
  white-space: normal;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.cf-sidebar-link-tooltip.is-visible {
  visibility: visible;
  opacity: 1;
}

.cf-sidebar-link-tooltip[hidden] {
  display: none !important;
}

.wy-menu-vertical li.toctree-l2.current > ul {
  display: none !important;
}

.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l2.current > a:hover,
.wy-menu-vertical li.toctree-l2.current > a:visited {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--cf-sidebar-active-link) !important;
  font-weight: 500 !important;
}

.wy-menu-vertical li.toctree-l2 > span.toctree-expand,
.wy-menu-vertical li.toctree-l2 > a .toctree-expand {
  display: none !important;
}

.wy-menu-vertical li.toctree-l1 > a:hover,
.wy-menu-vertical li.toctree-l2 > a:hover {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   Copy button in code blocks
   ========================================================= */

.wy-nav-content div.highlight,
.wy-nav-content div.literal-block-wrapper {
  position: relative;
}

.wy-nav-content div.highlight pre,
.wy-nav-content div.literal-block-wrapper pre {
  min-height: 42px;
  padding-right: 112px !important;
  box-sizing: border-box;
  overflow-x: auto;
}

.wy-nav-content div.highlight button.copybtn,
.wy-nav-content div.literal-block-wrapper button.copybtn {
  position: absolute !important;
  top: 7px !important;
  right: 10px !important;
  bottom: auto !important;
  left: auto !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  min-width: 68px !important;
  height: 28px !important;
  padding: 0 12px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #ffffff !important;
  border: 1px solid #d7dde7 !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08) !important;

  z-index: 900 !important;

  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-indent: 0 !important;

  overflow: hidden !important;
}

/* Hide icons injected by sphinx-copybutton, but do not hide text */
.wy-nav-content div.highlight button.copybtn svg,
.wy-nav-content div.literal-block-wrapper button.copybtn svg,
.wy-nav-content div.highlight button.copybtn img,
.wy-nav-content div.literal-block-wrapper button.copybtn img {
  display: none !important;
}

.wy-nav-content div.highlight button.copybtn:hover,
.wy-nav-content div.literal-block-wrapper button.copybtn:hover {
  border-color: #c7d0dd !important;
  color: #0f172a !important;
}

.wy-nav-content div.highlight button.copybtn.cf-copy-done,
.wy-nav-content div.literal-block-wrapper button.copybtn.cf-copy-done {
  color: var(--cf-link) !important;
}

.wy-nav-content div.highlight button.copybtn:focus,
.wy-nav-content div.literal-block-wrapper button.copybtn:focus {
  outline: 2px solid rgba(15, 94, 168, 0.20) !important;
  outline-offset: 2px !important;
}


/* =========================================================
   Service cards - Figma alignment override
   ========================================================= */

.cf-service-card {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 16px;
  row-gap: 0;

  min-height: 170px;
  padding: 24px 24px 20px !important;
  background: #ffffff;
  box-sizing: border-box;
}

/* Let icon and title participate directly in the card grid */
.cf-service-card__top {
  display: contents !important;
}

.cf-service-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;

  width: 32px;
  height: 32px;
  align-self: start;

  margin-top: 0;
  border-radius: 8px;
}

.cf-service-card__icon img {
  width: 18px;
  height: 18px;
}

.cf-service-card__title {
  grid-column: 2;
  grid-row: 1;

  margin: 0 0 8px !important;
  padding: 0 !important;

  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0B101E;
}

.cf-service-card__text {
  grid-column: 2;
  grid-row: 2;

  margin: 0 0 18px !important;
  padding: 0 !important;

  color: #5b6472;
  font-size: 0.8rem;
  line-height: 1.45;
}

.cf-service-card__links {
  grid-column: 2;
  grid-row: 3;

  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;

  margin-top: auto;
}

.cf-service-card .cf-card-link,
.cf-service-card .cf-card-link:link,
.cf-service-card .cf-card-link:visited {
  color: #F76109 !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
}

.cf-service-card .cf-card-link:hover,
.cf-service-card .cf-card-link:focus {
  color: #E64500 !important;
  text-decoration: underline !important;
}

/* =========================================================
   External link icons
   ========================================================= */

/* Banner / homepage hero links */
.cf-home-hero__links a[target="_blank"]::after,
.cf-inline-link[target="_blank"]::after,

/* Footer links */
.cf-footer__links a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: text-bottom;
  background-color: currentColor;
  -webkit-mask: url("../icons/external-link.svg") no-repeat center / contain;
  mask: url("../icons/external-link.svg") no-repeat center / contain;
}

/* =========================================================
   Help box / support banner
   ========================================================= */

.cf-help-box {
  margin: 24px 0 0;
  border: 1px solid #B8DAF3;
  background: #EFF8FF;
  border-radius: 8px;
  padding: 20px 24px;

  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
}

.cf-help-box::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background-color: #1E79C7;
  -webkit-mask: url("../icons/info-icon.svg") no-repeat center / contain;
  mask: url("../icons/info-icon.svg") no-repeat center / contain;
}

.cf-help-box__content {
  min-width: 0;
}

.cf-help-box__title {
  margin: 0 0 6px;
  color: #133B5D;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.cf-help-box__text {
  margin: 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.cf-help-box__link {
  align-self: start;
  color: #1E79C7 !important;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.cf-help-box__link:hover,
.cf-help-box__link:focus {
  color: #155F9D !important;
  text-decoration: underline !important;
}

/* =========================================================
   Notes - same visual style as support banner
   ========================================================= */

.rst-content .note {
  margin: 20px 0 24px;
  border: 1px solid #B8DAF3 !important;
  background: #EFF8FF !important;
  border-radius: 8px;
  padding: 20px 24px !important;

  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;

  box-shadow: none !important;
  overflow: visible;
}

.rst-content .note::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 2px;
  background-color: #1E79C7;
  -webkit-mask: url("../icons/info-icon.svg") no-repeat center / contain;
  mask: url("../icons/info-icon.svg") no-repeat center / contain;
}

.rst-content .note .admonition-title {
  grid-column: 2;
  margin: 0 0 6px !important;
  padding: 0 !important;

  background: transparent !important;
  color: #133B5D !important;

  font-size: 14px !important;
  line-height: 1.3;
  font-weight: 700;
}

.rst-content .note > *:not(.admonition-title) {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;

  color: #334155;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.rst-content .note p {
  margin: 0 !important;
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

.rst-content .note p + p {
  margin-top: 8px !important;
}

.rst-content .note strong {
  color: #0B101E;
  font-weight: 700;
}

/* =========================================================
   Notes: remove old RTD admonition title icon - stronger
   ========================================================= */

.rst-content .note .admonition-title::before,
.rst-content .note .admonition-title::after,
.rst-content .note .wy-alert-title::before,
.rst-content .note .wy-alert-title::after,
.rst-content .note p.admonition-title::before,
.rst-content .note p.admonition-title::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   Global documentation links - final controlled version
   ========================================================= */

/*
   Normal article/documentation links only.
   The :where() wrapper keeps specificity low so component overrides win.
   Jump-to links are explicitly excluded because they live inside .rst-content.
*/
.rst-content a:where(:not(.cf-help-box__link):not(.cf-prev-next__item):not(.cf-card-link):not(.cf-inline-link):not(.cf-jump-to *)),
.rst-content a:link:where(:not(.cf-help-box__link):not(.cf-prev-next__item):not(.cf-card-link):not(.cf-inline-link):not(.cf-jump-to *)),
.rst-content .contents a:where(:not(.cf-jump-to *)),
.rst-content .topic a:where(:not(.cf-jump-to *)),
.rst-content nav.contents a:where(:not(.cf-jump-to *)) {
  color: #0B101E !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.rst-content a:visited:where(:not(.cf-help-box__link):not(.cf-prev-next__item):not(.cf-card-link):not(.cf-inline-link):not(.cf-jump-to *)),
.rst-content .contents a:visited:where(:not(.cf-jump-to *)),
.rst-content .topic a:visited:where(:not(.cf-jump-to *)),
.rst-content nav.contents a:visited:where(:not(.cf-jump-to *)) {
  color: #0B101E !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
}

.rst-content a:hover:where(:not(.cf-help-box__link):not(.cf-prev-next__item):not(.cf-card-link):not(.cf-inline-link):not(.cf-jump-to *)),
.rst-content a:focus:where(:not(.cf-help-box__link):not(.cf-prev-next__item):not(.cf-card-link):not(.cf-inline-link):not(.cf-jump-to *)),
.rst-content .contents a:hover:where(:not(.cf-jump-to *)),
.rst-content .contents a:focus:where(:not(.cf-jump-to *)),
.rst-content .topic a:hover:where(:not(.cf-jump-to *)),
.rst-content .topic a:focus:where(:not(.cf-jump-to *)),
.rst-content nav.contents a:hover:where(:not(.cf-jump-to *)),
.rst-content nav.contents a:focus:where(:not(.cf-jump-to *)) {
  color: #E64500 !important;
  text-decoration: underline !important;
  text-decoration-line: underline !important;
}


/* =========================================================
   Homepage tabs - reliable click/filter behavior
   ========================================================= */

.cf-home-tabs {
  position: relative;
  z-index: 2;
}

.cf-home-tab {
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

.cf-service-card[hidden] {
  display: none !important;
}

/* =========================================================
   Banner and footer links
   ========================================================= */

.cf-home-hero__links a,
.cf-home-hero__links a:link,
.cf-inline-link,
.cf-inline-link:link,
.cf-footer__links a,
.cf-footer__links a:link {
  color: #0B101E !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.cf-home-hero__links a:visited,
.cf-inline-link:visited,
.cf-footer__links a:visited {
  color: #0B101E !important;
}

.cf-home-hero__links a:hover,
.cf-home-hero__links a:focus,
.cf-inline-link:hover,
.cf-inline-link:focus,
.cf-footer__links a:hover,
.cf-footer__links a:focus {
  color: #E64500 !important;
  text-decoration: underline !important;
}

/* =========================================================
   Sidebar bottom safe padding
   ========================================================= */

.wy-side-scroll {
  padding-bottom: 96px !important;
  box-sizing: border-box;
}

.wy-menu-vertical {
  padding-bottom: 96px !important;
}

/* =========================================================
   FINAL: Jump-to links
   ========================================================= */

.cf-jump-to a,
.cf-jump-to a:link,
.cf-jump-to a:visited,
.cf-jump-to .current > a,
.cf-jump-to .current > a:link,
.cf-jump-to .current > a:visited {
  color: #0B101E !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}

.cf-jump-to a:hover,
.cf-jump-to a:focus {
  color: #E64500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

/* Only our JS-controlled active link is orange */
.cf-jump-to a.is-active,
.cf-jump-to a.is-active:link,
.cf-jump-to a.is-active:visited,
.cf-jump-to a.is-active:hover,
.cf-jump-to a.is-active:focus {
  color: #E64500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-weight: 400 !important;
}

/* Normalize inherited formatting inside Jump-to links */
.cf-jump-to a strong,
.cf-jump-to a b {
  font-weight: inherit !important;
}

.cf-jump-to a em,
.cf-jump-to a i {
  font-style: normal !important;
}

.cf-jump-to a code,
.cf-jump-to a .literal {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   Remove underlines from support banner and prev/next boxes
   ========================================================= */

/* Support banner link */
.cf-help-box a,
.cf-help-box a:link,
.cf-help-box a:visited,
.cf-help-box a:hover,
.cf-help-box a:focus,
.cf-help-box__link,
.cf-help-box__link:link,
.cf-help-box__link:visited,
.cf-help-box__link:hover,
.cf-help-box__link:focus {
  text-decoration: none !important;
}

/* Previous / next article boxes */
.cf-prev-next a,
.cf-prev-next a:link,
.cf-prev-next a:visited,
.cf-prev-next a:hover,
.cf-prev-next a:focus,
.cf-prev-next__item,
.cf-prev-next__item:link,
.cf-prev-next__item:visited,
.cf-prev-next__item:hover,
.cf-prev-next__item:focus,
.cf-prev-next__title {
  text-decoration: none !important;
}

.cf-prev-next__title:hover,
.cf-prev-next__title:focus {
  text-decoration: none !important;
}

/* =========================================================
   FINAL: component links without underlines
   ========================================================= */

/* Support banner */
.rst-content .cf-help-box,
.rst-content .cf-help-box *,
.rst-content .cf-help-box a,
.rst-content .cf-help-box a:link,
.rst-content .cf-help-box a:visited,
.rst-content .cf-help-box a:hover,
.rst-content .cf-help-box a:focus,
.rst-content .cf-help-box__link,
.rst-content .cf-help-box__link:link,
.rst-content .cf-help-box__link:visited,
.rst-content .cf-help-box__link:hover,
.rst-content .cf-help-box__link:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Previous / next navigation */
.rst-content .cf-prev-next,
.rst-content .cf-prev-next *,
.rst-content .cf-prev-next a,
.rst-content .cf-prev-next a:link,
.rst-content .cf-prev-next a:visited,
.rst-content .cf-prev-next a:hover,
.rst-content .cf-prev-next a:focus,
.rst-content .cf-prev-next__item,
.rst-content .cf-prev-next__item:link,
.rst-content .cf-prev-next__item:visited,
.rst-content .cf-prev-next__item:hover,
.rst-content .cf-prev-next__item:focus,
.rst-content .cf-prev-next__title {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* Keep the component colors explicit */
.rst-content .cf-help-box__link,
.rst-content .cf-help-box__link:link,
.rst-content .cf-help-box__link:visited {
  color: #1E79C7 !important;
}

.rst-content .cf-help-box__link:hover,
.rst-content .cf-help-box__link:focus {
  color: #155F9D !important;
}

.rst-content .cf-prev-next__item,
.rst-content .cf-prev-next__item:link,
.rst-content .cf-prev-next__item:visited,
.rst-content .cf-prev-next__title {
  color: #F76109 !important;
}

.rst-content .cf-prev-next__item:hover,
.rst-content .cf-prev-next__item:focus,
.rst-content .cf-prev-next__item:hover .cf-prev-next__title,
.rst-content .cf-prev-next__item:focus .cf-prev-next__title {
  color: #E64500 !important;
}

/* =========================================================
   FINAL: landing page service cards and icon boxes
   ========================================================= */

.cf-card-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
}

.cf-service-card {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  column-gap: 16px !important;
  row-gap: 0 !important;

  min-height: 170px !important;
  padding: 24px 24px 20px !important;

  background: #ffffff !important;
  border-right: 1px solid #E5E7EB !important;
  border-bottom: 1px solid #E5E7EB !important;
  box-sizing: border-box !important;
}

.cf-service-card:nth-child(3n) {
  border-right: 0 !important;
}

/* Let icon and title align cleanly inside the card grid */
.cf-service-card__top {
  display: contents !important;
}

/* Soft gray icon container, matching Figma-style landing page cards */
.cf-service-card__icon,
.cf-card-icon {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;

  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  flex: 0 0 32px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;

  margin: 0 !important;
  padding: 0 !important;

  background: #F3F4F6 !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;

  overflow: hidden !important;
}

.cf-service-card__icon svg,
.cf-service-card__icon img,
.cf-card-icon svg,
.cf-card-icon img {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: 0 !important;
}

/* Card title */
.cf-service-card__title {
  grid-column: 2 !important;
  grid-row: 1 !important;

  margin: 0 0 8px !important;
  padding: 0 !important;

  color: #0B101E !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

/* Card description */
.cf-service-card__text {
  grid-column: 2 !important;
  grid-row: 2 !important;

  margin: 0 0 18px !important;
  padding: 0 !important;

  color: #5B6472 !important;
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}

/* Card links */
.cf-service-card__links {
  grid-column: 2 !important;
  grid-row: 3 !important;

  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;

  margin-top: auto !important;
}

.cf-service-card .cf-card-link,
.cf-service-card .cf-card-link:link,
.cf-service-card .cf-card-link:visited {
  color: #F76109 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.cf-service-card .cf-card-link:hover,
.cf-service-card .cf-card-link:focus {
  color: #E64500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.cf-service-card .cf-card-link__external-icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-left: 5px;
  vertical-align: -1px;
  fill: currentColor;
}

/* Preserve homepage tab filtering */
.cf-service-card[hidden] {
  display: none !important;
}

/* Responsive landing cards */
@media (max-width: 1200px) {
  .cf-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cf-service-card:nth-child(3n) {
    border-right: 1px solid #E5E7EB !important;
  }

  .cf-service-card:nth-child(2n) {
    border-right: 0 !important;
  }
}

@media (max-width: 900px) {
  .cf-card-grid {
    grid-template-columns: 1fr !important;
  }

  .cf-service-card {
    border-right: 0 !important;
  }
}

/*
 * Filtered cards are reflowed by CSS Grid, while :nth-child() continues to
 * count hidden cards. Keep the right separator on every desktop/tablet card
 * so filtering cannot remove a line from the middle of a visible row. The
 * panel border absorbs the separator on the outermost card.
 */
@media (min-width: 901px) {
  .cf-card-grid > .cf-service-card {
    border-right: 1px solid #E5E7EB !important;
  }
}


/* =========================================================
   Previous / next boxes: visible bottom edge
   ========================================================= */

.cf-prev-next {
  margin-bottom: 12px !important;
  padding-bottom: 2px;
}

.cf-prev-next__item,
.cf-prev-next__item:link,
.cf-prev-next__item:visited {
  border: 1px solid #D6DEE9 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10) !important;
  overflow: hidden;
}

/* =========================================================
   ABSOLUTE FINAL OVERRIDE
   Prev/Next + Help box + Jump-to
   ========================================================= */

/* ---------- Previous / next: custom CloudFerro template ---------- */

a.cf-prev-next__item,
a.cf-prev-next__item:link,
a.cf-prev-next__item:visited,
a.cf-prev-next__item:hover,
a.cf-prev-next__item:focus,
.cf-prev-next a,
.cf-prev-next a:link,
.cf-prev-next a:visited,
.cf-prev-next a:hover,
.cf-prev-next a:focus,
.cf-prev-next__title,
.cf-prev-next__title:hover,
.cf-prev-next__title:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

.cf-prev-next {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 24px 0 14px !important;
  padding-bottom: 4px !important;
}

a.cf-prev-next__item {
  min-width: 0 !important;
  height: 48px !important;
  padding: 0 18px !important;

  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  background: #ffffff !important;
  border: 1px solid #D6DEE9 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10) !important;

  color: #F76109 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  overflow: hidden !important;
}

a.cf-prev-next__item:hover,
a.cf-prev-next__item:focus {
  color: #E64500 !important;
  border-color: #F7B083 !important;
}

a.cf-prev-next__item--prev {
  justify-content: flex-start !important;
  text-align: left !important;
}

a.cf-prev-next__item--next {
  justify-content: flex-end !important;
  text-align: right !important;
}

a.cf-prev-next__item--prev::before {
  content: "←" !important;
  flex: 0 0 auto !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: currentColor !important;
}

a.cf-prev-next__item--next::after {
  content: "→" !important;
  flex: 0 0 auto !important;
  font-size: 16px !important;
  line-height: 1 !important;
  color: currentColor !important;
}

a.cf-prev-next__item .cf-prev-next__title {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;

  color: currentColor !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 48px !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ---------- Previous / next: fallback for standard RTD footer buttons ---------- */

.rst-footer-buttons,
.rst-footer-buttons a,
.rst-footer-buttons .btn,
.rst-footer-buttons .btn-neutral,
.rst-footer-buttons a.btn,
.rst-footer-buttons a.btn-neutral {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
}

.rst-footer-buttons a.btn,
.rst-footer-buttons a.btn-neutral {
  height: 48px !important;
  max-width: 48% !important;
  padding: 0 18px !important;

  display: inline-flex !important;
  align-items: center !important;

  background: #ffffff !important;
  border: 1px solid #D6DEE9 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10) !important;

  color: #F76109 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 48px !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ---------- Support banner ---------- */

.cf-help-box a,
.cf-help-box a:link,
.cf-help-box a:visited,
.cf-help-box a:hover,
.cf-help-box a:focus,
.cf-help-box__link,
.cf-help-box__link:link,
.cf-help-box__link:visited,
.cf-help-box__link:hover,
.cf-help-box__link:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.cf-help-box__link,
.cf-help-box__link:link,
.cf-help-box__link:visited {
  color: #1E79C7 !important;
}

.cf-help-box__link:hover,
.cf-help-box__link:focus {
  color: #155F9D !important;
}

/* ---------- Jump-to ---------- */

.cf-jump-to a,
.cf-jump-to a:link,
.cf-jump-to a:visited,
.cf-jump-to .current > a,
.cf-jump-to .current > a:link,
.cf-jump-to .current > a:visited {
  color: #0B101E !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}

.cf-jump-to a:hover,
.cf-jump-to a:focus,
.cf-jump-to a.is-active,
.cf-jump-to a.is-active:link,
.cf-jump-to a.is-active:visited,
.cf-jump-to a.is-active:hover,
.cf-jump-to a.is-active:focus {
  color: #E64500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  font-weight: 400 !important;
}

/* =========================================================
   Jump-to fixed position
   ========================================================= */

.cf-jump-to {
  position: fixed !important;
  top: 84px !important;
  right: 18px !important;
  width: 198px;
  max-height: calc(100vh - 98px);
  overflow-y: auto;
  overflow-x: hidden;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 13px 13px 11px;
  z-index: 1200;
}

.cf-jump-to__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 9px;
}

.cf-jump-to a {
  display: block;
  padding: 4px 0;
  font-size: 0.84rem;
  line-height: 1.32;
}

/* Hide fixed Jump-to on narrower screens */
@media (max-width: 1200px) {
  .cf-jump-to {
    display: none !important;
  }
}

/* =========================================================
   ABSOLUTE FINAL: Jump-to clean visual state
   ========================================================= */

/* Reset links only, not the Jump-to container */
.cf-jump-to a,
.cf-jump-to a *,
.rst-content .cf-jump-to a,
.rst-content .cf-jump-to a * {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.cf-jump-to a,
.cf-jump-to a:link,
.cf-jump-to a:visited,
.cf-jump-to .current > a,
.cf-jump-to .current > a:link,
.cf-jump-to .current > a:visited,
.rst-content .cf-jump-to a,
.rst-content .cf-jump-to a:link,
.rst-content .cf-jump-to a:visited,
.rst-content .cf-jump-to .current > a,
.rst-content .cf-jump-to .current > a:link,
.rst-content .cf-jump-to .current > a:visited {
  color: #0B101E !important;
  font-weight: 400 !important;
}

.cf-jump-to a:hover,
.cf-jump-to a:focus,
.rst-content .cf-jump-to a:hover,
.rst-content .cf-jump-to a:focus {
  color: #E64500 !important;
  font-weight: 400 !important;
}

.cf-jump-to a.is-active,
.cf-jump-to a.is-active:link,
.cf-jump-to a.is-active:visited,
.cf-jump-to a[aria-current="location"],
.cf-jump-to a[aria-current="location"]:link,
.cf-jump-to a[aria-current="location"]:visited,
.rst-content .cf-jump-to a.is-active,
.rst-content .cf-jump-to a.is-active:link,
.rst-content .cf-jump-to a.is-active:visited,
.rst-content .cf-jump-to a[aria-current="location"],
.rst-content .cf-jump-to a[aria-current="location"]:link,
.rst-content .cf-jump-to a[aria-current="location"]:visited {
  color: #E64500 !important;
  font-weight: 400 !important;
}

.cf-jump-to a *,
.rst-content .cf-jump-to a * {
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   ABSOLUTE FINAL: Jump-to stable fallback
   ========================================================= */

.cf-jump-to {
  position: fixed !important;
  top: 84px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;
  width: 198px !important;
  max-height: calc(100vh - 98px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  z-index: 6500 !important;

  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  padding: 13px 13px 11px !important;
  transform: none !important;
}

.cf-jump-to a,
.cf-jump-to a:link,
.cf-jump-to a:visited,
.cf-jump-to .current > a,
.cf-jump-to .current > a:link,
.cf-jump-to .current > a:visited,
.rst-content .cf-jump-to a,
.rst-content .cf-jump-to a:link,
.rst-content .cf-jump-to a:visited,
.rst-content .cf-jump-to .current > a,
.rst-content .cf-jump-to .current > a:link,
.rst-content .cf-jump-to .current > a:visited {
  color: #0B101E !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.cf-jump-to a:hover,
.cf-jump-to a:focus,
.rst-content .cf-jump-to a:hover,
.rst-content .cf-jump-to a:focus,
.cf-jump-to a.is-active,
.cf-jump-to a.is-active:link,
.cf-jump-to a.is-active:visited,
.cf-jump-to a[aria-current="location"],
.cf-jump-to a[aria-current="location"]:link,
.cf-jump-to a[aria-current="location"]:visited,
.rst-content .cf-jump-to a.is-active,
.rst-content .cf-jump-to a.is-active:link,
.rst-content .cf-jump-to a.is-active:visited,
.rst-content .cf-jump-to a[aria-current="location"],
.rst-content .cf-jump-to a[aria-current="location"]:link,
.rst-content .cf-jump-to a[aria-current="location"]:visited {
  color: #E64500 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.cf-jump-to a *,
.rst-content .cf-jump-to a * {
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1200px) {
  .cf-jump-to {
    display: none !important;
  }
}

/* =========================================================
   ABSOLUTE FINAL: Prev/Next bottom edge always visible
   ========================================================= */

.cf-prev-next {
  margin-bottom: 22px !important;
  padding-bottom: 8px !important;
  overflow: visible !important;
}

.rst-content .cf-prev-next,
.rst-content .cf-prev-next * {
  overflow: visible;
}

.rst-content a.cf-prev-next__item,
.rst-content a.cf-prev-next__item:link,
.rst-content a.cf-prev-next__item:visited,
a.cf-prev-next__item,
a.cf-prev-next__item:link,
a.cf-prev-next__item:visited {
  border: 1px solid #D6DEE9 !important;
  box-shadow:
    0 3px 10px rgba(15, 23, 42, 0.10),
    inset 0 -1px 0 #C9D3E1 !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.rst-content a.cf-prev-next__item:hover,
.rst-content a.cf-prev-next__item:focus,
a.cf-prev-next__item:hover,
a.cf-prev-next__item:focus {
  border-color: #F7B083 !important;
  box-shadow:
    0 3px 10px rgba(15, 23, 42, 0.12),
    inset 0 -1px 0 #F7B083 !important;
}

/* =========================================================
   CloudFerro search overlay
   ========================================================= */

.cf-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 6400;
  display: none;
  pointer-events: none;
}

.cf-search-overlay.is-open {
  display: block;
  pointer-events: auto;
}

.cf-search-overlay__panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 72px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;

  background: #ffffff;
  border: 1px solid #E1E7EF;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.20);
  padding: 16px 16px 14px;
  box-sizing: border-box;
}

.cf-search-overlay__form {
  position: relative;
  margin: 0 0 14px;
}

.cf-search-overlay__input {
  width: 100%;
  height: 38px;
  padding: 0 42px 0 12px;

  border: 1px solid #D7DDE7;
  border-radius: 8px;
  background: #ffffff;
  color: #0B101E;

  font-size: 14px;
  line-height: 38px;
  outline: none;
  box-sizing: border-box;
}

.cf-search-overlay__input:focus {
  border-color: #B7C4D6;
  box-shadow: 0 0 0 3px rgba(15, 94, 168, 0.12);
}

.cf-search-overlay__submit {
  position: absolute;
  top: 8px;
  right: 10px;

  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cf-search-overlay__submit::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-color: #0B101E;
  -webkit-mask: url("../icons/icon-search.svg") no-repeat center / contain;
  mask: url("../icons/icon-search.svg") no-repeat center / contain;
}

.cf-search-overlay__section {
  margin: 12px 0 0;
}

.cf-search-overlay__heading {
  margin: 0 0 7px;
  color: #8B96A8;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cf-search-overlay__item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none !important;
  color: #0B101E !important;
}

.cf-search-overlay__item:hover,
.cf-search-overlay__item:focus {
  background: #F5F8FC;
  text-decoration: none !important;
}

.cf-search-overlay__breadcrumb {
  margin-bottom: 4px;
  color: #8B96A8;
  font-size: 10px;
  line-height: 1.3;
}

.cf-search-overlay__title {
  margin-bottom: 3px;
  color: #0B101E;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.cf-search-overlay__snippet {
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-search-overlay__empty {
  padding: 10px 12px;
  color: #64748B;
  font-size: 12px;
}

.cf-search-overlay__cancel {
  margin-top: 14px;
  padding: 8px 0;

  border: 0;
  background: transparent;
  color: #0B101E;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* Top-right CloudFerro Cloud external-link icon */
.cf-topbar__site-link::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 4px;
  background-color: currentColor;
  -webkit-mask: url("../icons/external-link.svg") no-repeat center / contain;
  mask: url("../icons/external-link.svg") no-repeat center / contain;
}

.cf-topbar__site-link .cf-topbar__site-link-icon {
  display: none !important;
}

/* =========================================================
   Search overlay action buttons - proper alignment
   ========================================================= */

.cf-search-overlay__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  margin-top: 14px !important;
  min-height: 32px !important;
}

.cf-search-overlay__all-results,
.cf-search-overlay__cancel {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 32px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  background: transparent !important;
  color: #0B101E !important;

  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.cf-search-overlay__all-results[hidden] {
  display: none !important;
}

.cf-search-overlay__all-results:hover,
.cf-search-overlay__all-results:focus,
.cf-search-overlay__cancel:hover,
.cf-search-overlay__cancel:focus {
  color: #E64500 !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .cf-search-overlay__panel {
    top: 86px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 110px);
  }
}


/* =========================================================
   FINAL: opened sidebar section alignment and chevron
   ========================================================= */

/*
   Keep the section icon on the left for opened/current sidebar sections.
   Hide the old RTD +/- expand marker.
*/
.wy-menu-vertical li.toctree-l1 > a .toctree-expand,
.wy-menu-vertical li.toctree-l1 > span.toctree-expand,
.wy-menu-vertical li.toctree-l1.current > a .toctree-expand,
.wy-menu-vertical li.toctree-l1.current > span.toctree-expand {
  display: none !important;
}

/*
   Opened top-level section row:
   icon on the left, title aligned after icon, chevron on the right.
*/
.wy-menu-vertical li.toctree-l1.current > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;

  padding: 8px 50px 8px 10px !important;
  gap: 12px !important;

  color: #E64500 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  font-weight: 700 !important;
}

/*
   Preserve the product/section icon on the left.
*/
.wy-menu-vertical li.toctree-l1.current > a::before {
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 17px 17px !important;
}

/*
   Real button over the right side of the opened section row. Keeping the
   control separate from the section link preserves both navigation and
   keyboard-accessible expand/collapse behavior.
*/
.wy-menu-vertical li.toctree-l1.current {
  position: relative !important;
}

.wy-menu-vertical li.toctree-l1.current > .cf-sidebar-section-toggle {
  position: absolute !important;
  z-index: 5 !important;
  top: 0 !important;
  right: 0 !important;
  width: 46px !important;
  height: var(--cf-sidebar-section-row-height, 42px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.wy-menu-vertical li.toctree-l1.current > .cf-sidebar-section-toggle::before {
  content: "" !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  margin: auto !important;
  border: solid var(--cf-sidebar-active-link) !important;
  border-width: 0 2px 2px 0 !important;
  background: transparent !important;
  transform: rotate(-135deg) !important;
  transition: transform 140ms ease !important;
}

.wy-menu-vertical li.toctree-l1.current > .cf-sidebar-section-toggle:hover {
  background: rgba(230, 69, 0, 0.08) !important;
}

.wy-menu-vertical li.toctree-l1.current > .cf-sidebar-section-toggle:focus-visible {
  outline: 2px solid var(--cf-sidebar-active-link) !important;
  outline-offset: -3px !important;
}

/*
   Point down while the section is collapsed so it can be reopened.
*/
.wy-menu-vertical li.toctree-l1.current.cf-sidebar-section-collapsed
  > .cf-sidebar-section-toggle::before {
  transform: rotate(45deg) !important;
}

/*
   Hide the submenu when the current section is collapsed.
*/
.wy-menu-vertical li.toctree-l1.current.cf-sidebar-section-collapsed > ul {
  display: none !important;
}

/*
   Opened submenu alignment.
   Align subtab names with the parent tab text, not with the icon.
   Parent text starts at: left padding 10 + icon 17 + gap 12 = 39px.
*/
.wy-menu-vertical li.toctree-l1.current:not(.cf-sidebar-section-collapsed) > ul {
  display: block !important;
  margin: 0 !important;
  padding: 4px 0 8px 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wy-menu-vertical li.toctree-l1.current > ul > li.toctree-l2 > ul {
  display: none !important;
}

.wy-menu-vertical li.toctree-l1.current > ul > li.toctree-l2 > a {
  margin-left: 39px !important;
  padding: 6px 10px 6px 0 !important;

  color: #374151 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  font-size: 0.86rem !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wy-menu-vertical li.toctree-l1.current > ul > li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l1.current > ul > li.toctree-l2 > a:hover,
.wy-menu-vertical li.toctree-l1.current > ul > li.toctree-l2 > a:focus {
  color: var(--cf-sidebar-active-link) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* =========================================================
   Sidebar section icons from site configuration
   ========================================================= */

.wy-menu-vertical li.toctree-l1 > a[data-cf-icon]::before,
.wy-menu-vertical li.toctree-l1.current > a[data-cf-icon]::before {
  content: "" !important;
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  flex: 0 0 17px !important;
  margin: 0 !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 17px 17px !important;
}

/* =========================================================
   ABSOLUTE FINAL: remove orphan left-side copy buttons
   ========================================================= */

.wy-nav-content > button.copybtn,
.rst-content > button.copybtn,
.document > button.copybtn,
.cf-article-main > button.copybtn {
  display: none !important;
}

.cf-jump-to {
  right: 18px !important;
  z-index: 1200 !important;
}

/* =========================================================
   Read the Docs link previews
   ========================================================= */

body > div.tooltip[data-linkpreview-href] {
  width: min(30rem, calc(100vw - 2rem));
  max-width: min(30rem, calc(100vw - 2rem));
  max-height: min(28rem, 65vh);
  border: 1px solid var(--cf-border);
  border-radius: 0.75rem;
  background: var(--cf-surface);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

body > div.tooltip[data-linkpreview-href] .cf-article-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

body > div.tooltip[data-linkpreview-href] .cf-article-aside {
  display: none !important;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content {
  width: 100%;
  padding: 1rem 1.25rem;
  color: var(--cf-text-soft);
  font-family: var(--cf-font);
  font-size: 0.875rem;
  line-height: 1.5;
  scrollbar-gutter: stable;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content h1,
body > div.tooltip[data-linkpreview-href] .tooltip-content h2,
body > div.tooltip[data-linkpreview-href] .tooltip-content h3,
body > div.tooltip[data-linkpreview-href] .tooltip-content h4,
body > div.tooltip[data-linkpreview-href] .tooltip-content h5,
body > div.tooltip[data-linkpreview-href] .tooltip-content h6 {
  color: var(--cf-heading);
  font-family: var(--cf-font);
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content h1 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  line-height: 1.2;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content h2 {
  margin: 1.15rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content h3,
body > div.tooltip[data-linkpreview-href] .tooltip-content h4,
body > div.tooltip[data-linkpreview-href] .tooltip-content h5,
body > div.tooltip[data-linkpreview-href] .tooltip-content h6 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content p,
body > div.tooltip[data-linkpreview-href] .tooltip-content ul,
body > div.tooltip[data-linkpreview-href] .tooltip-content ol {
  margin: 0 0 0.75rem;
}

body > div.tooltip[data-linkpreview-href] .tooltip-content a,
body > div.tooltip[data-linkpreview-href] .tooltip-content a:visited {
  color: var(--cf-link);
}

body > div.tooltip[data-linkpreview-href] .tooltip-content a:hover,
body > div.tooltip[data-linkpreview-href] .tooltip-content a:focus-visible {
  color: var(--cf-link-hover);
}

body > div.tooltip[data-linkpreview-href] .arrow {
  background: var(--cf-surface);
}

@media (max-width: 600px) {
  body > div.tooltip[data-linkpreview-href] {
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    max-height: 60vh;
  }

  body > div.tooltip[data-linkpreview-href] .tooltip-content {
    padding: 0.875rem 1rem;
  }
}

/* =========================================================
   ABSOLUTE FINAL: active sidebar document hierarchy
   ========================================================= */

/*
   Keep unrelated branches compact. Within the current top-level section,
   reveal every document at the visible level and open only the branch that
   contains the current article.
*/
.wy-menu-vertical li.toctree-l1.current li.toctree-l2,
.wy-menu-vertical li.toctree-l1.current li.toctree-l3,
.wy-menu-vertical li.toctree-l1.current li.toctree-l4,
.wy-menu-vertical li.toctree-l1.current li.toctree-l5,
.wy-menu-vertical li.toctree-l1.current li.toctree-l6 {
  display: block !important;
}

.wy-menu-vertical li.toctree-l1.current li > ul {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.wy-menu-vertical
  li.toctree-l1.current:not(.cf-sidebar-section-collapsed)
  li.toctree-l2.current
  > ul,
.wy-menu-vertical
  li.toctree-l1.current:not(.cf-sidebar-section-collapsed)
  li.toctree-l3.current
  > ul,
.wy-menu-vertical
  li.toctree-l1.current:not(.cf-sidebar-section-collapsed)
  li.toctree-l4.current
  > ul,
.wy-menu-vertical
  li.toctree-l1.current:not(.cf-sidebar-section-collapsed)
  li.toctree-l5.current
  > ul,
.wy-menu-vertical
  li.toctree-l1.current:not(.cf-sidebar-section-collapsed)
  li.toctree-l6.current
  > ul {
  display: block !important;
}

/*
   Use indentation to communicate the document hierarchy while keeping every
   article on one compact row. Full titles remain available through the shared
   hover and keyboard-focus tooltip.
*/
.wy-menu-vertical li.toctree-l1.current li.toctree-l2 > a,
.wy-menu-vertical li.toctree-l1.current li.toctree-l3 > a,
.wy-menu-vertical li.toctree-l1.current li.toctree-l4 > a,
.wy-menu-vertical li.toctree-l1.current li.toctree-l5 > a,
.wy-menu-vertical li.toctree-l1.current li.toctree-l6 > a {
  position: relative !important;
  display: block !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 6px 10px 6px 0 !important;
  color: #374151 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0.84rem !important;
  line-height: 1.32 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l2 > a {
  margin-left: 39px !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l3 > a {
  margin-left: 51px !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l4 > a {
  margin-left: 63px !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l5 > a {
  margin-left: 75px !important;
}

.wy-menu-vertical li.toctree-l1.current li.toctree-l6 > a {
  margin-left: 87px !important;
}

.wy-menu-vertical li.toctree-l1.current li.current > a {
  color: var(--cf-sidebar-active-link) !important;
  font-weight: 600 !important;
}

.wy-menu-vertical
  li.toctree-l1.current
  li.current:not(:has(li.current))
  > a,
.wy-menu-vertical li.toctree-l1.current li > a:hover,
.wy-menu-vertical li.toctree-l1.current li > a:focus-visible {
  color: var(--cf-sidebar-active-link) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

.wy-menu-vertical li.toctree-l1.current li .toctree-expand {
  display: none !important;
}
