@font-face {
  font-family: "DM Sans";
  src: url("/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fbfaf8;
  --ink: #182021;
  --text: #3d4242;
  --muted: #575f5c;
  --line: #d7dad5;
  --accent: #075e54;
  --accent-hover: #084d46;
  --accent-bg: #e0ebe7;
  --terminal: #192122;
  --terminal-top: #293333;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { color: inherit; }
a { color: var(--accent); text-underline-offset: .19em; }
a:hover { color: var(--accent-hover); }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 5; background: white; padding: 10px 16px; }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 63px; margin: auto; max-width: 1600px; padding: 0 4.6%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand, .brand-group, .header-actions { display: flex; align-items: center; }
.brand { gap: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand strong { font-size: 21px; font-weight: 820; letter-spacing: -.035em; }
.brand-label { color: var(--muted); font-size: 19px; }
.brand-icon { width: 33px; height: 31px; background: var(--accent); color: white; border-radius: 6px; display: grid; place-items: center; }
.brand-division { height: 22px; width: 1px; background: #a6acaa; }
.header-actions { gap: 34px; }
.portal-link { text-decoration: none; font-weight: 680; white-space: nowrap; }
.portal-link:hover { text-decoration: underline; }
.search-trigger { display: flex; align-items: center; gap: 8px; min-height: 39px; padding: 5px 11px; border: 1px solid #9fa9a6; border-radius: 8px; background: transparent; font-size: 14px; cursor: pointer; }
.search-trigger:hover, .menu-button:hover { background: var(--accent-bg); }
.search-trigger svg { color: #274341; }
kbd { font-family: inherit; padding: 1px 5px; border: 1px solid #c9ceca; border-radius: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; border-radius: 6px; cursor: pointer; }

.layout { display: grid; grid-template-columns: minmax(190px, 19%) minmax(0, 1fr) minmax(162px, 17%); margin: 34px auto 0; max-width: 1600px; padding: 0 4%; align-items: stretch; }
.sidebar-column { border-right: 1px solid var(--line); }
.sidebar { position: sticky; top: 97px; max-height: calc(100dvh - 97px); overflow: auto; padding: 19px 14px 32px 0; }
.nav-group + .nav-group { margin-top: 36px; }
.nav-group p { margin: 0 0 10px 9px; font-size: 14px; font-weight: 790; color: var(--text); text-transform: uppercase; letter-spacing: .095em; }
.nav-group ul, .on-page ul { margin: 0; padding: 0; list-style: none; }
.nav-group a { display: block; color: var(--ink); text-decoration: none; font-size: 16px; padding: 8px 16px; line-height: 1.25; border-radius: 7px; }
.nav-group a:hover { background: #eeefeb; }
.nav-group a[aria-current] { color: var(--accent); background: var(--accent-bg); font-weight: 750; }
main { min-width: 0; padding: 8px clamp(28px, 3.5vw, 59px) 48px; }
main:focus { outline: none; }
.article { max-width: 825px; margin: 0 auto; font-size: 17px; line-height: 1.63; color: var(--text); overflow-wrap: anywhere; }
.article h1, .article h2, .article h3 { color: var(--ink); line-height: 1.11; }
.article h1 { font-size: clamp(38px, 4.2vw, 64px); font-weight: 860; letter-spacing: -.053em; margin: 0 0 4px; }
.article h2 { margin: 33px 0 7px; font-size: clamp(29px, 2.8vw, 41px); font-weight: 820; letter-spacing: -.046em; scroll-margin-top: 92px; }
.article h3 { margin: 28px 0 10px; font-size: 23px; font-weight: 760; letter-spacing: -.025em; scroll-margin-top: 92px; }
.article p { margin: 0 0 15px; }
.article .lede { font-size: clamp(19px, 1.62vw, 24px); line-height: 1.43; color: var(--text); margin: 0 0 21px; }
.overview .lede { font-size: clamp(19px, 1.55vw, 23px); margin-bottom: 20px; }
.article .section-name { font-size: 14px; font-weight: 700; color: var(--muted); margin: 4px 0 13px; }
.article ul, .article ol { padding-left: 1.45em; margin: 10px 0 19px; }
.article li + li { margin-top: .33em; }
.article code { font-family: var(--mono); font-size: .86em; }
.article :not(pre) > code { padding: .13em .32em; background: #edf0eb; color: #1b4f48; border-radius: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: 0 0 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45em; min-height: 45px; padding: 8px 25px; border-radius: 8px; border: 1px solid var(--accent); font-weight: 760; text-decoration: none; font-size: 17px; line-height: 1.25; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-hover); color: white; }
.secondary { color: var(--ink); }
.secondary:hover { background: var(--accent-bg); }
.overview h2 + p { font-size: 19px; line-height: 1.5; }

.snippet { border-radius: 9px; overflow: hidden; background: var(--terminal); color: #f1f6f3; margin: 16px 0 26px; }
.snippet figcaption { display: flex; align-items: center; justify-content: space-between; min-height: 37px; padding: 0 14px 0 19px; background: var(--terminal-top); font-size: 14px; font-weight: 650; }
.copy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; min-height: 32px; padding: 2px 5px; background: transparent; border-radius: 5px; font-size: 14px; cursor: pointer; }
.copy:hover { background: #3c4948; }
.copy:focus-visible, .snippet pre:focus-visible { outline: 2px solid #b2e6d5; outline-offset: -3px; }
.copy svg { width: 18px; height: 18px; }
.snippet pre { margin: 0; padding: 9px 22px 14px; overflow-x: auto; font: 15.5px/1.5 var(--mono); overflow-wrap: normal; }
.snippet pre code { color: inherit; font: inherit; }
.command-line::before { content: "$ "; color: #b5d0c8; user-select: none; margin-right: .34em; }
.quick-links { margin: 13px 0 0; }
.quick-links div { display: grid; grid-template-columns: minmax(166px, 25%) 1fr; gap: 11px; padding: 4px 0; }
.quick-links dt { font-weight: 760; }
.quick-links dd { margin: 0; font-size: 16px; }

.on-page { border-left: 1px solid var(--line); min-height: 100%; padding: 20px 0 0 29px; }
.on-page nav { position: sticky; top: 117px; max-height: calc(100dvh - 135px); overflow: auto; }
.on-page p { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -.024em; }
.on-page a { color: var(--text); display: block; line-height: 1.3; font-size: 16px; text-decoration: none; padding: 6px 3px; }
.on-page a:hover { text-decoration: underline; color: var(--accent); }
.table-wrap { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: 7px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; }
th { color: var(--ink); background: #efefeb; }
tr + tr, tbody { border-top: 1px solid var(--line); }
.pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.pagination a { border: 1px solid var(--line); border-radius: 8px; padding: 11px 15px; text-decoration: none; }
.pagination a:hover { border-color: var(--accent); }
.pagination a:last-child { text-align: right; }
.pagination span { display: block; font-size: 13px; color: var(--muted); }
.article-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); max-width: 825px; margin: 43px auto 0; padding-top: 16px; font-size: 14px; color: var(--muted); }

.search-dialog { color: var(--ink); width: min(640px, calc(100% - 28px)); padding: 22px; margin: min(14vh, 105px) auto 0; max-height: min(74dvh, 700px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.search-dialog::backdrop { background: rgb(22 30 28 / 48%); }
.search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 760; }
.search-close { cursor: pointer; font-size: 14px; border: 1px solid var(--line); background: transparent; border-radius: 5px; padding: 5px 9px; }
#doc-search { width: 100%; padding: 11px 13px; border-radius: 7px; border: 1px solid #8a9995; background: white; color: var(--ink); }
.search-status { color: var(--muted); margin: 14px 0 7px; font-size: 14px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results a { display: grid; gap: 3px; border-radius: 5px; padding: 9px; text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--accent-bg); }
.search-results a span { color: var(--muted); font-size: 14px; }

@media (max-width: 1090px) {
  .layout { grid-template-columns: 204px minmax(0, 1fr); padding: 0 3.2%; }
  .on-page { display: none; }
  main { padding-inline: clamp(26px, 5vw, 51px); }
}
@media (max-width: 710px) {
  .header-inner { min-height: 59px; padding: 0 15px; gap: 7px; }
  .brand-group { gap: 6px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 17px; }
  .brand-icon { width: 28px; height: 27px; }
  .brand-icon svg { width: 17px; height: 17px; }
  .brand-label, .brand-division, .header-actions kbd, .portal-link { display: none; }
  .menu-button { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; }
  .search-trigger { gap: 5px; padding-inline: 7px; min-height: 36px; }
  .search-trigger svg { width: 17px; height: 17px; }
  .layout { display: block; margin-top: 0; padding: 0; }
  .sidebar-column { border: 0; }
  .sidebar { position: fixed; display: none; z-index: 2; top: 59px; left: 0; width: min(310px, 86vw); max-height: calc(100dvh - 59px); background: var(--paper); border-bottom: 1px solid var(--line); padding: 19px 16px 24px; }
  .sidebar.is-open { display: block; }
  main { padding: 28px 20px 30px; }
  .article { font-size: 16px; }
  .article h1 { letter-spacing: -.045em; margin-bottom: 9px; }
  .article h2 { margin-top: 28px; }
  .article .lede { margin-bottom: 17px; }
  .overview h2 + p { font-size: 17px; }
  .actions { gap: 8px; margin-bottom: 22px; }
  .button { padding-inline: 13px; font-size: 14px; min-height: 42px; }
  .snippet pre { padding: 10px 13px 14px; font-size: 13px; }
  .snippet figcaption { padding: 0 10px 0 13px; }
  .quick-links div { grid-template-columns: 1fr; gap: 1px; padding-block: 6px; }
  .quick-links dd { font-size: 15px; }
}
