/* =====================================================================
   N4 Hub — design-rendszer (az APM arculata)
   Sötét, ipari, műszerfal-jellegű; narancs kiemelő, finom rács-háttér,
   szögletes sarkok, L-alakú sarokjelek. Keretrendszer nélkül, .nh- előtaggal.
   Betűk (Google Fonts): Barlow Condensed (címek), Barlow (szöveg), IBM Plex Mono (adat).
   ===================================================================== */

/* ---------- 1. Változók (sötét alap) ---------- */
:root {
  color-scheme: dark;
  /* szín */
  --nh-bg: #07080b;
  --nh-surface: #0f1118;
  --nh-surface-2: #141724;
  --nh-surface-3: #1a1d27;
  --nh-sunken: rgba(0, 0, 0, .4);
  --nh-line: rgba(255, 255, 255, .08);
  --nh-line-2: rgba(255, 255, 255, .16);
  --nh-line-3: rgba(255, 255, 255, .28);
  --nh-text: #e8e8ec;
  --nh-text-strong: #ffffff;
  --nh-muted: #7f8290;
  --nh-faint: #5c5f6b;
  --nh-accent: #ff5c1a;
  --nh-accent-hover: #ff7a45;
  --nh-accent-2: #ff8a52;
  --nh-accent-text: #ff8a52;
  --nh-accent-soft: rgba(255, 92, 26, .12);
  --nh-on-accent: #111111;
  --nh-ok: #2bd47d;
  --nh-warn: #ffb020;
  --nh-bad: #ff4d4d;
  --nh-info: #7dd3fc;
  --nh-ok-soft: rgba(43, 212, 125, .1);
  --nh-warn-soft: rgba(255, 176, 32, .1);
  --nh-bad-soft: rgba(255, 77, 77, .1);
  --nh-info-soft: rgba(125, 211, 252, .1);
  --nh-grid-line: rgba(255, 255, 255, .05);
  /* betű */
  --nh-font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --nh-font-sans: 'Barlow', 'Segoe UI', Helvetica, Arial, sans-serif;
  --nh-font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --nh-track: .08em;
  --nh-track-wide: .14em;
  /* térköz (4 px-es skála) */
  --nh-s1: 4px; --nh-s2: 8px; --nh-s3: 12px; --nh-s4: 16px; --nh-s5: 20px;
  --nh-s6: 24px; --nh-s7: 32px; --nh-s8: 40px; --nh-s9: 56px; --nh-s10: 72px;
  /* forma */
  --nh-radius: 0px;
  --nh-radius-round: 50%;
  --nh-corner: 12px;
  --nh-container: 1320px;
  /* árnyék, mozgás */
  --nh-shadow-pop: 0 30px 80px rgba(0, 0, 0, .6);
  --nh-shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --nh-glow: 0 0 12px rgba(255, 92, 26, .55);
  --nh-ease: cubic-bezier(.2, .8, .2, 1);
  --nh-ease-snap: cubic-bezier(.7, 0, .2, 1);
  --nh-fast: .15s;
  --nh-mid: .3s;
  --nh-z-pop: 60; --nh-z-overlay: 80; --nh-z-toast: 95; --nh-z-tip: 99;
}

/* ---------- 1b. Világos változat ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --nh-bg: #f2f1ed;
  --nh-surface: #ffffff;
  --nh-surface-2: #f7f6f3;
  --nh-surface-3: #e9e7e1;
  --nh-sunken: rgba(0, 0, 0, .035);
  --nh-line: rgba(0, 0, 0, .1);
  --nh-line-2: rgba(0, 0, 0, .2);
  --nh-line-3: rgba(0, 0, 0, .35);
  --nh-text: #1c1d22;
  --nh-text-strong: #000000;
  --nh-muted: #5d606c;
  --nh-faint: #8a8d98;
  --nh-accent: #f0530f;
  --nh-accent-hover: #d84506;
  --nh-accent-2: #e2620f;
  --nh-accent-text: #b83a05;
  --nh-accent-soft: rgba(240, 83, 15, .1);
  --nh-on-accent: #111111;
  --nh-ok: #108a4c;
  --nh-warn: #a86700;
  --nh-bad: #c92a2a;
  --nh-info: #0f6f9e;
  --nh-ok-soft: rgba(16, 138, 76, .09);
  --nh-warn-soft: rgba(168, 103, 0, .09);
  --nh-bad-soft: rgba(201, 42, 42, .08);
  --nh-info-soft: rgba(15, 111, 158, .08);
  --nh-grid-line: rgba(0, 0, 0, .05);
  --nh-shadow-pop: 0 24px 60px rgba(20, 20, 30, .18);
  --nh-glow: 0 0 10px rgba(240, 83, 15, .35);
}

/* ---------- 2. Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--nh-bg);
  color: var(--nh-text);
  font: 400 15px/1.55 var(--nh-font-sans);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
::selection { background: var(--nh-accent); color: var(--nh-on-accent); }
:focus-visible { outline: 2px solid var(--nh-accent); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Rács-háttér (a body-ra vagy egy konténerre tedd: class="nh-grid-bg") */
.nh-grid-bg { position: relative; isolation: isolate; }
.nh-grid-bg::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--nh-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--nh-grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 25%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 25%, #000 15%, transparent 75%);
  animation: nh-drift 40s linear infinite;
}
@keyframes nh-drift { to { background-position: 48px 48px, 48px 48px; } }

/* ---------- 3. Tipográfia ---------- */
h1, h2, h3, h4, h5, h6, .nh-h1, .nh-h2, .nh-h3, .nh-h4, .nh-h5, .nh-h6 {
  font-family: var(--nh-font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--nh-track); line-height: 1.05; color: var(--nh-text-strong); margin: 0 0 .5em;
}
h1, .nh-h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: .04em; line-height: .95; }
h2, .nh-h2 { font-size: 28px; }
h3, .nh-h3 { font-size: 22px; }
h4, .nh-h4 { font-size: 18px; }
h5, .nh-h5 { font-size: 15px; letter-spacing: var(--nh-track-wide); }
h6, .nh-h6 { font-size: 12px; letter-spacing: .16em; color: var(--nh-muted); }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; color: var(--nh-text-strong); }
em { color: var(--nh-accent-text); font-style: normal; }
small, .nh-small { font-size: 13px; color: var(--nh-muted); }
mark { background: var(--nh-accent-soft); color: var(--nh-accent-text); padding: 0 3px; }
.nh-eyebrow { font: 700 12px var(--nh-font-display); letter-spacing: var(--nh-track-wide); text-transform: uppercase; color: var(--nh-accent-text); }
.nh-lead { font-size: 17px; color: var(--nh-muted); max-width: 64ch; }
.nh-mono { font-family: var(--nh-font-mono); font-size: .9em; }
.nh-muted { color: var(--nh-muted); }
.nh-prose ul, .nh-prose ol, ul.nh-ul, ol.nh-ol { margin: 0 0 1em; padding-left: 1.4em; }
.nh-prose li, .nh-ul li, .nh-ol li { margin: .25em 0; }
.nh-prose ul li::marker, ul.nh-ul li::marker { content: '■  '; color: var(--nh-accent); font-size: .7em; }
.nh-prose ol li::marker, ol.nh-ol li::marker { font: 600 .85em var(--nh-font-mono); color: var(--nh-accent-text); }
blockquote, .nh-quote {
  margin: 0 0 1em; padding: var(--nh-s3) var(--nh-s4); border-left: 3px solid var(--nh-accent);
  background: var(--nh-accent-soft); color: var(--nh-text); font-size: 16px;
}
blockquote cite, .nh-quote cite { display: block; margin-top: 6px; font: 12px var(--nh-font-mono); color: var(--nh-muted); font-style: normal; }

/* ---------- 4. Elrendezés: konténer, rács, sor ---------- */
.nh-container { width: 100%; max-width: var(--nh-container); margin: 0 auto; padding: 0 var(--nh-s6); }
.nh-grid { display: grid; gap: var(--nh-s4); grid-template-columns: repeat(var(--nh-cols, 12), minmax(0, 1fr)); }
.nh-cols-2 { --nh-cols: 2; } .nh-cols-3 { --nh-cols: 3; } .nh-cols-4 { --nh-cols: 4; } .nh-cols-6 { --nh-cols: 6; }
.nh-span-2 { grid-column: span 2; } .nh-span-3 { grid-column: span 3; } .nh-span-4 { grid-column: span 4; }
.nh-span-6 { grid-column: span 6; } .nh-span-8 { grid-column: span 8; } .nh-span-12, .nh-span-full { grid-column: 1 / -1; }
.nh-auto-grid { display: grid; gap: var(--nh-s4); grid-template-columns: repeat(auto-fill, minmax(var(--nh-min, 260px), 1fr)); }
.nh-row { display: flex; align-items: center; gap: var(--nh-s3); flex-wrap: wrap; }
.nh-row.end { justify-content: flex-end; } .nh-row.between { justify-content: space-between; }
.nh-stack { display: grid; gap: var(--nh-s3); }
.nh-gap-1 { gap: var(--nh-s1); } .nh-gap-2 { gap: var(--nh-s2); } .nh-gap-4 { gap: var(--nh-s4); } .nh-gap-6 { gap: var(--nh-s6); }
.nh-space-scale { display: grid; gap: 6px; }
.nh-space-scale div { display: grid; grid-template-columns: 60px 1fr 50px; align-items: center; gap: 10px; font: 12px var(--nh-font-mono); color: var(--nh-muted); }
.nh-space-scale i { display: block; height: 10px; background: repeating-linear-gradient(90deg, var(--nh-accent) 0 6px, transparent 6px 8px); }
.nh-demo-col { background: var(--nh-accent-soft); border: 1px dashed rgba(255, 92, 26, .45); padding: 10px; font: 11px var(--nh-font-mono); color: var(--nh-accent-text); text-align: center; }

/* ---------- 5. Panel (sarokjeles felület) ---------- */
.nh-panel { position: relative; background: var(--nh-surface); border: 1px solid var(--nh-line); padding: var(--nh-s4) var(--nh-s5); }
.nh-panel::before, .nh-panel::after {
  content: ''; position: absolute; width: var(--nh-corner); height: var(--nh-corner);
  border: 2px solid var(--nh-accent); pointer-events: none;
}
.nh-panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.nh-panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.nh-panel.nh-panel--flat::before, .nh-panel.nh-panel--flat::after { display: none; }
.nh-panel--sunken { background: var(--nh-sunken); }
.nh-panel-head { display: flex; align-items: center; gap: var(--nh-s3); flex-wrap: wrap; margin-bottom: var(--nh-s3); }
.nh-panel-head h3, .nh-panel-head .nh-panel-title { font: 700 17px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; margin: 0; color: var(--nh-text-strong); }
.nh-panel-head .nh-meta, .nh-meta { margin-left: auto; font: 11px var(--nh-font-mono); color: var(--nh-muted); }

