/* ==========================================================================
   WingDevs documentation (wingdevs.com/docs)
   Built on the site's design system (wingdevs.css): same tokens, cards, pills,
   buttons and type. Everything is under `.wd` and prefixed `wd-doc` / `wd-docs`.
   Source: wingdevs-assets/docs/assets/wd-docs.css (build-docs.js copies it into
   the child theme).
   ========================================================================== */

.wd {
  --wd-doc-accent: var(--wd-primary);
  --wd-doc-accent-soft: var(--wd-primary-soft);
  --wd-doc-accent-ink: var(--wd-primary-ink);
  --wd-doc-top: 96px; /* sticky header + breathing room */
}
.wd .wd-docs--popup, .wd .wd-docs-hero--popup, .wd .wd-docs-product--popup { --wd-doc-accent: var(--wd-popup); --wd-doc-accent-soft: #f1ebff; --wd-doc-accent-ink: #4a1fd0; }
.wd .wd-docs--suite, .wd .wd-docs-hero--suite, .wd .wd-docs-product--suite { --wd-doc-accent: var(--wd-suite); --wd-doc-accent-soft: var(--wd-suite-soft); --wd-doc-accent-ink: #0e4f86; }
.admin-bar .wd { --wd-doc-top: 128px; }

/* Hero (hub and product home) ----------------------------------------------- */
.wd .wd-docs-hero {
  /* No overflow clipping and a stacking level of its own: the search results hang below the hero. */
  position: relative; z-index: 5; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(109, 59, 255, .14), transparent 60%),
    radial-gradient(760px 340px at 92% 0%, rgba(255, 79, 139, .12), transparent 60%),
    linear-gradient(180deg, #fbfbff 0%, #fff 100%);
  border-bottom: 1px solid var(--wd-line);
}
.wd .wd-docs-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 14px; }
.wd .wd-docs-hero .wd-lead { margin-bottom: 28px; }
.wd .wd-docs-hero.wd-docs-hero--product { padding-top: clamp(28px, 4vw, 44px); }
.wd .wd-docs-hero--product h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin-bottom: 8px; }
.wd .wd-docs-hero--product .wd-lead { margin: 0; max-width: 64ch; }
.wd .wd-docs-hero__product { display: flex; align-items: center; gap: 20px; margin: 22px 0 28px; }
.wd .wd-docs-hero__product img { flex: none; border-radius: 16px; box-shadow: var(--wd-shadow-sm); }
.wd .wd-docs-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.wd .wd-docs-hero__row .wd-docs-search { margin: 0; flex: 1 1 360px; max-width: 560px; }

/* Breadcrumbs ---------------------------------------------------------------- */
.wd .wd-docs-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--wd-ink-3); font-weight: 500; }
.wd .wd-docs-crumbs a { color: var(--wd-ink-2); }
.wd .wd-docs-crumbs a:hover { color: var(--wd-doc-accent); }
.wd .wd-docs-crumbs span[aria-hidden] { color: var(--wd-line-2); }

