@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --docs-header: #10232b;
  --docs-header-text: #e6eeed;
  --docs-text: #1a3038;
  --docs-text-strong: #17382e;
  --docs-text-muted: #718078;
  --docs-border: #e2e9e4;
  --docs-accent: #24735f;
  --docs-accent-light: #9de3cf;
  --docs-page: #f6f7f5;
  --docs-surface: #fff;
}

body.wy-body-for-nav {
  color: var(--docs-text);
  background: var(--docs-page);
  font-family: "DM Sans", sans-serif;
}

.li-docs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 86px;
  background: var(--docs-header);
  color: var(--docs-header-text);
  border-bottom: 1px solid #263d43;
}

.li-docs-nav-container {
  min-height: 86px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 54px;
}

.li-docs-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--docs-header-text) !important;
  font: 800 27px/1 "Manrope", sans-serif;
  letter-spacing: -1.2px;
  white-space: nowrap;
  text-decoration: none !important;
}

.li-docs-brand-symbol {
  width: 33px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #75baa7;
  border-radius: 8px;
  color: #a3e0cd;
  font: 500 15px/1 "IBM Plex Mono", monospace;
  transform: rotate(-4deg);
}

.li-docs-brand-light { font-weight: 500; }
.li-docs-brand-period { color: #7addbf; }

.li-docs-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  margin-left: 0;
  color: #b5c0c4;
  font-size: 13px;
}

.li-docs-nav a {
  position: relative;
  display: inline-flex;
  min-height: 86px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.li-docs-nav a:hover,
.li-docs-nav a[aria-current="page"] { color: #fff; }

.li-docs-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--docs-accent-light);
  content: "";
}

.li-docs-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.li-docs-sign-in {
  min-height: auto;
  gap: 16px;
  padding: 10px 15px;
  border: 1px solid #51636b;
  border-radius: 5px;
  color: var(--docs-header-text);
}