/* ---------- 6. Gomb ---------- */
.nh-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 38px; padding: 9px 16px;
  font: 700 14px/1 var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase;
  color: var(--nh-text); background: transparent; border: 2px solid var(--nh-line-2); border-radius: var(--nh-radius);
  cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none;
  transition: border-color var(--nh-fast), color var(--nh-fast), background var(--nh-fast);
}
/* rámutatáskor ferde narancs kitöltés úszik be balról */
.nh-btn::before {
  content: ''; position: absolute; inset: -2px -12px; z-index: -1; background: var(--nh-accent);
  transform: translateX(-115%) skewX(-12deg); transition: transform .35s var(--nh-ease-snap);
}
.nh-btn:hover:not(:disabled):not(.is-loading) { border-color: var(--nh-accent); color: var(--nh-on-accent); }
.nh-btn:hover:not(:disabled):not(.is-loading)::before, .nh-btn.is-hover::before { transform: translateX(0) skewX(-12deg); }
.nh-btn.is-hover { border-color: var(--nh-accent); color: var(--nh-on-accent); }
.nh-btn:active:not(:disabled), .nh-btn.is-active { transform: translateY(1px); }
.nh-btn:focus-visible, .nh-btn.is-focus { outline: 2px solid var(--nh-accent); outline-offset: 3px; }
.nh-btn:disabled, .nh-btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.nh-btn svg { width: 16px; height: 16px; flex: none; }
/* elsődleges: tömör narancs, rámutatáskor fehér kitöltés */
.nh-btn--primary { background: var(--nh-accent); border-color: var(--nh-accent); color: var(--nh-on-accent); }
.nh-btn--primary::before { background: #fff; }
.nh-btn--primary:hover:not(:disabled):not(.is-loading) { color: #111; }
/* körvonalas narancs */
.nh-btn--outline { border-color: var(--nh-accent); color: var(--nh-accent-text); }
.nh-btn--ghost { border-color: transparent; color: var(--nh-muted); }
.nh-btn--ghost::before { background: var(--nh-accent-soft); }
.nh-btn--ghost:hover:not(:disabled) { color: var(--nh-text-strong); border-color: transparent; }
.nh-btn--danger { border-color: rgba(255, 77, 77, .55); color: var(--nh-bad); }
.nh-btn--danger::before { background: var(--nh-bad); }
.nh-btn--danger:hover:not(:disabled):not(.is-loading) { border-color: var(--nh-bad); color: #fff; }
.nh-btn--link { border: 0; padding: 0 2px; min-height: 0; color: var(--nh-accent-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.nh-btn--link::before { display: none; }
.nh-btn--link:hover:not(:disabled) { color: var(--nh-accent-hover); }
/* méretek */
.nh-btn--sm { min-height: 30px; padding: 6px 10px; font-size: 13px; }
.nh-btn--lg { min-height: 48px; padding: 13px 22px; font-size: 17px; }
.nh-btn--block { display: flex; width: 100%; }
/* töltés: a felirat halványul, csíkos sáv fut alul */
.nh-btn.is-loading { cursor: progress; color: transparent !important; }
.nh-btn.is-loading::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border: 2px solid currentColor; border-color: var(--nh-accent) transparent var(--nh-accent) transparent;
  animation: nh-spin .8s linear infinite;
}
.nh-btn--primary.is-loading::after { border-color: #111 transparent #111 transparent; }
.nh-btn-group { display: inline-flex; }
.nh-btn-group .nh-btn + .nh-btn { margin-left: -2px; }

/* ---------- 7. Ikon-gomb ---------- */
.nh-icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  background: transparent; color: var(--nh-muted); border: 1px solid var(--nh-line-2); border-radius: var(--nh-radius);
  cursor: pointer; transition: color var(--nh-fast), border-color var(--nh-fast), background var(--nh-fast);
}
.nh-icon-btn svg { width: 18px; height: 18px; }
.nh-icon-btn:hover:not(:disabled) { color: var(--nh-accent-text); border-color: var(--nh-accent); background: var(--nh-accent-soft); }
.nh-icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.nh-icon-btn--solid { background: var(--nh-accent); border-color: var(--nh-accent); color: var(--nh-on-accent); }
.nh-icon-btn--solid:hover:not(:disabled) { background: var(--nh-accent-hover); color: var(--nh-on-accent); }
.nh-icon-btn--ghost { border-color: transparent; }
.nh-icon-btn--sm { width: 30px; height: 30px; } .nh-icon-btn--sm svg { width: 15px; height: 15px; }
.nh-icon-btn--lg { width: 48px; height: 48px; } .nh-icon-btn--lg svg { width: 22px; height: 22px; }
.nh-icon-btn .nh-badge { position: absolute; top: -7px; right: -7px; margin: 0; }
/* értesítés-harang: a jelvény időnként megbillen */
.nh-bell .nh-badge { animation: nh-badge 2.4s ease-in-out infinite; }
@keyframes nh-badge { 0%, 80%, 100% { transform: scale(1); } 88% { transform: scale(1.3); } }

/* ---------- 8. Hivatkozás ---------- */
.nh-link { color: var(--nh-accent-text); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--nh-mid) var(--nh-ease), color var(--nh-fast); }
.nh-link:hover, .nh-link.is-hover { color: var(--nh-accent-hover); background-size: 100% 1px; }
.nh-link:visited, .nh-link.is-visited { color: #c58cff; }
:root[data-theme="light"] .nh-link:visited, :root[data-theme="light"] .nh-link.is-visited { color: #7a3fc0; }
.nh-link--ext::after { content: '↗'; display: inline-block; margin-left: 3px; font-size: .85em; transition: transform var(--nh-fast); }
.nh-link--ext:hover::after { transform: translate(2px, -2px); }
.nh-link--muted { color: var(--nh-muted); } .nh-link--muted:hover { color: var(--nh-text-strong); }

/* ---------- 9. Űrlap-mezők ---------- */
.nh-field { display: grid; gap: 6px; min-width: 0; }
.nh-label { font: 700 12px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-muted); }
.nh-label .req { color: var(--nh-accent); margin-left: 3px; }
.nh-help { font-size: 12.5px; color: var(--nh-faint); }
.nh-input, .nh-textarea, .nh-select {
  width: 100%; min-height: 40px; padding: 9px 12px;
  font: 14px var(--nh-font-sans); color: var(--nh-text);
  background: var(--nh-sunken); border: 1px solid var(--nh-line-2); border-radius: var(--nh-radius);
  outline: none; transition: border-color var(--nh-fast), box-shadow var(--nh-fast), background var(--nh-fast);
}
.nh-input::placeholder, .nh-textarea::placeholder { color: var(--nh-faint); }
.nh-input:hover:not(:disabled), .nh-textarea:hover:not(:disabled), .nh-select:hover:not(:disabled) { border-color: var(--nh-line-3); }
.nh-input:focus, .nh-textarea:focus, .nh-select:focus { border-color: var(--nh-accent); box-shadow: 0 0 0 3px var(--nh-accent-soft); }
.nh-input:disabled, .nh-textarea:disabled, .nh-select:disabled { opacity: .45; cursor: not-allowed; }
.nh-input[readonly] { border-style: dashed; }
.nh-input--mono { font-family: var(--nh-font-mono); letter-spacing: .04em; }
.nh-input--sm { min-height: 32px; padding: 5px 10px; font-size: 13px; }
.nh-input--lg { min-height: 48px; font-size: 16px; }
/* ikon a mezőben */
.nh-input-wrap { position: relative; display: flex; align-items: center; }
.nh-input-wrap > svg, .nh-input-wrap > .nh-input-icon { position: absolute; left: 11px; width: 16px; height: 16px; color: var(--nh-muted); pointer-events: none; }
.nh-input-wrap > .nh-input { padding-left: 36px; }
.nh-input-wrap > .nh-input-suffix { position: absolute; right: 10px; font: 12px var(--nh-font-mono); color: var(--nh-muted); }
.nh-input-wrap:focus-within > svg { color: var(--nh-accent); }
.nh-textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.nh-counter { justify-self: end; font: 11px var(--nh-font-mono); color: var(--nh-faint); }
.nh-select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--nh-accent) 50%), linear-gradient(135deg, var(--nh-accent) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.nh-select option { background: var(--nh-surface-2); color: var(--nh-text); }
.nh-select[multiple] { background-image: none; padding-right: 12px; min-height: 110px; }

/* jelölőnégyzet és választógomb: <label class="nh-check"><input type="checkbox"> Szöveg</label> */
.nh-check, .nh-radio { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; cursor: pointer; font-size: 14px; color: var(--nh-text); user-select: none; }
.nh-check input, .nh-radio input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none; width: 18px; height: 18px;
  display: inline-grid; place-items: center; background: var(--nh-sunken); border: 2px solid var(--nh-line-3);
  cursor: pointer; transition: border-color var(--nh-fast), background var(--nh-fast);
}
.nh-radio input { border-radius: var(--nh-radius-round); }
.nh-check input::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--nh-on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform var(--nh-fast) var(--nh-ease); }
.nh-radio input::after { content: ''; width: 8px; height: 8px; background: var(--nh-accent); border-radius: 50%; transform: scale(0); transition: transform var(--nh-fast) var(--nh-ease); }
.nh-check input:hover, .nh-radio input:hover { border-color: var(--nh-accent); }
.nh-check input:checked { background: var(--nh-accent); border-color: var(--nh-accent); }
.nh-check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.nh-check input:indeterminate { background: var(--nh-accent); border-color: var(--nh-accent); }
.nh-check input:indeterminate::after { width: 8px; height: 0; border-width: 2px 0 0 0; border-style: solid; border-color: var(--nh-on-accent); transform: none; }
.nh-radio input:checked { border-color: var(--nh-accent); }
.nh-radio input:checked::after { transform: scale(1); }
.nh-check input:disabled, .nh-radio input:disabled { opacity: .4; cursor: not-allowed; }
.nh-check:has(input:disabled), .nh-radio:has(input:disabled) { color: var(--nh-faint); cursor: not-allowed; }
.nh-choice-group { display: grid; gap: 6px; }
.nh-choice-group.inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* választó-kártya (radio nagy felülettel) */
.nh-choice-card { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid var(--nh-line-2); cursor: pointer; transition: border-color var(--nh-fast), background var(--nh-fast); }
.nh-choice-card:has(input:checked) { border-color: var(--nh-accent); background: var(--nh-accent-soft); }

/* kapcsoló: <label class="nh-switch"><input type="checkbox" role="switch"><span class="nh-switch-track"></span> Szöveg</label> */
.nh-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; min-height: 28px; }
.nh-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nh-switch-track { position: relative; flex: none; width: 42px; height: 22px; background: var(--nh-sunken); border: 1px solid var(--nh-line-3); transition: background var(--nh-mid), border-color var(--nh-mid); }
.nh-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: var(--nh-muted); transition: transform var(--nh-mid) var(--nh-ease), background var(--nh-mid); }
.nh-switch input:checked + .nh-switch-track { background: var(--nh-accent-soft); border-color: var(--nh-accent); }
.nh-switch input:checked + .nh-switch-track::after { transform: translateX(20px); background: var(--nh-accent); box-shadow: var(--nh-glow); }
.nh-switch input:focus-visible + .nh-switch-track { outline: 2px solid var(--nh-accent); outline-offset: 2px; }
.nh-switch input:disabled + .nh-switch-track { opacity: .4; }
.nh-switch:has(input:disabled) { cursor: not-allowed; color: var(--nh-faint); }
.nh-switch-state { font: 11px var(--nh-font-mono); color: var(--nh-muted); text-transform: uppercase; letter-spacing: .1em; min-width: 3ch; }

