.nx-docs,
.nx-lightbox {
	--nx-text: var(--ns-text);
	--nx-muted: var(--ns-muted);
	--nx-accent: var(--ns-accent);
	--nx-accent-soft: var(--ns-accent-soft);
	--nx-accent-contrast: var(--ns-accent-text);
	--nx-surface: var(--ns-surface);
	--nx-surface-2: var(--ns-surface);
	--nx-border: var(--ns-border);
	--nx-bg: var(--ns-bg);
	--nx-radius: var(--ns-radius);
	--nx-radius-sm: var(--ns-radius-sm);
	--nx-danger: var(--ns-bad);
	--nx-success: var(--ns-ok);
	--nx-success-bg: var(--ns-ok-soft);
	--nx-warning: var(--ns-warn);
	--nx-warning-bg: var(--ns-warn-soft);
	--nx-info: var(--ns-accent);
	--nx-shadow: var(--ns-shadow);
	--nx-shadow-lg: var(--ns-shadow-lg);
	--nx-overlay: rgba(11, 13, 18, 0.6);
	--nx-input-bg: var(--ns-bg);
	--nx-input-border: var(--ns-border-strong);
	--nx-focus: var(--ns-accent);
	--nx-font: var(--ns-font);
}

:root[data-theme="dark"] .nx-docs,
:root[data-theme="dark"] .nx-lightbox {
	--nx-overlay: rgba(0, 0, 0, 0.7);
}

.nx-docs__grouptitle,
.nx-docs__crumbs ol {
	color: var(--ns-faint);
}

.nx-docs__main a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nx-docs__nav a,
.nx-docs__toc a,
.nx-docs__home,
.nx-docs__crumbs a,
.nx-docs__pager a,
.nx-docs__suggest-item {
	text-decoration: none;
}

