/* Halterhelés- és kompatibilitás-kalkulátor — FRONTEND_DESIGN_SYSTEM §12.2/C.
   Önálló „mini alkalmazás” a fejezetoldalon: sötét fejléc, bal oldalt a bevitel és a halkosár, jobb oldalt sticky
   eredménypanel (1024 px-től); mobilon egy oszlop, alul lebegő összegzősáv. Minden érintési cél legalább 44 px. */

.hh {
  --hh-ok: #3F7050;
  --hh-ok-bg: rgba(63, 112, 80, .12);
  --hh-ok-szoveg: var(--td-siker-szoveg, #2D5A3C);
  --hh-figy: #B8651A;
  --hh-figy-bg: rgba(184, 101, 26, .13);
  --hh-figy-szoveg: var(--td-figyelem-szoveg, #7A420F);
  --hh-hiba: #A8432E;
  --hh-hiba-bg: rgba(168, 67, 46, .11);
  --hh-hiba-szoveg: var(--td-hiba-szoveg, #86301F);
  --hh-nincs: #6B7A72;
  --hh-nincs-bg: var(--td-hover, rgba(13, 26, 23, .06));
  --hh-kartya: var(--td-felulet, #fff);
  clear: both; position: relative; margin: 32px 0 var(--blokk-ter);
  border-radius: var(--radius-xl); background: var(--td-felulet-2, #EEF1EA); box-shadow: var(--shadow-raised);
  font-size: 1rem; line-height: 1.5;
}
.hh p { margin: 0; }
.hh:not(.hh--js) [data-hh-js] { display: none !important; }
.hh--js [data-hh-nojs] { display: none !important; }

/* ---------- Fejléc ---------- */
.hh__fej {
  position: relative; overflow: hidden; padding: clamp(22px, 3.2vw, 38px) clamp(18px, 3.2vw, 38px) clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0; color: var(--aq-vilagos);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(60, 148, 141, .35), transparent 60%),
    radial-gradient(40% 90% at 0% 100%, rgba(63, 112, 80, .35), transparent 65%),
    var(--aq-deep);
}
.hh__badge {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; margin-bottom: 12px !important; padding: 4px 12px 4px 10px;
  border-radius: 99px; background: var(--td-teal-attetszo, rgba(159, 211, 201, .14)); color: var(--aq-accent-vilagos);
  font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.hh__badge .ikon { width: 18px; height: 18px; }
.hh__cim { max-width: 26ch; margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.2rem); line-height: 1.12; letter-spacing: -.025em; }
.hh__alcim { max-width: 64ch; color: var(--aq-vilagos-halvany); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Rács ---------- */
.hh__urlap { display: grid; gap: 18px; padding: clamp(14px, 2.4vw, 26px); }
.hh__bal { display: grid; gap: 16px; min-width: 0; }
.hh__jobb { min-width: 0; }
@media (min-width: 1024px) {
  .hh__urlap { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); align-items: start; gap: 22px; }
  .hh__jobb { position: sticky; top: calc(var(--fejlec-magassag) + 16px); }
}

/* ---------- Kártyák és mezők ---------- */
.hh-kartya { min-width: 0; margin: 0; padding: clamp(16px, 2.2vw, 24px); border: 0; border-radius: var(--radius-lg); background: var(--hh-kartya); box-shadow: var(--shadow-soft); }
.hh-kartya__cim { display: flex; align-items: center; gap: 12px; float: left; width: 100%; margin: 0 0 16px; padding: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -.01em; }
.hh-kartya__cim + * { clear: both; }
.hh-kartya__szam { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--aq-accent-sotet); color: #fff; font-size: 1rem; }
.hh-kartya__bevezeto { margin-bottom: 14px !important; font-size: .9375rem; color: var(--td-halk, var(--aq-muted)); }
.hh-mezok { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .hh-mezok { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-mezok--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hh-mezo { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hh-mezo__cimke { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 800; color: var(--td-szoveg, var(--aq-text)); }
.hh-mezo__ikon { flex: none; width: 18px; height: 18px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-mezo__opcio { padding: 1px 7px; border-radius: 99px; background: var(--td-felulet-2, var(--aq-surface)); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--td-halk, var(--aq-muted)); }
.hh-mezo__beviteli { position: relative; display: block; }
.hh-mezo__input {
  width: 100%; min-height: 50px; padding: 10px 44px 10px 14px; border: 1.5px solid var(--td-keret, #C9D3CC); border-radius: var(--radius-sm);
  background: var(--td-felulet-2, #FBFCFA); color: var(--td-szoveg, var(--aq-text)); font: inherit; font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select.hh-mezo__input { padding-right: 14px; font-size: 1rem; font-weight: 600; }
.hh-mezo__input::placeholder { color: #9AA8A0; font-weight: 500; }
.hh-mezo__input:focus { outline: none; border-color: var(--aq-accent-sotet); box-shadow: 0 0 0 3px rgba(60, 148, 141, .22); background: var(--td-felulet, #fff); }
.hh-mezo__input[aria-invalid="true"] { border-color: var(--hh-hiba); box-shadow: 0 0 0 3px var(--hh-hiba-bg); }
.hh-mezo__egyseg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .9375rem; font-weight: 700; color: var(--td-halk, var(--aq-muted)); pointer-events: none; }
.hh-mezo__sugo { font-size: .8125rem; line-height: 1.45; color: var(--td-halk, var(--aq-muted)); }
.hh-mezo__hiba { font-size: .8125rem; font-weight: 700; color: var(--hh-hiba-szoveg); }
.hh-mezo__kategoria { min-height: 1.3em; font-size: .8125rem; font-weight: 700; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-mezo--kicsi .hh-mezo__input { padding-right: 38px; }
.hh-link-gomb {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--td-teal-szoveg, var(--aq-accent-sotet)); font: inherit; font-size: .9063rem; font-weight: 800; text-align: left; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
}
.hh-link-gomb:hover { color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.hh-link-gomb .ikon { flex: none; width: 18px; height: 18px; }
.hh-mezo .hh-link-gomb { align-self: flex-start; min-height: 36px; }

.hh-meretek, .hh-kezi { margin-top: 14px; border-top: 1px solid var(--td-keret, var(--aq-line)); }
.hh-meretek > summary, .hh-kezi > summary {
  display: flex; align-items: center; min-height: 48px; padding-top: 4px; cursor: pointer; list-style: none;
  font-size: .9375rem; font-weight: 800; color: var(--td-teal-szoveg, var(--aq-accent-sotet));
}
.hh-meretek > summary::-webkit-details-marker, .hh-kezi > summary::-webkit-details-marker { display: none; }
.hh-meretek > summary::before, .hh-kezi > summary::before {
  content: "+"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%;
  background: var(--td-felulet-2, var(--aq-surface)); font-size: 1.1rem; line-height: 1;
}
.hh-meretek[open] > summary::before, .hh-kezi[open] > summary::before { content: "–"; }
.hh-meretek__sor, .hh-kezi__sor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 6px 0 8px; }
.hh-meretek__eredmeny { grid-column: 1 / -1; font-size: .9375rem; font-weight: 800; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-meretek__eredmeny:empty { display: none; }
.hh-kezi__sor { grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 96px)); }
.hh-kezi__sor .hh-mezo:first-child { grid-column: 1 / -1; }
.hh-kezi__gomb { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 640px) {
  .hh-kezi__sor { grid-template-columns: minmax(0, 1fr) 110px 96px auto; }
  .hh-kezi__sor .hh-mezo:first-child, .hh-kezi__gomb { grid-column: auto; }
}

/* ---------- Kereső (combobox) ---------- */
.hh-kereso { position: relative; margin-bottom: 14px; }
.hh-kereso .hh-mezo__cimke { margin-bottom: 6px; }
.hh-kereso__doboz { position: relative; }
.hh-kereso__ikon { position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--td-halk, var(--aq-muted)); pointer-events: none; }
.hh-kereso__input {
  width: 100%; min-height: 56px; padding: 12px 16px 12px 46px; border: 2px solid var(--aq-accent-sotet); border-radius: var(--radius-md);
  background: var(--td-felulet, #fff); color: var(--td-szoveg, var(--aq-text)); font: inherit; font-size: 1.0625rem; font-weight: 600;
  box-shadow: 0 6px 18px rgba(43, 117, 112, .12);
}
.hh-kereso__input:focus { outline: none; box-shadow: 0 0 0 4px rgba(60, 148, 141, .22), 0 6px 18px rgba(43, 117, 112, .12); }
.hh-kereso__lista {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 22px); max-height: min(420px, 60vh); overflow-y: auto; margin: 0; padding: 6px;
  border-radius: var(--radius-md); background: var(--td-felulet, #fff); box-shadow: 0 24px 50px rgba(13, 26, 23, .22); list-style: none;
}
.hh-kereso__elem { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; min-height: 56px; padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.hh-kereso__elem[aria-selected="true"], .hh-kereso__elem:hover { background: var(--td-felulet-2, var(--aq-surface)); }
.hh-kereso__elem .ikon { grid-row: span 2; width: 26px; height: 26px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-kereso__nev { font-weight: 800; line-height: 1.25; }
.hh-kereso__nev mark { background: rgba(159, 211, 201, .55); color: inherit; border-radius: 3px; }
.hh-kereso__reszlet { font-size: .8125rem; color: var(--td-halk, var(--aq-muted)); line-height: 1.3; }
.hh-kereso__reszlet i { font-style: italic; }
.hh-kereso__ures { padding: 14px 12px; font-size: .9375rem; color: var(--td-halk, var(--aq-muted)); }
.hh-kereso__visszajelzes { min-height: 1.4em; margin-top: 6px !important; font-size: .875rem; font-weight: 700; color: var(--hh-ok-szoveg); }

.hh-valaszto { display: grid; gap: 10px; align-items: end; margin-bottom: 14px; }
@media (min-width: 560px) { .hh-valaszto { grid-template-columns: minmax(0, 1fr) 110px auto; } }

/* ---------- Halkosár ---------- */
.hh-kosar { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hh-faj {
  --c: var(--hh-ok);
  position: relative; display: grid; gap: 10px; padding: 14px 14px 12px 16px; border-radius: var(--radius-md);
  background: var(--td-felulet-2, #FBFCFA); box-shadow: inset 0 0 0 1px #DCE3DE; border-left: 5px solid var(--c);
}
.hh-faj--figyelem { --c: var(--hh-figy); }
.hh-faj--hiba { --c: var(--hh-hiba); background: var(--td-felulet-2, #FDF8F6); }
.hh-faj--nincs { --c: var(--hh-nincs); }
.hh-faj__fej { display: flex; align-items: flex-start; gap: 12px; }
.hh-faj__ikon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-faj__ikon .ikon { width: 24px; height: 24px; }
.hh-faj__nevek { flex: 1; min-width: 0; }
.hh-faj__nev { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.hh-faj__latin { font-size: .875rem; font-style: italic; color: var(--td-halk, var(--aq-muted)); }
.hh-faj__latin--kezi { font-style: normal; }
.hh-allapot {
  display: inline-flex; align-items: center; flex: none; min-height: 26px; padding: 2px 10px; border-radius: 99px;
  font-size: .75rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
  background: var(--hh-ok-bg); color: var(--hh-ok-szoveg);
}
.hh-allapot--figyelem { background: var(--hh-figy-bg); color: var(--hh-figy-szoveg); }
.hh-allapot--hiba { background: var(--hh-hiba); color: #fff; }
.hh-allapot--nincs { background: var(--hh-nincs-bg); color: var(--td-szoveg-2, #44524B); }
.hh-faj__adatok { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hh-chip {
  display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px 3px 8px; border-radius: 99px;
  font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg-2, #2E3D36);
}
.hh-chip .ikon { flex: none; width: 16px; height: 16px; }
.hh-chip--ok { background: var(--hh-ok-bg); color: var(--hh-ok-szoveg); }
.hh-chip--figyelem { background: var(--hh-figy-bg); color: var(--hh-figy-szoveg); }
.hh-chip--hiba { background: var(--hh-hiba-bg); color: var(--hh-hiba-szoveg); box-shadow: inset 0 0 0 1.5px rgba(168, 67, 46, .45); }
.hh-faj__jelzesek { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hh-jelzes { display: flex; gap: 8px; font-size: .875rem; line-height: 1.45; }
.hh-jelzes .ikon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.hh-jelzes--hiba { color: var(--hh-hiba-szoveg); font-weight: 600; }
.hh-jelzes--hiba .ikon { color: var(--hh-hiba); }
.hh-jelzes--figyelem { color: var(--hh-figy-szoveg); }
.hh-jelzes--figyelem .ikon { color: var(--hh-figy); }
.hh-jelzes--info { color: var(--td-szoveg-2, #3C4C45); }
.hh-jelzes--info .ikon { color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-faj__megj { font-size: .8125rem; line-height: 1.45; color: var(--td-szoveg-2, #4A5751); }
.hh-faj__megj a { color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh-faj__meret { margin-top: 10px; max-width: 260px; }
.hh-faj__lab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 10px; border-top: 1px solid var(--td-keret, #E3E8E4); }
.hh-lepteto { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: var(--td-felulet, #fff); box-shadow: inset 0 0 0 1.5px #C9D3CC; }
.hh-lepteto__gomb {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg, var(--aq-text)); cursor: pointer; transition: background-color .15s ease;
}
.hh-lepteto__gomb:hover { background: var(--aq-accent-sotet); color: #fff; }
.hh-lepteto__gomb .ikon { width: 20px; height: 20px; stroke-width: 2.4; }
.hh-lepteto__ertek {
  width: 58px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; text-align: center;
  color: var(--td-szoveg, var(--aq-text)); font: inherit; font-size: 1.1875rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.hh-lepteto__ertek:focus { outline: 2px solid var(--aq-accent); }
.hh-faj__igeny { font-size: .875rem; color: var(--td-halk, var(--aq-muted)); font-variant-numeric: tabular-nums; }
.hh-faj__igeny span { font-size: 1rem; font-weight: 800; color: var(--td-szoveg, var(--aq-text)); }
.hh-faj__torles {
  display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--td-halk, var(--aq-muted)); cursor: pointer;
}
.hh-faj__torles:hover { background: var(--hh-hiba-bg); color: var(--hh-hiba); }
.hh-faj__torles .ikon { width: 22px; height: 22px; }
.hh-faj__nojs { margin-left: auto; font-size: .8125rem; color: var(--td-halk, var(--aq-muted)); }
.hh-faj--uj { animation: hh-be .35s ease-out; }
@keyframes hh-be { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.hh-ures {
  display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--td-keret, #C9D3CC); border-radius: var(--radius-md);
  color: var(--td-halk, var(--aq-muted)); font-size: .9687rem;
}
.hh-ures[hidden] { display: none; }
.hh-ures__ikon { flex: none; width: 40px; height: 40px; color: #A9B8B0; }
.hh-ures .hh-link-gomb { min-height: 0; display: inline; }

.hh__muveletek { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hh__muveletek .gomb { min-height: 48px; }
.hh__muvelet .ikon { width: 18px; height: 18px; margin-right: 6px; }
.hh__torol { margin-left: auto; color: var(--td-halk, var(--aq-muted)); }

/* ---------- Eredménypanel ---------- */
.hh-eredmeny {
  display: grid; gap: 16px; padding: clamp(18px, 2.4vw, 24px); border-radius: var(--radius-lg); background: var(--hh-kartya);
  box-shadow: var(--shadow-card); border-top: 6px solid var(--hh-nincs);
}
.hh-eredmeny--ok { border-top-color: var(--hh-ok); }
.hh-eredmeny--figyelem { border-top-color: var(--hh-figy); }
.hh-eredmeny--hiba { border-top-color: var(--hh-hiba); }
.hh-panel-cim { display: block; margin-bottom: 8px !important; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--td-halk, var(--aq-muted)); }

.hh-ora { --c: var(--hh-nincs); position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.hh-ora--ok { --c: var(--hh-ok); }
.hh-ora--figyelem { --c: var(--hh-figy); }
.hh-ora--hiba { --c: var(--hh-hiba); }
.hh-ora__svg { display: block; width: 100%; height: auto; overflow: visible; }
.hh-ora__zona { fill: none; stroke-width: 11; }
.hh-ora__zona--ok { stroke: rgba(63, 112, 80, .22); }
.hh-ora__zona--figyelem { stroke: rgba(184, 101, 26, .24); }
.hh-ora__zona--hiba { stroke: rgba(168, 67, 46, .22); }
.hh-ora__ertek { fill: none; stroke: var(--c); stroke-width: 11; transition: stroke-dasharray .45s ease; }
.hh-ora__mutato { fill: var(--td-felulet, #fff); stroke: var(--c); stroke-width: 3.5; }
.hh-ora__rajz { position: relative; }
.hh-ora__szam { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; line-height: 1; }
.hh-ora__ertekszoveg { font-size: clamp(2.3rem, 2rem + 1.2vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; color: var(--c); font-variant-numeric: tabular-nums; }
.hh-ora__felirat { margin-top: 4px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--td-halk, var(--aq-muted)); }
.hh-ora__skala { display: flex; justify-content: space-between; margin: 6px 0 0; padding: 0 2px; list-style: none; font-size: .6875rem; font-weight: 700; color: var(--td-halk, var(--aq-muted)); }
.hh-ora__magyarazat { text-align: center; font-size: .9063rem; color: var(--td-szoveg-2, #3C4C45); }
.hh-szamok { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.hh-szamok div { padding: 10px 8px; border-radius: var(--radius-sm); background: var(--td-felulet-2, #F4F6F2); text-align: center; }
.hh-szamok dt { font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--td-halk, var(--aq-muted)); }
.hh-szamok dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hh-szamok__tul { color: var(--hh-hiba); }

.hh-osszegzes { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-md); background: var(--hh-nincs-bg); }
.hh-osszegzes--ok { background: var(--hh-ok-bg); }
.hh-osszegzes--figyelem { background: var(--hh-figy-bg); }
.hh-osszegzes--hiba { background: var(--hh-hiba-bg); }
.hh-osszegzes__ikon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--hh-nincs); color: #fff; stroke-width: 2.6; }
.hh-osszegzes--ok .hh-osszegzes__ikon { background: var(--hh-ok); }
.hh-osszegzes--figyelem .hh-osszegzes__ikon { background: var(--hh-figy); }
.hh-osszegzes--hiba .hh-osszegzes__ikon { background: var(--hh-hiba); }
.hh-osszegzes__cim { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; }
.hh-osszegzes__szoveg { margin-top: 3px !important; font-size: .9063rem; line-height: 1.5; color: var(--td-szoveg-2, #34423C); }

.hh-megoszlas__svg { display: block; width: 100%; height: 18px; border-radius: 6px; overflow: hidden; background: var(--td-felulet-2, #F4F6F2); }
.hh-megoszlas__hatter { fill: rgba(52, 122, 145, .12); }
.hh-megoszlas__hatar { stroke: var(--td-szoveg, var(--aq-text)); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hh-megoszlas__lista { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .875rem; }
.hh-megoszlas__lista li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-weight: 700; }
.hh-megoszlas__l { margin-left: auto; font-weight: 600; color: var(--td-halk, var(--aq-muted)); font-variant-numeric: tabular-nums; }
.hh-folt { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.hh-szin-0 { fill: #2B7570; background: #2B7570; }
.hh-szin-1 { fill: #C27A2C; background: #C27A2C; }
.hh-szin-2 { fill: #4F7D4D; background: #4F7D4D; }
.hh-szin-3 { fill: #347A91; background: #347A91; }
.hh-szin-4 { fill: #806044; background: #806044; }
.hh-szin-5 { fill: #6E5D95; background: #6E5D95; }
.hh-szin-6 { fill: #A45F42; background: #A45F42; }
.hh-szin-7 { fill: #536A70; background: #536A70; }

.hh-ellenorzesek { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hh-ellenorzes { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--td-felulet-2, #F7F8F5); }
.hh-ellenorzes__ikon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--hh-nincs-bg); color: var(--hh-nincs); }
.hh-ellenorzes--ok .hh-ellenorzes__ikon { background: var(--hh-ok-bg); color: var(--hh-ok); }
.hh-ellenorzes--figyelem .hh-ellenorzes__ikon { background: var(--hh-figy-bg); color: var(--hh-figy); }
.hh-ellenorzes--hiba .hh-ellenorzes__ikon { background: var(--hh-hiba-bg); color: var(--hh-hiba); }
.hh-ellenorzes__ikon .ikon { width: 20px; height: 20px; }
.hh-ellenorzes__szoveg { display: grid; flex: 1; min-width: 0; font-size: .8125rem; line-height: 1.35; color: var(--td-halk, var(--aq-muted)); }
.hh-ellenorzes__szoveg strong { font-size: .9375rem; color: var(--td-szoveg, var(--aq-text)); }

.hh-tart { margin: 0; padding: 12px; border-radius: var(--radius-sm); background: var(--td-felulet-2, #F7F8F5); }
.hh-tart__fej { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin-bottom: 6px; }
.hh-tart__fej .hh-panel-cim { margin: 0 !important; }
.hh-tart__osszeg { font-size: .8125rem; font-weight: 700; color: var(--hh-ok-szoveg); }
.hh-tart--hiba .hh-tart__osszeg { color: var(--hh-hiba-szoveg); }
.hh-tart--nincs .hh-tart__osszeg { color: var(--td-halk, var(--aq-muted)); }
.hh-tart__sor { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; margin-top: 4px; }
.hh-tart__nev { grid-row: 1; grid-column: 1; overflow: hidden; font-size: .8125rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.hh-tart__szam { grid-row: 1; grid-column: 2; font-size: .75rem; font-weight: 700; color: var(--td-halk, var(--aq-muted)); font-variant-numeric: tabular-nums; }
.hh-tart__svg { grid-row: 2; grid-column: 1 / -1; display: block; width: 100%; height: 14px; }
.hh-tart__kozos { fill: rgba(63, 112, 80, .16); }
.hh-tart--hiba .hh-tart__kozos { fill: rgba(168, 67, 46, .14); }
.hh-tart__ertek { stroke: var(--td-szoveg, var(--aq-text)); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.hh-tart__tengely { display: flex; justify-content: space-between; margin-top: 4px !important; font-size: .6875rem; font-weight: 700; color: var(--td-halk, var(--aq-muted)); }

.hh-uzenetek { display: grid; gap: 8px; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--td-keret, var(--aq-line)); list-style: none; }
.hh-reszletek { border-top: 1px solid var(--td-keret, var(--aq-line)); }
.hh-reszletek > summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font-size: .875rem; font-weight: 800; color: var(--td-teal-szoveg, var(--aq-accent-sotet));
}
.hh-reszletek > summary::-webkit-details-marker { display: none; }
.hh-reszletek > summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; background: var(--td-felulet-2, var(--aq-surface)); }
.hh-reszletek[open] > summary::after { content: "–"; }
.hh-uzenetek--faj { padding-top: 4px; border-top: 0; }
.hh-eredmeny__zaras { font-size: .8125rem; line-height: 1.45; color: var(--td-halk, var(--aq-muted)); }

/* ---------- Lábléc, mobil összegzősáv ---------- */
.hh__lab { display: grid; gap: 10px; padding: 0 clamp(18px, 3vw, 30px) clamp(18px, 2.6vw, 26px); font-size: .875rem; color: var(--td-halk, var(--aq-muted)); }
.hh__lab p { display: flex; gap: 10px; }
.hh__lab .ikon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.hh__lab .szoveglink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9375rem; }

.hh-mobilsav {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--aq-deep); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.hh-mobilsav[hidden] { display: none; }
.hh-mobilsav__szazalek { font-size: 1.375rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hh-mobilsav--ok .hh-mobilsav__szazalek { color: #9FD8A8; }
.hh-mobilsav--figyelem .hh-mobilsav__szazalek { color: #F2C27A; }
.hh-mobilsav--hiba .hh-mobilsav__szazalek { color: #F29C88; }
.hh-mobilsav__szoveg { flex: 1; min-width: 0; overflow: hidden; font-size: .875rem; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hh-mobilsav__gomb {
  display: inline-flex; align-items: center; gap: 4px; flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px;
  background: var(--aq-accent-sotet); color: #fff; font-weight: 800; text-decoration: none;
}
.hh-mobilsav__gomb .ikon { width: 18px; height: 18px; }
@media (min-width: 1024px) { .hh-mobilsav { display: none !important; } }

@media (max-width: 559px) {
  .hh { margin-inline: calc(-1 * var(--gutter) + 6px); border-radius: var(--radius-lg); }
  .hh__fej { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .hh__urlap { padding: 10px; }
  .hh-kartya { padding: 16px 14px; }
  .hh-faj { padding: 12px 12px 10px 13px; }
  .hh__torol { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hh-faj--uj { animation: none; }
  .hh-ora__ertek, .hh-mezo__input { transition: none; }
}
