/* Developer documentation shares Nourix theme tokens; no editor styles changed. */
.nx-api-main{max-width:1216px;margin:auto;padding:38px 24px 80px;color:var(--nx-ink)}
.nx-api-hero{max-width:900px;padding:10px 0 48px}.nx-api-hero>a{font-size:14px;color:var(--nx-muted)}.nx-api-eyebrow{margin:28px 0 14px;font-size:12px;color:var(--nx-complement);direction:ltr;unicode-bidi:plaintext}
html[data-theme] body.n-site .nx-api-hero h1{font-size:clamp(32px,4.3vw,56px);font-weight:700;line-height:1.4;letter-spacing:-.025em;margin:0 0 20px;text-wrap:balance}
html[dir=rtl][data-theme] body.n-site .nx-api-hero h1{letter-spacing:0;line-height:1.6;font-size:clamp(30px,3.6vw,48px)}
.nx-api-hero .lede{font-size:17px;line-height:2;color:var(--nx-muted);text-align:start!important;max-width:76ch;margin:0}
.nx-api-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.nx-api-actions .btn{font-size:14px;min-height:44px}
.nx-api-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:42px;align-items:start;border-top:1px solid var(--nx-border);padding-top:30px}
.nx-api-toc{position:sticky;top:112px;display:flex;flex-direction:column;gap:3px;max-height:calc(100vh - 140px);overflow:auto}
.nx-api-toc a{padding:9px 12px;border-radius:8px;font-size:13px;line-height:1.7;color:var(--nx-muted);text-decoration:none}.nx-api-toc a:hover,.nx-api-toc a:focus-visible{background:var(--nx-soft);color:var(--nx-ink)}
.nx-api-content{min-width:0}.nx-api-section{margin:0 0 46px;scroll-margin-top:120px;min-width:0}.nx-api-section h2{font-size:26px;line-height:1.6;margin:0 0 18px}.nx-api-section p,.nx-api-section li{font-size:15px;line-height:2;color:var(--nx-muted);overflow-wrap:anywhere}.nx-api-section li+li{margin-top:10px}.nx-api-section ul,.nx-api-section ol{padding-inline-start:24px}
.nx-api-content :not(pre)>code{font-family:Consolas,'Courier New',monospace;direction:ltr;unicode-bidi:isolate;font-size:.9em;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:5px;padding:1px 4px;color:var(--nx-ink);overflow-wrap:anywhere}
.nx-api-note{border-inline-start:3px solid var(--nx-accent);background:var(--nx-surface);padding:14px 18px;border-radius:8px}
.nx-api-code{position:relative;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:14px;margin:18px 0;min-width:0;max-width:100%;overflow:hidden}
.nx-api-code pre{margin:0;max-width:100%;overflow:auto;padding:52px 20px 20px;text-align:left;white-space:pre;tab-size:2;line-height:1.8;font-size:13px;direction:ltr;color:var(--nx-ink)}
.nx-api-code code{font-family:Consolas,'Courier New',monospace;font-size:inherit}
html[data-theme] body.n-site button.nx-api-copy{position:absolute;right:10px;top:8px;z-index:1;border:1px solid var(--nx-border);background:var(--nx-ground);color:var(--nx-ink);font:inherit;font-size:11px;min-height:32px;padding:5px 12px;border-radius:8px;cursor:pointer}
.nx-api-table{overflow:auto;max-width:100%;border:1px solid var(--nx-border);border-radius:12px;margin:18px 0}.nx-api-table table{border-collapse:collapse;width:100%;min-width:520px;font-size:13px;line-height:1.8}.nx-api-table th,.nx-api-table td{padding:13px 15px;text-align:start;vertical-align:top;border-bottom:1px solid var(--nx-border)}.nx-api-table th{background:var(--nx-surface);font-weight:600}.nx-api-table tr:last-child td{border:0}.nx-api-table td code{font-size:12px}.nx-api-section a{color:var(--nx-complement);text-underline-offset:4px}
html[data-theme] body.n-site .ng-api-entry{display:grid;grid-template-columns:1.3fr 1fr;gap:36px;align-items:center;border:1px solid var(--nx-border);border-radius:22px;background:var(--nx-surface);padding:34px;margin-block:64px}
.ng-api-entry h2{font-size:34px;line-height:1.6;margin:8px 0 18px}.ng-api-entry p{font-size:15px;line-height:2;color:var(--nx-muted)}.ng-api-entry .btn{margin-top:14px}.ng-api-code{font:14px/2.4 Consolas,'Courier New',monospace;padding:26px;border:1px solid var(--nx-border);border-radius:14px;background:var(--nx-ground);color:var(--nx-ink);overflow:auto;white-space:nowrap}
@media(max-width:900px){.nx-api-main{padding-inline:20px}.nx-api-layout{grid-template-columns:minmax(0,1fr);gap:28px}.nx-api-toc{position:static;max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.nx-api-toc a{border:1px solid var(--nx-border);padding:9px 10px}.nx-api-section{scroll-margin-top:100px}.nx-api-hero{padding-bottom:30px}.nx-api-hero .lede{font-size:15px}.nx-api-actions .btn{font-size:12px;padding:10px 14px}.nx-api-section h2{font-size:23px}.nx-api-code pre{font-size:12px;padding-inline:14px}.nx-api-section p,.nx-api-section li{font-size:14px}html[data-theme] body.n-site .ng-api-entry{grid-template-columns:1fr;padding:24px;gap:18px;margin-block:40px}.ng-api-entry h2{font-size:28px}.ng-api-code{font-size:12px;padding:18px}}
@media(prefers-reduced-motion:reduce){.nx-api-main *{scroll-behavior:auto!important;transition:none!important}}
html[data-theme] body.n-site .nx-api-main button.nx-api-copy{position:absolute!important;inset:8px 10px auto auto!important}

.nx-api-section-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;flex-wrap:wrap}.nx-api-section-heading h2{flex:1;min-width:180px}.nx-ai-section{border:1px solid var(--nx-border);background:var(--nx-surface);color:var(--nx-ink);border-radius:9px;padding:8px 12px;font:inherit;font-size:12px;cursor:pointer;min-height:40px}.nx-ai-copy:disabled{opacity:.55;cursor:wait}.nx-ai-status{min-height:28px;font-size:13px;color:var(--nx-muted);line-height:1.8}.nx-ai-fallback{max-width:min(900px,calc(100vw - 32px));width:800px;max-height:85vh;overflow:auto;border:1px solid var(--nx-border);border-radius:16px;padding:24px;background:var(--nx-bg);color:var(--nx-ink)}.nx-ai-fallback::backdrop{background:rgba(12,15,14,.7)}.nx-ai-fallback textarea{width:100%;height:45vh;resize:vertical;background:var(--nx-surface);color:var(--nx-ink);border:1px solid var(--nx-border);border-radius:9px;padding:14px;font:13px/1.7 monospace}.nx-api-code pre{white-space:pre;overflow:auto;padding-top:48px}.nx-api-table table{min-width:540px}.nx-api-section code{word-break:normal}.nx-ai-copy:focus-visible,.nx-api-copy:focus-visible{outline:2px solid var(--nx-accent);outline-offset:3px}@media(max-width:600px){.nx-api-section-heading{gap:0;margin-bottom:12px}.nx-api-section-heading h2{flex-basis:100%;margin-bottom:8px}.nx-ai-fallback{padding:16px}.nx-api-table{overflow:auto}}