/* Search ---------------------------------------------------------------------- */
.wd .wd-docs-search { position: relative; max-width: 620px; margin: 0 auto; text-align: left; }
.wd .wd-docs-search__input {
  width: 100%; height: 56px; padding: 0 52px 0 50px; border: 1px solid var(--wd-line-2); border-radius: 16px; background: #fff;
  font: 500 1rem var(--wd-font-body); color: var(--wd-ink); box-shadow: var(--wd-shadow-sm); outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wd .wd-docs-search__input::placeholder { color: var(--wd-ink-3); }
.wd .wd-docs-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wd .wd-docs-search__input:focus { border-color: var(--wd-doc-accent); box-shadow: 0 0 0 4px rgba(76, 59, 255, .14), var(--wd-shadow-sm); }
.wd .wd-docs-search__icon { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; color: var(--wd-ink-3); pointer-events: none; }
.wd .wd-docs-search__key {
  position: absolute; right: 16px; top: 16px; min-width: 24px; height: 24px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--wd-line-2); border-radius: 7px; background: var(--wd-bg-2); color: var(--wd-ink-3); font: 600 .75rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.wd .wd-docs-search.is-active .wd-docs-search__key { display: none; }
.wd .wd-docs-search__results {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px); max-height: min(60vh, 460px); overflow: auto;
  background: #fff; border: 1px solid var(--wd-line); border-radius: 16px; box-shadow: var(--wd-shadow-lg); padding: 8px;
}
.wd .wd-docs-search__results[hidden] { display: none; }
.wd .wd-docs-hit { display: block; padding: 10px 12px; border-radius: 11px; }
.wd .wd-docs-hit:hover, .wd .wd-docs-hit.is-focus { background: var(--wd-bg-2); }
.wd .wd-docs-hit__meta { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--wd-ink-3); margin-bottom: 3px; }
.wd .wd-docs-hit__title { display: block; font-family: var(--wd-font-display); font-weight: 700; font-size: .98rem; color: var(--wd-ink); }
.wd .wd-docs-hit__text { display: block; font-size: .85rem; color: var(--wd-ink-2); line-height: 1.5; margin-top: 2px; }
.wd .wd-docs-hit mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.wd .wd-docs-search__empty { padding: 18px 14px; color: var(--wd-ink-3); font-size: .92rem; }

/* Hub -------------------------------------------------------------------------- */
.wd .wd-docs-product { display: flex; flex-direction: column; padding: 30px; }
.wd .wd-docs-product::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: var(--wd-r-lg) var(--wd-r-lg) 0 0; background: linear-gradient(90deg, var(--wd-doc-accent), #ff4f8b); opacity: .9; }
.wd .wd-docs-product--suite::before { background: linear-gradient(90deg, var(--wd-suite), #4cc3f0); }
.wd .wd-docs-product__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.wd .wd-docs-product__head img { flex: none; border-radius: 14px; }
.wd .wd-docs-product__head h2 { font-size: 1.5rem; margin: 0 0 2px; }
.wd .wd-docs-product__head h2 a:hover { color: var(--wd-doc-accent); }
.wd .wd-docs-product__head p { margin: 0; font-size: .92rem; }
.wd .wd-docs-product > p { color: var(--wd-ink-2); }
.wd .wd-docs-product__list { margin: 6px 0 22px; border-top: 1px solid var(--wd-line); }
.wd .wd-docs-product__list a { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--wd-line); font-weight: 500; color: var(--wd-ink-2); }
.wd .wd-docs-product__list a:hover { color: var(--wd-doc-accent); }
.wd .wd-docs-product__list svg { flex: none; width: 16px; height: 16px; color: var(--wd-doc-accent); }
.wd .wd-docs-product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.wd .wd-docs-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.wd .wd-docs-help .wd-card { padding: 24px; }
.wd .wd-docs-help .wd-icon { margin-bottom: 14px; }
.wd .wd-docs-help h3 { font-size: 1.05rem; margin-bottom: 6px; }
.wd .wd-docs-help p { font-size: .92rem; color: var(--wd-ink-2); margin-bottom: 12px; }

/* Product home: section cards --------------------------------------------------- */
.wd .wd-docs-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; align-items: start; }
.wd .wd-docs-section { padding: 24px 24px 12px; }
.wd .wd-docs-section__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.wd .wd-docs-section__head .wd-icon { background: var(--wd-doc-accent-soft); color: var(--wd-doc-accent); }
.wd .wd-docs-section__head h2 { font-size: 1.15rem; letter-spacing: -0.015em; margin: 6px 0 2px; }
.wd .wd-docs-section__head p { margin: 0; }
.wd .wd-docs-section__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--wd-line);
  font-weight: 500; font-size: .95rem; color: var(--wd-ink-2);
}
.wd .wd-docs-section__list a svg { flex: none; width: 15px; height: 15px; color: var(--wd-line-2); transition: transform .15s, color .15s; }
.wd .wd-docs-section__list a:hover { color: var(--wd-doc-accent); }
.wd .wd-docs-section__list a:hover svg { color: var(--wd-doc-accent); transform: translateX(3px); }

