@font-face {
  font-family: Inter;
  src: url("../assets/Inter-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: Inter, system-ui, sans-serif;
  color: #262c29;
  background: #f7f6f2;
  font-synthesis: none;
  --muted: #69716a;
  --line: #e3e4dc;
  --accent: #c74c21;
  --green: #365b48;
  --paper: #fdfcf9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 108px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: #f6d9c8;
}
img,
svg {
  display: block;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
p + p {
  margin-top: 16px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 10px 18px;
  background: #263e30;
  color: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.docs-header {
  height: 83px;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  background: #f7f6f2f5;
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 21px;
  flex-shrink: 0;
}
.brand img {
  height: auto;
}
.brand-divider {
  height: 23px;
  width: 1px;
  background: #d4d7ce;
}
.docs-label {
  font-size: 17px;
  color: #778071;
  letter-spacing: -0.03em;
}
.header-actions {
  display: flex;
  align-items: baseline;
  gap: 26px;
}
.language-switch {
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.language-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  padding: 6px 8px;
  line-height: 1.4;
}
.language-switch button[aria-pressed="true"] {
  background: #e7e9e1;
  color: #2c3d30;
  border-radius: 5px;
}
.open-app {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-size: 12px;
  white-space: nowrap;
}
.open-app:hover {
  color: var(--accent);
}
.open-app span {
  font-size: 16px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 242px minmax(0, 760px) 185px;
  gap: 54px;
  max-width: 1440px;
  padding: 0 42px;
  margin: auto;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 83px;
  height: calc(100dvh - 83px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 33px 0 24px;
  border-right: 1px solid var(--line);
  padding-right: 25px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #dfe1d7;
  background: #f1f1ea;
  border-radius: 7px;
  padding: 9px 10px;
  margin-bottom: 30px;
}
.search-box svg {
  height: 15px;
  width: 15px;
  fill: none;
  stroke: #7b8177;
  stroke-width: 1.4;
  flex-shrink: 0;
}
.search-box input {
  border: 0;
  min-width: 0;
  max-width: 100%;
  background: transparent;
  font-size: 11px;
  width: 100%;
  color: #303a30;
  outline-offset: 7px;
}
.search-box input::placeholder {
  color: #767d72;
  opacity: 1;
}
.search-box kbd {
  border: 1px solid #d6d9cf;
  border-radius: 3px;
  color: #8b9086;
  font-size: 10px;
  padding: 0 5px;
  line-height: 1.7;
}
.nav-group + .nav-group {
  margin-top: 25px;
}
.nav-heading {
  color: #93998d;
  font-size: 9px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 9px 11px;
}
.nav-link {
  display: block;
  padding: 7px 11px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.5;
  color: #697064;
  margin: 2px 0;
}
.nav-link:hover {
  background: #eeeee6;
  color: #354b37;
}
.nav-link[aria-current="page"] {
  color: #354b37;
  background: #e8ebdf;
  font-weight: 550;
}
.sidebar-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 10px;
  color: #8a9084;
}
.status-dot {
  background: #709476;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: none;
}
.mobile-menu {
  display: none;
}
.search-count,
.search-empty {
  font-size: 11px;
  color: var(--muted);
  padding: 2px 10px 16px;
}
.search-result {
  display: block;
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
}
.search-result span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.search-result:hover {
  background: #eeeee6;
}
.search-result mark {
  background: #f6dfc9;
  color: inherit;
}
.article {
  padding: 43px 0 34px;
  min-width: 0;
  outline: none;
}
.breadcrumb {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 10px;
  color: #8a9184;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.breadcrumb span {
  white-space: nowrap;
}
.breadcrumb .current {
  color: #646f5f;
}
.article h1 {
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 480;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 700px;
}
.article-description {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.015em;
  color: #737c6d;
  margin-top: 22px;
  max-width: 640px;
}
.article-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 21px;
  font-size: 10px;
  color: #92998a;
}
.article-meta span {
  white-space: nowrap;
}
.article-meta .meta-pill {
  color: #6b7d62;
  border: 1px solid #dce1d2;
  border-radius: 4px;
  padding: 2px 7px;
  background: #eff1e8;
}
.article-body {
  margin-top: 39px;
}
.doc-section {
  scroll-margin-top: 106px;
  margin-top: 36px;
}
.doc-section:first-child {
  margin-top: 0;
}
.doc-section h2 {
  font-size: 22px;
  font-weight: 510;
  letter-spacing: -0.035em;
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-anchor {
  margin-left: 9px;
  color: #abb1a3;
  opacity: 0;
  font-size: 17px;
  font-weight: 400;
}
.doc-section h2:hover .section-anchor,
.section-anchor:focus-visible {
  opacity: 1;
}
.doc-section h3 {
  font-size: 16px;
  font-weight: 580;
  margin: 22px 0 9px;
}
.doc-section p,
.doc-section li {
  color: #586150;
}
.doc-section strong {
  font-weight: 590;
  color: #303e2c;
}
.doc-section a:not(.section-anchor) {
  color: #a34b2e;
  text-decoration: underline;
  text-decoration-color: #dcbba7;
  text-underline-offset: 3px;
}
.doc-section ul,
.doc-section ol {
  margin: 14px 0;
  padding-left: 22px;
}
.doc-section li {
  padding-left: 4px;
  margin: 7px 0;
}
.doc-section li::marker {
  color: #9aa58f;
}
.doc-section code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
  border: 1px solid #e4e5da;
  background: #efefe7;
  padding: 1px 4px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.formula {
  border: 1px solid #dce1d2;
  border-left: 3px solid #82906d;
  background: #f0f2e8;
  border-radius: 6px;
  padding: 17px 20px;
  margin: 18px 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  line-height: 1.9;
  overflow-x: auto;
  color: #35472f;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.formula p {
  color: inherit;
}
.formula code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
}
.callout {
  border: 1px solid #dce1d4;
  border-radius: 7px;
  background: #eeefe6;
  padding: 17px 20px;
  font-size: 13px;
  line-height: 1.8;
  margin: 20px 0;
  color: #53634a;
}
.callout p {
  color: inherit;
}
.example {
  border: 1px solid #e5dfd2;
  background: #faf7ed;
  border-radius: 7px;
  padding: 19px 21px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.8;
}
.example > strong:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c7759;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 7px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  line-height: 1.65;
}
th {
  text-align: left;
  background: #eff0e8;
  font-size: 10px;
  color: #717a66;
  font-weight: 550;
}
th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  color: #586150;
}
tr:last-child td {
  border-bottom: 0;
}
td p + p {
  margin-top: 8px;
}
.flow {
  display: flex;
  gap: 24px;
  margin: 23px 0;
  align-items: stretch;
}
.flow-step {
  position: relative;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 15px 14px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: #69745f;
}
.flow-step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
}
.flow-step + .flow-step:before {
  content: "→";
  position: absolute;
  left: -19px;
  top: 20px;
  color: #a0aa94;
}
.overview-art {
  border: 1px solid #e2e5d7;
  background: #eff1e7;
  border-radius: 9px;
  padding: 23px 26px 24px;
  margin: 28px 0 0;
  position: relative;
  overflow: hidden;
}
.art-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 10px;
  color: #7a876d;
}
.art-top span:last-child {
  font-size: 9px;
  color: #929c88;
}
.range-art {
  height: 93px;
  position: relative;
  margin-top: 21px;
}
.range-axis {
  position: absolute;
  height: 1px;
  background: #b4bca7;
  left: 0;
  right: 0;
  top: 58px;
}
.range-band {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 12px;
  height: 47px;
  background: repeating-linear-gradient(
    90deg,
    #b8c4a930,
    #b8c4a930 7px,
    #b8c4a960 7px,
    #b8c4a960 8px
  );
  border-inline: 1px solid #9fac8f;
  border-top: 1px solid #bbc5ae;
}
.range-price {
  position: absolute;
  left: 53%;
  top: 0;
  height: 72px;
  border-left: 1px solid #d36b3e;
}
.range-price:after {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 55px;
  width: 6px;
  height: 6px;
  background: #d36b3e;
  border-radius: 50%;
}
.price-tag {
  position: absolute;
  top: -2px;
  left: calc(53% + 8px);
  font-size: 9px;
  color: #b65a31;
  white-space: nowrap;
}
.range-label {
  position: absolute;
  top: 69px;
  font-size: 9px;
  color: #8a957d;
}
.range-label.lower {
  left: 22%;
  transform: translateX(-50%);
}
.range-label.upper {
  left: 78%;
  transform: translateX(-50%);
}
.range-caption {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  font-size: 9px;
  gap: 10px;
  color: #859177;
}
.range-caption span:nth-child(2) {
  color: #4d6741;
}
.overview-art + * {
  margin-top: 32px;
}
.on-this-page {
  position: sticky;
  top: 125px;
  padding-top: 46px;
  font-size: 10px;
  line-height: 1.7;
}
.toc-label {
  color: #657358;
  font-weight: 550;
  margin-bottom: 15px;
}
.toc-link {
  display: block;
  color: #8c9581;
  border-left: 1px solid #dce1d1;
  padding: 6px 0 6px 13px;
}
.toc-link:hover,
.toc-link[aria-current="location"] {
  color: #4c6841;
  border-color: #798d65;
}
.toc-foot {
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 17px;
  color: #9aa18f;
  font-size: 9px;
}
.toc-foot a {
  display: block;
  color: #78866c;
  margin-top: 6px;
}
.article-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 44px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.page-next,
.page-prev {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 16px 19px;
  font-size: 12px;
  color: #56664a;
  background: #f9f9f3;
  line-height: 1.5;
}
.page-next:hover,
.page-prev:hover {
  border-color: #b6c0a5;
  background: #f0f2e7;
}
.page-next {
  text-align: right;
  grid-column: 2;
}
.page-prev span,
.page-next span {
  display: block;
  color: #919a85;
  font-size: 9px;
  margin-bottom: 6px;
}
.article-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #939b89;
  margin-top: 27px;
}
.article-footer span {
  white-space: nowrap;
}
@media (min-width: 1500px) {
  .docs-layout {
    gap: 65px;
    grid-template-columns: 250px minmax(0, 760px) 190px;
  }
  .docs-header {
    padding-inline: max(42px, calc((100vw - 1356px) / 2));
  }
}
@media (max-width: 1190px) {
  .docs-layout {
    grid-template-columns: 211px minmax(0, 1fr);
    gap: 39px;
    padding: 0 32px;
  }
  .on-this-page {
    display: none;
  }
  .docs-header {
    padding-inline: 32px;
  }
  .article {
    max-width: 760px;
    padding-right: 20px;
  }
  .sidebar {
    padding-right: 21px;
  }
  .article h1 {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 134px;
  }
  .docs-header {
    height: 69px;
    padding-inline: 22px;
  }
  .brand {
    gap: 13px;
  }
  .brand img {
    width: 112px;
  }
  .docs-label {
    font-size: 15px;
  }
  .header-actions {
    gap: 13px;
  }
  .open-app {
    font-size: 11px;
    gap: 10px;
  }
  .docs-layout {
    display: block;
    padding: 0 24px;
  }
  .sidebar {
    position: sticky;
    top: 69px;
    z-index: 20;
    height: auto;
    max-height: calc(100dvh - 69px);
    padding: 0;
    overflow-y: auto;
    border: 0;
    background: #f7f6f2;
    border-bottom: 1px solid var(--line);
    margin: 0 -24px;
  }
  .mobile-menu {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    background: transparent;
    border: 0;
    padding: 13px 24px;
    font-size: 11px;
    color: #6b785d;
  }
  .mobile-menu span:first-child {
    white-space: nowrap;
  }
  #sidebar-content {
    display: none;
    padding: 10px 24px 22px;
  }
  .sidebar.menu-open #sidebar-content {
    display: block;
  }
  .nav-group + .nav-group {
    margin-top: 17px;
  }
  .nav-link {
    padding-block: 9px;
  }
  .search-box {
    margin-bottom: 20px;
  }
  .sidebar-bottom {
    margin-top: 20px;
  }
  .article {
    padding: 30px 0;
  }
  .breadcrumb {
    margin-bottom: 21px;
  }
  .article h1 {
    font-size: 36px;
  }
  .article-description {
    font-size: 15px;
    margin-top: 20px;
  }
  .on-this-page {
    display: none;
  }
  .doc-section {
    scroll-margin-top: 137px;
  }
  .doc-section h2 {
    font-size: 22px;
  }
  .section-anchor {
    opacity: 1;
  }
  .article-body {
    margin-top: 31px;
  }
  .flow {
    gap: 20px;
    flex-wrap: wrap;
  }
  .flow-step {
    flex-basis: 150px;
  }
  .flow-step + .flow-step:before {
    left: -16px;
  }
  .overview-art {
    padding: 21px;
  }
  .article-meta {
    font-size: 9px;
  }
  .formula {
    font-size: 12px;
    padding: 15px;
  }
  .article-pagination {
    margin-top: 34px;
  }
  .article-footer {
    line-height: 1.5;
  }
}
@media (max-width: 450px) {
  .docs-header {
    padding-inline: 18px;
    gap: 10px;
  }
  .brand img {
    width: 99px;
  }
  .brand {
    gap: 10px;
  }
  .docs-label {
    font-size: 14px;
  }
  .header-actions {
    gap: 10px;
  }
  .language-switch button {
    font-size: 10px;
    padding: 5px;
  }
  .open-app {
    font-size: 0;
    gap: 0;
  }
  .open-app span {
    font-size: 20px;
  }
  .docs-layout {
    padding-inline: 20px;
  }
  .sidebar {
    margin-inline: -20px;
  }
  .mobile-menu {
    padding-inline: 20px;
  }
  .article h1 {
    font-size: 32px;
  }
  .article-description {
    font-size: 14px;
  }
  .article {
    font-size: 13px;
  }
  .overview-art {
    padding: 19px 15px;
  }
  .art-top {
    font-size: 9px;
  }
  .art-top span:last-child {
    font-size: 8px;
  }
  .range-caption {
    font-size: 8px;
    gap: 4px;
  }
  .range-label {
    font-size: 8px;
  }
  .flow {
    flex-direction: column;
    gap: 20px;
  }
  .flow-step {
    flex-basis: auto;
  }
  .flow-step + .flow-step:before {
    left: calc(50% - 5px);
    top: -23px;
    content: "↓";
  }
  .page-prev,
  .page-next {
    padding: 13px 12px;
    font-size: 11px;
  }
  .table-wrap {
    font-size: 11px;
  }
  th,
  td {
    padding: 10px;
  }
  .callout,
  .example {
    padding: 15px;
    font-size: 12px;
  }
  .article-footer {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .docs-header,
  .sidebar,
  .on-this-page,
  .article-pagination,
  .skip-link,
  .section-anchor {
    display: none !important;
  }
  .docs-layout {
    display: block;
    padding: 0;
  }
  .article {
    max-width: none;
    padding: 0;
  }
  .doc-section {
    break-inside: avoid;
  }
  .overview-art {
    print-color-adjust: exact;
  }
  .formula,
  .callout,
  .example {
    break-inside: avoid;
  }
  a {
    color: inherit !important;
  }
}