.nx-docs { color: var(--nx-text); font-family: var(--nx-font); }
.nx-docs-main { display: block; width: 100%; }
.nx-docs__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.nx-docs a:focus-visible, .nx-docs summary:focus-visible, .nx-docs button:focus-visible { outline: 2px solid var(--nx-focus, var(--nx-accent)); outline-offset: 2px; }
.nx-code { overflow: hidden; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); }
.nx-code__bar { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 1rem; color: var(--nx-muted); font-size: 0.8125rem; border-bottom: 1px solid var(--nx-border); }
.nx-code pre { margin: 0; padding: 1rem 1.25rem; overflow-x: auto; color: var(--nx-text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; line-height: 1.7; background: transparent; border: 0; }
.nx-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; color: var(--nx-muted); background: transparent; border: 1px solid var(--nx-border); border-radius: 999px; cursor: pointer; }
.nx-icon-btn:hover { color: var(--nx-text); background: var(--nx-surface); }
.nx-icon-btn svg { width: 18px; height: 18px; }
.nx-docs__search { position: relative; display: flex; align-items: center; margin: 0 0 0.75rem; }
.nx-docs__search svg { position: absolute; left: 0.75rem; width: 16px; height: 16px; color: var(--nx-muted); pointer-events: none; }
.nx-docs__search input { width: 100%; min-height: 2.5rem; padding: 0.5rem 2.25rem 0.5rem 2.25rem; color: var(--nx-text); font: inherit; font-size: 0.9rem; background: var(--nx-input-bg, var(--nx-bg)); border: 1px solid var(--nx-input-border, var(--nx-border)); border-radius: var(--nx-radius); }
.nx-docs__search input::placeholder { color: var(--nx-muted); }
.nx-docs__search kbd { position: absolute; right: 0.6rem; padding: 0 0.4rem; color: var(--nx-muted); font: inherit; font-size: 0.75rem; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: 4px; }
.nx-docs__status { min-height: 1.25em; margin: 0.35rem 0 0.5rem; color: var(--nx-muted); font-size: 0.8125rem; }
.nx-ctl label { display: block; margin-bottom: 0.3rem; }
.nx-ctl label code { font-size: 0.78rem; }
.nx-ctl__row { display: flex; align-items: center; gap: 0.6rem; }
.nx-ctl input[type="color"] { flex: none; width: 2.25rem; height: 2.25rem; padding: 2px; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 8px; cursor: pointer; }
.nx-ctl__text { flex: 1; min-width: 0; height: 2.25rem; padding: 0 0.65rem; color: var(--nx-text); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 8px; }
.nx-ctl--derived .nx-ctl__row { gap: 0.5rem; }
.nx-ctl--derived output { min-width: 0; text-align: left; }
.nx-ctl--derived small { display: block; margin-top: 0.2rem; color: var(--nx-muted); font-size: 0.75rem; }
.nx-ctl__chip { flex: none; width: 1.5rem; height: 1.5rem; border: 1px solid var(--nx-border); border-radius: 50%; }
.nx-ctl__text[aria-invalid="true"] { border-color: var(--nx-danger); }
.nx-ctl input:focus-visible { outline: 2px solid var(--nx-accent); outline-offset: 2px; }
.nx-ctl input[type="range"] { flex: 1; min-width: 0; accent-color: var(--nx-accent); }
.nx-ctl output { min-width: 3.8rem; color: var(--nx-muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; text-align: right; }
.nx-docs [hidden] {display: none;}
.nx-docs .nx-docs__layout {display: grid; width: 100%; max-width: 1920px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); grid-template-columns: 240px minmax(0, 1fr) 240px; gap: clamp(1.5rem, 3vw, 3rem); padding-top: 2.5rem; padding-bottom: clamp(3rem, 8vw, 6rem); align-items: start;}
.nx-docs__side, .nx-docs__toc {position: sticky; top: 5rem; max-height: calc(100vh - 6rem); overflow-y: auto; overscroll-behavior: contain; font-size: 0.9rem;}
.nx-docs__browse > summary {display: none;}
.nx-docs__home {display: block; margin-bottom: 0.5rem; padding: 0.35rem 0.6rem; color: var(--nx-muted); font-weight: 560; text-decoration: none; border-radius: 8px;}
.nx-docs__grouptitle {margin: 1.25rem 0 0.4rem; padding: 0 0.6rem; color: var(--nx-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;}
.nx-docs__toc .nx-docs__grouptitle {margin-top: 0;}
.nx-docs__nav ul, .nx-docs__toc ul {margin: 0; padding: 0; list-style: none;}
.nx-docs__nav a, .nx-docs__toc a {display: block; padding: 0.35rem 0.6rem; color: var(--nx-muted); line-height: 1.4; text-decoration: none; border-radius: 8px;}
.nx-docs__nav a:hover, .nx-docs__toc a:hover {color: var(--nx-text); background: var(--nx-surface);}
.nx-docs__nav a[aria-current="page"], .nx-docs__toc a[aria-current="true"] {color: var(--nx-accent); font-weight: 560; background: var(--nx-accent-soft);}
.nx-docs__toc ul {border-left: 1px solid var(--nx-border);}
.nx-docs__toc a {border-radius: 0 8px 8px 0;}
.nx-docs__main {min-width: 0;}
.nx-docs__crumbs ol {display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0 0 1.25rem; padding: 0; color: var(--nx-muted); font-size: 0.875rem; list-style: none;}
.nx-docs__crumbs li + li::before {content: "/"; margin-right: 0.5rem;}
.nx-docs__crumbs a {color: var(--nx-muted); text-decoration: none;}
.nx-docs__crumbs a:hover {color: var(--nx-text);}
.nx-docs__head h1 {margin: 0 0 0.75rem; font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 640; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance;}
.nx-docs__main p, .nx-docs__main li {line-height: 1.7;}
.nx-docs__main code {padding: 0.1em 0.35em; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.875em; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: 6px; overflow-wrap: anywhere;}
.nx-docs__main a {color: var(--nx-accent);}
.nx-docs__section {margin-top: 2.5rem;}
.nx-docs__section h2 {margin: 0 0 0.75rem; font-size: 1.5rem; font-weight: 640; line-height: 1.2; letter-spacing: -0.025em; scroll-margin-top: 5.5rem;}
.nx-docs__section h3 {margin: 2rem 0 0.5rem; font-size: 1.1875rem; font-weight: 620; letter-spacing: -0.015em; scroll-margin-top: 5.5rem;}
.nx-docs__section ul, .nx-docs__section ol {padding-left: 1.4rem;}
.nx-docs__section li + li {margin-top: 0.4rem;}
.nx-lightbox {width: min(96vw, 1400px); max-width: none; max-height: 94vh; padding: 0.75rem; color: var(--nx-text); background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-lg);}
.nx-lightbox::backdrop {background: var(--nx-overlay);}
.nx-lightbox form {display: flex; justify-content: flex-end; margin-bottom: 0.5rem;}
.nx-lightbox__img {display: block; width: 100%; max-height: calc(94vh - 5rem); object-fit: contain; border-radius: var(--nx-radius-sm);}
.nx-docs__code {margin: 1.25rem 0;}
.nx-docs__main .nx-code code {padding: 0; color: inherit; font-size: inherit; background: transparent; border: 0; overflow-wrap: normal;}
.nx-docs__copy {display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.65rem; color: var(--nx-muted); font: inherit; font-size: 0.8125rem; background: transparent; border: 1px solid var(--nx-border); border-radius: 999px; cursor: pointer;}
.nx-docs__copy svg {width: 14px; height: 14px;}
.nx-docs__table {margin: 1.25rem 0; overflow-x: auto; border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm);}
.nx-docs__table table {width: 100%; margin: 0; border-collapse: collapse; font-size: 0.9rem;}
.nx-docs__table th, .nx-docs__table td {padding: 0.65rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--nx-border);}
.nx-docs__table th {color: var(--nx-muted); font-weight: 600; background: var(--nx-surface);}
.nx-docs__table tr:last-child td {border-bottom: 0;}
.nx-docs__pager {display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--nx-border);}
.nx-docs__pager a {display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.2rem; color: var(--nx-text); text-decoration: none; border: 1px solid var(--nx-border); border-radius: var(--nx-radius); transition: border-color 0.2s ease;}
.nx-docs__main .nx-docs__pager a {color: var(--nx-text);}
.nx-docs__pager a:hover {border-color: var(--nx-accent);}
.nx-docs__pager small {color: var(--nx-muted);}
.nx-docs__pager span {font-weight: 560;}
.nx-docs__next {grid-column: 2; text-align: right;}
@media (max-width: 1100px) {
  .nx-docs .nx-docs__layout {grid-template-columns: 240px minmax(0, 1fr);}
  .nx-docs__toc {display: none;}
}
@media (max-width: 860px) {
  .nx-docs .nx-docs__layout {grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem;}
  .nx-docs__side {position: static; max-height: none; overflow: visible;}
  .nx-docs__browse {background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius);}
  .nx-docs__browse > summary {display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; font-weight: 600; cursor: pointer; list-style: none;}
  .nx-docs__browse > summary::-webkit-details-marker {display: none;}
  .nx-docs__browse > summary svg {width: 18px; height: 18px; transition: transform 0.2s ease;}
  .nx-docs__browse[open] > summary svg {transform: rotate(180deg);}
  .nx-docs__nav {max-height: 60vh; padding: 0 0.5rem 0.75rem; overflow-y: auto;}
}
@media (max-width: 640px) {
  .nx-docs__pager {grid-template-columns: minmax(0, 1fr);}
  .nx-docs__next {grid-column: 1;}
}
.nx-docs__suggest {max-height: min(60vh, 24rem); padding: 0.4rem; overflow-y: auto; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-lg);}
.nx-docs__suggest-title {margin: 0.6rem 0.6rem 0.25rem; color: var(--nx-muted); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;}
.nx-docs__suggest-item {display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.15rem 1rem; padding: 0.55rem 0.6rem; color: var(--nx-text); text-decoration: none; border-radius: 8px;}
.nx-docs__suggest-item small {color: var(--nx-muted); font-size: 0.8125rem;}
.nx-docs__suggest-item:hover, .nx-docs__suggest-item[aria-selected="true"] {background: var(--nx-accent-soft);}
.nx-docs__suggest-item[aria-selected="true"] {outline: 2px solid var(--nx-accent); outline-offset: -2px;}
.nx-docs__suggest-empty {margin: 0; padding: 0.8rem 0.6rem; color: var(--nx-muted);}
.nx-docs__mod {margin-top: 0.25rem;}
.nx-docs__mod > summary {display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.6rem; color: var(--nx-text); font-weight: 560; line-height: 1.35; cursor: pointer; list-style: none; border-radius: 8px;}
.nx-docs__mod > summary::-webkit-details-marker {display: none;}
.nx-docs__mod > summary:hover {background: var(--nx-surface);}
.nx-docs__mod > summary svg:first-child {flex: none; width: 18px; height: 18px; color: var(--nx-muted);}
.nx-docs__mod > summary span {flex: 1; min-width: 0;}
.nx-docs__mod > summary svg:last-child {flex: none; width: 16px; height: 16px; color: var(--nx-muted); transition: transform 0.2s ease;}
.nx-docs__mod[open] > summary svg:last-child {transform: rotate(180deg);}
.nx-docs__mod ul {margin: 0.15rem 0 0.4rem 1.15rem; padding: 0 0 0 0.4rem; border-left: 1px solid var(--nx-border);}
.nx-docs__toc-sub a {padding-left: 1.4rem; font-size: 0.85rem;}
.nx-docs__section h4 {margin: 0;}
.nx-docs__md > :first-child {margin-top: 0;}
.nx-docs__md h2 {margin: 2.5rem 0 0.75rem;}
.nx-docs__md h4, .nx-docs__md h5, .nx-docs__md h6 {margin: 1.5rem 0 0.4rem; font-size: 1rem; font-weight: 620; scroll-margin-top: 5.5rem;}
.nx-docs__md ul ul, .nx-docs__md ol ul, .nx-docs__md ul ol, .nx-docs__md ol ol {margin-top: 0.4rem;}
.nx-docs__md blockquote {margin: 1.25rem 0; padding: 0.75rem 1.1rem; color: var(--nx-muted); background: var(--nx-surface); border-left: 3px solid var(--nx-accent); border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0;}
.nx-docs__md blockquote > :first-child {margin-top: 0;}
.nx-docs__md blockquote > :last-child {margin-bottom: 0;}
.nx-docs__md hr {margin: 2rem 0; border: 0; border-top: 1px solid var(--nx-border);}
.nx-docs__md .nx-docs__table th, .nx-docs__md .nx-docs__table td {min-width: 6rem;}
.nx-docs__md :is(p, li, td, th, h2, h3, h4) {overflow-wrap: anywhere;}
.nx-docs {--tk-c: var(--nx-muted); --tk-s: var(--nx-success); --tk-k: color-mix(in srgb, var(--nx-info) 65%, var(--nx-danger)); --tk-f: var(--nx-info); --tk-v: color-mix(in srgb, var(--nx-warning) 60%, var(--nx-danger)); --tk-n: var(--nx-warning); --tk-t: var(--nx-danger); --tk-a: color-mix(in srgb, var(--nx-info) 60%, var(--nx-success)); --tk-l: var(--nx-warning); --tk-p: var(--nx-muted);}
.tk-c {color: var(--tk-c); font-style: italic;}
.tk-s {color: var(--tk-s);}
.tk-k {color: var(--tk-k);}
.tk-f {color: var(--tk-f);}
.tk-v {color: var(--tk-v);}
.tk-n {color: var(--tk-n);}
.tk-t {color: var(--tk-t);}
.tk-a {color: var(--tk-a);}
.tk-l {color: var(--tk-l);}
.tk-p {color: var(--tk-p);}
.nx-docs__md {font-size: 1.0625rem;}
.nx-docs__md > :first-child {margin-top: 0;}
.nx-docs__md p, .nx-docs__md li {line-height: 1.8;}
.nx-docs__md p {margin: 0 0 1.1rem;}
.nx-docs__md h2 {margin: 3.25rem 0 1rem; padding-top: 2.25rem; font-size: 1.75rem; border-top: 1px solid var(--nx-border);}
.nx-docs__md > h2:first-child {margin-top: 0; padding-top: 0; border-top: 0;}
.nx-docs__md h3 {margin: 2.5rem 0 0.75rem; font-size: 1.3125rem;}
.nx-docs__md h4 {margin: 2rem 0 0.5rem; font-size: 1.0625rem; font-weight: 650; scroll-margin-top: 5.5rem;}
.nx-docs__md :is(h2, h3, h4) .nx-docs__anchor {display: inline-flex; margin-left: 0.5rem; vertical-align: middle; color: var(--nx-muted); opacity: 0; transition: opacity 0.15s ease;}
.nx-docs__md :is(h2, h3, h4):hover .nx-docs__anchor, .nx-docs__md .nx-docs__anchor:focus-visible {opacity: 1;}
.nx-docs__md .nx-docs__anchor:hover {color: var(--nx-accent);}
.nx-docs__anchor svg {width: 0.8em; height: 0.8em;}
@media (hover: none) {
  .nx-docs__md :is(h2, h3, h4) .nx-docs__anchor {opacity: 0.55;}
}
.nx-docs__md ul, .nx-docs__md ol {margin: 0 0 1.25rem; padding-left: 1.5rem;}
.nx-docs__md li::marker {color: var(--nx-muted);}
.nx-docs__md hr {margin: 2.5rem 0; border: 0; border-top: 1px solid var(--nx-border);}
.nx-docs__md blockquote {margin: 1.5rem 0; padding: 0.25rem 1.1rem; color: var(--nx-muted); border-left: 3px solid var(--nx-border);}
.nx-docs__md :not(pre) > code {padding: 0.12em 0.4em; font-size: 0.86em; color: var(--nx-text); background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: 6px;}
.nx-docs__main .nx-docs__code {margin: 1.5rem 0; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm); box-shadow: none;}
.nx-docs__code .nx-code__bar {padding: 0.4rem 0.5rem 0.4rem 1rem; color: var(--nx-muted); background: var(--nx-bg); border-bottom: 1px solid var(--nx-border);}
.nx-code__lang {font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;}
.nx-docs__code pre {padding: 1rem 1.25rem; overflow-x: auto; color: var(--nx-text); font-size: 0.875rem; line-height: 1.7; white-space: pre; word-wrap: normal; tab-size: 4; -webkit-overflow-scrolling: touch;}
.nx-docs__code pre:focus-visible {outline: 2px solid var(--nx-accent); outline-offset: -2px;}
.nx-docs__main .nx-docs__code code {display: block; width: max-content; min-width: 100%; white-space: inherit; overflow-wrap: normal; word-break: normal;}
.nx-docs__copy {color: var(--nx-muted); border-color: var(--nx-border); transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;}
.nx-docs__copy:hover:not(:disabled) {color: var(--nx-text); background: var(--nx-surface); border-color: var(--nx-muted);}
.nx-docs__copy:disabled {opacity: 0.4; cursor: not-allowed;}
.nx-docs__copy:focus-visible, .nx-docs__token:focus-visible, .nx-tabs__tab:focus-visible, .nx-example__scheme:focus-visible, .nx-example__reset:focus-visible {outline: 2px solid var(--nx-accent); outline-offset: 2px;}
.nx-docs__table--options, .nx-docs__table--hooks, .nx-docs__table--tokens {overflow: clip; background: var(--nx-bg);}
.nx-docs__table--options th, .nx-docs__table--hooks th, .nx-docs__table--tokens th {font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; background: var(--nx-surface); border-bottom: 1px solid var(--nx-border);}
.nx-docs__table--options td, .nx-docs__table--hooks td, .nx-docs__table--tokens td {padding: 0.85rem 0.9rem; line-height: 1.55;}
.nx-docs__table td.nx-docs__name {min-width: 10rem;}
.nx-docs__table--options :is(th, td):not(.nx-docs__wide), .nx-docs__table--hooks :is(th, td):not(.nx-docs__wide), .nx-docs__table--tokens :is(th, td):not(.nx-docs__wide) {width: 1%;}
.nx-docs__table :is(th, td).nx-docs__wide {width: 52%; min-width: 14rem;}
.nx-docs__table .nx-docs__name code {color: var(--nx-text); font-weight: 600; background: var(--nx-accent-soft); border-color: transparent;}
.nx-docs__main .nx-docs__table code {overflow-wrap: normal; word-break: normal;}
.nx-docs__md hr + h2 {margin-top: 0; padding-top: 0; border-top: 0;}
.nx-docs__token code {white-space: nowrap;}
.nx-docs__main .nx-docs__table code.nx-docs__chip {display: inline-block; padding: 0.08em 0.65em; background: var(--nx-surface); border-color: var(--nx-border); border-radius: 0.6rem;}
.nx-docs__none {color: var(--nx-muted); font-size: 0.8125rem;}
.nx-docs__swatch {display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.2rem 0.65rem 0.2rem 0.25rem; color: var(--nx-text); background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 999px;}
.nx-docs__swatch[data-scheme="dark"] {background: var(--nx-surface-2);}
.nx-docs__swatch-chip {flex: none; width: 1.4rem; height: 1.4rem; background: linear-gradient(var(--swatch), var(--swatch)), conic-gradient(color-mix(in srgb, var(--nx-text) 18%, var(--nx-bg)) 25%, var(--nx-bg) 0 50%, color-mix(in srgb, var(--nx-text) 18%, var(--nx-bg)) 0 75%, var(--nx-bg) 0) 0 0 / 8px 8px; border: 1px solid color-mix(in srgb, var(--nx-text) 35%, transparent); border-radius: 50%; -webkit-print-color-adjust: exact; print-color-adjust: exact;}
.nx-docs__main .nx-docs__swatch code {padding: 0; color: inherit; background: transparent; border: 0;}
.nx-docs__token {position: relative; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0; color: inherit; font: inherit; text-align: left; background: none; border: 0; cursor: copy;}
.nx-docs__token svg {flex: none; width: 14px; height: 14px; color: var(--nx-muted); opacity: 0; transition: opacity 0.15s ease;}
.nx-docs__token:hover svg, .nx-docs__token:focus-visible svg {opacity: 1;}
.nx-docs__token-done {display: none; color: var(--nx-success); font-size: 0.75rem; font-weight: 600;}
.nx-docs__token.is-copied svg {display: none;}
.nx-docs__token.is-copied .nx-docs__token-done {display: inline;}
@media (max-width: 720px) {
  .nx-docs__table--options, .nx-docs__table--hooks, .nx-docs__table--tokens {background: transparent; border: 0;}
  .nx-docs__table--options thead, .nx-docs__table--hooks thead, .nx-docs__table--tokens thead {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);}
  .nx-docs__table--options :is(table, tbody, tr, td), .nx-docs__table--hooks :is(table, tbody, tr, td), .nx-docs__table--tokens :is(table, tbody, tr, td) {display: block;}
  .nx-docs__table--options tr, .nx-docs__table--hooks tr, .nx-docs__table--tokens tr {margin-bottom: 0.75rem; padding: 0.65rem 0.95rem; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm);}
  .nx-docs__table--options tr:last-child, .nx-docs__table--hooks tr:last-child, .nx-docs__table--tokens tr:last-child {margin-bottom: 0;}
  .nx-docs__table--options td, .nx-docs__table--hooks td, .nx-docs__table--tokens td {display: grid; grid-template-columns: 5.75rem minmax(0, 1fr); gap: 0.75rem; padding: 0.35rem 0; border: 0;}
  .nx-docs__table--options td::before, .nx-docs__table--hooks td::before, .nx-docs__table--tokens td::before {content: attr(data-label); padding-top: 0.2rem; color: var(--nx-muted); font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase;}
  .nx-docs__table td.nx-docs__name {min-width: 0; grid-template-columns: minmax(0, 1fr); padding-bottom: 0.5rem; border-bottom: 1px solid var(--nx-border); margin-bottom: 0.25rem;}
  .nx-docs__table td.nx-docs__name::before {display: none;}
  .nx-docs__table td > .nx-docs__cell {min-width: 0;}
}
.nx-docs__callout {--callout: var(--nx-accent); --callout-bg: var(--nx-accent-soft); margin: 1.5rem 0; padding: 0.95rem 1.2rem 1rem; background: var(--callout-bg); border: 1px solid color-mix(in srgb, var(--callout) 28%, transparent); border-left: 4px solid var(--callout); border-radius: var(--nx-radius-sm);}
.nx-docs__callout--tip {--callout: var(--nx-success); --callout-bg: var(--nx-success-bg);}
.nx-docs__callout--warning {--callout: var(--nx-warning); --callout-bg: var(--nx-warning-bg);}
.nx-docs__main .nx-docs__callout-title {display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.35rem; color: var(--callout); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;}
.nx-docs__callout-title svg {flex: none; width: 18px; height: 18px;}
.nx-docs__callout-body > :first-child {margin-top: 0;}
.nx-docs__callout-body > :last-child {margin-bottom: 0;}
.nx-tabs {margin: 1.75rem 0;}
.nx-tabs__list {display: none;}
.nx-tabs.is-ready .nx-tabs__list {display: flex; gap: 0.25rem; overflow-x: auto; border-bottom: 1px solid var(--nx-border);}
.nx-tabs__tab {margin-bottom: -1px; padding: 0.6rem 1rem; color: var(--nx-muted); font: inherit; font-weight: 600; white-space: nowrap; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;}
.nx-tabs__tab:hover {color: var(--nx-text);}
.nx-tabs__tab[aria-selected="true"] {color: var(--nx-text); border-bottom-color: var(--nx-accent);}
.nx-tabs__panel {padding-top: 1.1rem;}
.nx-tabs__panel[hidden] {display: none;}
.nx-tabs__panel:focus-visible {outline: 2px solid var(--nx-accent); outline-offset: 4px; border-radius: 4px;}
.nx-tabs:not(.is-ready) .nx-tabs__panel::before {content: attr(data-title); display: block; margin-bottom: 0.5rem; font-weight: 650;}
.nx-tabs__panel > :first-child {margin-top: 0;}
.nx-docs__shot {margin: 2rem 0;}
.nx-docs__shot-link {position: relative; display: block; overflow: hidden; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm); box-shadow: var(--nx-shadow); cursor: zoom-in;}
.nx-docs__shot img {display: block; width: 100%; height: auto;}
.nx-docs__shot .nx-only-dark, :root[data-theme="dark"] .nx-docs__shot .nx-only-light, :root[data-nx-scheme="dark"] .nx-docs__shot .nx-only-light, :root.dark .nx-docs__shot .nx-only-light {display: none;}
:root[data-theme="dark"] .nx-docs__shot .nx-only-dark, :root[data-nx-scheme="dark"] .nx-docs__shot .nx-only-dark, :root.dark .nx-docs__shot .nx-only-dark {display: block;}
.nx-docs__shot-zoom {position: absolute; top: 0.65rem; right: 0.65rem; display: grid; width: 2rem; height: 2rem; place-items: center; color: var(--nx-text); background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 50%; opacity: 0; transition: opacity 0.15s ease;}
.nx-docs__shot-zoom svg {width: 16px; height: 16px;}
.nx-docs__shot-link:hover .nx-docs__shot-zoom, .nx-docs__shot-link:focus-visible .nx-docs__shot-zoom {opacity: 1;}
.nx-docs__shot-link:focus-visible {outline: 2px solid var(--nx-accent); outline-offset: 3px;}
.nx-docs__shot figcaption {margin-top: 0.65rem; color: var(--nx-muted); font-size: 0.875rem; text-align: center;}
.nx-example {margin: 2rem 0; overflow: hidden; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius); box-shadow: var(--nx-shadow);}
.nx-example__head {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; padding: 0.7rem 1rem; background: var(--nx-surface); border-bottom: 1px solid var(--nx-border);}
.nx-docs__main .nx-example__title {margin: 0; font-size: 0.9375rem; font-weight: 650;}
.nx-example__tools {display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;}
.nx-example__schemes {display: inline-flex; padding: 2px; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 999px;}
.nx-example__scheme {padding: 0.25rem 0.85rem; color: var(--nx-muted); font: inherit; font-size: 0.8125rem; font-weight: 600; background: none; border: 0; border-radius: 999px; cursor: pointer;}
.nx-example__scheme[aria-pressed="true"] {color: var(--nx-accent-contrast); background: var(--nx-accent);}
.nx-example__reset {display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; color: var(--nx-text); font: inherit; font-size: 0.8125rem; background: none; border: 1px solid var(--nx-border); border-radius: 999px; cursor: pointer;}
.nx-example__reset:hover {background: var(--nx-bg);}
.nx-example__reset svg {width: 14px; height: 14px;}
.nx-example__body {display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 1fr);}
.nx-example__body--solo {grid-template-columns: minmax(0, 1fr);}
.nx-example__stage {display: flex; flex-direction: column; min-width: 0;}
.nx-example__frame {display: block; flex: 1 1 auto; width: 100%; min-height: 8rem; border: 0;}
.nx-example__empty {margin: 0; padding: 2rem 1.25rem; color: var(--nx-muted); text-align: center;}
.nx-example__panel {display: flex; flex-direction: column; gap: 0.9rem; padding: 1rem 1.15rem 1.15rem; border-left: 1px solid var(--nx-border);}
.nx-docs__main .nx-example__panel-title {margin: 0; color: var(--nx-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;}
.nx-example__controls {display: grid; gap: 1rem;}
.nx-docs__main .nx-example .nx-example__css {margin: 0; border-width: 1px 0 0; border-radius: 0;}
.nx-example__css .nx-code__bar {gap: 0.75rem;}
.nx-example__scope {display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; font-size: 0.8125rem;}
.nx-example__scope select {height: 1.9rem; padding: 0 0.5rem; color: var(--nx-text); font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8125rem; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: 8px;}
.nx-example__css pre.is-empty {color: var(--nx-muted); font-family: inherit; font-style: italic;}
.nx-example__source {border-top: 1px solid var(--nx-border);}
.nx-example__source > summary {display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; color: var(--nx-muted); font-size: 0.875rem; font-weight: 600; list-style: none; cursor: pointer;}
.nx-example__source > summary::-webkit-details-marker {display: none;}
.nx-example__source > summary svg {width: 16px; height: 16px; transition: transform 0.2s ease;}
.nx-example__source[open] > summary svg {transform: rotate(180deg);}
.nx-docs__main .nx-example__source .nx-docs__code {margin: 0; border-width: 1px 0 0; border-radius: 0;}
.nx-docs__otp {display: none;}
.nx-docs__toc ul {padding-left: 0; border-left: 1px solid var(--nx-border);}
.nx-docs__toc a {margin-left: -1px; border-left: 2px solid transparent; border-radius: 0 6px 6px 0;}
.nx-docs__toc a[aria-current="true"] {border-left-color: var(--nx-accent);}
@media (max-width: 1100px) {
  .nx-docs__otp {display: block; margin: 0 0 1.75rem; background: var(--nx-bg); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm);}
  .nx-docs__otp > summary {display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; font-size: 0.9rem; font-weight: 600; list-style: none; cursor: pointer;}
  .nx-docs__otp > summary::-webkit-details-marker {display: none;}
  .nx-docs__otp > summary svg {width: 18px; height: 18px; transition: transform 0.2s ease;}
  .nx-docs__otp[open] > summary svg {transform: rotate(180deg);}
  .nx-docs__otp ul {margin: 0; padding: 0 1rem 0.75rem; list-style: none;}
  .nx-docs__otp li a {display: block; padding: 0.3rem 0; font-size: 0.9rem;}
  .nx-docs__otp .nx-docs__toc-sub a {padding-left: 1rem; font-size: 0.85rem;}
}
@media (max-width: 860px) {
  .nx-example__body {grid-template-columns: minmax(0, 1fr);}
  .nx-example__panel {border-top: 1px solid var(--nx-border); border-left: 0;}
  .nx-docs__md {font-size: 1rem;}
  .nx-docs__md h2 {margin-top: 2.5rem; padding-top: 1.75rem; font-size: 1.5rem;}
}
@media print {
  header.wp-block-template-part, footer.wp-block-template-part, .nx-docs__side, .nx-docs__toc, .nx-docs__otp, .nx-docs__pager, .nx-docs__copy, .nx-docs__anchor, .nx-docs__shot-zoom, .nx-example__tools, .nx-example__panel, .nx-example__css, .nx-tabs__list, .nx-lightbox {display: none !important;}
  .nx-docs .nx-docs__layout {display: block; max-width: none; padding: 0;}
  .nx-docs__md {max-width: none; font-size: 11pt;}
  .nx-docs__main a {color: inherit; text-decoration: underline;}
  .nx-docs__main a[href^="http"]::after {content: " (" attr(href) ")"; color: var(--nx-muted); font-size: 0.85em; word-break: break-all;}
  .nx-docs__main :is(h2, h3, h4) {break-after: avoid;}
  .nx-docs__main :is(.nx-docs__code, .nx-docs__callout, .nx-docs__shot, .nx-example, tr, figure) {break-inside: avoid;}
  .nx-docs__code pre {overflow: visible; white-space: pre-wrap; word-break: break-word;}
  .nx-docs__main .nx-docs__code code {width: auto;}
  .nx-docs__table--options, .nx-docs__table--hooks, .nx-docs__table--tokens {overflow: visible;}
  .nx-tabs__panel[hidden] {display: block;}
  .nx-tabs__panel::before {content: attr(data-title); display: block; margin-bottom: 0.4rem; font-weight: 700;}
  .nx-docs__shot-link {box-shadow: none;}
  .nx-example {box-shadow: none;}
}
@media (max-width: 860px) {
  html:not(.nx-browse-ready) .nx-docs__browse > .nx-docs__nav {display: none;}
}
