body { background: #fff; }
.docs-layout {
  display: grid;
  grid-template-columns: minmax(205px, 240px) minmax(0, 1fr);
  column-gap: clamp(26px, 4vw, 52px);
}
.docs-sidebar {
  align-self: start;
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow: auto;
  padding: 30px 18px 38px 0;
  border-right: 1px solid var(--line);
}
.nav a[aria-current] { color: var(--blue-dark); font-weight: 700; }
.doc-search { margin: 0 0 25px; }
.doc-search label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 680; }
.search-field { display: flex; gap: 5px; }
.search-field input, .search-field button {
  min-height: 42px; border: 1px solid #b0bfd1; border-radius: 6px; background: white; color: var(--ink); font-size: .875rem;
}
.search-field input { width: 100%; min-width: 0; padding: 7px 8px; }
.search-field button { flex-shrink: 0; padding: 7px 8px; background: #f2f6ff; color: var(--blue-dark); }
.search-status { margin: 8px 0 4px; color: var(--muted); font-size: .875rem; }
.search-results { list-style: none; padding: 0; margin: 0; }
.search-results a, .chapter-nav a { display: block; padding: 5px 9px; border-radius: 5px; text-decoration: none; }
.search-results a { color: var(--blue-dark); font-size: .9rem; }
.search-results a:hover, .chapter-nav a:hover { background-color: var(--light); }
.chapter-nav p { color: var(--muted); font-size: .875rem; font-weight: 700; margin: 18px 0 4px; }
.chapter-nav p:first-child { margin-top: 0; }
.chapter-nav a { color: #304461; line-height: 1.4; padding: 7px 10px; }
.chapter-nav a[aria-current] { background: var(--light); color: var(--blue-dark); font-weight: 700; }
.docs { width: 100%; min-width: 0; max-width: 820px; padding: 34px 0 65px; }
.manual-header { background: #edf3ff; border: 1px solid #d7e3f8; border-radius: 16px; padding: clamp(19px, 4vw, 38px); }
.manual-header h1 { font-size: clamp(2.05rem, 4vw, 3.4rem); letter-spacing: -.05em; line-height: 1.15; margin: 0; }
.manual-header .lead { margin: 11px 0 20px; }
.chapter { padding: 33px 0; border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; }
.chapter h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.22; letter-spacing: -.035em; margin: 0 0 13px; }
.chapter h3 { font-size: 1.22rem; letter-spacing: -.02em; margin: 23px 0 6px; }
.chapter p { margin: 10px 0; overflow-wrap: anywhere; }
.chapter a { color: var(--blue-dark); }
.chapter :is(h2,h3) { scroll-margin-top: 28px; }
.steps, .chapter ul { padding-left: 24px; }
.steps li, .chapter ul li { margin-bottom: 7px; padding-left: 4px; }
.steps li::marker { color: var(--blue-dark); font-weight: 700; }
.guide-note { background: #edf4fc; border-left: 3px solid #2761ce; padding: 11px 14px; border-radius: 0 6px 6px 0; }
.note-body { color: var(--muted); }
.workspace-shot { margin: 12px 0 22px; color: var(--muted); }
.workspace-shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.workspace-shot figcaption { font-size: .875rem; margin-top: 7px; }
.definitions { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; }
.definitions dt { font-weight: 700; }
.definitions dd { margin: 0; }
.manual-table { border-collapse: collapse; width: 100%; }
.manual-table th, .manual-table td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.manual-table thead th { background: #edf3fc; }
.manual-table tbody th { width: 24%; }
.docs code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .91em; }
.docs :not(pre) > code { border-radius: 4px; padding: 1px 4px; background: #edf3fc; }
.docs pre { margin: 10px 0; border-radius: 8px; background: #14243b; color: #f2f6ff; padding: 13px 16px; overflow-x: auto; }
.code-example { margin: 15px 0; border-radius: 8px; overflow: hidden; }
.code-example pre { margin: 0; border-radius: 0; }
.code-header { display: flex; align-items: center; justify-content: space-between; padding: 6px 13px; background: #213955; color: #e6efff; min-height: 42px; font-size: .875rem; }
.copy-code { border: 1px solid #8499b7; background: transparent; color: white; border-radius: 5px; padding: 2px 9px; }
.solutions > div { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.solutions h3 { margin-top: 15px; }
@media (max-width: 760px) {
  .docs-layout { display: block; }
  .docs-sidebar { position: static; max-height: none; border: 0; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .chapter-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 7px; }
  .chapter-nav p { grid-column: 1 / -1; margin-top: 8px; }
  .doc-search { margin-bottom: 10px; }
  .docs { padding-top: 18px; }
}
@media (max-width: 420px) {
  .manual-table th, .manual-table td { padding: 6px; }
  .definitions { gap: 3px 10px; }
}
@media print {
  .top, .docs-sidebar, .actions, .footer, .copy-code { display: none; }
  .wrap, .docs, .docs-layout { width: 100%; display: block; }
  .docs pre { background: #fff; color: #000; border: 1px solid #aaa; white-space: pre-wrap; }
  .chapter h2, .chapter h3 { break-after: avoid; }
}

.search-results { max-height: 16rem; overflow-y: auto; }
.option-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 20px; }
.option-nav a { display: inline-block; border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px; font-size: .9rem; text-decoration: none; }
.option-nav a:hover { background: var(--light); }
.option-table tbody th { width: 31%; }
.option-table th, .option-table td { overflow-wrap: anywhere; }
.option-table tr[id] { scroll-margin-top: 20px; }
.option-table tr[id]:target { background-color: #e5efff; }