/* csúszka */
.nh-range-row { display: flex; align-items: center; gap: 12px; }
.nh-range-value { min-width: 48px; padding: 3px 6px; text-align: center; font: 500 13px var(--nh-font-mono); color: var(--nh-accent-text); border: 1px solid var(--nh-line-2); background: var(--nh-sunken); }
.nh-range { --p: 50%; flex: 1; appearance: none; -webkit-appearance: none; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.nh-range::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--nh-accent) var(--p), var(--nh-surface-3) var(--p)); }
.nh-range::-moz-range-track { height: 6px; background: var(--nh-surface-3); }
.nh-range::-moz-range-progress { height: 6px; background: var(--nh-accent); }
.nh-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 22px; margin-top: -8px; background: var(--nh-bg); border: 2px solid var(--nh-accent); transition: box-shadow var(--nh-fast); }
.nh-range::-moz-range-thumb { width: 12px; height: 18px; background: var(--nh-bg); border: 2px solid var(--nh-accent); border-radius: 0; }
.nh-range:hover::-webkit-slider-thumb, .nh-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--nh-accent-soft); }
.nh-range:focus-visible { outline: none; }
.nh-range:disabled { opacity: .4; cursor: not-allowed; }
.nh-range-scale { display: flex; justify-content: space-between; font: 10px var(--nh-font-mono); color: var(--nh-faint); }

/* fájl-húzás */
.nh-drop {
  position: relative; display: grid; place-items: center; gap: 6px; padding: 26px 18px; text-align: center;
  border: 2px dashed var(--nh-line-2); background: var(--nh-sunken); color: var(--nh-muted); cursor: pointer;
  transition: border-color var(--nh-fast), background var(--nh-fast), color var(--nh-fast);
}
.nh-drop svg { width: 30px; height: 30px; color: var(--nh-accent); }
.nh-drop b { font: 700 16px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text-strong); }
.nh-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.nh-drop:hover, .nh-drop.is-over { border-color: var(--nh-accent); background: var(--nh-accent-soft); color: var(--nh-text); }
.nh-drop.is-over { border-style: solid; }
.nh-drop:focus-within { outline: 2px solid var(--nh-accent); outline-offset: 2px; }
.nh-file-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.nh-file-list li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: var(--nh-surface-2); border-left: 2px solid var(--nh-accent); font-size: 13px; }
.nh-file-list li span { margin-left: auto; font: 11px var(--nh-font-mono); color: var(--nh-muted); }

/* űrlap-elrendezés */
.nh-form { display: grid; gap: var(--nh-s5); }
.nh-fieldset { margin: 0; padding: var(--nh-s4) var(--nh-s5) var(--nh-s5); border: 1px solid var(--nh-line); display: grid; gap: var(--nh-s4); min-width: 0; }
.nh-fieldset legend { padding: 0 8px; margin-left: -8px; font: 700 13px var(--nh-font-display); letter-spacing: var(--nh-track-wide); text-transform: uppercase; color: var(--nh-accent-text); }
.nh-form-row { display: grid; gap: var(--nh-s4); grid-template-columns: repeat(var(--nh-cols, 2), minmax(0, 1fr)); }
.nh-form-row.three { --nh-cols: 3; }
.nh-form-actions { display: flex; gap: var(--nh-s3); flex-wrap: wrap; justify-content: flex-end; padding-top: var(--nh-s4); border-top: 1px solid var(--nh-line); }
.nh-form-actions .left { margin-right: auto; }
.nh-form--inline { display: flex; gap: var(--nh-s3); align-items: flex-end; flex-wrap: wrap; }

/* érvényesítés: a .nh-field kap állapot-osztályt */
.nh-msg { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.nh-msg::before { font: 700 11px var(--nh-font-mono); }
.nh-field.is-error .nh-input, .nh-field.is-error .nh-textarea, .nh-field.is-error .nh-select { border-color: var(--nh-bad); box-shadow: 0 0 0 3px var(--nh-bad-soft); }
.nh-field.is-error .nh-msg { color: var(--nh-bad); } .nh-field.is-error .nh-msg::before { content: '✕'; }
.nh-field.is-success .nh-input, .nh-field.is-success .nh-select { border-color: var(--nh-ok); }
.nh-field.is-success .nh-msg { color: var(--nh-ok); } .nh-field.is-success .nh-msg::before { content: '✓'; }
.nh-field.is-warning .nh-input, .nh-field.is-warning .nh-select { border-color: var(--nh-warn); }
.nh-field.is-warning .nh-msg { color: var(--nh-warn); } .nh-field.is-warning .nh-msg::before { content: '!'; }
.nh-field.is-error .nh-label { color: var(--nh-bad); }

/* keresőmező találatokkal */
.nh-search { position: relative; }
.nh-search .nh-input { padding-left: 36px; padding-right: 64px; }
.nh-search input[type="search"]::-webkit-search-cancel-button, .nh-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.nh-search > svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--nh-muted); pointer-events: none; }
.nh-search > .nh-kbd { position: absolute; right: 9px; top: 50%; margin-top: -12px; }
.nh-search:focus-within > svg { color: var(--nh-accent); }
.nh-search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: var(--nh-z-pop);
  background: var(--nh-surface-2); border: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop);
  max-height: 320px; overflow: auto; padding: 4px 0; display: none;
}
.nh-search.is-open .nh-search-results { display: block; animation: nh-pop .18s var(--nh-ease); }
.nh-search-group { padding: 8px 14px 4px; font: 700 11px var(--nh-font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--nh-faint); }
.nh-search-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 14px; color: var(--nh-text); cursor: pointer; border-left: 2px solid transparent; }
.nh-search-item small { margin-left: auto; font: 11px var(--nh-font-mono); color: var(--nh-faint); }
.nh-search-item:hover, .nh-search-item.is-active { background: var(--nh-accent-soft); border-left-color: var(--nh-accent); }
.nh-search-item mark { background: none; color: var(--nh-accent-text); padding: 0; font-weight: 600; }
.nh-search-empty { padding: 14px; font-size: 13px; color: var(--nh-muted); }

/* ---------- 10. Menük: lenyíló, helyi ---------- */
.nh-dropdown { position: relative; display: inline-block; }
.nh-menu {
  position: absolute; z-index: var(--nh-z-pop); min-width: 210px; padding: 4px 0; margin: 0;
  background: var(--nh-surface-2); border: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop);
  list-style: none; display: none;
}
.nh-menu.is-open { display: block; animation: nh-pop .18s var(--nh-ease); }
.nh-dropdown > .nh-menu { top: calc(100% + 6px); left: 0; }
.nh-dropdown.end > .nh-menu { left: auto; right: 0; }
.nh-dropdown.up > .nh-menu { top: auto; bottom: calc(100% + 6px); }
.nh-menu::before { content: ''; position: absolute; top: -1px; left: -1px; width: 8px; height: 8px; border-top: 2px solid var(--nh-accent); border-left: 2px solid var(--nh-accent); }
.nh-menu-item {
  position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 14px; min-height: 36px;
  font: 500 14px var(--nh-font-sans); color: var(--nh-text); background: none; border: 0; border-left: 2px solid transparent;
  text-align: left; cursor: pointer; text-decoration: none;
}
.nh-menu-item svg, .nh-menu-item .ic { width: 16px; height: 16px; color: var(--nh-muted); flex: none; text-align: center; }
.nh-menu-item .nh-kbd, .nh-menu-item .sc { margin-left: auto; }
.nh-menu-item .sc { font: 11px var(--nh-font-mono); color: var(--nh-faint); }
.nh-menu-item:hover, .nh-menu-item:focus-visible, .nh-menu-item.is-active { background: var(--nh-accent-soft); border-left-color: var(--nh-accent); color: var(--nh-text-strong); outline: none; }
.nh-menu-item:hover svg, .nh-menu-item:hover .ic { color: var(--nh-accent-text); }
.nh-menu-item:disabled, .nh-menu-item.is-disabled { opacity: .4; pointer-events: none; }
.nh-menu-item--danger { color: var(--nh-bad); } .nh-menu-item--danger svg { color: var(--nh-bad); }
.nh-menu-item--danger:hover { background: var(--nh-bad-soft); border-left-color: var(--nh-bad); color: var(--nh-bad); }
.nh-menu-sep { height: 1px; margin: 4px 0; background: var(--nh-line); }
.nh-menu-label { padding: 8px 14px 4px; font: 700 11px var(--nh-font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--nh-faint); }
/* almenü */
.nh-menu-sub { position: relative; }
.nh-menu-sub > .nh-menu-item::after { content: '›'; margin-left: auto; font-size: 16px; color: var(--nh-muted); }
.nh-menu-sub > .nh-menu { top: -5px; left: 100%; margin-left: 2px; }
.nh-menu-sub:hover > .nh-menu, .nh-menu-sub.is-open > .nh-menu, .nh-menu-sub:focus-within > .nh-menu { display: block; animation: nh-pop .15s var(--nh-ease); }
.nh-menu.flip-x .nh-menu-sub > .nh-menu, .nh-menu-sub.flip > .nh-menu { left: auto; right: 100%; margin: 0 2px 0 0; }
/* helyi menü: a JS fixed pozícióra teszi */
.nh-menu--context { position: fixed; }
.nh-context-area { display: grid; place-items: center; min-height: 140px; border: 1px dashed var(--nh-line-2); color: var(--nh-muted); font: 12px var(--nh-font-mono); text-align: center; padding: 16px; user-select: none; background: repeating-linear-gradient(-45deg, transparent 0 12px, var(--nh-sunken) 12px 24px); }
@keyframes nh-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- 11. Navigáció: fülek, morzsa, lapozó, lépés-jelző ---------- */
.nh-tabs { position: relative; display: flex; gap: 2px; border-bottom: 1px solid var(--nh-line); overflow-x: auto; scrollbar-width: none; }
.nh-tabs::-webkit-scrollbar { display: none; }
.nh-tab {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; min-height: 42px;
  font: 700 15px var(--nh-font-display); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap;
  color: var(--nh-muted); background: none; border: 0; cursor: pointer; transition: color var(--nh-fast);
}
.nh-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--nh-accent); box-shadow: var(--nh-glow); transform: scaleX(0); transition: transform var(--nh-mid) var(--nh-ease-snap); }
.nh-tab:hover { color: var(--nh-text); }
/* a fül-sor görgethető (overflow), ezért a fókusz-gyűrű befelé rajzol, hogy ne vágódjon le */
.nh-tab:focus-visible { outline-offset: -2px; }
.nh-tab[aria-selected="true"], .nh-tab.is-active { color: var(--nh-text-strong); }
.nh-tab[aria-selected="true"]::after, .nh-tab.is-active::after { transform: scaleX(1); }
.nh-tab:disabled { opacity: .35; cursor: not-allowed; }
.nh-tab .nh-badge { margin: 0; }
.nh-tab-panel { padding: var(--nh-s4) 0; }
.nh-tab-panel:not(.is-active) { display: none; }
.nh-tab-panel.is-active { animation: nh-fade .25s var(--nh-ease); }
/* szegmentált (doboz) fülek */
.nh-tabs--boxed { border: 0; gap: 0; }
.nh-tabs--boxed .nh-tab { border: 1px solid var(--nh-line-2); margin-left: -1px; min-height: 34px; padding: 7px 12px; font-size: 13px; }
.nh-tabs--boxed .nh-tab::after { display: none; }
.nh-tabs--boxed .nh-tab[aria-selected="true"], .nh-tabs--boxed .nh-tab.is-active { background: var(--nh-accent-soft); border-color: var(--nh-accent); position: relative; z-index: 1; }
@keyframes nh-fade { from { opacity: 0; transform: translateY(4px); } }

