
*, *::before, *::after { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { background: #fff; font-family: Arial, Helvetica, sans-serif; }
.pageShell {
  min-height: 100svh;
  color: #23232b;
  background: #fff;
}

.siteHeader {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 40px;
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid #ececf1;
  backdrop-filter: blur(14px);
}

.brand {
  color: #17171e;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1.2px;
  text-decoration: none;
}

.headerControls,
.documentNavigation {
  display: flex;
  align-items: center;
  gap: 8px;
}

.documentNavigation a {
  padding: 9px 12px;
  color: #60606d;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.documentNavigation a:hover {
  background: #f5f5f8;
}

.documentNavigation a[aria-current="page"] {
  color: #17171e;
  background: #f0fbfd;
}

.languagePicker {
  position: relative;
  color: #60606d;
  font-size: 13px;
}

.languagePicker summary {
  min-width: 88px;
  padding: 8px 30px 8px 11px;
  border: 1px solid #dedee5;
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
}

.languagePicker summary::-webkit-details-marker {
  display: none;
}

.languagePicker summary::after {
  position: absolute;
  top: 50%;
  right: 11px;
  content: "▾";
  transform: translateY(-50%);
}

.languagePicker[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.languagePicker ul {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 144px;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #dedee5;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgb(23 23 30 / 14%);
  list-style: none;
}

.languagePicker a {
  display: block;
  padding: 8px 10px;
  color: inherit;
  border-radius: 7px;
  text-decoration: none;
}

.languagePicker a:hover,
.languagePicker a[aria-current="page"] {
  color: #17171e;
  background: #f0fbfd;
}

.layout {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  justify-content: center;
  gap: 72px;
  margin: 0 auto;
  padding: 80px 0 120px;
}

.tableOfContents {
  position: sticky;
  top: 104px;
  max-height: calc(100svh - 136px);
  align-self: start;
  overflow: auto;
  color: #70707d;
  scrollbar-width: thin;
}

.tableOfContents strong {
  display: block;
  margin-bottom: 14px;
  color: #292931;
  font-size: 13px;
}

.tableOfContents ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tableOfContents a {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}

.tableOfContents a:hover {
  color: #17171e;
}

.document {
  min-width: 0;
  color: #373741;
  font-size: 15px;
  line-height: 1.86;
  overflow-wrap: anywhere;
}

.documentHeader {
  margin-bottom: 72px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e6e6eb;
}

.documentHeader p {
  margin: 0 0 12px;
  color: #73737f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.documentHeader h1 {
  margin: 0;
  color: #17171e;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.translationNotice {
  margin: 0 0 44px !important;
  padding: 14px 16px;
  color: #555561;
  background: #f7f7f9;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
}

.document h2,
.document h3 {
  color: #1d1d25;
  scroll-margin-top: 100px;
}

.document h2 {
  margin: 68px 0 20px;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.025em;
}

.document h3 {
  margin: 36px 0 14px;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.document p {
  margin: 12px 0;
}

.document ol,
.document ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 24px;
  padding-left: 24px;
}

.document ol ol {
  margin: 10px 0 2px;
  list-style-type: lower-alpha;
}

.document ol ol ol {
  list-style-type: lower-roman;
}

.document ul {
  list-style-type: disc;
}

.document li {
  padding-left: 4px;
}

.document li::marker {
  color: #7a7a86;
  font-weight: 600;
}

.document a {
  color: #087c91;
  text-underline-offset: 3px;
}

.document blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  color: #454551;
  background: #f7f7f9;
  border-left: 3px solid #38dafa;
  border-radius: 0 10px 10px 0;
}

.tableScroller {
  width: 100%;
  margin: 24px 0 36px;
  overflow-x: auto;
  border: 1px solid #e2e2e8;
  border-radius: 12px;
}

.tableScroller:focus-visible {
  outline: 2px solid #087c91;
  outline-offset: 3px;
}

.tableScroller table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

.tableScroller th,
.tableScroller td {
  min-width: 150px;
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #e8e8ed;
  border-bottom: 1px solid #e8e8ed;
}

.tableScroller th {
  color: #2a2a33;
  background: #f7f7f9;
  font-weight: 700;
}

.tableScroller th:last-child,
.tableScroller td:last-child {
  border-right: 0;
}

.tableScroller tbody tr:last-child td {
  border-bottom: 0;
}

.footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 28px 0 40px;
  color: #858590;
  border-top: 1px solid #ececf1;
  font-size: 12px;
}

.footer a {
  color: inherit;
}

@media (max-width: 900px) {
  .siteHeader {
    min-height: 60px;
    padding: 0 20px;
  }

  .headerControls,
  .documentNavigation {
    gap: 0;
  }

  .documentNavigation a {
    padding: 8px;
    font-size: 12px;
  }

  .languagePicker summary {
    min-width: 72px;
    padding-left: 8px;
    font-size: 12px;
  }

  .layout {
    width: min(100% - 40px, 760px);
    display: block;
    padding: 52px 0 88px;
  }

  .tableOfContents {
    position: static;
    max-height: none;
    margin-bottom: 48px;
    padding: 18px;
    background: #f8f8fa;
    border-radius: 12px;
  }

  .tableOfContents ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .documentHeader {
    margin-bottom: 52px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .documentNavigation a {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .headerControls {
    min-width: 0;
  }

  .languagePicker summary {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .layout {
    width: calc(100% - 32px);
    padding-top: 36px;
  }

  .tableOfContents ol {
    grid-template-columns: 1fr;
  }

  .document {
    font-size: 14px;
    line-height: 1.82;
  }

  .documentHeader h1 {
    font-size: 32px;
  }

  .document h2 {
    margin-top: 52px;
    font-size: 20px;
  }

  .footer {
    width: calc(100% - 32px);
    flex-direction: column;
  }
}

@media print {
  .siteHeader,
  .tableOfContents,
  .translationNotice,
  .footer {
    display: none;
  }

  .layout {
    width: 100%;
    display: block;
    padding: 0;
  }

  .document {
    max-width: none;
    color: #000;
    font-size: 11pt;
  }

  .document h2,
  .document h3 {
    break-after: avoid;
  }

  .tableScroller {
    overflow: visible;
  }

  .tableScroller table {
    min-width: 0;
  }
}