/* Article layout ------------------------------------------------------------------ */
.wd .wd-docs { background: #fff; padding: 36px 0 clamp(56px, 7vw, 96px); }
.wd .wd-docs__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 220px; gap: 0 48px; max-width: 1360px; align-items: start; }

/* Left: the product's articles */
/* The list scrolls, not the whole column: the search results are wider than the column and must not be clipped by it. */
.wd .wd-docs-nav { position: sticky; z-index: 6; top: var(--wd-doc-top); max-height: calc(100vh - var(--wd-doc-top) - 24px); display: flex; flex-direction: column; padding: 2px 0 0 2px; }
.wd .wd-docs-nav__tree { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 0 4px 24px 0; scrollbar-width: thin; }
.wd .wd-docs-nav__product { display: flex; align-items: center; gap: 12px; padding: 4px 2px 16px; }
.wd .wd-docs-nav__product img { flex: none; border-radius: 10px; }
.wd .wd-docs-nav__product strong { display: block; font-family: var(--wd-font-display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.wd .wd-docs-nav__product span span { display: block; font-size: .78rem; color: var(--wd-ink-3); }
.wd .wd-docs-nav .wd-docs-search { margin: 0 0 16px; }
.wd .wd-docs-nav .wd-docs-search__input { height: 44px; border-radius: 12px; padding: 0 40px 0 40px; font-size: .9rem; box-shadow: none; background: var(--wd-bg-2); border-color: transparent; }
.wd .wd-docs-nav .wd-docs-search__input:focus { background: #fff; border-color: var(--wd-doc-accent); }
.wd .wd-docs-nav .wd-docs-search__icon { left: 13px; top: 13px; width: 18px; height: 18px; }
.wd .wd-docs-nav .wd-docs-search__key { right: 10px; top: 10px; }
.wd .wd-docs-nav .wd-docs-search__results { width: min(520px, 90vw); right: auto; }
.wd .wd-docs-nav__toggle { display: none; }
.wd .wd-docs-nav__group { border-top: 1px solid var(--wd-line); }
.wd .wd-docs-nav__group:first-child { border-top: 0; }
.wd .wd-docs-nav__group summary {
  display: flex; align-items: center; gap: 10px; padding: 12px 4px; cursor: pointer; list-style: none; user-select: none;
  font-family: var(--wd-font-display); font-weight: 700; font-size: .9rem; color: var(--wd-ink);
}
.wd .wd-docs-nav__group summary::-webkit-details-marker { display: none; }
.wd .wd-docs-nav__group summary svg { flex: none; width: 17px; height: 17px; color: var(--wd-doc-accent); }
.wd .wd-docs-nav__group summary span { flex: 1 1 auto; }
.wd .wd-docs-nav__group summary::after {
  content: ''; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--wd-ink-3); border-bottom: 2px solid var(--wd-ink-3);
  transform: rotate(-45deg); transition: transform .15s; margin-right: 4px;
}
.wd .wd-docs-nav__group[open] summary::after { transform: rotate(45deg); }
.wd .wd-docs-nav__group ul { padding: 0 0 12px; }
.wd .wd-docs-nav__group li a {
  display: block; padding: 7px 10px 7px 14px; margin-left: 12px; border-left: 2px solid var(--wd-line); font-size: .9rem; line-height: 1.4; color: var(--wd-ink-2);
}
.wd .wd-docs-nav__group li a:hover { color: var(--wd-ink); border-left-color: var(--wd-line-2); }
.wd .wd-docs-nav__group li a.is-current { color: var(--wd-doc-accent-ink); font-weight: 600; border-left-color: var(--wd-doc-accent); background: linear-gradient(90deg, var(--wd-doc-accent-soft), transparent); border-radius: 0 8px 8px 0; }
.wd .wd-docs-nav .wd-tag, .wd .wd-docs-section__list .wd-tag { font-style: normal; font-size: .6rem; padding: 2px 6px; margin-left: 4px; vertical-align: 1px; }

/* Middle: the article */
.wd .wd-docs-article { min-width: 0; max-width: 800px; }
.wd .wd-docs-article__head { margin: 14px 0 28px; padding-bottom: 24px; border-bottom: 1px solid var(--wd-line); }
.wd .wd-docs-article__head h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 12px; }
.wd .wd-docs-article__head h1 .wd-tag { font-style: normal; font-size: .7rem; vertical-align: middle; margin-left: 6px; letter-spacing: .04em; }
.wd .wd-docs-article__head .wd-lead { margin: 0; max-width: none; font-size: 1.1rem; }

/* Right: on this page */
.wd .wd-docs-toc { position: sticky; top: var(--wd-doc-top); max-height: calc(100vh - var(--wd-doc-top) - 24px); overflow: auto; }
.wd .wd-docs-toc h4 { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wd-ink-3); font-weight: 700; margin: 4px 0 10px; }
.wd .wd-docs-toc li a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--wd-line); font-size: .86rem; line-height: 1.4; color: var(--wd-ink-3); }
.wd .wd-docs-toc li a:hover { color: var(--wd-ink); }
.wd .wd-docs-toc li a.is-active { color: var(--wd-doc-accent-ink); border-left-color: var(--wd-doc-accent); font-weight: 600; }

