/* NEXORA in-portal help skin. Same nx- tokens/classes as the help
   prototype so Orchard-authored bodies (steps, shots, clips, kbd) render
   unchanged. Portal chrome (header, sidebar, footer, fonts, RTL) is NOT
   repeated here: FA icons, Inter/DIN fonts and html[lang/dir] all come
   from the app shell. No collisions: the app stylesheet defines no nx-
   classes and no --nx- variables. */
:root {
  --nx-indigo: #6366F1; --nx-indigo-dark: #4F46E5; --nx-indigo-deep: #3730A3;
  --nx-cyan: #22D3EE; --nx-ink: #0B1220; --nx-ink-soft: #111C33;
  --nx-slate: #5B667A; --nx-paper: #F7F8FC;
  --nx-line: rgba(11, 18, 32, 0.08); --nx-line-strong: rgba(11, 18, 32, 0.14);
}
.nx-help .nx-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.nx-help mark { background: #FEF08A; border-radius: .2rem; padding: 0 .1rem; }

/* ---------- hero (portal variant: no fixed public header to clear) ---------- */
.nx-help-hero { position: relative; isolation: isolate; padding: 3.5rem 0 3.2rem; overflow: hidden;
  border-radius: 20px; background-color: #050916;
  background-image: radial-gradient(circle at 82% 12%, rgba(99,102,241,.5) 0%, rgba(99,102,241,0) 46%),
    radial-gradient(circle at 12% 88%, rgba(34,211,238,.16) 0%, rgba(34,211,238,0) 42%); }
html[dir="rtl"] .nx-help-hero { background-image: radial-gradient(circle at 18% 12%, rgba(99,102,241,.5) 0%, rgba(99,102,241,0) 46%),
    radial-gradient(circle at 88% 88%, rgba(34,211,238,.16) 0%, rgba(34,211,238,0) 42%); }
.nx-help-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(5,9,22,.55) 0%, rgba(5,9,22,.78) 60%, rgba(5,9,22,.9) 100%); pointer-events: none; }
.nx-help-hero .nx-container { position: relative; z-index: 1; }
.nx-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.nx-module-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06);
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85); }
html[lang="ar"] .nx-module-badge { letter-spacing: 0; }
.nx-module-badge i { color: var(--nx-cyan); }
.nx-module-badge--light { border-color: rgba(79,70,229,.25); background: rgba(99,102,241,.08); color: var(--nx-indigo-dark); }
.nx-module-badge--light i { color: var(--nx-indigo-dark); }
.nx-help-hero h1 { margin: 1.4rem 0 1rem; font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.nx-help-hero h1 .nx-h1-accent { color: var(--nx-cyan); }
html[lang="ar"] .nx-help-hero h1 { font-family: "DIN Next LT Arabic", sans-serif; line-height: 1.5; letter-spacing: 0; }
.nx-hero-sub { display: block; max-width: 720px; margin: 0 auto; font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,.72); }
html[lang="ar"] .nx-hero-sub { line-height: 1.9; }
.nx-hero-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.nx-hero-meta span { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06);
  font-size: .72rem; color: rgba(255,255,255,.75); }