.nh-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font: 700 13px var(--nh-font-display); letter-spacing: var(--nh-track-wide); text-transform: uppercase; color: var(--nh-muted); }
.nh-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.nh-breadcrumb li + li::before { content: '/'; color: var(--nh-faint); font-family: var(--nh-font-mono); letter-spacing: 0; }
.nh-breadcrumb a { color: var(--nh-muted); text-decoration: none; transition: color var(--nh-fast); }
.nh-breadcrumb a:hover { color: var(--nh-accent-text); }
.nh-breadcrumb [aria-current="page"] { color: var(--nh-text-strong); }

.nh-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nh-page-btn {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px;
  font: 500 13px var(--nh-font-mono); color: var(--nh-muted); background: transparent; border: 1px solid var(--nh-line); cursor: pointer; text-decoration: none;
  transition: color var(--nh-fast), border-color var(--nh-fast);
}
.nh-page-btn:hover:not(:disabled) { color: var(--nh-text-strong); border-color: var(--nh-accent); }
.nh-page-btn[aria-current="page"], .nh-page-btn.is-active { background: var(--nh-accent); border-color: var(--nh-accent); color: var(--nh-on-accent); font-weight: 600; }
.nh-page-btn:disabled { opacity: .35; cursor: not-allowed; }
.nh-page-gap { color: var(--nh-faint); font-family: var(--nh-font-mono); padding: 0 4px; }
.nh-pagination-info { margin-left: auto; font: 12px var(--nh-font-mono); color: var(--nh-muted); }

.nh-stepper { display: flex; list-style: none; margin: 0; padding: 0; counter-reset: nh-step; }
.nh-step { position: relative; flex: 1; display: grid; gap: 4px; padding-top: 36px; min-width: 0; counter-increment: nh-step; font-size: 13px; color: var(--nh-muted); }
.nh-step::before {
  content: counter(nh-step, decimal-leading-zero); position: absolute; top: 0; left: 0; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center;
  font: 600 12px var(--nh-font-mono); color: var(--nh-muted); background: var(--nh-bg); border: 2px solid var(--nh-line-3);
}
.nh-step::after { content: ''; position: absolute; top: 13px; left: 32px; right: 6px; height: 2px; background: var(--nh-line-2); }
.nh-step:last-child::after { display: none; }
.nh-step b { font: 700 14px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-step.is-done::before { content: '✓'; background: var(--nh-accent); border-color: var(--nh-accent); color: var(--nh-on-accent); }
.nh-step.is-done::after { background: var(--nh-accent); }
.nh-step.is-current::before { border-color: var(--nh-accent); color: var(--nh-accent-text); box-shadow: var(--nh-glow); }
.nh-step.is-current b { color: var(--nh-text-strong); }
.nh-step.is-error::before { content: '!'; border-color: var(--nh-bad); color: var(--nh-bad); }

/* ---------- 12. Héj: fejléc, oldalsáv, lábléc ---------- */
.nh-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 19px/1 var(--nh-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--nh-text-strong); text-decoration: none; white-space: nowrap; }
.nh-logo { display: grid; grid-template-columns: repeat(2, 9px); gap: 2px; flex: none; }
.nh-logo i { width: 9px; height: 9px; border: 2px solid var(--nh-accent); display: block; }
.nh-logo i:nth-child(2) { background: var(--nh-accent); }
.nh-navbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--nh-s5); height: 58px; padding: 0 var(--nh-s5);
  background: color-mix(in srgb, var(--nh-bg) 94%, transparent); border-bottom: 1px solid var(--nh-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nh-navbar--static { position: relative; }
.nh-nav { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nh-nav a, .nh-nav button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 12px;
  font: 700 14px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-muted);
  text-decoration: none; background: none; border: 0; cursor: pointer; transition: color var(--nh-fast);
}
.nh-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--nh-accent); transform: scaleX(0); transition: transform var(--nh-mid) var(--nh-ease-snap); }
.nh-nav a:hover { color: var(--nh-text); }
.nh-nav a[aria-current="page"], .nh-nav a.is-active { color: var(--nh-text-strong); }
.nh-nav a[aria-current="page"]::after, .nh-nav a.is-active::after { transform: scaleX(1); }
.nh-navbar-end { margin-left: auto; display: flex; align-items: center; gap: var(--nh-s3); }
.nh-clock { font: 500 13px var(--nh-font-mono); color: var(--nh-text); }
.nh-burger { display: none; }
.nh-user { display: inline-flex; align-items: center; gap: 8px; padding: 3px 8px 3px 3px; background: none; border: 1px solid var(--nh-line); color: var(--nh-text); cursor: pointer; font: 600 13px var(--nh-font-sans); }
.nh-user:hover { border-color: var(--nh-accent); }
.nh-user::after { content: ''; width: 5px; height: 5px; border-right: 2px solid var(--nh-muted); border-bottom: 2px solid var(--nh-muted); transform: rotate(45deg) translateY(-2px); margin: 0 2px 0 4px; }

/* teljes alkalmazás-héj: oldalsáv + fő rész */
.nh-shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.nh-shell.is-collapsed { grid-template-columns: 68px minmax(0, 1fr); }
.nh-main { min-width: 0; display: flex; flex-direction: column; }
.nh-page { padding: var(--nh-s6) var(--nh-s7) var(--nh-s8); flex: 1; }
.nh-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--nh-s4); margin-bottom: var(--nh-s6); }
.nh-page-head h1 { margin: 0; }
.nh-page-head p { margin: 6px 0 0; color: var(--nh-muted); }

.nh-sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-right: 1px solid var(--nh-line); background: linear-gradient(180deg, var(--nh-accent-soft), transparent 30%), var(--nh-bg);
}
.nh-sidebar--inline { position: relative; height: auto; min-height: 320px; }
.nh-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 14px 16px 18px; }
.nh-side-nav { display: flex; flex-direction: column; padding: 6px 0; }
.nh-side-label { padding: 14px 20px 6px; font: 700 11px var(--nh-font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--nh-faint); white-space: nowrap; }
.nh-side-item {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 20px; min-height: 42px;
  font: 700 16px/1 var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-muted);
  text-decoration: none; border-left: 3px solid transparent; background: none; border-top: 0; border-right: 0; border-bottom: 0; cursor: pointer; white-space: nowrap; text-align: left;
  transition: color var(--nh-fast), background var(--nh-fast);
}
.nh-side-item svg, .nh-side-item .ic { width: 18px; height: 18px; flex: none; text-align: center; }
.nh-side-item:hover { color: var(--nh-text); background: rgba(127, 127, 127, .06); }
.nh-side-item[aria-current="page"], .nh-side-item.is-active { color: var(--nh-text-strong); border-left-color: var(--nh-accent); background: linear-gradient(90deg, rgba(255, 92, 26, .16), transparent); }
.nh-side-item[aria-current="page"] svg, .nh-side-item.is-active svg { color: var(--nh-accent); }
.nh-side-item .nh-badge { margin-left: auto; }
.nh-sidebar-foot { margin-top: auto; padding: 12px 16px 16px; border-top: 1px solid var(--nh-line); display: grid; gap: 6px; font: 11px var(--nh-font-mono); color: var(--nh-muted); }
.nh-meter-row { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 8px; }
.nh-meter-row .t { height: 4px; background: var(--nh-line); } .nh-meter-row .t i { display: block; height: 100%; background: var(--nh-accent); }
/* összecsukott oldalsáv: csak ikonok */
.is-collapsed .nh-sidebar .lb, .nh-sidebar.is-collapsed .lb,
.is-collapsed .nh-sidebar .nh-side-label, .nh-sidebar.is-collapsed .nh-side-label,
.is-collapsed .nh-sidebar .nh-brand-text, .nh-sidebar.is-collapsed .nh-brand-text,
.is-collapsed .nh-sidebar .nh-sidebar-foot, .nh-sidebar.is-collapsed .nh-sidebar-foot,
.is-collapsed .nh-sidebar .nh-side-item .nh-badge, .nh-sidebar.is-collapsed .nh-side-item .nh-badge { display: none; }
.is-collapsed .nh-sidebar .nh-side-item, .nh-sidebar.is-collapsed .nh-side-item { justify-content: center; padding: 11px 0; }
.is-collapsed .nh-sidebar .nh-sidebar-head, .nh-sidebar.is-collapsed .nh-sidebar-head { flex-direction: column; padding: 18px 0 12px; }
.nh-sidebar.is-collapsed { width: 68px; }
.nh-collapse-btn svg { transition: transform var(--nh-mid) var(--nh-ease); }
.is-collapsed .nh-collapse-btn svg, .nh-sidebar.is-collapsed .nh-collapse-btn svg { transform: rotate(180deg); }
.nh-scrim { position: fixed; inset: 0; z-index: 69; background: rgba(0, 0, 0, .55); display: none; }