.li-docs-sign-in::after { display: none; }
.li-docs-sign-in:hover { background: #213a43; }
.li-docs-nav [hidden] { display: none !important; }
.li-docs-staff-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #80c8b1;
  border-radius: 999px;
  padding: 4px 8px;
  background: #193b3d;
  color: #b3efd9;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.li-docs-signed-in { display: inline-flex; align-items: center; gap: 7px; color: var(--docs-header-text); font-size: 11px; }
.li-docs-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #5ca98f; box-shadow: 0 0 0 3px #68b39914; }

.wy-nav-side {
  top: 86px;
  bottom: 0;
  width: 270px;
  background: var(--docs-header);
}

.wy-nav-side.shift { top: 86px; }
.wy-nav-side .wy-side-scroll { background: var(--docs-header); }
.wy-nav-side .wy-side-nav-search { background: var(--docs-header); }
.wy-nav-side .wy-side-nav-search > a { color: var(--docs-header-text); }
.wy-nav-side .wy-side-nav-search > a.icon-home { font-size: 0; }
.wy-nav-side .wy-side-nav-search > a.icon-home::before { display: none; }
.wy-nav-side .wy-side-nav-search > a.icon-home::after {
  content: "LI Decode";
  font: 700 18px "Manrope", sans-serif;
}
.wy-nav-side .wy-side-nav-search input[type="text"] {
  border-color: #50636a;
  border-radius: 5px;
  background: #fff;
  color: var(--docs-text);
  font-family: "DM Sans", sans-serif;
}

.wy-menu-vertical a { color: #c1ceca; }
.wy-menu-vertical a:hover { background: #19363c; color: #fff; }
.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on > a {
  border-color: #75baa7;
  background: #193b3d;
  color: #e6eeed;
}
.wy-menu-vertical li.current a { color: #d5e9e2; }
.wy-menu-vertical p.caption { color: #91b4a8; }
.wy-menu-vertical li.current > ul,
.wy-menu-vertical li.on > ul { background: #10232b; }
.wy-menu-vertical li.current > ul li > a,
.wy-menu-vertical li.on > ul li > a {
  background: transparent;
  color: #c1ceca;
}
.wy-menu-vertical li.current > ul li > a:hover,
.wy-menu-vertical li.on > ul li > a:hover {
  background: #19363c;
  color: #fff;
}
.wy-menu-vertical li.current > ul li.current > a {
  background: #193b3d;
  color: #e6eeed;
}

.wy-nav-content-wrap {
  margin-left: 270px;
  background: var(--docs-page);
}

.wy-nav-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5em 3.5em;
  background: var(--docs-surface);
}

.wy-nav-top { background: #193b3d; }
.wy-nav-top a { color: var(--docs-header-text); }

.rst-content,
.rst-content p,
.rst-content li,
.rst-content td,
.rst-content th {
  color: var(--docs-text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.75;
}

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4,
.wy-breadcrumbs { font-family: "Manrope", sans-serif; }

.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4 { color: var(--docs-text-strong); }

.rst-content h1 {
  margin-bottom: 0.8em;
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.rst-content h2 {
  margin-top: 1.8em;
  border-bottom-color: var(--docs-border);
  font-size: 1.55em;
  font-weight: 700;
}

.rst-content a,
.wy-breadcrumbs a,
.rst-content .toctree-wrapper a { color: var(--docs-accent); }
.rst-content a:hover,
.wy-breadcrumbs a:hover { color: #174f42; }
.wy-breadcrumbs { color: var(--docs-text-muted); }

.rst-content code,
.rst-content tt,
.rst-content pre,
.rst-content .literal-block-wrapper,
.rst-content div[class^="highlight"] {
  font-family: "IBM Plex Mono", monospace;
}

.rst-content code.literal,
.rst-content tt.literal {
  border: 1px solid var(--docs-border);
  border-radius: 4px;
  background: #f4f8f5;
  color: #235e50;
}

.rst-content pre {
  border: 1px solid #dce5df;
  border-radius: 6px;
  background: #f6f8f6;
  color: #20382e;
  line-height: 1.6;
}

.rst-content table.docutils { border-color: var(--docs-border); }
.rst-content table.docutils th { background: #f0f6f2; color: var(--docs-text-strong); }
.rst-content table.docutils td,
.rst-content table.docutils th { border-color: var(--docs-border); }
.rst-content .note,
.rst-content .admonition { border-radius: 5px; box-shadow: none; }
.rst-content .note { border-left: 4px solid var(--docs-accent); background: #eff7f2; }
.rst-content .warning,
.rst-content .caution { border-left: 4px solid #d49539; border-radius: 5px; }

.li-docs-footer {
  margin: 2em -3.5em -2.5em;
  border-top: 1px solid #dfe5de;
  background: #eff2eb;
}

.li-docs-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.li-docs-footer .li-docs-wordmark {
  flex: none;
  color: #486153 !important;
  font-size: 19px;
}

.li-docs-footer .li-docs-brand-symbol {
  width: 25px;
  height: 27px;
  border-color: #8da58b;
  color: #61856b;
  font-size: 12px;
}

.li-docs-footer p { color: #74816c; font-size: 10px; }
.li-docs-footer-standard { margin-left: auto; color: #76846b; font: 8px "IBM Plex Mono", monospace; }
.li-docs-footer-copyright { color: #74816c; font-size: 10px; }
.li-docs-footer-inner > a:not(.li-docs-wordmark) {
  color: #477d63;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .li-docs-nav-container { gap: 28px; padding-right: 28px; padding-left: 28px; }
  .li-docs-nav { gap: 18px; }
  .li-docs-signed-in { display: none; }
}

@media (max-width: 900px) {
  .li-docs-nav-container { gap: 20px; padding-right: 20px; padding-left: 20px; }
  .li-docs-nav { gap: 14px; font-size: 12px; }
  .li-docs-wordmark { font-size: 23px; }
  .wy-nav-content { padding: 2em; }
  .li-docs-footer { margin: 2em -2em -2em; }
}

@media (max-width: 768px) {
  .li-docs-header,
  .li-docs-nav-container { min-height: 70px; }
  .li-docs-nav-container { flex-wrap: wrap; gap: 0 20px; padding: 9px 16px; }
  .li-docs-wordmark { font-size: 22px; }
  .li-docs-brand-symbol { width: 29px; height: 31px; }
  .li-docs-nav {
    min-height: 30px;
    width: 100%;
    flex: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 12px;
    font-size: 11px;
  }
  .li-docs-nav a { min-height: 30px; }
  .li-docs-sign-in { gap: 5px; padding: 4px 6px; }
  .wy-nav-side,
  .wy-nav-side.shift { top: 70px; }
  .wy-nav-content-wrap { margin-left: 0; }
  .wy-nav-content { padding: 1.5em 1.25em; }
  .li-docs-footer { margin: 2em -1.25em -1.5em; }
  .li-docs-footer-inner { padding: 24px; gap: 12px 18px; flex-wrap: wrap; }
  .li-docs-footer p { font-size: 9px; }
  .li-docs-footer-standard { margin-left: 0; }
  .li-docs-footer-copyright { margin-left: auto; }
}
