.docs-shell {
  color: #f3f3f3;
  padding: 108px 0 72px;
}
.docs-layout,
.wp-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.docs-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 210px;
  gap: 28px;
  align-items: start;
}
.docs-layout.is-wide {
  grid-template-columns: 250px minmax(0, 1fr);
}
.docs-side,
.docs-toc,
.docs-main,
.wp-main {
  min-width: 0;
}
.docs-side,
.docs-toc {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.docs-search {
  width: 100%;
  margin-bottom: 16px;
  background: #141414;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.docs-results {
  display: none;
  margin: -8px 0 16px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}
.docs-results.is-open { display: block; }
.docs-results a,
.docs-side a,
.docs-toc a,
.docs-pager a,
.docs-cards a,
.wp-toc a {
  color: inherit;
  text-decoration: none;
}
.docs-results a,
.docs-side a,
.docs-toc a {
  display: block;
  padding: 7px 8px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 6px;
}
.docs-side a.is-active,
.docs-side a:hover,
.docs-toc a:hover,
.docs-results a:hover {
  color: #fff;
  background: rgba(250, 76, 20, 0.12);
}
.docs-cat {
  margin: 16px 0 6px;
  color: #fa4c14;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.docs-crumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-bottom: 14px;
}
.docs-crumb a { color: inherit; }
.docs-main h1,
.wp-main h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 12px;
}
.docs-lead,
.docs-main p,
.wp-main p,
.docs-main li,
.wp-main li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}
.docs-main h2,
.wp-main h2 {
  margin: 32px 0 10px;
  font-size: 26px;
}
.docs-main h3,
.wp-main h3 { margin: 22px 0 8px; font-size: 18px; }
.docs-callout,
.wp-callout {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid #fa4c14;
  background: #141414;
}
.docs-callout strong,
.wp-callout strong {
  display: block;
  margin-bottom: 4px;
  color: #fa4c14;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.docs-table,
.wp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
}
.docs-table th,
.docs-table td,
.wp-table th,
.wp-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  padding: 10px 8px;
  vertical-align: top;
}
.docs-table th,
.wp-table th { color: #fff; font-weight: 600; }
.docs-code,
.wp-code {
  margin: 16px 0 22px;
  padding: 14px;
  overflow: auto;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ececec;
  font-size: 13px;
  line-height: 1.5;
}
.docs-code-label,
.wp-code-label {
  color: #8a8a8a;
  font-size: 12px;
  margin-bottom: 8px;
}
.docs-diagram,
.wp-diagram { margin: 18px 0 8px; }
.docs-diagram svg,
.wp-diagram svg {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.docs-diagram figcaption,
.wp-diagram figcaption {
  margin-bottom: 8px;
  color: #fff;
}
.docs-diagram-note,
.wp-diagram-note {
  color: #8a8a8a;
  font-size: 13px;
}
.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.docs-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.docs-cards a {
  padding: 16px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.docs-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.docs-menu-btn,
.wp-print {
  display: none;
  margin-bottom: 12px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}
.wp-print { display: inline-block; margin-right: 8px; }
.wp-meta { color: #a3a3a3; margin-bottom: 20px; }
.wp-toc {
  margin: 12px 0 28px;
  padding-left: 0;
  list-style: none;
}
.wp-toc li { margin: 6px 0; }
@media (max-width: 991px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side,
  .docs-toc { position: static; max-height: none; }
  .docs-side { display: none; }
  .docs-side.is-open { display: block; }
  .docs-menu-btn { display: inline-block; }
  .docs-cards { grid-template-columns: 1fr; }
  .docs-toc { order: -1; }
}
@media print {
  .header, .footer, .docs-side, .docs-toc, .docs-pager, .docs-menu-btn, .no-print, .wp-print { display: none !important; }
  html, body, .docs-shell, .docs-main, .wp-main { background: #fff !important; color: #111 !important; }
  .docs-shell { padding: 0; color: #111; }
  .docs-layout, .wp-layout { width: auto; display: block; }
  .docs-main p, .wp-main p, .docs-main li, .wp-main li, .docs-lead { color: #222; }
  .docs-main h1, .docs-main h2, .wp-main h1, .wp-main h2, .docs-main h3, .wp-main h3 { color: #111; }
  .docs-callout, .wp-callout, .docs-code, .wp-code, .docs-diagram svg, .wp-diagram svg { break-inside: avoid; }
  .wp-break { break-before: page; }
  a { color: #111; text-decoration: none; }
}
@page { size: A4; margin: 16mm; }