/* Readable documentation, scoped to avoid the marketing typography/reset. */
html[data-theme] body.n-site .nx-api-main{font-kerning:normal;text-align:start}
html[data-theme] body.n-site .nx-api-content{max-width:100%;min-width:0}
html[data-theme] body.n-site .nx-api-section{padding:0 0 36px;margin:0 0 36px;border-bottom:1px solid var(--nx-border)}
html[data-theme] body.n-site .nx-api-section-heading{display:flex;align-items:baseline;flex-wrap:nowrap;gap:12px;margin-bottom:22px}
html[data-theme] body.n-site .nx-api-section-heading h2{font-size:clamp(22px,2.2vw,29px);font-weight:700;line-height:1.65;margin:0;min-width:0;text-align:start;letter-spacing:0}
.nx-api-section-number{flex:none;direction:ltr;font-size:12px;font-variant-numeric:tabular-nums;color:var(--nx-complement);padding:3px 7px;border:1px solid var(--nx-border);border-radius:7px}
html[data-theme] body.n-site .nx-api-section p,html[data-theme] body.n-site .nx-api-section li{font-size:16px;line-height:2.05;text-align:start;letter-spacing:0;color:var(--nx-ink)}
html[data-theme] body.n-site .nx-api-section p{margin:0 0 18px;max-width:76ch}
html[data-theme] body.n-site .nx-api-section ul,html[data-theme] body.n-site .nx-api-section ol{display:block;list-style-position:outside;padding-inline-start:28px;margin:18px 0 26px}
html[data-theme] body.n-site .nx-api-section ol{list-style-type:decimal}
html[lang=fa][data-theme] body.n-site .nx-api-section ol{list-style-type:persian}
html[data-theme] body.n-site .nx-api-section ul{list-style-type:disc}
html[data-theme] body.n-site .nx-api-section li{display:list-item;padding-inline-start:5px;margin:0 0 12px}
.nx-api-section li::marker{color:var(--nx-accent);font-weight:700}
html[data-theme] body.n-site .nx-api-section h3{font-size:20px;line-height:1.8;margin:28px 0 14px}
html[data-theme] body.n-site .nx-api-section strong{font-weight:700;color:var(--nx-ink)}
html[data-theme] body.n-site .nx-api-content :not(pre)>code{display:inline;direction:ltr;unicode-bidi:isolate;box-decoration-break:clone;-webkit-box-decoration-break:clone;font-size:.88em;line-height:1.8;padding:2px 5px}
html[data-theme] body.n-site .nx-api-code{margin:22px 0 28px;box-shadow:none}
html[data-theme] body.n-site .nx-api-code pre{font:13px/1.85 Consolas,'Courier New',monospace;white-space:pre;text-align:left;direction:ltr;margin:0;padding:54px 20px 22px;color:var(--nx-ink)}
html[data-theme] body.n-site .nx-api-code pre code{font:inherit;white-space:inherit;color:inherit;background:transparent;border:0;padding:0}
.nx-api-code-language{position:absolute;top:14px;left:16px;font:12px/1.5 system-ui,sans-serif;color:var(--nx-muted)}
html[data-theme] body.n-site .nx-api-table table{font-size:14px;line-height:1.95;min-width:620px;margin:0}
html[data-theme] body.n-site .nx-api-table th,html[data-theme] body.n-site .nx-api-table td{text-align:start;vertical-align:top;padding:16px;white-space:normal}
html[data-theme] body.n-site .nx-api-table th{font-weight:700;color:var(--nx-ink)}
html[data-theme] body.n-site .nx-api-table td{color:var(--nx-ink)}
html[data-theme] body.n-site .nx-api-table tr:nth-child(even){background:var(--nx-surface)}
.nx-api-toc .nx-api-contents{width:100%;border:1px solid var(--nx-border);border-radius:12px;background:var(--nx-surface);padding:14px 12px}
.nx-api-contents summary{font-size:15px;font-weight:700;cursor:pointer;line-height:1.8;padding:4px}
html[data-theme] body.n-site .nx-api-toc ol{display:block;list-style:decimal;padding-inline-start:25px;margin:12px 0 0}
html[lang=fa][data-theme] body.n-site .nx-api-toc ol{list-style-type:persian}
html[data-theme] body.n-site .nx-api-toc li{display:list-item;font-size:12px;color:var(--nx-muted);padding:0;margin:0 0 3px}
html[data-theme] body.n-site .nx-api-toc a{display:block;font-size:13px;line-height:1.85;padding:7px 5px;overflow-wrap:anywhere}
@media(max-width:900px){.nx-api-toc{display:block!important;position:static;max-height:none}.nx-api-contents[open] ol{max-height:300px;overflow:auto}.nx-api-layout{gap:30px}.nx-api-hero{padding-bottom:26px}.nx-api-section{scroll-margin-top:110px}}
@media(max-width:600px){html[data-theme] body.n-site .nx-api-main{padding-inline:20px}html[data-theme] body.n-site .nx-api-section p,html[data-theme] body.n-site .nx-api-section li{font-size:15px;line-height:2.1}html[data-theme] body.n-site .nx-api-section-heading{gap:9px}html[data-theme] body.n-site .nx-api-code pre{font-size:12px;padding-inline:14px}.nx-api-actions .btn{min-height:46px}.nx-api-hero .lede{line-height:2.05!important}}

