/* PWA app-shell (STORE_COMMUNITY_PWA_SYSTEM §21, §37–38, §47.12): felső sáv, tartalom, alsó navigáció; biztonságos terület (notch).
   Közös mobil design-rendszer (PWA_UX_UI_MASTER_AUDIT §13): tokenek és komponensek itt élnek, a képernyők ezeket használják. */

/* A tokenek a saját funkciók webes képernyőin (body.web-sajat, §47.22) is érvényesek: ugyanazok a komponensek, app-shell nélkül. */
body.app, body.web-sajat {
  --touch-min: 44px;
  --app-gutter: 12px;
  --app-r-s: 12px;
  --app-r-m: 16px;
  --app-r-l: 22px;
  --app-arny-1: 0 1px 2px rgba(13, 26, 23, .06), 0 0 0 1px var(--td-keret, rgba(212, 221, 214, .7));
  --app-arny-2: 0 10px 28px rgba(13, 26, 23, .16);
}
body.app { min-height: 100dvh; padding-bottom: calc(68px + env(safe-area-inset-bottom)); background: var(--td-hatter, var(--aq-paper)); }
@media (min-width: 600px) { body.app, body.web-sajat { --app-gutter: 16px; } }

.app-fej {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px;
  min-height: 58px; padding: env(safe-area-inset-top) 10px 0 12px; background: var(--aq-deep); color: #fff;
}
.app-fej__logo { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: #fff; }
.app-fej__logo .logo__jel { width: 40px; height: auto; }
.app-fej__cim { flex: 1; min-width: 0; margin: 0; font-size: 1.1rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.app-fej__tamogatas { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--aq-plant); color: #fff; font-weight: 800; font-size: .875rem; text-decoration: none; }
.app-fej__tamogatas .ikon { width: 18px; height: 18px; }
.app-fej__tamogatas--ikon { width: 44px; height: 44px; padding: 0; background: rgba(255, 255, 255, .08); color: #F3B6A6; }
.app-fej__tamogatas--ikon span { display: none; }
.app-fej__muvelet { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--aq-accent-sotet); color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12); }
.app-fej__muvelet:hover { background: var(--aq-accent); }
.app-fej__muvelet .ikon { width: 24px; height: 24px; }
.app-fej__gomb { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.app-fej__gomb[hidden] { display: none; }
/* Fiókgomb (§48.9): belépve kerek profilkép, kijelentkezve „Belépés”. Mellette telefonon a Támogatás ikonként fér el. */
.app-fej__fiok { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px 0 10px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .875rem; font-weight: 800; cursor: pointer; }
.app-fej__fiok .ikon { width: 20px; height: 20px; }
.app-fej__fiok--belepve { width: 44px; padding: 0; border: 0; }
.app-fej__fiok--belepve .fiok-avatar { box-shadow: 0 0 0 2px var(--aq-deep), 0 0 0 4px var(--aq-accent-vilagos); }
.app-fej__fiok:focus-visible { outline: 3px solid var(--aq-accent-vilagos); outline-offset: 2px; }
@media (max-width: 479px) {
  .app-fej:has(.app-fej__fiok) .app-fej__tamogatas { width: 44px; height: 44px; padding: 0; background: rgba(255, 255, 255, .08); color: #F3B6A6; }
  .app-fej:has(.app-fej__fiok) .app-fej__tamogatas span { display: none; }
}
.app-fej__gomb .ikon { width: 22px; height: 22px; }
@media (max-width: 374px) {
  .app-fej__tamogatas { width: 44px; height: 44px; padding: 0; }
  .app-fej__tamogatas span { display: none; }
}

.app-tartalom { width: min(900px, 100%); margin: 0 auto; padding: 14px var(--app-gutter) 24px; }
.app-tartalom:focus { outline: none; }
.app--terkep .app-tartalom { width: 100%; padding: 0; }

/* ---------- Közös komponensek: ikongomb, chip, szegmensvezérlő, beállítássor, állapotjelvény, műveletlap ---------- */

.app-ikongomb {
  position: relative; display: inline-grid; place-items: center; flex: none; width: var(--touch-min); height: var(--touch-min);
  padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--td-szoveg, var(--aq-text)); cursor: pointer; text-decoration: none;
}
.app-ikongomb:hover { background: var(--td-hover, rgba(13, 26, 23, .06)); }
.app-ikongomb:focus-visible { outline: 3px solid var(--aq-accent-sotet); outline-offset: 1px; }
.app-ikongomb .ikon { width: 22px; height: 22px; }
.app-ikongomb--felulet { background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); }
.app-ikongomb--felulet:hover { background: var(--td-felulet-2, #F3F7F4); }
.app-ikongomb[aria-pressed="true"] { color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.app-ikongomb[aria-pressed="true"] .ikon { fill: currentColor; }
.app-ikongomb__db {
  position: absolute; top: 2px; right: 0; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--aq-accent-sotet); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #fff;
}
.app-ikongomb__db[hidden] { display: none; }

.app-chipsor { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(-1 * var(--app-gutter)); padding: 2px var(--app-gutter) 6px; scroll-padding-inline: var(--app-gutter); scrollbar-width: none; }
.app-chipsor::-webkit-scrollbar { display: none; }
.app-chip {
  display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: var(--touch-min); padding: 0 14px;
  border: 1px solid var(--td-keret, var(--aq-line)); border-radius: 999px; background: var(--td-felulet, #fff); color: var(--td-szoveg, var(--aq-text));
  font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.1; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.app-chip .ikon { width: 18px; height: 18px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.app-chip small { color: var(--td-halk, var(--aq-muted)); font-weight: 700; font-size: .75rem; }
.app-chip[aria-pressed="true"], .app-chip[aria-current], .app-chip--aktiv { border-color: var(--aq-deep); background: var(--aq-deep); color: #fff; }
.app-chip[aria-pressed="true"] .ikon, .app-chip[aria-current] .ikon, .app-chip--aktiv .ikon { color: var(--aq-accent-vilagos); }
.app-chip[aria-pressed="true"] small, .app-chip[aria-current] small, .app-chip--aktiv small { color: rgba(255, 255, 255, .75); }
.app-chip:disabled, .app-chip[aria-disabled="true"] { opacity: .5; cursor: default; }

.app-szegmens { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2px; padding: 3px; border-radius: 999px; background: var(--td-felulet-2, #E3E9E3); }
.app-szegmens > button, .app-szegmens > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: var(--touch-min); padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; color: var(--td-halk, var(--aq-muted)); font: inherit; font-size: .875rem; font-weight: 800;
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.app-szegmens .ikon { width: 18px; height: 18px; }
.app-szegmens > [aria-selected="true"], .app-szegmens > [aria-current], .app-szegmens > [aria-pressed="true"] { background: var(--td-felulet, #fff); color: var(--td-szoveg, var(--aq-text)); box-shadow: 0 1px 3px rgba(13, 26, 23, .14); }

.app-jel { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 0 9px; border-radius: 999px; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg, var(--aq-text)); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.app-jel .ikon { width: 13px; height: 13px; }
.app-jel--aktiv { background: var(--td-siker-halvany, #DDEFE3); color: var(--td-siker-szoveg, #1F5A33); }
.app-jel--figyel { background: var(--td-figyelem-halvany, #FFF1CF); color: var(--td-figyelem-szoveg, #6B4B00); }
.app-jel--szunet { background: var(--td-felulet-2, #E6EAF0); color: var(--td-szoveg-2, #3A4658); }
.app-jel--lezart { background: var(--td-felulet-2, #ECEEEB); color: var(--td-halk, var(--aq-muted)); }
.app-jel--veszely { background: var(--td-hiba-halvany, #FBE9E4); color: var(--td-hiba-szoveg, #7E2A18); }
.app-jel--kiemelt { background: #C9A227; color: #1F1A05; }

/* Lista-fejléc: egy sorban darabszám + művelet. */
.app-listafej { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: var(--touch-min); margin: 4px 0 8px; }
.app-listafej__cim { margin: 0; font-size: 1rem; font-weight: 800; }
.app-listafej__cim small { color: var(--td-halk, var(--aq-muted)); font-weight: 700; }

.app-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding-bottom: env(safe-area-inset-bottom); background: var(--td-felulet, #fff); border-top: 1px solid var(--td-keret, var(--aq-line)); box-shadow: 0 -6px 18px rgba(13, 26, 23, .06);
}
.app-nav ul { display: grid; grid-template-columns: repeat(5, 1fr); width: min(640px, 100%); margin: 0 auto; padding: 0; list-style: none; }
.app-nav .app-nav__elem {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 64px; padding: 6px 2px;
  color: var(--td-halk, var(--aq-muted)); font-size: .75rem; font-weight: 800; text-decoration: none;
}
/* Aktív elem: halvány pill az ikon mögött (Material-szerű jelző), a címke sötét akcentszínű. */
.app-nav .app-nav__elem .ikon { box-sizing: content-box; width: 24px; height: 24px; padding: 3px 16px; border-radius: 999px; transition: background-color .15s ease; }
.app-nav .app-nav__elem[aria-current="page"] { color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.app-nav .app-nav__elem[aria-current="page"] .ikon { background: var(--td-teal-halvany, #D9EEE9); }
.app-nav__elem--akciok .ikon { color: var(--aq-akcio); }
.app-nav__elem--akciok[aria-current="page"] .ikon { background: var(--td-hiba-halvany, #F8E1DE); }
.app-nav__jelveny { top: 4px; right: calc(50% - 26px); }

/* ---------- Térkép (teljes képernyős, §8, §21.3) — a közös jelölő / kártya / alsó lap: helyterkep.css ---------- */

body.app--terkep { overflow: hidden; padding-bottom: 0; }
.tk--app {
  position: fixed; left: 0; right: 0; z-index: 10;
  top: calc(58px + env(safe-area-inset-top)); bottom: calc(65px + env(safe-area-inset-bottom));
  overflow: hidden; background: var(--td-felulet-2, var(--aq-surface));
}

.tk__felso { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 30; display: grid; gap: 8px; max-width: 560px; }
.tk__kereso {
  display: flex; align-items: center; gap: 4px; min-height: 50px; padding: 0 3px 0 16px;
  border-radius: 999px; background: var(--td-felulet, #fff); box-shadow: 0 6px 20px rgba(13, 26, 23, .16), 0 1px 3px rgba(13, 26, 23, .12);
}
.tk__kereso > .ikon { flex: none; color: var(--td-halk, var(--aq-muted)); }
.tk__kereso input { flex: 1; min-width: 0; height: 48px; padding: 0 6px; border: 0; background: transparent; color: var(--td-szoveg, var(--aq-text)); font: inherit; font-size: 1rem; }
.tk__kereso input:focus { outline: none; }
.tk__kereso:focus-within { box-shadow: 0 0 0 3px var(--aq-accent-vilagos), 0 6px 20px rgba(13, 26, 23, .16); }
.tk__szuro-gomb { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg, var(--aq-deep)); cursor: pointer; }
.tk__szuro-gomb:hover { background: var(--td-felulet-3, #DCE5DE); }
.tk__szuro-db { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--aq-accent-sotet); color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center; }
.tk__sav { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tk__valto { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--td-felulet, #fff); box-shadow: 0 4px 14px rgba(13, 26, 23, .14); }
.tk__valto button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--td-halk, var(--aq-muted)); font: inherit; font-size: .875rem; font-weight: 800; cursor: pointer; }
.tk__valto button .ikon { width: 18px; height: 18px; }
.tk__valto button[aria-selected="true"] { background: var(--aq-deep); color: #fff; }
.tk__szamlalo { min-width: 0; margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--td-felulet-attetszo, rgba(255, 255, 255, .94)); color: var(--td-szoveg, var(--aq-text)); font-size: .8125rem; font-weight: 800; box-shadow: 0 2px 8px rgba(13, 26, 23, .1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk__szamlalo:empty { display: none; }


.tk__hely-gomb {
  position: absolute; right: 10px; bottom: 138px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 14px; background: var(--td-felulet, #fff); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); box-shadow: 0 4px 14px rgba(13, 26, 23, .2); cursor: pointer;
}
.tk__hely-gomb .ikon { width: 22px; height: 22px; }
.tk[data-nezet="lista"] .tk__hely-gomb { display: none; }

.tk__ures {
  position: absolute; left: 12px; right: 12px; top: 172px; z-index: 25; display: grid; gap: 10px; justify-items: start;
  max-width: 420px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--td-felulet, #fff); box-shadow: var(--shadow-card);
}
.tk__ures p { margin: 0; font-size: .9375rem; }
.tk__ures strong { display: block; }

.tk__lista { position: absolute; inset: 0; z-index: 15; overflow-y: auto; overscroll-behavior: contain; padding: 170px 12px 24px; background: var(--td-hatter, var(--aq-paper)); }
.tk__lista-elemek { display: grid; gap: 12px; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.tk__lista .tk-kiemelt, .tk__lista .tk-lista-szam { max-width: 760px; }
.tk__lista > .tk-kiemelt:first-child, .tk__lista > .tk-lista-szam:first-child { margin-top: 14px; }
.tk__lista-elemek > .reklam-elem { grid-column: 1 / -1; }
.tk__lista-ures { display: grid; justify-items: center; gap: 10px; max-width: 420px; margin: 32px auto; text-align: center; color: var(--td-halk, var(--aq-muted)); }
.tk__lista-ures > .ikon { width: 40px; height: 40px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.tk__lista-ures p { margin: 0; }
.tk__lista-ures strong { display: block; color: var(--td-szoveg, var(--aq-text)); }

/* Szűrő-lap (modális) */
.tk-szuro { position: fixed; inset: 0; z-index: 90; display: grid; align-items: end; }
.tk-szuro__hatter { position: absolute; inset: 0; background: rgba(13, 26, 23, .45); opacity: 0; transition: opacity .2s ease; }
.tk-szuro__panel {
  position: relative; display: grid; gap: 16px; max-height: 88dvh; overflow-y: auto;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; background: var(--td-felulet, #fff);
  transform: translateY(100%); transition: transform .22s ease;
}
.tk-szuro--nyitva .tk-szuro__hatter { opacity: 1; }
.tk-szuro--nyitva .tk-szuro__panel { transform: none; }
.tk-szuro__fej { display: flex; align-items: center; justify-content: space-between; }
.tk-szuro__fej h2 { margin: 0; font-size: 1.25rem; }
.tk-szuro__fej .tk-lap__bezar { position: static; }
.tk-szuro__csoport { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.tk-szuro__csoport legend, .tk-szuro__cimke { margin-bottom: 10px; padding: 0; color: var(--td-halk, var(--aq-muted)); font-size: .8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.tk-szuro__lab { display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.tk-szuro__lab .gomb--elsodleges { flex: 1; min-height: 50px; }
.tk-szuro__torol { min-height: 50px; padding: 0 12px; border: 0; background: none; color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

@media (min-width: 900px) {
  .tk__felso { left: 16px; top: 16px; width: 400px; }
  .tk__ures { left: 432px; top: 16px; }
  .tk__lista { padding: 180px 16px 32px; }
  .tk__lista-elemek { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); max-width: 1200px; }
  .tk__lista .tk-kiemelt, .tk__lista .tk-lista-szam { max-width: 1200px; }
  .tk--app .tk-lap { top: 178px; max-height: calc(100% - 194px); }
  .tk-szuro { align-items: center; justify-items: center; }
  .tk-szuro__panel { width: min(520px, 92vw); border-radius: var(--radius-lg); opacity: 0; transform: translateY(16px); transition: transform .2s ease, opacity .2s ease; }
  .tk-szuro--nyitva .tk-szuro__panel { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-szuro__panel, .tk-szuro__hatter { transition: none; }
}

/* ---------- Akciók, követések, eszközök ---------- */

.app-cta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--aq-deep); color: #fff; text-decoration: none; }
.app-cta .ikon { flex: none; width: 28px; height: 28px; color: var(--aq-accent-vilagos); }
.app-fulek { position: relative; display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.app-fulek button { flex: none; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--td-keret, #BFCBC3); border-radius: 999px; background: var(--td-felulet, #fff); font: inherit; font-weight: 800; cursor: pointer; }
.app-fulek button[aria-selected="true"] { border-color: var(--aq-deep); background: var(--aq-deep); color: #fff; }
.app-fulek--szegmens {
  position: sticky; top: calc(58px + env(safe-area-inset-top)); z-index: 30; display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 2px;
  margin: -14px calc(-1 * var(--app-gutter)) 14px; padding: 10px var(--app-gutter); background: var(--td-hatter, var(--aq-paper)); overflow: visible;
}
.app-fulek--szegmens::before { content: ""; position: absolute; inset: 10px var(--app-gutter); z-index: -1; border-radius: 999px; background: var(--td-felulet, #fff); box-shadow: 0 1px 2px rgba(13, 26, 23, .08), 0 4px 12px rgba(13, 26, 23, .06); }
.app-fulek--szegmens button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; margin: 3px 0; padding: 0 6px; border: 0; background: transparent; color: var(--td-halk, var(--aq-muted)); font-size: .875rem; white-space: nowrap; }
.app-fulek--szegmens button:first-child { margin-left: 3px; }
.app-fulek--szegmens button:last-child { margin-right: 3px; }
.app-fulek--szegmens button[aria-selected="true"] { background: var(--aq-deep); color: #fff; }
.app-fulek__db { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg, var(--aq-text)); font-size: .7rem; }
[aria-selected="true"] > .app-fulek__db { background: rgba(255, 255, 255, .2); color: #fff; }
@media (max-width: 374px) { .app-fulek__db { display: none; } }
.app-blokk--figyelo { margin-top: 28px; }
.app-blokk--figyelo .app-bevezeto { margin: -4px 0 12px; }
.app-blokk { margin: 18px 0; padding: 16px; border-radius: var(--radius-md); background: var(--td-felulet, #fff); }
.app-blokk__cim { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1.15rem; }
.app-blokk__cim .ikon { width: 22px; height: 22px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.app-blokk--tamogatas { background: var(--td-felulet-2, #EAF2E8); }
.app-bevezeto { color: var(--td-halk, var(--aq-muted)); }
.app-vissza { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 800; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.app-vissza .ikon { width: 18px; height: 18px; }
.app-eszkozlista { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.app-eszkozlista a { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-md); background: var(--td-felulet, #fff); border: 1px solid var(--td-keret, var(--aq-line)); color: inherit; text-decoration: none; }
.app-eszkozlista a > .ikon:first-child { flex: none; width: 36px; height: 36px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.app-eszkozlista a > .ikon:last-child { margin-left: auto; width: 20px; height: 20px; }
.app-eszkozlista span { display: grid; gap: 2px; }
.app-eszkozlista small { color: var(--td-halk, var(--aq-muted)); }
.app-eszkoz .hh { margin: 0; }
.app-profil .akv-profil__fej { margin-top: 4px; }

.app-panel[hidden] { display: none; }
.app-panel > .gomb { margin-top: 12px; }
.app-alcim { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 1.05rem; }
.app-alcim .ikon { width: 20px; height: 20px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.app-figyelok { display: grid; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.app-figyelo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--td-felulet, #fff); box-shadow: 0 1px 2px rgba(13, 26, 23, .06); }
.app-figyelo__ikon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--td-teal-halvany, #E2F0EE); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.app-figyelo__ikon .ikon { width: 20px; height: 20px; }
.app-figyelo__szoveg { display: grid; gap: 2px; min-width: 0; }
.app-figyelo__szoveg small { color: var(--td-halk, var(--aq-muted)); }
.app-figyelo--szuneteltetett, .app-figyelo--lejart, .app-figyelo--teljesult { opacity: .7; }

.app-eszkoz-kiemelt {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin: 4px 0 8px; padding: 18px;
  border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--aq-water-deep), var(--aq-deep)); color: #fff; text-decoration: none;
}
.app-eszkoz-kiemelt__ikon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--aq-accent-vilagos); }
.app-eszkoz-kiemelt__ikon .ikon { width: 32px; height: 32px; }
.app-eszkoz-kiemelt__szoveg { display: grid; gap: 4px; }
.app-eszkoz-kiemelt__szoveg small { color: var(--aq-accent-vilagos); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.app-eszkoz-kiemelt__szoveg strong { font-size: 1.2rem; }
.app-eszkoz-kiemelt__szoveg > span { color: rgba(255, 255, 255, .8); font-size: .9rem; line-height: 1.45; }
.app-eszkoz-kiemelt__gomb { display: inline-flex; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px; background: var(--td-felulet, #fff); color: var(--td-szoveg, var(--aq-deep)); font-weight: 800; }
.app-eszkoz-kiemelt__gomb .ikon { width: 18px; height: 18px; }
.app-eszkoz-kiemelt:focus-visible { outline: 3px solid var(--aq-accent-sotet); outline-offset: 3px; }
.app-eszkozok .pr-tamogatas { margin-top: 18px; }

/* Akciók: kategóriaválasztó és fülek az akciókereső fölött (a kereső maga: akciokereso.css). */
.app-akciok__fulek { margin: 0 0 12px; }
.app-akciok [data-akcio-panel="figyelo"] .app-bevezeto { margin: 0 0 12px; }

/* ---------- App-shell kiegészítések (§47.11): vissza gomb, teljes képernyős és fókuszált képernyő, „Több” gomb ---------- */
.app-fej__vissza { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: #fff; }
.app-fej__vissza:hover { background: rgba(255, 255, 255, .08); }
.app-fej__vissza .ikon { width: 24px; height: 24px; }
body.app--teljes, body.app--fokusz { padding-bottom: 0; }
.app--teljes .app-tartalom { width: 100%; padding: 0; }
.app-nav button.app-nav__elem { width: 100%; border: 0; background: none; font: inherit; font-size: .75rem; font-weight: 800; cursor: pointer; }
.app-nav__elem[aria-expanded="true"] { color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.app-nav__elem[aria-expanded="true"] .ikon { background: var(--td-teal-halvany, #D9EEE9); }
html.app-gorgetes-zar, html.app-gorgetes-zar body { overflow: hidden; }

/* ---------- QuickDock: alulról nyíló gyorsmenü (natív <dialog>: overlay, fókuszcsapda, Escape) ---------- */
.app-gyorsmenu {
  position: fixed; inset: auto 0 0 0; width: min(640px, 100%); max-width: 100%; max-height: min(86dvh, 720px); margin: 0 auto; padding: 0;
  border: 0; border-radius: 24px 24px 0 0; background: var(--td-hatter, var(--aq-paper)); color: var(--td-szoveg, var(--aq-text)); box-shadow: 0 -12px 40px rgba(13, 26, 23, .28);
  overflow: hidden; overscroll-behavior: contain;
}
.app-gyorsmenu[open] { display: flex; flex-direction: column; }
.app-gyorsmenu::backdrop { background: rgba(13, 26, 23, .5); }
.app-gyorsmenu__fogo { display: grid; place-items: center; flex: none; height: 26px; cursor: grab; touch-action: none; }
.app-gyorsmenu__fogo span { width: 44px; height: 5px; border-radius: 999px; background: #C3CEC7; }
.app-gyorsmenu__fej { display: flex; align-items: center; gap: 12px; flex: none; padding: 0 12px 6px 22px; touch-action: none; }
.app-gyorsmenu__cim { flex: 1; margin: 0; font-size: 1.2rem; }
.app-gyorsmenu__bemutato { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--td-felulet, #fff); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); font: inherit; font-size: .8125rem; font-weight: 800; box-shadow: var(--app-arny-1); cursor: pointer; }
.app-gyorsmenu__bemutato .ikon { width: 18px; height: 18px; }
.app-gyorsmenu__bezar { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--td-felulet-2, var(--aq-surface)); color: var(--td-szoveg, var(--aq-text)); cursor: pointer; }
.app-gyorsmenu__bezar .ikon { width: 20px; height: 20px; }
.app-gyorsmenu__torzs { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px var(--app-gutter, 12px) calc(16px + env(safe-area-inset-bottom)); }
.app-gyorsmenu__csoport + .app-gyorsmenu__csoport { margin-top: 14px; }
/* AquaLog kiemelt sáv a Több menü tetején (T-208, 2026-10-23): széles, mélyvíz-színű kártya a rács fölött. */
.app-gyorsmenu__aqualog { display: flex; align-items: center; gap: 14px; min-height: 76px; margin: 2px 0 16px; padding: 12px 14px 12px 12px; border-radius: 18px;
  background: var(--aq-water-deep, #123D46); color: #fff; text-decoration: none; }
.app-gyorsmenu__aqualog-ikon { display: grid; flex: none; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--aq-accent-vilagos, #9FD3C9); }
.app-gyorsmenu__aqualog-ikon .ikon { width: 26px; height: 26px; }
.app-gyorsmenu__aqualog-szoveg { display: grid; flex: 1; gap: 3px; min-width: 0; }
.app-gyorsmenu__aqualog-szoveg strong { font-size: 1rem; line-height: 1.25; }
.app-gyorsmenu__aqualog-szoveg span { color: rgba(255, 255, 255, .78); font-size: .82rem; line-height: 1.35; }
.app-gyorsmenu__aqualog-nyil { flex: none; width: 20px; height: 20px; color: var(--aq-accent-vilagos, #9FD3C9); }
.app-gyorsmenu__aqualog:focus-visible { outline: 3px solid var(--aq-accent-vilagos, #9FD3C9); outline-offset: 2px; }
.app-gyorsmenu__csoportcim { margin: 0 0 8px; padding: 0 6px; color: var(--td-halk, var(--aq-muted)); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.app-gyorsmenu__racs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
/* Minden csempe azonos: rögzített magasság, 44 px-es ikondoboz, kétsoros feliratsáv (egy- és kétsoros cím is ugyanakkora). */
.app-gyorsmenu__elem {
  display: grid; grid-template-rows: 44px calc(2 * 1.2em); justify-items: center; align-content: center; gap: 7px; height: 92px; padding: 0 6px;
  border-radius: 18px; background: var(--td-felulet, #fff); color: var(--td-szoveg, var(--aq-text)); font-size: .8rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: var(--app-arny-1);
}
.app-gyorsmenu__felirat { display: -webkit-box; align-self: start; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; }
.app-gyorsmenu__elem:hover { background: var(--td-felulet-2, #F3F7F4); }
.app-gyorsmenu__elem:focus-visible { outline: 3px solid var(--aq-accent-sotet); outline-offset: 2px; }
.app-gyorsmenu__elem[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--aq-accent-sotet); }
.app-gyorsmenu__ikon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--td-teal-halvany, #E2F0EE); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.app-gyorsmenu__ikon .ikon { width: 24px; height: 24px; }
.app-gyorsmenu__elem--kiemelt { background: var(--aq-accent-sotet); color: #fff; box-shadow: none; }
.app-gyorsmenu__elem--kiemelt:hover { background: var(--aq-accent-sotetebb); }
.app-gyorsmenu__elem--kiemelt .app-gyorsmenu__ikon { background: rgba(255, 255, 255, .16); color: #fff; }
.app-gyorsmenu__elem--tamogatas .app-gyorsmenu__ikon { background: var(--td-hiba-halvany, #F7E2DC); color: var(--td-hiba-szoveg, #B0442F); }
.app-gyorsmenu__jelveny {
  position: absolute; top: -6px; right: -8px; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: #C4513A; color: #fff; font-size: .72rem; font-weight: 800; box-shadow: 0 0 0 2px #fff;
}
.app-gyorsmenu__jelveny[hidden] { display: none; }
.app-gyorsmenu.app-gyorsmenu--huz { transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .app-gyorsmenu[open] { animation: app-lap-be .24s cubic-bezier(.2, .8, .2, 1); }
  .app-gyorsmenu[open]::backdrop { animation: app-fade-be .2s ease-out; }
}
@keyframes app-lap-be { from { transform: translateY(100%); } to { transform: none; } }
@keyframes app-fade-be { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 720px) {
  .app-gyorsmenu__racs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Képernyőváltás (MPA view transition): css/app-kepernyovaltas.css — csak a PWA app-layout tölti be (T-132). */

/* ---------- App-indító splash: stilizált akvárium, úszó halak (SVG/CSS), csak telepített PWA indulásakor ----------
   Az Android a manifest háttérszínéből (#0D1A17) és az ikonból rajzolja a saját indítóképernyőjét: sötét háttér, középen a
   fehér logó. A splash első képkockája ugyanez — az alapstílus (háttér, pozíció, fehér logó 154 px-en) inline kritikus CSS
   a layout <head>-jében (valasz.php kritikus_splash_css()), hogy ne függjön ettől a fájltól —, erre úszik be az akvárium,
   a felirat és a töltésjelző: egy indításnak hat, fehér villanás és logócsere nélkül. */
.app-splash__nev { position: absolute; left: 0; right: 0; top: calc(50% + 78px); display: grid; justify-items: center; font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; }
.app-splash__nev small { color: var(--aq-accent-vilagos); font-size: .78rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
/* Visszafogott, határozatlan töltésjelző: vékony, lekerekített aqua vonal, amely lassan végigúszik a sávon. */
.app-splash__toltes { position: absolute; left: 50%; top: calc(50% + 150px); width: 132px; height: 3px; margin-left: -66px; overflow: hidden; border-radius: 999px; background: var(--td-teal-attetszo, rgba(159, 211, 201, .16)); }
.app-splash__toltes span { display: block; width: 40%; height: 100%; border-radius: 999px; background: #9FD3C9; opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  html.akv-splash .app-splash__viz { animation: spl-be .2s ease-out both; }
  html.akv-splash .app-splash__nev { animation: spl-nev-be .3s ease-out .08s both; }
  html.akv-splash .app-splash__toltes { animation: spl-be .3s ease-out .15s both; }
  html.akv-splash .app-splash__toltes span { animation: spl-toltes 1.3s cubic-bezier(.45, 0, .55, 1) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .app-splash__toltes span { width: 100%; opacity: .5; }
}
@keyframes spl-toltes { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes spl-be { from { opacity: 0; } to { opacity: 1; } }
@keyframes spl-nev-be { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* A hal-rajzok feje balra néz (szem bal oldalt, farok jobbra): a jobbra úszó halak tükrözve (scaleX(-1)), a balra úszó
   tükrözés nélkül — így mindegyik fejjel előre úszik. */
.app-splash__hal { transform-box: fill-box; transform-origin: center; }
.app-splash__hal--1 { transform: translate(-60px, 470px) scaleX(-1); }
.app-splash__hal--2 { transform: translate(-60px, 548px) scaleX(-1); }
.app-splash__hal--3 { transform: translate(400px, 170px); }
@media (prefers-reduced-motion: no-preference) {
  .app-splash__hal--1 { animation: spl-uszik-1 7s linear infinite; }
  .app-splash__hal--2 { animation: spl-uszik-2 9s linear -3s infinite; }
  .app-splash__hal--3 { animation: spl-uszik-3 8s linear -1s infinite; }
  .app-splash__buborek circle { animation: spl-buborek 3.2s ease-in infinite; }
  .app-splash__buborek circle:nth-child(2) { animation-delay: -1.1s; }
  .app-splash__buborek circle:nth-child(3) { animation-delay: -2.2s; }
  .app-splash__noveny path { transform-box: fill-box; transform-origin: 50% 100%; animation: spl-ring 4s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .app-splash__hal--1 { transform: translate(90px, 470px) scaleX(-1); }
  .app-splash__hal--2 { transform: translate(200px, 548px) scaleX(-1); }
  .app-splash__hal--3 { transform: translate(250px, 170px); }
}
@keyframes spl-uszik-1 { from { transform: translate(-60px, 470px) scaleX(-1); } 50% { transform: translate(160px, 462px) scaleX(-1); } to { transform: translate(420px, 476px) scaleX(-1); } }
@keyframes spl-uszik-2 { from { transform: translate(-60px, 548px) scaleX(-1); } 50% { transform: translate(180px, 556px) scaleX(-1); } to { transform: translate(420px, 544px) scaleX(-1); } }
@keyframes spl-uszik-3 { from { transform: translate(400px, 170px); } 50% { transform: translate(180px, 162px); } to { transform: translate(-60px, 176px); } }
@keyframes spl-buborek { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-220px); opacity: 0; } }
@keyframes spl-ring { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }

/* Alképernyő (AKV.appAlkepernyo, pl. megnyitott profilmodul): a cím a felső sávban van, a Támogatás és a belső „‹ Profil” sor nem látszik. */
.app-fej__logo[hidden], .app-fej__vissza[hidden] { display: none; }
.app--alkepernyo .app-fej__tamogatas { display: none; }
.app--alkepernyo .pr-modul__fej { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button.app-fej__vissza { border: 0; background: none; cursor: pointer; }

/* Ajánlat részlete az app-kereten belül. */
.akcio-oldal--app { display: grid; gap: 14px; }
.akcio-oldal--app .uzlet-doboz { margin: 0; }

/* ---------- PWA-natív alképernyők (§47.16): üzletadatlap, támogatás, eszközök, üres állapot ---------- */

.app-ures h2 { margin: 0; }
.app-ures p { max-width: 36ch; margin: 0; }

/* Üzletadatlap (/alkalmazas/uzlet/<slug>): fejléckártya → műveletsor → szakaszok kártyákon. */
.au { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.au-fej { display: grid; gap: 10px; padding: 4px 0 0; }
.au-fej__sor { display: flex; align-items: center; gap: 12px; min-width: 0; }
.au-fej__logo { flex: none; width: 64px; height: 64px; border-radius: var(--app-r-m); object-fit: contain; background: var(--td-hatter, var(--aq-paper)); }
.au-fej__logo--jel { display: grid; place-items: center; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.au-fej__logo--jel .ikon { width: 32px; height: 32px; }
.au-fej__cimek { display: grid; gap: 2px; min-width: 0; }
.au-fej__nev { margin: 0; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.au-fej__tipus { margin: 0; color: var(--td-halk, var(--aq-muted)); font-size: .875rem; font-weight: 700; }
.au-fej__jelek { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.au-fej__ertekeles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: .9375rem; }
.au-fej__ertekeles a { color: var(--td-halk, var(--aq-muted)); font-weight: 700; }
.au-fej__cim { display: flex; gap: 8px; margin: 0; font-size: .9375rem; }
.au-fej__cim .ikon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--td-teal-szoveg, var(--aq-accent-sotet)); }
.au-fej__cim small { display: block; color: var(--td-halk, var(--aq-muted)); }
.au-fej__rovid { margin: 0; color: var(--td-halk, var(--aq-muted)); font-size: .9375rem; }

.au-muveletek { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px 0; border-block: 1px solid var(--td-keret, var(--aq-line)); }
.au-muvelet[hidden] { display: none; }
.au-muvelet {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 68px; padding: 8px 4px;
  border: 0; border-radius: var(--app-r-m); background: none; color: var(--td-szoveg, var(--aq-text));
  font: inherit; font-size: .8125rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer;
}
.au-muvelet .ikon { width: 24px; height: 24px; color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.au-muvelet:hover { background: var(--td-felulet-2, #F3F7F4); }
.au-muvelet:focus-visible { outline: 3px solid var(--aq-accent-sotet); outline-offset: 2px; }
.au-muvelet[aria-pressed="true"] { background: var(--td-teal-halvany, #E2F0EE); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.au-muvelet[aria-pressed="true"] .ikon { fill: currentColor; }
.au-cegkovetes { margin: -4px 0 0; text-align: center; }
.au-osszes { border-bottom: 1px solid var(--td-keret, var(--aq-line)); border-radius: 0; background: none; box-shadow: none; }
.au-cegkovetes .akv-link-gomb { min-height: 44px; }

.au-szakasz .app-alcim, .au-kartya .app-alcim { margin: 0 0 10px; }
.au-kartya { padding: 16px 0 0; border-top: 1px solid var(--td-keret, var(--aq-line)); }
.au-kartya > p { margin: 0 0 10px; }
.au-kartya .uzlet-alcim:first-of-type { margin-top: 12px; }
.au .nyitvatartas { font-size: .9375rem; }
.au .nyitvatartas th, .au .nyitvatartas td { padding: 9px 4px; }
.au-terkep { display: grid; overflow: hidden; border: 1px solid var(--td-keret, var(--aq-line)); border-radius: var(--app-r-l); background: var(--td-felulet, #fff); }
/* position: a lustán betöltött Leaflet abszolút rétegeit a doboz vágja (különben a csempék vízszintes görgetést okoznak). */
.au-terkep .uzlet-terkep { position: relative; height: 200px; border-radius: 0; }
.au-terkep .app-sor { border-top: 1px solid var(--td-keret, #E6ECE7); }
.au-galeria { display: flex; gap: 10px; overflow-x: auto; margin: 0 calc(-1 * var(--app-gutter)); padding: 2px var(--app-gutter) 8px; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.au-galeria::-webkit-scrollbar { display: none; }
.au-galeria li { flex: none; width: min(78vw, 320px); scroll-snap-align: start; }
.au-galeria img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: var(--app-r-m); }
.au-ertekelesek .ertekeles-osszesito { grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 14px; }
.au-ertekelesek .ertekeles-osszesito__atlag strong { font-size: 2.2rem; }
.au-ertekelesek .ertekeles-iras { display: grid; }
.au-ertekelesek .ertekeles-iras .gomb { justify-content: center; min-height: 48px; }
.au-rendezes { margin-bottom: 10px; }
.au .ertekeles { padding: 14px 0; scroll-margin-top: calc(72px + env(safe-area-inset-top)); }
.au .ertekeles__lab .akv-kis-gomb { min-height: 44px; }
.au .ertekeles__valasz { margin-left: 0; }
@media (max-width: 374px) {
  .au-muvelet { font-size: .75rem; }
  .au-ertekelesek .ertekeles-osszesito { grid-template-columns: 1fr; }
}
@media (min-width: 720px) {
  .au-fej__nev { font-size: 1.55rem; }
}

/* Eszközök: a tananyag kalkulátorblokkja app-kerettel (a blokkok webes margója itt nincs). */
.app-eszkoz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.app-eszkoz .mk, .app-eszkoz .hh { margin: 0; }
.app-eszkoz__offline { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--td-halk, var(--aq-muted)); font-size: .875rem; font-weight: 700; }
.app-eszkoz__offline .ikon { width: 16px; height: 16px; color: var(--aq-plant); }
.app-eszkoz__cikk { border-radius: var(--app-r-m); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); }
.app-eszkoz--novenyajanlo .tananyag { background: transparent; }
.nva--app .shell { width: 100%; }
.nva--app .nva-urlap { margin-top: 0; }
.nva--app .nva-app-bevezeto { margin: 0 0 12px; }
.nva--app .nva-gyik { margin: 28px 0 8px; }
.nva--app .nva-torles { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 899px) { .nva--app .nva-gyors { margin-inline: calc(-1 * var(--app-gutter)); padding-inline: var(--app-gutter); } }
.app-offline .app-eszkozlista { margin-top: 4px; }

/* Támogatás (/alkalmazas/tamogatas): a közös űrlap lapként (tamogatas.js), a képernyő saját kártyákkal. */
.at { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.at-hero { display: grid; gap: 10px; padding: 18px; border-radius: var(--app-r-l); background: var(--aq-deep); color: #fff; }
.at-hero__felirat { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #F3B6A6; font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.at-hero__felirat .ikon { width: 16px; height: 16px; }
.at-hero__cim { margin: 0; color: #fff; font-size: 1.3rem; line-height: 1.25; }
.at-hero__lead { margin: 0; color: rgba(255, 255, 255, .86); line-height: 1.5; }
.at-hero .at-tobb summary { color: var(--aq-accent-vilagos); }
.at-hero .at-tobb p { color: rgba(255, 255, 255, .82); }
.at-hero__kiemeles { font-weight: 800; }
.at-tobb summary { display: flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; cursor: pointer; list-style: none; }
.at-tobb summary::-webkit-details-marker { display: none; }
.at-tobb summary .ikon { width: 18px; height: 18px; transition: transform .15s ease; }
.at-tobb[open] summary .ikon { transform: rotate(180deg); }
.at-tobb p { margin: 0 0 10px; line-height: 1.55; }
.at-uzenet { margin: 0; }
.at-altalanos { display: grid; gap: 10px; padding: 18px; border-radius: var(--app-r-l); background: var(--td-felulet-2, #EAF2E8); }
.at-altalanos__cim { margin: 0; font-size: 1.15rem; }
.at-altalanos__lead { margin: 0; font-weight: 700; }
.at-altalanos__cimke { margin: 4px 0 0; color: var(--td-halk, var(--aq-muted)); font-size: .8125rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.at-osszegek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.at-osszeg { display: grid; place-items: center; min-height: 48px; border-radius: var(--app-r-s); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); color: var(--td-szoveg, var(--aq-text)); font-weight: 800; text-decoration: none; }
.at-osszeg:hover { background: var(--td-felulet-2, #F3F7F4); }
.at-altalanos .gomb { justify-content: center; min-height: 50px; }
.at-altalanos__megj { margin: 0; color: var(--td-halk, var(--aq-muted)); font-size: .875rem; }
.at-bevezeto { margin: -4px 0 10px; }
.at-celok { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.at-cel { overflow: hidden; border-radius: var(--app-r-l); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); }
.at-cel__kep img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.at-cel__torzs { display: grid; gap: 8px; padding: 14px 16px 16px; }
.at-cel__cim { margin: 0; font-size: 1.1rem; }
.at-cel__lead { margin: 0; color: var(--td-halk, var(--aq-muted)); }
.at-cel .tprogress { margin-top: 4px; }
.at-cel__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.at-cel__cta .gomb { justify-content: center; min-height: 48px; }
.at-cel__kesz { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--aq-plant); font-weight: 800; }
.at-cel__kesz .ikon { width: 18px; height: 18px; }
.at-eredmeny { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.at-eredmeny li { display: flex; gap: 8px; }
.at-eredmeny .ikon { flex: none; width: 18px; height: 18px; color: var(--aq-plant); }
.app--tamogatas { --t-hiba: #A3341F; --t-kijelolt: #EEF4EF; }
.app--tamogatas .turlap-szekcio { padding: 4px 0 8px; }
.app--tamogatas .turlap-szekcio .shell { width: 100%; }
.app--tamogatas .turlap-szekcio__bevezeto { padding: 18px; border-radius: var(--app-r-l); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); }
.app--tamogatas .turlap-szekcio__bevezeto .szekciocim { font-size: 1.2rem; }
.app--tamogatas .turlap-szekcio__bevezeto p { margin: 8px 0 14px; }
.app--tamogatas .tpanel:modal { padding-top: env(safe-area-inset-top); }
.app--tamogatas .tpanel__lab { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }

/* Támogatás állapota a Barion után. */
.at-allapot { display: grid; justify-items: center; gap: 10px; padding: 24px 16px; border-radius: var(--app-r-l); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); text-align: center; }
.at-allapot__ikon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--td-teal-halvany, #E2F0EE); color: var(--td-teal-szoveg, var(--aq-accent-sotetebb)); }
.at-allapot__ikon .ikon { width: 32px; height: 32px; }
.at-allapot--sikeres .at-allapot__ikon { background: var(--td-hiba-halvany, #F7E2DC); color: var(--td-hiba-szoveg, #B0442F); }
.at-allapot--sikertelen .at-allapot__ikon, .at-allapot--ismeretlen .at-allapot__ikon { background: var(--td-hiba-halvany, #FBE9E4); color: var(--td-hiba-szoveg, #A3372A); }
.at-allapot__jel { margin: 0; color: var(--td-halk, var(--aq-muted)); font-size: .8125rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.at-allapot__cim { margin: 0; font-size: 1.35rem; }
.at-allapot__szoveg { max-width: 44ch; margin: 0; color: var(--td-halk, var(--aq-muted)); line-height: 1.55; }
.at-allapot__adatok { width: 100%; text-align: left; }
.at-allapot__adatok .app-sor { cursor: default; }
.at-allapot__adatok .app-sor__szoveg small { white-space: normal; }
.at-allapot__gombok { display: grid; gap: 8px; width: 100%; margin-top: 6px; }
.at-allapot__gombok .gomb { justify-content: center; min-height: 50px; }
.at-allapot__teszt { white-space: normal; }
.at-allapot__toltes { width: 132px; height: 4px; overflow: hidden; border-radius: 999px; background: var(--td-teal-halvany, #E2F0EE); }
.at-allapot__toltes span { display: block; width: 40%; height: 100%; border-radius: 999px; background: var(--aq-accent-sotet); }
@media (prefers-reduced-motion: no-preference) { .at-allapot__toltes span { animation: spl-toltes 1.3s cubic-bezier(.45, 0, .55, 1) infinite; } }

/* YouTube-híd (az új videó push-értesítésének célja). */
.app-youtube { display: grid; justify-items: center; gap: 10px; max-width: 420px; margin: 24px auto; padding: 26px 18px; border-radius: var(--app-r-l); background: var(--td-felulet, #fff); box-shadow: var(--app-arny-1); text-align: center; }
.app-youtube__ikon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--td-hiba-halvany, #FBE9E4); color: var(--td-hiba-szoveg, #C4302B); }
.app-youtube__ikon .ikon { width: 32px; height: 32px; }
.app-youtube__cim { margin: 4px 0 0; font-size: 1.25rem; }
.app-youtube__szoveg { margin: 0 0 6px; color: var(--td-halk, var(--aq-muted)); }
.app-youtube .gomb { justify-content: center; min-height: 50px; }
