:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #151719;
  background: #fff;
  --muted: #687078;
  --line: #e8eaed;
  --green: #087f68;
  --image-background: #edf3fb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}
a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #087f68;
  outline-offset: 5px;
  border-radius: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 8px 18px;
  background: #fff;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.docs-header {
  max-width: 1280px;
  margin: auto;
  padding: 20px 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.docs-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.docs-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  padding-left: 14px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
}
.docs-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}
.docs-header nav > a:first-child {
  color: var(--muted);
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
}
.button-primary {
  color: #fff;
  background: var(--green);
}
.button:hover {
  text-decoration: none;
  background: #066956;
}
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 68px;
  max-width: 1180px;
  padding: 50px 36px 80px;
  margin: auto;
}
.docs-sidebar {
  align-self: start;
  position: sticky;
  top: 36px;
  font-size: 14px;
}
.docs-sidebar summary {
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  cursor: pointer;
}
.docs-sidebar summary::-webkit-details-marker {
  display: none;
}
.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.docs-sidebar a {
  color: var(--muted);
  text-decoration: none;
  padding: 7px 0;
}
.docs-sidebar a:hover {
  color: var(--green);
}
.breadcrumb {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.eyebrow {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.7px;
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 600;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 600;
}
p {
  margin-bottom: 16px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}
.muted,
figcaption {
  color: var(--muted);
  font-size: 13px;
}
.article-header {
  margin-bottom: 32px;
}
section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.method-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
}
.method-card:hover {
  border-color: #8dc1b7;
  text-decoration: none;
  background: #fafcfb;
}
.method-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.method-card h3 span {
  color: var(--green);
}
.method-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.step-number {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--image-background);
  line-height: 1;
}
.screenshot {
  margin: 24px auto 32px;
}
.screenshot-frame {
  display: flex;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 15% 12%, #d9eaff 0, transparent 52%),
    radial-gradient(ellipse at 88% 86%, #e2dcff 0, transparent 48%),
    radial-gradient(ellipse at 85% 10%, #dff5f5 0, transparent 44%),
    linear-gradient(135deg, #eff5ff, #f2f0ff);
}
.screenshot img {
  width: 100%;
  border: 1px solid #e0e3e6;
  border-radius: 10px;
  background: #fff;
}
.screenshot-wizard img {
  max-width: 440px;
}
.screenshot-narrow img {
  max-width: 520px;
}
.screenshot-sidebar img {
  max-width: 400px;
}
.screenshot-menu img {
  max-width: 320px;
}
figcaption {
  margin-top: 12px;
  line-height: 1.7;
  text-align: center;
}
code {
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: 0.88em;
  background: #f5f6f7;
  padding: 2px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.tip {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 25px 0;
  font-size: 14px;
}
.tip summary {
  cursor: pointer;
  font-weight: 600;
}
.tip p {
  margin: 15px 0 0;
}
.callout {
  background: #f5f8f7;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 28px;
}
.callout p {
  margin: 0;
}
ul {
  padding-left: 22px;
}
li {
  margin: 10px 0;
}
.questions {
  margin: 0;
}
.questions > div {
  margin-top: 24px;
}
.questions dt {
  font-weight: 600;
  margin-bottom: 8px;
}
.questions dd {
  margin: 0;
  color: var(--muted);
}
.article-footer {
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.article-footer > a:last-child {
  display: inline-block;
  margin: 12px 0 12px 20px;
  font-size: 14px;
}
@media (max-width: 900px) {
  .docs-header {
    padding: 18px 24px;
  }
  .docs-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px 24px 56px;
    gap: 28px;
    max-width: 780px;
  }
  .docs-sidebar {
    position: static;
    background: #f6f7f8;
    border-radius: 12px;
    padding: 16px 20px;
  }
  .docs-sidebar summary {
    margin-bottom: 0;
  }
  .docs-sidebar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    padding: 0;
    border: 0;
    gap: 4px 16px;
  }
  .docs-sidebar summary::after {
    content: '⌄';
    float: right;
    color: var(--muted);
  }
  .docs-label {
    display: none;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 16px;
  }
  .docs-header {
    padding: 14px 18px;
    gap: 12px;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .docs-header nav {
    gap: 0;
  }
  .docs-header nav > a:first-child {
    display: none;
  }
  .button {
    padding: 8px 14px;
    font-size: 13px;
  }
  .docs-layout {
    padding: 24px 20px 48px;
  }
  .docs-sidebar {
    font-size: 13px;
    padding: 14px 16px;
  }
  .docs-sidebar nav {
    grid-template-columns: minmax(0, 1fr);
  }
  .breadcrumb {
    margin-bottom: 24px;
  }
  .lead {
    font-size: 17px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 21px;
  }
  h3 {
    font-size: 17px;
  }
  section {
    padding: 30px 0;
  }
  .method-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .method-card {
    padding: 20px;
  }
  .step {
    gap: 6px;
    grid-template-columns: 30px minmax(0, 1fr);
  }
  .screenshot {
    margin: 20px auto 28px;
  }
  .screenshot-frame {
    padding: 10px;
  }
  .tip,
  .callout {
    padding: 16px;
  }
  .article-footer > a:last-child {
    display: block;
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