/* Article content ------------------------------------------------------------------ */
.wd .wd-doc-content { font-size: 1.03rem; line-height: 1.75; color: #232a47; }
.wd .wd-doc-content > *:first-child { margin-top: 0; }
.wd .wd-doc-content p { margin: 0 0 1.15em; }
.wd .wd-doc-content a { color: var(--wd-doc-accent); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(76, 59, 255, .3); text-underline-offset: 3px; }
.wd .wd-doc-content a:hover { text-decoration-color: currentColor; }
.wd .wd-doc-content strong { font-weight: 650; color: var(--wd-ink); }
.wd .wd-doc-content h2 { font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1.25; margin: 2.2em 0 .7em; padding-top: .2em; scroll-margin-top: var(--wd-doc-top); }
.wd .wd-doc-content h3 { font-size: 1.18rem; margin: 1.9em 0 .6em; scroll-margin-top: var(--wd-doc-top); }
.wd .wd-doc-content h4 { font-size: 1rem; margin: 1.6em 0 .5em; font-weight: 700; }
.wd .wd-doc-content .wd-doc-anchor { margin-left: 8px; color: var(--wd-line-2); font-weight: 600; text-decoration: none; opacity: 0; transition: opacity .15s, color .15s; }
.wd .wd-doc-content h2:hover .wd-doc-anchor, .wd .wd-doc-content h3:hover .wd-doc-anchor, .wd .wd-doc-content .wd-doc-anchor:focus { opacity: 1; }
.wd .wd-doc-content .wd-doc-anchor:hover { color: var(--wd-doc-accent); }
.wd .wd-doc-content ul, .wd .wd-doc-content ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.wd .wd-doc-content ul { list-style: none; padding-left: 0; }
.wd .wd-doc-content ul > li { position: relative; padding-left: 1.4em; margin-bottom: .45em; }
.wd .wd-doc-content ul > li::before { content: ''; position: absolute; left: .3em; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--wd-doc-accent); opacity: .75; }
.wd .wd-doc-content ol { list-style: none; counter-reset: wd-step; padding-left: 0; }
.wd .wd-doc-content ol > li { position: relative; counter-increment: wd-step; padding-left: 2.6em; margin-bottom: .8em; min-height: 1.9em; }
.wd .wd-doc-content ol > li::before {
  content: counter(wd-step); position: absolute; left: 0; top: .05em; width: 1.75em; height: 1.75em; border-radius: 50%;
  background: var(--wd-doc-accent-soft); color: var(--wd-doc-accent-ink); font: 700 .82em/1.75em var(--wd-font-display); text-align: center;
}
.wd .wd-doc-content li > ul, .wd .wd-doc-content li > ol { margin: .5em 0 .2em; }
.wd .wd-doc-content li p { margin-bottom: .6em; }
.wd .wd-doc-content li .wd-doc-shot { margin: 14px 0 6px; }
.wd .wd-doc-content hr { border: 0; border-top: 1px solid var(--wd-line); margin: 2.4em 0; }
.wd .wd-doc-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--wd-bg-2); border: 1px solid var(--wd-line); border-radius: 6px; padding: 2px 6px; color: #3b2be6; word-break: break-word; }
.wd .wd-doc-content kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82em; background: #fff; border: 1px solid var(--wd-line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 6px; }
.wd .wd-doc-content .wd-tag { vertical-align: 2px; margin: 0 2px; }