.nx-hero-meta i { color: var(--nx-cyan); font-size: .7rem; }
.nx-search { display: flex; align-items: center; gap: .5rem; max-width: 640px; margin: 1.8rem auto 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  padding: .45rem .45rem .45rem 1.1rem; }
html[dir="rtl"] .nx-search { padding: .45rem 1.1rem .45rem .45rem; }
.nx-search:focus-within { border-color: var(--nx-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.nx-search > i { color: rgba(255,255,255,.55); }
.nx-search input { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: none;
  color: #fff; font: inherit; font-size: .95rem; }
.nx-search input::placeholder { color: rgba(255,255,255,.5); }
.nx-search .nx-btn { border-radius: 999px; border: 0; font: inherit; cursor: pointer; }
.nx-hero-chips { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.nx-hero-chips > span { font-size: .73rem; color: rgba(255,255,255,.55); }
.nx-hero-chips button { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.05);
  font-size: .73rem; font-weight: 500; color: rgba(255,255,255,.72); cursor: pointer; font-family: inherit; }
.nx-hero-chips button:hover { border-color: var(--nx-cyan); color: #fff; }
.nx-hero-chips button[aria-pressed="true"] { border-color: var(--nx-cyan); color: #fff; background: rgba(34,211,238,.12); }
.nx-hero-chips i { color: var(--nx-cyan); font-size: .72rem; }

/* ---------- crumbs (light variant for portal pages; dark hero keeps base) ---------- */
.nx-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.2rem; font-size: .78rem; color: rgba(255,255,255,.45); }
.nx-crumbs a { color: rgba(255,255,255,.72); text-decoration: none; }
.nx-crumbs a:hover { color: var(--nx-cyan); }
.nx-crumbs [aria-current="page"] { color: #fff; font-weight: 600; }
.nx-help-hero .nx-crumbs { justify-content: center; }
.nx-crumbs--light { color: var(--nx-slate); }
.nx-crumbs--light a { color: var(--nx-indigo-dark); }
.nx-crumbs--light a:hover { color: var(--nx-indigo-deep); }
.nx-crumbs--light [aria-current="page"] { color: var(--nx-ink); }

/* ---------- sections ---------- */
.nx-section { padding: 3rem 0 3.5rem; }
.nx-section--tint { background: #fff; border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.nx-eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--nx-indigo-dark); }
.nx-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--nx-cyan); }
html[lang="ar"] .nx-eyebrow { letter-spacing: 0; text-transform: none; }
.nx-h2 { margin: 0 0 1rem; font-family: 'Sora', 'Inter', sans-serif; font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--nx-ink); }
html[lang="ar"] .nx-h2 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; line-height: 1.5; font-weight: 700; }
.nx-lead { max-width: 720px; margin: 1rem auto 0; font-size: 1rem; line-height: 1.8; color: var(--nx-slate); }
.nx-section-heading { text-align: center; margin-bottom: 2.2rem; }

/* ---------- module cards ---------- */
.nx-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.nx-module { display: flex; flex-direction: column; height: 100%; padding: 1.9rem 1.5rem; background: #fff;
  border: 1px solid var(--nx-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11,18,32,.03);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.nx-module, button.nx-module { position: relative; width: 100%; color: inherit; text-decoration: none; overflow: hidden; }
button.nx-module { font: inherit; text-align: start; cursor: pointer; }
a.nx-module:hover, a.nx-module:focus-visible, button.nx-module:hover { color: inherit; text-decoration: none; }
a.nx-module::after, button.nx-module::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: var(--nx-mod, var(--nx-indigo)); opacity: 0; transition: opacity .3s ease; }
a.nx-module:hover::after, button.nx-module:hover::after, button.nx-module[aria-pressed="true"]::after { opacity: 1; }
a.nx-module:hover, button.nx-module:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.3); box-shadow: 0 22px 44px rgba(11,18,32,.09); }
button.nx-module[aria-pressed="true"] { border-color: rgba(99,102,241,.45); box-shadow: 0 22px 44px rgba(11,18,32,.09); }
.nx-mod-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px;
  margin-bottom: 1.15rem; border-radius: 15px; background: var(--nx-mod-soft, rgba(99,102,241,.1));
  color: var(--nx-mod, var(--nx-indigo-dark)); font-size: 1.2rem; transition: background-color .3s ease, color .3s ease; }