/* Spacious developer-docs introduction; retain the Nourix design tokens. */
html[data-theme] body.n-site header.nx-api-hero{max-width:960px;padding:24px 0 60px}
html[data-theme] body.n-site .nx-api-hero>a{display:inline-block;margin:0 0 30px;font-size:14px;line-height:1.8}
html[data-theme] body.n-site .nx-api-hero h1{margin:0 0 24px;line-height:1.55;font-size:clamp(32px,4vw,52px)}
html[data-theme] body.n-site .nx-api-hero .lede{max-width:700px;font-size:18px;line-height:2.1;margin:0 0 32px;text-align:start!important;font-weight:400}
html[data-theme] body.n-site .nx-api-hero .nx-api-actions{gap:14px;margin:0;align-items:center}
html[data-theme] body.n-site .nx-api-hero .nx-api-actions .btn{min-height:48px;padding:13px 22px;line-height:1.6;font-size:14px}
.nx-api-secondary-actions{display:flex;flex-wrap:wrap;gap:24px;margin-top:22px;align-items:center}
html[data-theme] body.n-site .nx-api-secondary-actions .btn{display:inline-flex;align-items:center;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:5px 0;min-height:36px;font-size:13px;line-height:1.8;color:var(--nx-muted);text-decoration:underline;text-underline-offset:5px}
html[data-theme] body.n-site .nx-api-hero .nx-ai-status{margin:14px 0 0;min-height:0;line-height:1.9;max-width:700px;font-size:13px;font-weight:400}
.nx-api-hero .nx-ai-status:empty{display:none}
@media(max-width:600px){html[data-theme] body.n-site header.nx-api-hero{padding:14px 0 42px}html[data-theme] body.n-site .nx-api-hero>a{margin-bottom:24px}html[data-theme] body.n-site .nx-api-hero h1{font-size:32px;margin-bottom:22px;line-height:1.65}html[data-theme] body.n-site .nx-api-hero .lede{font-size:16px;line-height:2.1;margin-bottom:28px}.nx-api-secondary-actions{gap:22px;margin-top:18px}html[data-theme] body.n-site .nx-api-hero .nx-api-actions{gap:12px}html[data-theme] body.n-site .nx-api-hero .nx-api-actions .btn{padding:12px 16px}}

/* Keep section badges next to headings instead of distributing capped headings. */
html[data-theme] body.n-site .nx-api-section-heading{justify-content:flex-start;column-gap:12px}
html[data-theme] body.n-site .nx-api-section-heading h2{max-width:none;flex:1 1 auto}

/* v52: vertically center each section badge beside its heading. */
html[data-theme] body.n-site .nx-api-section-heading{align-items:center}