.nh-footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nh-s3) var(--nh-s6); padding: var(--nh-s5) var(--nh-s7); border-top: 1px solid var(--nh-line); font-size: 13px; color: var(--nh-muted); }
.nh-footer a { color: var(--nh-muted); text-decoration: none; } .nh-footer a:hover { color: var(--nh-accent-text); }
.nh-footer .nh-footer-links { display: flex; gap: var(--nh-s4); flex-wrap: wrap; }
.nh-footer .nh-footer-end { margin-left: auto; font: 11px var(--nh-font-mono); display: inline-flex; align-items: center; gap: 8px; }
.nh-footer--big { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--nh-s6); align-items: start; }
.nh-footer--big h6 { margin-bottom: 10px; }
.nh-footer--big ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nh-footer--big .nh-footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: var(--nh-s4); border-top: 1px solid var(--nh-line); font: 11px var(--nh-font-mono); }

/* ---------- 13. Kártya ---------- */
.nh-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--nh-surface); border: 1px solid var(--nh-line); transition: border-color var(--nh-mid), transform var(--nh-mid) var(--nh-ease);
}
.nh-card::before { content: ''; position: absolute; top: -1px; left: -1px; z-index: 2; width: 10px; height: 10px; border-top: 2px solid var(--nh-accent); border-left: 2px solid var(--nh-accent); pointer-events: none; }
.nh-card--interactive { cursor: pointer; }
.nh-card--interactive:hover { border-color: rgba(255, 92, 26, .6); transform: translateY(-3px); }
/* fénycsík rámutatáskor */
.nh-card--interactive::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 92, 26, .1) 50%, transparent 60%); transform: translateX(-100%); transition: transform .8s; pointer-events: none; }
.nh-card--interactive:hover::after { transform: translateX(100%); }
.nh-card--active::before { width: auto; right: -1px; height: 3px; border: 0; background: linear-gradient(90deg, transparent, var(--nh-accent), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: nh-run 1.6s linear infinite; }
@keyframes nh-run { from { background-position: -50% 0; } to { background-position: 150% 0; } }
.nh-card-media { position: relative; aspect-ratio: 16 / 8; background: var(--nh-surface-3); border-bottom: 1px solid var(--nh-line); overflow: hidden; }
.nh-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nh-card-media .nh-badge { position: absolute; top: 10px; right: 10px; margin: 0; }
.nh-card-body { display: flex; flex-direction: column; gap: 8px; padding: var(--nh-s4) var(--nh-s5); flex: 1; }
.nh-card-meta { display: flex; align-items: center; gap: 8px; font: 11px var(--nh-font-mono); color: var(--nh-muted); }
.nh-card-title { margin: 0; font: 700 22px/1.05 var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text-strong); transition: color var(--nh-fast); }
.nh-card--interactive:hover .nh-card-title { color: var(--nh-accent-text); }
.nh-card-text { margin: 0; font-size: 14px; color: var(--nh-muted); }
.nh-card-note { margin: 0; padding-left: 10px; border-left: 2px solid var(--nh-accent); font-size: 13px; color: var(--nh-text); }
.nh-card-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: var(--nh-s3) var(--nh-s5); border-top: 1px solid var(--nh-line); font: 11px var(--nh-font-mono); color: var(--nh-muted); }
.nh-card-foot .nh-row, .nh-card-foot .end { margin-left: auto; }
.nh-card-foot b { color: var(--nh-text); font-weight: 500; }
/* minta-kép helyett: csíkos, rácsos helykitöltő */
.nh-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 11px var(--nh-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--nh-muted);
  background-image: radial-gradient(var(--nh-line-2) 1px, transparent 1px), linear-gradient(135deg, var(--nh-surface-3), var(--nh-surface)); background-size: 14px 14px, 100% 100%; }

/* ---------- 14. Táblázat ---------- */
.nh-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--nh-line); background: var(--nh-surface); }
.nh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nh-table th, .nh-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--nh-line); white-space: nowrap; }
.nh-table th { font: 700 12px var(--nh-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--nh-muted); background: var(--nh-sunken); position: sticky; top: 0; }
.nh-table td { color: var(--nh-text); }
.nh-table td.num, .nh-table th.num { text-align: right; font-family: var(--nh-font-mono); font-size: 13px; }
.nh-table td.mono { font-family: var(--nh-font-mono); font-size: 12.5px; color: var(--nh-muted); }
.nh-table td.wrap { white-space: normal; min-width: 200px; }
.nh-table tbody tr { transition: background var(--nh-fast); }
.nh-table tbody tr:hover { background: rgba(127, 127, 127, .06); }
.nh-table tbody tr:last-child td { border-bottom: 0; }
.nh-table--striped tbody tr:nth-child(even) { background: rgba(127, 127, 127, .035); }
.nh-table--compact th, .nh-table--compact td { padding: 6px 10px; }
.nh-table tr.is-selected { background: var(--nh-accent-soft) !important; box-shadow: inset 3px 0 0 var(--nh-accent); }
.nh-table .nh-check { min-height: 0; }
.nh-table th.sel, .nh-table td.sel { width: 40px; padding-right: 0; }
/* rendezhető fejléc: <th data-sort="text|num"> */
.nh-table th[data-sort] { cursor: pointer; user-select: none; }
.nh-table th[data-sort]::after { content: '↕'; margin-left: 6px; font-family: var(--nh-font-mono); opacity: .35; }
.nh-table th[data-sort]:hover { color: var(--nh-text); }
.nh-table th[aria-sort="ascending"], .nh-table th[aria-sort="descending"] { color: var(--nh-accent-text); }
.nh-table th[aria-sort="ascending"]::after { content: '↑'; opacity: 1; }
.nh-table th[aria-sort="descending"]::after { content: '↓'; opacity: 1; }
.nh-table-empty td { padding: 34px 14px; text-align: center; color: var(--nh-muted); white-space: normal; font-size: 13px; }
.nh-table-bar { display: flex; align-items: center; gap: var(--nh-s3); flex-wrap: wrap; padding: 10px 14px; border: 1px solid var(--nh-line); border-bottom: 0; background: var(--nh-surface); }
.nh-table-bar .count { font: 12px var(--nh-font-mono); color: var(--nh-accent-text); }

/* ---------- 15. Lista ---------- */
.nh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nh-list-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 12px; background: rgba(127, 127, 127, .035); border-left: 2px solid transparent; transition: background var(--nh-fast), border-color var(--nh-fast); }
.nh-list-item:hover { background: rgba(127, 127, 127, .08); border-left-color: var(--nh-accent); }
.nh-list-item b { grid-column: 1; grid-row: 1; min-width: 0; font: 600 14px var(--nh-font-sans); color: var(--nh-text-strong); }
.nh-list-item span { grid-column: 1; font-size: 13px; color: var(--nh-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-list-item time, .nh-list-item .aside { grid-row: 1; grid-column: 2; font: 11px var(--nh-font-mono); color: var(--nh-faint); }
.nh-list--icon .nh-list-item { grid-template-columns: 34px minmax(0, 1fr) auto; }
.nh-list--icon .nh-list-item b { grid-column: 2; }
.nh-list--icon .nh-list-item > .ic { grid-column: 1; grid-row: 1 / span 2; width: 34px; height: 34px; display: grid; place-items: center; background: var(--nh-surface-3); border: 1px solid var(--nh-line); color: var(--nh-accent-text); }
.nh-list--icon .nh-list-item > .ic svg { width: 16px; height: 16px; }
.nh-list--icon .nh-list-item span { grid-column: 2; }
.nh-list--icon .nh-list-item time, .nh-list--icon .nh-list-item .aside { grid-column: 3; }
.nh-list-item .nh-list-actions { grid-row: 1 / span 2; grid-column: -2; display: flex; gap: 4px; opacity: .55; transition: opacity var(--nh-fast); }
.nh-list-item:hover .nh-list-actions, .nh-list-item:focus-within .nh-list-actions { opacity: 1; }
.nh-list--plain .nh-list-item { background: none; border-bottom: 1px solid var(--nh-line); border-left: 0; padding: 9px 2px; }
.nh-list--plain .nh-list-item:hover { background: none; }
.nh-list-item.is-new { border-left-color: var(--nh-accent); animation: nh-feedin .6s var(--nh-ease); }
@keyframes nh-feedin { from { opacity: 0; transform: translateY(-12px); background: rgba(255, 92, 26, .2); } }
/* idővonal */
.nh-timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.nh-timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--nh-accent), transparent); }
.nh-timeline li { position: relative; padding: 0 0 16px; font-size: 14px; }
.nh-timeline li::before { content: ''; position: absolute; left: -26px; top: 3px; width: 14px; height: 14px; background: var(--nh-bg); border: 2px solid var(--nh-accent); }
.nh-timeline li.done::before { background: var(--nh-accent); }
.nh-timeline li.bad::before { border-color: var(--nh-bad); }
.nh-timeline time { display: block; font: 11px var(--nh-font-mono); color: var(--nh-muted); }

/* ---------- 16. Harmonika (<details class="nh-acc-item">) ---------- */
.nh-accordion { border: 1px solid var(--nh-line); background: var(--nh-surface); }
.nh-acc-item + .nh-acc-item { border-top: 1px solid var(--nh-line); }
.nh-acc-item > summary {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-height: 48px; cursor: pointer; list-style: none;
  font: 700 16px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text);
  transition: color var(--nh-fast), background var(--nh-fast);
}
.nh-acc-item > summary::-webkit-details-marker { display: none; }
.nh-acc-item > summary::after { content: '+'; margin-left: auto; width: 22px; height: 22px; display: grid; place-items: center; font: 500 16px var(--nh-font-mono); color: var(--nh-accent-text); border: 1px solid var(--nh-line-2); transition: transform var(--nh-mid) var(--nh-ease); }
.nh-acc-item > summary:hover { color: var(--nh-text-strong); background: rgba(127, 127, 127, .05); }
.nh-acc-item[open] > summary { color: var(--nh-text-strong); box-shadow: inset 3px 0 0 var(--nh-accent); }
.nh-acc-item[open] > summary::after { content: '−'; transform: rotate(180deg); border-color: var(--nh-accent); }
.nh-acc-body { padding: 0 18px 16px; color: var(--nh-muted); font-size: 14px; }
.nh-acc-item[open] .nh-acc-body { animation: nh-fade .25s var(--nh-ease); }
.nh-acc-item.is-disabled > summary { opacity: .4; pointer-events: none; }