/* Screenshots */
.wd .wd-doc-shot { margin: 1.6em 0 1.8em; }
.wd .wd-doc-shot a { display: block; border: 1px solid var(--wd-line); border-radius: 14px; overflow: hidden; box-shadow: var(--wd-shadow-md); background: var(--wd-bg-2); cursor: zoom-in; text-decoration: none; }
.wd .wd-doc-shot img { display: block; width: 100%; height: auto; }
.wd .wd-doc-shot--small { text-align: center; }
.wd .wd-doc-shot--small a { display: inline-block; max-width: 100%; }
.wd .wd-doc-shot--small img { width: auto; max-width: 100%; }
.wd .wd-doc-shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--wd-ink-3); text-align: center; }

/* Callouts */
.wd .wd-doc-callout { display: flex; gap: 14px; margin: 1.6em 0; padding: 16px 18px; border-radius: 14px; background: var(--wd-bg-2); border: 1px solid var(--wd-line); }
.wd .wd-doc-callout__icon { flex: none; width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--wd-ink-2); box-shadow: var(--wd-shadow-sm); }
.wd .wd-doc-callout__icon svg { width: 18px; height: 18px; }
.wd .wd-doc-callout__body { min-width: 0; font-size: .97rem; }
.wd .wd-doc-callout__body p:last-child, .wd .wd-doc-callout__body ul:last-child { margin-bottom: 0; }
.wd .wd-doc-callout__label { display: block; font-family: var(--wd-font-display); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.wd .wd-doc-callout--tip { background: var(--wd-green-soft); border-color: #cdeed8; }
.wd .wd-doc-callout--tip .wd-doc-callout__icon, .wd .wd-doc-callout--tip .wd-doc-callout__label { color: #12753a; }
.wd .wd-doc-callout--warning { background: var(--wd-amber-soft); border-color: #f6dfa9; }
.wd .wd-doc-callout--warning .wd-doc-callout__icon, .wd .wd-doc-callout--warning .wd-doc-callout__label { color: #8a5a00; }
.wd .wd-doc-callout--note { background: var(--wd-primary-soft); border-color: #dcd6ff; }
.wd .wd-doc-callout--note .wd-doc-callout__icon, .wd .wd-doc-callout--note .wd-doc-callout__label { color: var(--wd-primary-ink); }
.wd .wd-doc-callout--pro { background: linear-gradient(120deg, #f3edff, #ffeef5); border-color: #e6d9ff; }
.wd .wd-doc-callout--pro .wd-doc-callout__icon { background: linear-gradient(135deg, #6d3bff, #ff4f8b); color: #fff; }
.wd .wd-doc-callout--pro .wd-doc-callout__label { color: #5a23d6; }
.wd .wd-doc-quote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--wd-line-2); color: var(--wd-ink-2); }

/* Tables */
.wd .wd-doc-table { margin: 1.5em 0; overflow-x: auto; border: 1px solid var(--wd-line); border-radius: 14px; }
.wd .wd-doc-table table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.55; }
.wd .wd-doc-table th { text-align: left; padding: 12px 16px; background: var(--wd-bg-2); font-family: var(--wd-font-display); font-weight: 700; font-size: .82rem; letter-spacing: .02em; color: var(--wd-ink-2); white-space: nowrap; }
.wd .wd-doc-table td { padding: 12px 16px; border-top: 1px solid var(--wd-line); vertical-align: top; }
.wd .wd-doc-table td:first-child { font-weight: 600; color: var(--wd-ink); }

/* Code */
.wd .wd-doc-code { position: relative; margin: 1.4em 0; padding: 18px 20px; border-radius: 14px; background: var(--wd-dark); color: #e6e9f5; overflow-x: auto; font-size: .88rem; line-height: 1.65; }
.wd .wd-doc-code code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; word-break: normal; white-space: pre; }
.wd .wd-doc-copy { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #cfd5ea; font: 600 .72rem var(--wd-font-body); cursor: pointer; }
.wd .wd-doc-copy:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* Pager + feedback */
.wd .wd-docs-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 48px 0 20px; }
.wd .wd-docs-pager__link { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--wd-r-md); }
.wd .wd-docs-pager__link strong { font-family: var(--wd-font-display); font-weight: 700; color: var(--wd-ink); }
.wd .wd-docs-pager__link:hover strong { color: var(--wd-doc-accent); }
.wd .wd-docs-pager__link--next { text-align: right; align-items: flex-end; }
.wd .wd-docs-feedback { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--wd-r-md); }
.wd .wd-docs-feedback .wd-icon { margin: 0; }
.wd .wd-docs-feedback div { flex: 1 1 auto; min-width: 0; }
.wd .wd-docs-feedback h3 { font-size: 1rem; margin: 0 0 2px; }
.wd .wd-docs-feedback p { margin: 0; font-size: .9rem; color: var(--wd-ink-2); }

/* Screenshot zoom */
.wd-doc-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 4vmin; background: rgba(11, 18, 48, .86); cursor: zoom-out; }
.wd-doc-lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; }

/* Responsive -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .wd .wd-docs__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 0 40px; }
  .wd .wd-docs-toc { display: none; }
}
@media (max-width: 900px) {
  .wd .wd-docs { padding-top: 20px; }
  .wd .wd-docs__grid { grid-template-columns: minmax(0, 1fr); }
  .wd .wd-docs-nav { position: static; max-height: none; overflow: visible; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--wd-line); }
  .wd .wd-docs-nav__toggle {
    display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center; height: 44px; border-radius: 12px;
    border: 1px solid var(--wd-line-2); background: #fff; font: 600 .92rem var(--wd-font-body); color: var(--wd-ink); cursor: pointer;
  }
  .wd .wd-docs-nav__toggle svg { width: 18px; height: 18px; }
  .wd .wd-docs-nav__tree { display: none; margin-top: 12px; overflow: visible; padding: 0; }
  .wd .wd-docs-nav.is-open .wd-docs-nav__tree { display: block; }
  .wd .wd-docs-help { grid-template-columns: minmax(0, 1fr); }
  .wd .wd-docs-sections { grid-template-columns: minmax(0, 1fr); }
  .wd .wd-docs-hero__product { align-items: flex-start; }
  .wd .wd-docs-hero__product img { width: 48px; height: 48px; }
}
@media (max-width: 560px) {
  .wd .wd-docs-pager { grid-template-columns: minmax(0, 1fr); }
  .wd .wd-docs-feedback { flex-direction: column; align-items: flex-start; }
  .wd .wd-docs-product__foot { flex-direction: column; align-items: flex-start; }
  .wd .wd-doc-content { font-size: 1rem; }
}
@media print {
  .wd .wd-header, .wd .wd-footer, .wd .wd-docs-nav, .wd .wd-docs-toc, .wd .wd-docs-pager, .wd .wd-docs-feedback { display: none !important; }
  .wd .wd-docs__grid { display: block; }
}