a.nx-module:hover .nx-mod-icon, button.nx-module:hover .nx-mod-icon, button.nx-module[aria-pressed="true"] .nx-mod-icon { background: var(--nx-mod, var(--nx-indigo)); color: #fff; }
.nx-ico--red { --nx-mod: #EF4444; --nx-mod-soft: rgba(239,68,68,.1); }
.nx-ico--sky { --nx-mod: #0EA5E9; --nx-mod-soft: rgba(14,165,233,.1); }
.nx-ico--emerald { --nx-mod: #10B981; --nx-mod-soft: rgba(16,185,129,.1); }
.nx-ico--amber { --nx-mod: #F59E0B; --nx-mod-soft: rgba(245,158,11,.12); }
.nx-ico--indigo { --nx-mod: #6366F1; --nx-mod-soft: rgba(99,102,241,.1); }
.nx-ico--violet { --nx-mod: #8B5CF6; --nx-mod-soft: rgba(139,92,246,.1); }
.nx-ico--teal { --nx-mod: #14B8A6; --nx-mod-soft: rgba(20,184,166,.1); }
.nx-ico--slate { --nx-mod: #64748B; --nx-mod-soft: rgba(100,116,139,.12); }
.nx-ico--blue { --nx-mod: #3B82F6; --nx-mod-soft: rgba(59,130,246,.1); }
.nx-module h3 { margin: 0 0 .5rem; font-family: 'Sora', 'Inter', sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--nx-ink); }
html[lang="ar"] .nx-module h3 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; }
.nx-module > p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--nx-slate); }
.nx-module-count { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .76rem; font-weight: 600; color: var(--nx-slate); }
.nx-module-count i { color: var(--nx-mod, var(--nx-indigo)); font-size: .7rem; }
.nx-module-hl { display: flex; flex-direction: column; gap: .4rem; list-style: none; margin: 1.1rem 0 0;
  padding: .95rem 0 0; border-top: 1px solid var(--nx-line); }
.nx-module-hl li { display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; line-height: 1.55; color: #475569; }
html[lang="ar"] .nx-module-hl li { line-height: 1.85; }
.nx-module-hl a { color: inherit; text-decoration: none; }
.nx-module-hl a:hover { color: var(--nx-mod, var(--nx-indigo-dark)); }
.nx-module-hl i { flex: 0 0 auto; margin-top: .28rem; font-size: .6rem; color: var(--nx-mod, var(--nx-indigo)); }
.nx-module-go { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.1rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; color: var(--nx-mod, var(--nx-indigo-dark)); }
html[lang="ar"] .nx-module-go { letter-spacing: 0; }

/* ---------- compact cards ---------- */
.nx-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
a.nx-mini { display: flex; align-items: flex-start; gap: .9rem; padding: 1.2rem 1.35rem; background: #fff;
  border: 1px solid var(--nx-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(11,18,32,.03);
  text-decoration: none; color: inherit; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.nx-mini:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.28); box-shadow: 0 18px 36px rgba(11,18,32,.08); }
.nx-mini-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--nx-mod-soft, rgba(99,102,241,.1)); color: var(--nx-mod, var(--nx-indigo-dark)); font-size: 1rem; }
.nx-mini-body { min-width: 0; }
.nx-mini h3 { margin: 0 0 .3rem; font-family: 'Sora', 'Inter', sans-serif; font-size: .94rem; font-weight: 600; line-height: 1.45; color: var(--nx-ink); }
html[lang="ar"] .nx-mini h3 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; line-height: 1.7; }
.nx-mini p { margin: 0; font-size: .83rem; line-height: 1.6; color: var(--nx-slate); }
.nx-mini-meta { display: block; margin-top: .45rem; font-size: .72rem; font-weight: 600; color: var(--nx-mod, var(--nx-indigo-dark)); }

/* ---------- article body (styles Orchard-authored HTML) ---------- */
.nx-doc-head { margin-bottom: 2rem; }
.nx-doc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 1rem;
  font-size: .8rem; color: var(--nx-slate); }
.nx-doc-meta i { color: var(--nx-indigo); font-size: .72rem; margin-inline-end: .35rem; }
.nx-kind { display: inline-block; padding: .1rem .55rem; border-radius: 999px;
  background: rgba(99,102,241,.1); color: var(--nx-indigo-dark); font-size: .68rem; font-weight: 700; font-style: normal; }
.nx-legal-body { max-width: 800px; }
.nx-legal-block { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--nx-line); scroll-margin-top: 100px; }
.nx-legal-block:last-of-type { border-bottom: 0; margin-bottom: .5rem; }
.nx-legal-body h2 { margin: 0 0 .9rem; font-family: 'Sora', 'Inter', sans-serif; font-size: 1.32rem; font-weight: 600;
  letter-spacing: -.01em; color: var(--nx-ink); }
html[lang="ar"] .nx-legal-body h2 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; line-height: 1.7; }
.nx-legal-body p { margin: 0 0 .85rem; font-size: .96rem; line-height: 1.85; color: var(--nx-slate); }
html[lang="ar"] .nx-legal-body p, html[lang="ar"] .nx-legal-body li { line-height: 2; }
.nx-legal-body ul, .nx-legal-body ol { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
.nx-legal-body li { margin-bottom: .5rem; font-size: .94rem; line-height: 1.75; color: var(--nx-slate); }
.nx-legal-body li::marker { color: var(--nx-indigo); }
.nx-legal-body img { max-width: 100%; height: auto; }
.nx-legal-contact { margin-top: 2rem; padding: 1.2rem 1.4rem; background: rgba(99,102,241,.06);
  border: 1px solid rgba(99,102,241,.18); border-radius: 14px; font-size: .92rem; color: var(--nx-slate); line-height: 1.7; }
.nx-legal-contact a { font-weight: 600; color: var(--nx-indigo-dark); }
.nx-steps { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.2rem 0; }
@media (min-width: 576px) { .nx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nx-step { height: 100%; padding: 1.5rem 1.3rem; background: #fff; border: 1px solid var(--nx-line); border-radius: 16px; }
.nx-step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--nx-indigo); box-shadow: 0 6px 14px rgba(99,102,241,.28);
  font-family: 'Sora', 'Inter', sans-serif; font-size: .85rem; font-weight: 700; color: #fff; }
.nx-step h3 { margin: .9rem 0 .45rem; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--nx-ink); }
html[lang="ar"] .nx-step h3 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; }
.nx-step p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--nx-slate); }
figure.nx-shot { margin: 1.2rem 0; padding: 1.4rem 1rem; border: 1px dashed var(--nx-line-strong);
  border-radius: 12px; background: rgba(255,255,255,.7); text-align: center; }