/* ---------- 17. Rétegek: modal, drawer ---------- */
dialog.nh-modal, dialog.nh-drawer { padding: 0; border: 0; color: var(--nh-text); background: transparent; max-width: none; max-height: none; }
dialog.nh-modal::backdrop, dialog.nh-drawer::backdrop { background: rgba(3, 4, 6, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
:root[data-theme="light"] dialog.nh-modal::backdrop, :root[data-theme="light"] dialog.nh-drawer::backdrop { background: rgba(30, 30, 40, .35); }
.nh-modal-box {
  position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); display: flex; flex-direction: column;
  background: var(--nh-surface-2); border: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop);
}
.nh-modal--lg .nh-modal-box { width: min(860px, calc(100vw - 32px)); }
.nh-modal--sm .nh-modal-box { width: min(400px, calc(100vw - 32px)); }
/* L-sarkok a modalon: 30 px-es narancs keret-csonk */
.nh-modal-box::before { content: ''; position: absolute; inset: -1px; border: 2px solid var(--nh-accent); pointer-events: none;
  clip-path: polygon(0 0, 30px 0, 30px 2px, 2px 2px, 2px 30px, 0 30px, 0 100%, 100% 100%, 100% calc(100% - 30px), calc(100% - 2px) calc(100% - 30px), calc(100% - 2px) calc(100% - 2px), calc(100% - 30px) calc(100% - 2px), calc(100% - 30px) 100%, 0 100%); }
dialog.nh-modal[open] .nh-modal-box { animation: nh-modal-in .3s var(--nh-ease); }
@keyframes nh-modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.nh-modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.nh-modal-head h3, .nh-modal-title { margin: 0; font: 700 22px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text-strong); }
.nh-modal-head .nh-icon-btn { margin-left: auto; }
.nh-modal-body { padding: 4px 20px 18px; overflow: auto; color: var(--nh-text); font-size: 14px; }
.nh-modal-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--nh-line); background: var(--nh-sunken); }
.nh-modal--danger .nh-modal-box::before { border-color: var(--nh-bad); }
.nh-modal--danger .nh-modal-head h3 { color: var(--nh-bad); }

dialog.nh-drawer { margin: 0 0 0 auto; height: 100vh; height: 100dvh; }
dialog.nh-drawer.nh-drawer--left { margin: 0 auto 0 0; }
.nh-drawer-box {
  position: relative; width: min(420px, 100vw); height: 100%; display: flex; flex-direction: column;
  background: var(--nh-surface-2); border-left: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop);
}
.nh-drawer--left .nh-drawer-box { border-left: 0; border-right: 1px solid var(--nh-line-2); }
.nh-drawer-box::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px; background: linear-gradient(var(--nh-accent), transparent 60%); }
.nh-drawer--left .nh-drawer-box::before { left: auto; right: 0; }
dialog.nh-drawer[open] .nh-drawer-box { animation: nh-drawer-in .35s var(--nh-ease); }
dialog.nh-drawer--left[open] .nh-drawer-box { animation-name: nh-drawer-in-left; }
@keyframes nh-drawer-in { from { transform: translateX(100%); } }
@keyframes nh-drawer-in-left { from { transform: translateX(-100%); } }
.nh-drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--nh-line); }
.nh-drawer-head h3 { margin: 0; font-size: 20px; }
.nh-drawer-head .nh-icon-btn { margin-left: auto; }
.nh-drawer-body { flex: 1; overflow: auto; padding: 18px; }
.nh-drawer-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 14px 18px; border-top: 1px solid var(--nh-line); }
body.nh-lock { overflow: hidden; }

/* ---------- 18. Visszajelzés: toast, figyelmeztetés ---------- */
.nh-toasts { position: fixed; right: 18px; bottom: 18px; z-index: var(--nh-z-toast); display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.nh-toasts.top { bottom: auto; top: 74px; }
.nh-toast {
  --k: var(--nh-accent);
  position: relative; display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 13px 12px 13px 14px; overflow: hidden; pointer-events: auto;
  background: var(--nh-surface-2); border: 1px solid var(--nh-line-2); border-left: 3px solid var(--k); box-shadow: var(--nh-shadow-pop);
  animation: nh-toast-in .45s var(--nh-ease);
}
.nh-toast::before { content: ''; width: 10px; height: 10px; margin-top: 4px; background: var(--k); }
.nh-toast b { display: block; font: 700 15px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text-strong); }
.nh-toast p { margin: 2px 0 0; font-size: 13px; color: var(--nh-muted); }
.nh-toast .nh-toast-x { background: none; border: 0; color: var(--nh-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; width: 28px; height: 28px; }
.nh-toast .nh-toast-x:hover { color: var(--nh-text-strong); }
.nh-toast .nh-toast-bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--k); opacity: .7; animation: nh-shrink var(--d, 5s) linear forwards; }
.nh-toast:hover .nh-toast-bar { animation-play-state: paused; }
.nh-toast--success { --k: var(--nh-ok); } .nh-toast--error { --k: var(--nh-bad); } .nh-toast--info { --k: var(--nh-info); } .nh-toast--warning { --k: var(--nh-warn); }
.nh-toast.is-leaving { animation: nh-toast-out .3s var(--nh-ease) forwards; }
.nh-toast--static { animation: none; box-shadow: none; }
@keyframes nh-toast-in { from { opacity: 0; transform: translateX(30px) scale(.97); } }
@keyframes nh-toast-out { to { opacity: 0; transform: translateX(30px); } }
@keyframes nh-shrink { from { width: 100%; } to { width: 0; } }

.nh-alert {
  --k: var(--nh-info); --ks: var(--nh-info-soft);
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 14px;
  background: var(--ks); border: 1px solid color-mix(in srgb, var(--k) 45%, transparent); border-left: 3px solid var(--k); color: var(--nh-text); font-size: 14px;
}
.nh-alert > .ic { width: 20px; height: 20px; display: grid; place-items: center; font: 700 12px var(--nh-font-mono); color: var(--nh-on-accent); background: var(--k); margin-top: 1px; }
.nh-alert b { display: block; font: 700 14px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--k); margin-bottom: 1px; }
.nh-alert p { margin: 0; color: var(--nh-text); }
.nh-alert .nh-alert-x { background: none; border: 0; color: var(--nh-muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
.nh-alert .nh-alert-x:hover { color: var(--nh-text-strong); }
.nh-alert--success { --k: var(--nh-ok); --ks: var(--nh-ok-soft); }
.nh-alert--warning { --k: var(--nh-warn); --ks: var(--nh-warn-soft); }
.nh-alert--error { --k: var(--nh-bad); --ks: var(--nh-bad-soft); }
/* figyelmeztető csíkos sáv (ipari) */
.nh-alert--stripe { background: repeating-linear-gradient(-45deg, var(--ks) 0 10px, transparent 10px 20px); }
.nh-alert--banner { grid-template-columns: 22px minmax(0, 1fr) auto auto; border-width: 0 0 1px 0; border-left: 0; align-items: center; }

/* ---------- 19. Buborékok: tooltip, popover ---------- */
.nh-tooltip {
  position: fixed; z-index: var(--nh-z-tip); max-width: 260px; padding: 6px 10px; pointer-events: none;
  font: 500 12px/1.4 var(--nh-font-sans); color: var(--nh-text-strong); background: var(--nh-surface-3);
  border: 1px solid var(--nh-line-2); border-top: 2px solid var(--nh-accent); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(3px); transition: opacity .12s, transform .12s;
}
.nh-tooltip.is-open { opacity: 1; transform: none; }
.nh-tooltip[data-pos="bottom"] { border-top: 1px solid var(--nh-line-2); border-bottom: 2px solid var(--nh-accent); }
.nh-tooltip[data-pos="left"] { border-top: 1px solid var(--nh-line-2); border-right: 2px solid var(--nh-accent); }
.nh-tooltip[data-pos="right"] { border-top: 1px solid var(--nh-line-2); border-left: 2px solid var(--nh-accent); }
.nh-tooltip .nh-kbd { margin-left: 6px; }
.nh-popover {
  position: fixed; z-index: var(--nh-z-pop); width: min(300px, calc(100vw - 24px)); padding: 14px 16px; display: none;
  background: var(--nh-surface-2); border: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop); font-size: 14px;
}
.nh-popover::before { content: ''; position: absolute; top: -1px; left: -1px; width: 10px; height: 10px; border-top: 2px solid var(--nh-accent); border-left: 2px solid var(--nh-accent); }
.nh-popover.is-open { display: block; animation: nh-pop .18s var(--nh-ease); }
.nh-popover h5 { margin: 0 0 6px; }
.nh-popover p { margin: 0 0 10px; color: var(--nh-muted); font-size: 13px; }
.nh-popover .nh-row { justify-content: flex-end; gap: 8px; }

/* ---------- 20. Jelölők: jelvény, címke, avatar, lámpa ---------- */
.nh-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 18px; height: 18px; padding: 0 6px; margin-left: 6px; vertical-align: middle;
  font: 700 11px/1 var(--nh-font-sans); color: var(--nh-on-accent); background: var(--nh-accent); white-space: nowrap;
}
.nh-badge--outline { background: transparent; color: var(--nh-accent-text); border: 1px solid var(--nh-accent); }
.nh-badge--muted { background: var(--nh-surface-3); color: var(--nh-muted); }
.nh-badge--ok { background: var(--nh-ok); color: #06140c; } .nh-badge--warn { background: var(--nh-warn); color: #1d1300; } .nh-badge--bad { background: var(--nh-bad); color: #fff; } .nh-badge--info { background: var(--nh-info); color: #04131c; }
/* állapot-jelvény: lámpa + felirat, nagybetűs mono */
.nh-status { display: inline-flex; align-items: center; gap: 7px; padding: 2px 8px; border: 1px solid var(--nh-line-2); font: 500 11px var(--nh-font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--nh-muted); }
.nh-status.ok { color: var(--nh-ok); border-color: color-mix(in srgb, var(--nh-ok) 45%, transparent); }
.nh-status.run { color: var(--nh-accent-text); border-color: color-mix(in srgb, var(--nh-accent) 50%, transparent); }
.nh-status.warn { color: var(--nh-warn); border-color: color-mix(in srgb, var(--nh-warn) 45%, transparent); }
.nh-status.bad { color: var(--nh-bad); border-color: color-mix(in srgb, var(--nh-bad) 45%, transparent); }
.nh-lamp { display: inline-block; width: 8px; height: 8px; background: var(--nh-faint); flex: none; }
.nh-lamp.on, .nh-status.run .nh-lamp { background: var(--nh-accent); animation: nh-lamp 1.6s infinite; }
.nh-lamp.ok, .nh-status.ok .nh-lamp { background: var(--nh-ok); }
.nh-lamp.warn, .nh-status.warn .nh-lamp { background: var(--nh-warn); }
.nh-lamp.bad, .nh-status.bad .nh-lamp { background: var(--nh-bad); }
@keyframes nh-lamp { 0% { box-shadow: 0 0 0 0 rgba(255, 92, 26, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 92, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 92, 26, 0); } }

.nh-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  font: 600 12px var(--nh-font-sans); color: var(--nh-muted); background: transparent; border: 1px solid var(--nh-line-2);
  white-space: nowrap; transition: color var(--nh-fast), border-color var(--nh-fast), background var(--nh-fast);
}
button.nh-tag { cursor: pointer; }
button.nh-tag:hover { color: var(--nh-text); border-color: var(--nh-line-3); }
.nh-tag.is-active, .nh-tag[aria-pressed="true"] { color: var(--nh-text-strong); border-color: var(--nh-accent); background: var(--nh-accent-soft); }
.nh-tag .n { font: 10px var(--nh-font-mono); color: var(--nh-faint); }
.nh-tag--accent { color: var(--nh-accent-text); border-color: color-mix(in srgb, var(--nh-accent) 55%, transparent); }
.nh-tag--mono { font: 11px var(--nh-font-mono); height: 22px; padding: 0 7px; }
.nh-tag-x { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: -4px; padding: 0; background: none; border: 0; color: var(--nh-muted); cursor: pointer; font-size: 14px; line-height: 1; }
.nh-tag-x:hover { color: var(--nh-on-accent); background: var(--nh-accent); }
.nh-tag.is-removing { animation: nh-tag-out .2s forwards; }
@keyframes nh-tag-out { to { opacity: 0; transform: scale(.8); } }
.nh-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.nh-avatar {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px;
  font: 800 14px var(--nh-font-display); letter-spacing: .04em; color: var(--nh-accent-2); background: var(--nh-surface-3); border: 1px solid var(--nh-line);
}
.nh-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nh-avatar--me { background: var(--nh-accent); color: var(--nh-on-accent); border-color: var(--nh-accent); }
.nh-avatar--sm { width: 26px; height: 26px; font-size: 11px; } .nh-avatar--lg { width: 56px; height: 56px; font-size: 20px; } .nh-avatar--xl { width: 80px; height: 80px; font-size: 28px; }
.nh-avatar--round { border-radius: 50%; } .nh-avatar--round img { border-radius: 50%; }
.nh-avatar[data-status]::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--nh-faint); border: 2px solid var(--nh-bg); }
.nh-avatar[data-status="online"]::after { background: var(--nh-ok); }
.nh-avatar[data-status="busy"]::after { background: var(--nh-accent); }
.nh-avatar[data-status="away"]::after { background: var(--nh-warn); }
.nh-avatar-group { display: inline-flex; }
.nh-avatar-group .nh-avatar { border: 2px solid var(--nh-bg); margin-left: -8px; }
.nh-avatar-group .nh-avatar:first-child { margin-left: 0; }
.nh-avatar-group .more { font: 600 11px var(--nh-font-mono); color: var(--nh-muted); }

