:root {
  color-scheme: light;
  font: 16px/1.65 system-ui, sans-serif;
  color: #232323;
  background: #fbfaf7;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
.docs-header {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 54px);
  color: #fff;
  background: #141414;
}
.docs-header a { text-decoration: none; }
.docs-header img { width: 124px; display: block; }
.docs-title { padding-left: 24px; border-left: 1px solid #494949; font-weight: 650; }
.docs-home { margin-left: auto; font-size: .85rem; }
.docs-layout {
  width: min(1120px, 100%);
  min-height: calc(100dvh - 64px);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  margin: 0 auto;
}
.docs-layout nav {
  padding: 28px 18px;
  border-right: 1px solid #e6e3da;
}
.docs-layout nav ul, .doc-related { margin: 0; padding: 0; list-style: none; }
.docs-layout nav a, .doc-related a {
  display: block;
  padding: 8px 13px;
  border-radius: 7px;
  text-decoration: none;
}
.docs-layout nav a:hover, .doc-related a:hover { background: #eeece5; }
.docs-layout nav a[aria-current="page"] { background: #fff1b0; font-weight: 650; }
.docs-layout main {
  padding: clamp(24px, 6vw, 70px);
  max-width: 830px;
}
h1 { margin: 0 0 23px; font: 730 clamp(33px, 5vw, 54px)/1.07 system-ui, sans-serif; letter-spacing: -.045em; }
article { overflow-wrap: anywhere; }
article p { margin: 0 0 14px; }
.doc-related { border-top: 1px solid #e6e3da; }
.doc-related li { border-bottom: 1px solid #e6e3da; }
.docs-pagination {
  display: flex;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin: 34px 0 15px;
  padding-top: 15px;
  border-top: 1px solid #e6e3da;
  font-size: .88rem;
}
footer { color: #4d4d47; font-size: .8rem; }
@media(max-width: 720px) {
  .docs-layout { display: block; }
  .docs-layout nav { padding: 14px 12px; border-right: 0; border-bottom: 1px solid #e6e3da; }
  .docs-layout nav ul { display: flex; overflow: auto; gap: 4px; }
  .docs-layout nav a { white-space: nowrap; font-size: .85rem; }
}
/* v3: clearer documentation layout, without changing article text. */
:root{background:#f8f8f6;color:#171717;}
.docs-header{position:sticky;top:0;z-index:10;border-bottom:2px solid #ffca00;}
.docs-layout{width:min(1320px,100%);grid-template-columns:270px minmax(0,1fr);}
.docs-layout nav{background:#fff;}
.docs-layout main{max-width:920px;background:#fff;border-radius:18px;margin:24px;box-shadow:0 3px 24px #00000008;}
.docs-layout main h2{margin-top:2em;letter-spacing:-.025em;}
.docs-layout main article a{text-decoration-color:#ba9700;text-underline-offset:3px;}
@media(max-width:720px){.docs-layout main{margin:12px;}.docs-header{gap:12px;}.docs-title{padding-left:12px;}}