figure.nx-shot img { width: 100%; border-radius: 8px; border: 1px solid var(--nx-line); display: block; }
figure.nx-shot.has-img { padding: .6rem; }
figure.nx-shot.has-img figcaption { display: none; }
figure.nx-shot figcaption { font-size: .84rem; color: var(--nx-slate); line-height: 1.8; }
figure.nx-shot figcaption i { color: var(--nx-indigo); margin-inline-end: .4rem; }
figure.nx-shot figcaption code { font-size: .74rem; background: #fff; border: 1px solid var(--nx-line);
  border-radius: 6px; padding: .1rem .45rem; color: var(--nx-indigo-dark); }
.nx-kbd { font-size: .7rem; border: 1px solid #CBD5E1; border-bottom-width: 2px; border-radius: .375rem;
  padding: .05rem .4rem; color: #64748B; background: #F8FAFC; font-family: inherit; }
.nx-clip-card { margin: 1.2rem 0; padding: 1.5rem 1.4rem; background: #F8FAFC; border: 1px solid var(--nx-line); border-radius: 16px; }
.nx-clip-card h3 { margin: 0 0 .4rem; font-family: 'Sora', 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--nx-ink); }
html[lang="ar"] .nx-clip-card h3 { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; }
.nx-clip-card h3 i { color: var(--nx-indigo); margin-inline-end: .45rem; }
.nx-clip-card ol { margin: .8rem 0; padding-inline-start: 1.25rem; color: var(--nx-slate); font-size: .9rem; line-height: 1.75; }
html[lang="ar"] .nx-clip-card ol { line-height: 2; }
.nx-clip-spec { margin: .6rem 0 0; font-size: .78rem; color: var(--nx-slate); }
.nx-clip { width: 100%; border-radius: 10px; margin-bottom: 1rem; background: #000; }
.nx-open-app { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 1rem; border-radius: 999px;
  background: var(--nx-indigo); color: #fff !important; font-size: .74rem; font-weight: 700; text-decoration: none; }
.nx-open-app:hover { background: var(--nx-indigo-dark); color: #fff !important; }
/* function catalog */
.nx-fsec { margin: 2.2rem 0 1rem; font-family: 'Sora', 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--nx-ink); }
html[lang="ar"] .nx-fsec { font-family: "DIN Next LT Arabic", sans-serif; letter-spacing: 0; }
.nx-fsec i { color: var(--nx-mod, var(--nx-indigo-dark)); margin-inline-end: .5rem; }

/* ---------- buttons / empty / loading ---------- */
.nx-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.25rem; border-radius: 999px;
  background: var(--nx-indigo); border: 1px solid transparent; color: #fff;
  font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; font-family: inherit; }
.nx-btn:hover { background: var(--nx-indigo-dark); color: #fff; }
.nx-btn-ghost { background: transparent; border-color: rgba(79,70,229,.45); color: var(--nx-indigo-dark); }
.nx-btn-ghost:hover { background: var(--nx-indigo-dark); border-color: var(--nx-indigo-dark); color: #fff; }
.nx-empty { text-align: center; padding: 3rem 1rem; color: var(--nx-slate); }
.nx-empty > i { font-size: 2rem; color: var(--nx-indigo); margin-bottom: 1rem; }
.nx-empty h2 { font-family: 'Sora', 'Inter', sans-serif; color: var(--nx-ink); margin: 0 0 .5rem; font-size: 1.3rem; }
html[lang="ar"] .nx-empty h2 { font-family: "DIN Next LT Arabic", sans-serif; }
.nx-empty p { margin: 0 0 1.2rem; }
.nx-empty code { font-size: .74rem; background: #fff; border: 1px solid var(--nx-line);
  border-radius: 6px; padding: .1rem .45rem; color: var(--nx-indigo-dark); }
.nx-loading { text-align: center; padding: 3rem 1rem; color: var(--nx-indigo); font-size: 1.6rem; }

/* ---------- reader toolbar ---------- */
.nx-reader { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: .6rem; margin-bottom: 1.2rem; }
.nx-reader-group { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem;
  border: 1px solid var(--nx-line); border-radius: 999px; background: #fff; }
.nx-rbtn { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem;
  border: 0; border-radius: 999px; background: transparent; color: var(--nx-ink);
  font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.nx-rbtn:hover:not(:disabled) { background: rgba(99,102,241,.1); color: var(--nx-indigo-dark); }
.nx-rbtn:disabled { opacity: .35; cursor: default; }
.nx-rbtn i { font-size: .72rem; }

/* ---------- text-size scale (A- / A / A+) ---------- */
.nx-help.nx-fs-0 .nx-legal-body p, .nx-help.nx-fs-0 .nx-legal-body li { font-size: .88rem; line-height: 1.7; }
.nx-help.nx-fs-0 .nx-legal-body h2 { font-size: 1.2rem; }
.nx-help.nx-fs-0 .nx-mini h3, .nx-help.nx-fs-0 .nx-module h3 { font-size: .88rem; }
.nx-help.nx-fs-2 .nx-legal-body p, .nx-help.nx-fs-2 .nx-legal-body li { font-size: 1.08rem; line-height: 2; }
.nx-help.nx-fs-2 .nx-legal-body h2 { font-size: 1.5rem; }
.nx-help.nx-fs-2 .nx-mini h3, .nx-help.nx-fs-2 .nx-module h3 { font-size: 1.04rem; }
.nx-help.nx-fs-2 .nx-mini p, .nx-help.nx-fs-2 .nx-module > p { font-size: .9rem; }
/* Arabic script reads small: ~8% uplift at every step (line-height already 2). */
html[lang="ar"] .nx-help .nx-legal-body p, html[lang="ar"] .nx-help .nx-legal-body li { font-size: 1.03rem; }
html[lang="ar"] .nx-help.nx-fs-0 .nx-legal-body p, html[lang="ar"] .nx-help.nx-fs-0 .nx-legal-body li { font-size: .95rem; }
html[lang="ar"] .nx-help.nx-fs-2 .nx-legal-body p, html[lang="ar"] .nx-help.nx-fs-2 .nx-legal-body li { font-size: 1.16rem; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .nx-module-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nx-help-hero { padding: 2.8rem 0 2.6rem; }
}
@media (max-width: 767px) {
  .nx-module-grid, .nx-mini-grid { grid-template-columns: 1fr; }
  .nx-help-hero { padding: 2.2rem 0 2rem; border-radius: 16px; }
  .nx-section { padding: 2.2rem 0 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-help *, .nx-help *::before, .nx-help *::after { transition: none !important; animation: none !important; }
}

/* ---------- print: guide only, no shell chrome ---------- */
@media print {
  .sidebar, .topbar, .nx-help-hero, .nx-reader, .nx-crumbs, .nx-related, .nx-backrow { display: none !important; }
  /* App-frame lock (.main = 100vh, .page = the scroller) prints blank:
     release both so the guide paginates normally. */
  .main { display: block !important; height: auto !important; max-height: none !important;
    max-width: 100% !important; width: 100% !important; margin: 0 !important; overflow: visible !important; }
  .page { overflow: visible !important; height: auto !important; max-height: none !important; padding: 0 !important; }
  .nx-help .nx-container { max-width: 100%; }
  .nx-legal-body { max-width: 100%; }
  .nx-help *, .nx-help *::before, .nx-help *::after { box-shadow: none !important; text-shadow: none !important; }
  .nx-legal-body p, .nx-legal-body li, .nx-legal-body h2, .nx-legal-body h3 { color: #000 !important; }
  .nx-step, figure.nx-shot, .nx-clip-card, .nx-legal-contact { break-inside: avoid; }
  .nx-open-app::after { content: " (" attr(href) ")"; font-size: .7rem; font-weight: 400; }
}