/* ---------- 21. Haladás és töltés ---------- */
.nh-progress { display: grid; gap: 6px; }
.nh-progress-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.nh-progress-head span:last-child { font: 500 12px var(--nh-font-mono); color: var(--nh-accent-text); }
.nh-bar { position: relative; height: 6px; background: var(--nh-surface-3); overflow: hidden; }
.nh-bar > i { display: block; height: 100%; width: var(--p, 0%); background: var(--nh-accent); transition: width .6s var(--nh-ease); }
.nh-bar--seg > i { background: repeating-linear-gradient(90deg, var(--nh-accent) 0 6px, transparent 6px 8px); }
.nh-bar--lg { height: 10px; }
.nh-bar.ok > i { background: var(--nh-ok); } .nh-bar.warn > i { background: var(--nh-warn); } .nh-bar.bad > i { background: var(--nh-bad); }
.nh-bar--indeterminate > i { width: 35%; position: absolute; animation: nh-indet 1.3s var(--nh-ease-snap) infinite; }
@keyframes nh-indet { from { left: -35%; } to { left: 100%; } }
/* kör: <div class="nh-ring" style="--p:72"><span>72%</span></div> */
.nh-ring { --p: 0; --sz: 64px; position: relative; width: var(--sz); height: var(--sz); border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: conic-gradient(var(--nh-accent) calc(var(--p) * 1%), var(--nh-surface-3) 0); }
.nh-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--nh-surface); }
.nh-ring span { position: relative; font: 600 13px var(--nh-font-mono); color: var(--nh-text-strong); }
.nh-ring--sm { --sz: 36px; } .nh-ring--sm::before { inset: 4px; } .nh-ring--sm span { font-size: 9px; }
.nh-ring.ok { background: conic-gradient(var(--nh-ok) calc(var(--p) * 1%), var(--nh-surface-3) 0); }

.nh-spinner { display: inline-block; width: 22px; height: 22px; flex: none; border: 2px solid var(--nh-surface-3); border-top-color: var(--nh-accent); border-right-color: var(--nh-accent); animation: nh-spin .8s linear infinite; }
.nh-spinner--sm { width: 14px; height: 14px; } .nh-spinner--lg { width: 40px; height: 40px; border-width: 3px; }
/* négy-csempés spinner (a logó mintájára) */
.nh-spinner--tiles { border: 0; width: 20px; height: 20px; display: inline-grid; grid-template-columns: repeat(2, 1fr); gap: 2px; animation: none; }
.nh-spinner--tiles i { border: 2px solid var(--nh-accent); animation: nh-tiles 1.2s infinite; }
.nh-spinner--tiles i:nth-child(2) { animation-delay: .3s; } .nh-spinner--tiles i:nth-child(4) { animation-delay: .6s; } .nh-spinner--tiles i:nth-child(3) { animation-delay: .9s; }
.nh-loading-row { display: inline-flex; align-items: center; gap: 10px; font: 12px var(--nh-font-mono); color: var(--nh-muted); }
@keyframes nh-spin { to { transform: rotate(360deg); } }
@keyframes nh-tiles { 0%, 70%, 100% { background: transparent; } 35% { background: var(--nh-accent); } }

.nh-skeleton { display: block; height: 12px; background: linear-gradient(90deg, var(--nh-surface-3) 0%, color-mix(in srgb, var(--nh-surface-3) 60%, var(--nh-line-3)) 50%, var(--nh-surface-3) 100%); background-size: 200% 100%; animation: nh-shimmer 1.4s linear infinite; }
.nh-skeleton.title { height: 22px; width: 60%; } .nh-skeleton.line { margin-top: 8px; } .nh-skeleton.short { width: 40%; }
.nh-skeleton.box { height: 120px; } .nh-skeleton.circle { width: 40px; height: 40px; border-radius: 50%; } .nh-skeleton.sq { width: 40px; height: 40px; }
@keyframes nh-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 22. Üres állapot, mutató-csempe ---------- */
.nh-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; text-align: center; border: 2px dashed var(--nh-line-2); color: var(--nh-muted); }
.nh-empty .ic { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--nh-accent); color: var(--nh-accent); position: relative; }
.nh-empty .ic svg { width: 24px; height: 24px; }
.nh-empty .ic::after { content: ''; position: absolute; inset: 5px; border: 1px dashed var(--nh-line-3); }
.nh-empty h4 { margin: 4px 0 0; }
.nh-empty p { margin: 0; max-width: 44ch; font-size: 14px; }
.nh-empty--compact { padding: 22px 16px; border-width: 1px; }

.nh-stat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 132px; padding: 16px 18px 14px; background: var(--nh-surface); border: 1px solid var(--nh-line); min-width: 0; }
.nh-stat::before { content: ''; position: absolute; top: -1px; left: -1px; width: 10px; height: 10px; border-top: 2px solid var(--nh-accent); border-left: 2px solid var(--nh-accent); }
.nh-stat-label { font: 700 13px var(--nh-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--nh-muted); }
.nh-stat-value { font: 800 42px/1 var(--nh-font-display); color: var(--nh-text-strong); white-space: nowrap; }
.nh-stat-value small { margin-left: 6px; font: 500 13px var(--nh-font-sans); color: var(--nh-muted); letter-spacing: 0; }
.nh-delta { display: inline-flex; align-items: center; gap: 4px; font: 500 12px var(--nh-font-mono); }
.nh-delta.up { color: var(--nh-ok); } .nh-delta.up::before { content: '▲'; font-size: 9px; }
.nh-delta.down { color: var(--nh-bad); } .nh-delta.down::before { content: '▼'; font-size: 9px; }
.nh-delta.flat { color: var(--nh-muted); } .nh-delta.flat::before { content: '■'; font-size: 8px; }
.nh-stat-foot { margin-top: auto; font-size: 12px; color: var(--nh-muted); position: relative; z-index: 1; }
.nh-spark { position: absolute; right: 12px; bottom: 12px; width: 44%; height: 42px; color: var(--nh-accent); overflow: visible; }
.nh-spark polyline, .nh-spark path { fill: none; stroke: currentColor; stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.nh-spark .area { fill: currentColor; stroke: none; opacity: .12; }
.nh-spark--draw polyline { stroke-dasharray: 600; stroke-dashoffset: 600; animation: nh-draw 1.4s .2s var(--nh-ease-snap) forwards; }
@keyframes nh-draw { to { stroke-dashoffset: 0; } }
.nh-stat .nh-bar { margin-top: 8px; }
/* oszlopdiagram-csík */
.nh-bars { display: flex; align-items: flex-end; gap: 5px; height: 160px; }
.nh-bars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.nh-bars > div > i { display: block; width: 100%; min-height: 2px; background: linear-gradient(180deg, var(--nh-accent), rgba(255, 92, 26, .25)); transition: background var(--nh-fast); }
.nh-bars > div:hover > i { background: var(--nh-text-strong); }
.nh-bars > div:last-child > i { box-shadow: var(--nh-glow); }
.nh-bars > div > span { font: 10px var(--nh-font-mono); color: var(--nh-muted); }

/* ---------- 23. Görgetősáv ---------- */
* { scrollbar-width: thin; scrollbar-color: var(--nh-line-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--nh-line-2); border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--nh-accent); background-clip: padding-box; }
.nh-scroll { overflow: auto; max-height: 220px; padding-right: 6px; border: 1px solid var(--nh-line); background: var(--nh-sunken); scrollbar-color: var(--nh-accent) var(--nh-surface-3); }
.nh-scroll::-webkit-scrollbar-track { background: var(--nh-surface-3); }
.nh-scroll::-webkit-scrollbar-thumb { background: var(--nh-accent); border: 0; }
.nh-scroll--x { max-height: none; overflow-y: hidden; white-space: nowrap; }
/* görgetés-maszk: elhalványuló szél */
.nh-scroll-fade { -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }

/* ---------- 24. Kód, billentyű, elválasztó ---------- */
code, kbd, samp, pre { font-family: var(--nh-font-mono); }
:not(pre) > code, .nh-code-inline { padding: 1px 6px; font-size: .86em; color: var(--nh-accent-text); background: var(--nh-accent-soft); border: 1px solid color-mix(in srgb, var(--nh-accent) 25%, transparent); white-space: nowrap; }
.nh-code { position: relative; margin: 0; background: #0a0b0f; border: 1px solid var(--nh-line); }
:root[data-theme="light"] .nh-code { background: #15161b; }
.nh-code-head { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); font: 11px var(--nh-font-mono); color: #8a8d98; }
.nh-code-head .lang { color: #ff8a52; text-transform: uppercase; letter-spacing: .12em; }
.nh-code-head .nh-btn { margin-left: auto; color: #c9cad0; border-color: rgba(255, 255, 255, .16); }
.nh-code pre, pre.nh-pre { margin: 0; padding: 14px 16px; overflow: auto; font-size: 12.5px; line-height: 1.6; color: #d8d9de; tab-size: 2; }
.nh-code pre code { color: inherit; background: none; border: 0; padding: 0; white-space: pre; }
.nh-code .ln { display: inline-block; width: 2.4em; margin-right: 10px; color: #4a4d58; text-align: right; user-select: none; }
.nh-code .k { color: #ff8a52; } .nh-code .s { color: #8fe3b0; } .nh-code .c { color: #646775; font-style: italic; } .nh-code .n { color: #7dd3fc; } .nh-code .t { color: #f4f4f6; }
.nh-code.is-copied .nh-code-head .nh-btn { border-color: #2bd47d; color: #2bd47d; }

.nh-kbd, kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  font: 500 11px var(--nh-font-mono); color: var(--nh-text); background: var(--nh-surface-3);
  border: 1px solid var(--nh-line-2); border-bottom-width: 3px; vertical-align: middle; white-space: nowrap;
}
.nh-kbd-combo { display: inline-flex; align-items: center; gap: 4px; font: 12px var(--nh-font-mono); color: var(--nh-faint); }

.nh-divider { height: 1px; border: 0; margin: var(--nh-s5) 0; background: var(--nh-line); }
.nh-divider--strong { height: 2px; background: linear-gradient(90deg, var(--nh-accent), transparent); }
.nh-divider--dashed { background: none; border-top: 1px dashed var(--nh-line-2); height: 0; }
.nh-divider--text { display: flex; align-items: center; gap: 12px; height: auto; background: none; font: 700 12px var(--nh-font-display); letter-spacing: var(--nh-track-wide); text-transform: uppercase; color: var(--nh-muted); }
.nh-divider--text::before, .nh-divider--text::after { content: ''; flex: 1; height: 1px; background: var(--nh-line); }
.nh-divider--text.left::before { flex: 0 0 18px; background: var(--nh-accent); height: 2px; }
.nh-divider--vertical { display: inline-block; width: 1px; height: 1.4em; margin: 0 var(--nh-s3); vertical-align: middle; }

/* ---------- 25. Chat-üzenet (ügynök-csatorna) ---------- */
.nh-chat { display: flex; flex-direction: column; gap: 2px; }
.nh-chat-day { align-self: center; margin: 10px 0; padding: 2px 10px; font: 11px var(--nh-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nh-muted); border: 1px solid var(--nh-line); }
.nh-chat-msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 12px; margin-top: 12px; }
.nh-chat-msg .hd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.nh-chat-msg .hd b { font: 700 15px var(--nh-font-display); letter-spacing: var(--nh-track); text-transform: uppercase; color: var(--nh-text-strong); }
.nh-chat-msg.me .hd b { color: var(--nh-accent-text); }
.nh-chat-msg .hd time { font: 11px var(--nh-font-mono); color: var(--nh-muted); }
.nh-chat-msg .tx { font-size: 15px; line-height: 1.45; color: var(--nh-text); overflow-wrap: anywhere; }
.nh-chat-msg .tx .m { color: var(--nh-accent-text); background: var(--nh-accent-soft); padding: 0 3px; font-weight: 600; }
.nh-chat-msg.private .tx { border: 1px dashed var(--nh-line-3); padding: 6px 10px; margin-top: 4px; }
.nh-compose { display: flex; gap: 8px; align-items: flex-end; padding: 6px 6px 6px 12px; background: var(--nh-sunken); border: 1px solid var(--nh-line-2); }
.nh-compose:focus-within { border-color: var(--nh-accent); }
.nh-compose textarea { flex: 1; min-height: 32px; max-height: 160px; padding: 6px 0; background: none; border: 0; outline: none; resize: none; color: var(--nh-text); font: 15px var(--nh-font-sans); }

/* ---------- 26. Segéd ---------- */
.nh-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nh-show-mobile { display: none !important; }
.nh-surface { background: var(--nh-surface); } .nh-border { border: 1px solid var(--nh-line); }
.nh-text-accent { color: var(--nh-accent-text); } .nh-text-ok { color: var(--nh-ok); } .nh-text-warn { color: var(--nh-warn); } .nh-text-bad { color: var(--nh-bad); }
/* téma-váltó gomb: a .moon / .sun ikon közül a mostani témához illő látszik */
.nh-theme-toggle .sun, [data-theme-toggle] .sun { display: none; }
:root[data-theme="light"] .nh-theme-toggle .sun, :root[data-theme="light"] [data-theme-toggle] .sun { display: block; }
:root[data-theme="light"] .nh-theme-toggle .moon, :root[data-theme="light"] [data-theme-toggle] .moon { display: none; }

/* ---------- 27. Érintés és töréspontok ---------- */
@media (pointer: coarse) {
  .nh-btn { min-height: 44px; } .nh-btn--sm { min-height: 36px; }
  .nh-icon-btn { width: 44px; height: 44px; } .nh-icon-btn--sm { width: 36px; height: 36px; }
  .nh-input, .nh-select { min-height: 44px; font-size: 16px; }
  .nh-menu-item { min-height: 44px; }
  .nh-page-btn { min-width: 40px; height: 40px; }
  .nh-list-item .nh-list-actions { opacity: 1; }
}
@media (max-width: 1100px) {
  .nh-shell { grid-template-columns: 68px minmax(0, 1fr); }
  .nh-shell .nh-sidebar .lb, .nh-shell .nh-sidebar .nh-side-label, .nh-shell .nh-sidebar .nh-brand-text, .nh-shell .nh-sidebar .nh-sidebar-foot, .nh-shell .nh-sidebar .nh-side-item .nh-badge, .nh-shell .nh-collapse-btn { display: none; }
  .nh-shell .nh-sidebar .nh-side-item { justify-content: center; padding: 11px 0; }
  .nh-shell .nh-sidebar .nh-sidebar-head { justify-content: center; padding: 18px 0 12px; }
  .nh-cols-4 { --nh-cols: 2; }
  .nh-footer--big { grid-template-columns: 1fr 1fr; }
  .nh-page { padding: var(--nh-s5) var(--nh-s5) var(--nh-s7); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .nh-container { padding: 0 var(--nh-s4); }
  .nh-grid { --nh-cols: 1; } .nh-grid > [class*="nh-span-"] { grid-column: 1 / -1; }
  .nh-cols-2, .nh-cols-3, .nh-cols-4, .nh-cols-6 { --nh-cols: 1; }
  .nh-grid.nh-keep-2 { --nh-cols: 2; }
  .nh-form-row, .nh-form-row.three { --nh-cols: 1; }
  .nh-form-actions { justify-content: stretch; } .nh-form-actions .nh-btn { flex: 1; } .nh-form-actions .left { margin-right: 0; }
  /* fejléc: a menü ☰ mögé kerül */
  .nh-navbar { gap: var(--nh-s3); padding: 0 var(--nh-s3); height: 54px; }
  .nh-burger { display: inline-grid; }
  .nh-navbar .nh-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--nh-surface-2); border-bottom: 1px solid var(--nh-line-2); box-shadow: var(--nh-shadow-pop); padding: 6px 0; }
  .nh-navbar.is-open .nh-nav { display: flex; animation: nh-pop .18s var(--nh-ease); }
  .nh-navbar .nh-nav a { display: flex; height: 46px; padding: 0 18px; border-left: 3px solid transparent; }
  .nh-navbar .nh-nav a::after { display: none; }
  .nh-navbar .nh-nav a[aria-current="page"], .nh-navbar .nh-nav a.is-active { border-left-color: var(--nh-accent); background: var(--nh-accent-soft); }
  .nh-clock, .nh-hide-mobile { display: none !important; } .nh-show-mobile { display: initial !important; }
  .nh-user > span:not(.nh-avatar) { display: none; }
  /* héj: az oldalsáv kiúszó panel */
  .nh-shell, .nh-shell.is-collapsed { grid-template-columns: minmax(0, 1fr); }
  .nh-shell .nh-sidebar { position: fixed; z-index: 70; left: 0; top: 0; bottom: 0; width: 264px; transform: translateX(-100%); transition: transform var(--nh-mid) var(--nh-ease); background: var(--nh-bg); }
  .nh-shell.is-nav-open .nh-sidebar { transform: none; box-shadow: var(--nh-shadow-pop); }
  .nh-shell.is-nav-open .nh-scrim { display: block; }
  .nh-shell .nh-sidebar .lb, .nh-shell .nh-sidebar .nh-side-label, .nh-shell .nh-sidebar .nh-brand-text, .nh-shell .nh-sidebar .nh-side-item .nh-badge { display: revert; }
  .nh-shell .nh-sidebar .nh-sidebar-foot { display: grid; }
  .nh-shell .nh-sidebar .nh-side-item { justify-content: flex-start; padding: 11px 20px; }
  .nh-shell .nh-sidebar .nh-sidebar-head { justify-content: space-between; padding: 18px 14px 16px 18px; }
  .nh-page { padding: var(--nh-s4) var(--nh-s4) var(--nh-s7); }
  .nh-page-head { margin-bottom: var(--nh-s4); }
  .nh-stat { min-height: 112px; padding: 14px; } .nh-stat-value { font-size: 34px; }
  .nh-footer { padding: var(--nh-s4); } .nh-footer .nh-footer-end { margin-left: 0; }
  .nh-footer--big { grid-template-columns: 1fr 1fr; }
  .nh-footer--big > :first-child { grid-column: 1 / -1; }
  .nh-step b { font-size: 12px; } .nh-step span { display: none; }
  .nh-pagination-info { width: 100%; margin-left: 0; }
  .nh-toasts { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .nh-modal-box { width: calc(100vw - 20px); }
  .nh-modal-foot .nh-btn { flex: 1; }
  .nh-drawer-box { width: min(92vw, 420px); }
  .nh-menu-sub > .nh-menu { position: static; display: block; box-shadow: none; border: 0; border-left: 2px solid var(--nh-line-2); margin: 0 0 4px 14px; padding: 0; background: transparent; animation: none; }
  .nh-menu-sub > .nh-menu::before { display: none; }
  .nh-menu-sub > .nh-menu-item::after { content: '⌄'; }
  .nh-list--icon .nh-list-item { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .nh-table th, .nh-table td { padding: 9px 10px; }
  .nh-bars { height: 120px; gap: 3px; } .nh-bars > div > span { display: none; }
}

/* ---------- 28. Csökkentett mozgás ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .nh-grid-bg::before { animation: none; }
  .nh-bar--indeterminate > i { animation: none; left: 0; width: 100%; opacity: .5; }
  .nh-spinner { animation: nh-spin 2s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 2s !important; }
}
