:root {
  --palack: #103c2c; --level: #1b8551; --tinta: #16201b; --kod: #f0f3f0; --meggy: #c4322f; --citrom: #c98f08;
  --hatter: #fff; --lap: #fff; --lap2: var(--kod); --lap3: #e2e7e2; --szoveg: var(--tinta); --szoveg2: #414c45; --halvany: #6b766f;
  --vonal: #e3e8e3; --vonal2: #b9c3bb;
  --zold: var(--level); --zold-h: #e6f3eb; --zold-szoveg: #fff; --piros: var(--meggy); --piros-h: #fbeceb; --sarga: var(--citrom); --sarga-h: #fbf1d6;
  --fo: var(--palack); --fo-szoveg: #fff; --uveg: rgba(255, 255, 255, .88); --arnyek: rgba(16, 60, 44, .22); --fokusz: var(--palack); --fokusz-h: rgba(16, 60, 44, .12);
  --sugar: 14px; --ido: .14s ease-out;
  color-scheme: light;
}
@font-face { font-family: Hanken; src: url(hanken-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Hanken; src: url(hanken-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@view-transition { navigation: auto; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 0; overflow-x: clip; font: 16px/1.45 Hanken, -apple-system, "Segoe UI", system-ui, Roboto, sans-serif; background: var(--hatter); color: var(--szoveg); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overscroll-behavior-x: none; }
a { color: var(--zold); text-decoration: none; }
h1 { margin: 0 0 20px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h2 { margin: 34px 0 12px; font-size: 20px; line-height: 1.2; font-weight: 750; letter-spacing: -.01em; }
h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 600; }
p { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { width: 100%; min-width: 0; min-height: 46px; padding: 8px 12px; border: 1px solid transparent; border-radius: 10px; background: var(--lap2); transition: border-color var(--ido), box-shadow var(--ido), background var(--ido); }
input:focus, select:focus, textarea:focus { outline: 0; background: var(--lap); border-color: var(--fokusz); box-shadow: 0 0 0 4px var(--fokusz-h); }
input[type=checkbox], input[type=radio] { width: 22px; min-height: 22px; height: 22px; padding: 0; accent-color: var(--zold); }
input[type=date] { min-width: 0; }
label { display: block; min-width: 0; font-size: 13px; color: var(--halvany); }
label > input, label > select, label > textarea { margin-top: 4px; color: var(--szoveg); font-size: 16px; }
button, .gomb2 { min-height: 46px; max-width: 100%; padding: 0 18px; border: 1px solid var(--vonal2); border-radius: 10px; background: var(--lap); cursor: pointer; color: var(--szoveg); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: transform var(--ido), background var(--ido), border-color var(--ido), opacity var(--ido); user-select: none; }
button:hover, .gomb2:hover { background: var(--lap2); border-color: var(--szoveg2); }
button:active, .gomb2:active { transform: scale(.97); }
button:focus-visible, a:focus-visible, .gomb2:focus-visible { outline: 3px solid var(--level); outline-offset: 2px; }
button.fo, .gomb2.fo { border-color: var(--fo); background: var(--fo); color: var(--fo-szoveg); font-weight: 650; }
button.fo:hover, .gomb2.fo:hover { background: #0a2b1f; border-color: #0a2b1f; }
button.veszely { color: var(--piros); }
button:disabled { opacity: .4; cursor: default; transform: none; }
button.kicsi, .gomb2.kicsi { min-height: 36px; padding: 0 14px; font-size: 14px; }
.halvany { color: var(--halvany); }
.jobb { text-align: right; }
.piros { color: var(--piros); font-weight: 600; }
.zold { color: var(--zold); font-weight: 600; }
.kis { display: block; font-size: 13px; font-weight: 400; color: var(--halvany); }
svg.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.menu { position: fixed; inset: 0 auto 0 0; width: 252px; display: flex; flex-direction: column; padding: 18px 12px 12px; background: var(--palack); color: #fff; z-index: 20; }
.marka { display: flex; align-items: center; gap: 12px; padding: 4px 10px 18px; color: inherit; font-weight: 750; letter-spacing: -.01em; }
.marka i, .avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--fo); color: var(--fo-szoveg); font-style: normal; font-weight: 800; font-size: 14px; }
.menu .marka i, .menu .avatar { background: #fff; color: var(--palack); }
.marka span { min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .pontok { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.menu .pontok::-webkit-scrollbar { display: none; }
.menu .cs { padding: 16px 12px 4px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.menu .pontok a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 10px; color: rgba(255, 255, 255, .82); white-space: nowrap; transition: background var(--ido), color var(--ido); }
.menu .pontok a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu .pontok a.aktiv { background: #fff; color: var(--palack); font-weight: 700; }
.menu .en { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px; border-radius: var(--sugar); background: rgba(255, 255, 255, .08); }
.menu .en a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; font-weight: 600; }
.menu .en a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .en small { display: block; font-weight: 400; color: rgba(255, 255, 255, .6); }
.menu .en .avatar { border-radius: 50%; }
.menu .vh-gomb { display: block; margin-top: 8px; padding: 9px 12px; border-radius: var(--sugar); background: var(--meggy); color: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.menu .vh-gomb:hover { background: #a82926; }
button.vh { background: var(--meggy); border-color: var(--meggy); color: #fff; font-weight: 700; }
button.vh:hover:not(:disabled) { background: #a82926; }
button.vh:disabled { opacity: .45; }
.vh-doboz { max-width: 560px; margin-bottom: 14px; padding: 18px; border: 2px solid var(--meggy); border-radius: var(--sugar); background: #fdf4f3; }
.vh-doboz h2 { margin: 0 0 8px; }
.vh-doboz ol { margin: 0 0 14px 20px; padding: 0; }
.vh-sor { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 12px 0; }
.vh-sor label { flex: 1 1 200px; min-width: 0; }
.menu .en button, .menu .zar { width: 40px; min-height: 40px; padding: 0; border-radius: 50%; border-color: rgba(255, 255, 255, .25); background: none; color: #fff; }
.menu .en button:hover, .menu .zar:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.menu .zar, .felso, .also { display: none; }
main.lap { margin-left: 252px; min-width: 0; max-width: 1280px; padding: 32px 36px 48px; }
main.lap > * { max-width: 100%; }
main.kint { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 16px; background: var(--palack); }
.belep { width: 100%; max-width: 380px; padding: 30px 26px; background: var(--lap); border-radius: 20px; display: grid; gap: 14px; }
.belep h1 { font-size: 24px; margin: 0 0 4px; }
.belep button.fo { min-height: 52px; margin-top: 6px; }

.uz { margin-bottom: 18px; padding: 12px 16px; border-radius: 14px; background: var(--zold-h); color: var(--zold); font-weight: 500; overflow-wrap: anywhere; animation: be .25s var(--ido); }
.uz.hiba { background: var(--piros-h); color: var(--piros); }
@keyframes be { from { opacity: 0; transform: translateY(-6px); } }
.doboz { margin-bottom: 16px; padding: 18px; background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); min-width: 0; }
.doboz h2 { margin-top: 0; }
.sorban { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; min-width: 0; }
.sorban > label { flex: 1 1 150px; }
.sorban > label.keskeny { flex: 1 1 130px; max-width: 200px; }
form.sorban > .kicsi { min-height: 46px; }
.muv { flex-wrap: nowrap; }
.muv > .kicsi { min-height: 40px; }
.fejsor { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.fejsor h1 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.racs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-bottom: 16px; border: 1px solid var(--vonal); border-radius: var(--sugar); overflow: hidden; background: var(--lap); }
.csempe { position: relative; display: block; min-width: 0; padding: 18px 20px; color: var(--szoveg2); font-size: 14px; box-shadow: 1px 0 0 var(--vonal), 0 1px 0 var(--vonal); transition: background var(--ido); }
.csempe > .kis, .csempe > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csempe b { display: block; margin: 2px 0; color: var(--szoveg); font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csempe .kis b { display: inline; margin: 0; font-size: inherit; letter-spacing: 0; }
.csempe.figyelj b { color: var(--piros); }
a.csempe { cursor: pointer; }
a.csempe:hover { background: var(--lap2); }
a.csempe:active { background: var(--lap3); }
.kartya::after, tr.katt > td:last-child::after, .racs.lista a.csempe::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -5px; border-right: 2px solid var(--vonal2); border-top: 2px solid var(--vonal2); transform: rotate(45deg); }
.racs.lista { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.racs.lista .csempe { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 40px 10px 18px; font-size: 16px; color: var(--szoveg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.racs.lista .csempe b { flex: none; min-width: 44px; margin: 0; padding: 4px 10px; border-radius: 9px; background: var(--kod); font-size: 18px; letter-spacing: -.01em; text-align: center; overflow: visible; }
.racs.lista .csempe.figyelj b { background: var(--piros-h); }
.ures { padding: 40px 16px; text-align: center; color: var(--halvany); }

.gordul { overflow-x: auto; background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); margin-bottom: 16px; min-width: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--vonal); vertical-align: middle; overflow-wrap: break-word; }
th { font-size: 13px; color: var(--halvany); font-weight: 600; white-space: nowrap; background: var(--kod); }
tr:last-child td { border-bottom: 0; }
td.szam, th.szam { text-align: right; white-space: nowrap; }
td input, td select { min-height: 40px; padding: 4px 10px; }
td a { font-weight: 600; }
tr.katt td a { color: inherit; }
tr.katt { cursor: pointer; transition: background var(--ido); }
tr.katt:hover { background: var(--lap2); }
tr.katt:active { background: var(--lap3); }
tr.katt > td:last-child { position: relative; padding-right: 36px; }

.jel { display: inline-block; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; background: var(--lap3); white-space: nowrap; }
.jel.nyitott, .jel.uj, .jel.piszkozat { background: var(--sarga-h); color: var(--sarga); }
.jel.jovahagyva, .jel.atadva, .jel.kesz, .jel.elkuldve, .jel.beerkezett, .jel.lezart { background: var(--zold-h); color: var(--zold); }
.jel.hiba, .jel.lejart { background: var(--piros-h); color: var(--piros); }
.fulek, .szuro { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin-bottom: 18px; padding: 4px; border-radius: 12px; background: var(--kod); }
.fulek a, .szuro button { min-height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border: 0; border-radius: 9px; background: none; color: var(--halvany); font-weight: 500; white-space: nowrap; transition: background var(--ido), color var(--ido); }
.fulek a:hover, .szuro button:hover { color: var(--szoveg); background: none; }
.fulek a.aktiv, .szuro button[aria-pressed=true] { background: var(--lap); color: var(--palack); font-weight: 700; box-shadow: 0 1px 3px rgba(16, 60, 44, .18); }
.ket-oszlop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.ket-oszlop > div { padding: 4px 0 0; overflow: hidden; background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); min-width: 0; }
.ket-oszlop h3 { margin: 12px 14px 8px; font-size: 16px; }

.oszlopok { display: flex; align-items: end; gap: 6px; height: 150px; }
.oszlopok > * { flex: 1; min-width: 0; background: #cfe0d5; border-radius: 4px 4px 0 0; position: relative; transition: background var(--ido), transform var(--ido); transform-origin: bottom; }
.oszlopok > *:last-child { background: var(--level); }
.oszlopok > a:hover { background: var(--palack); transform: scaleY(1.04); }
.oszlopok span { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--halvany); }

.fa { list-style: none; margin: 0; padding: 0; }
.fa .fa { margin-left: 18px; padding-left: 12px; border-left: 1px solid var(--vonal); }
.vagas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; padding: 12px 14px; margin-bottom: 8px; background: var(--lap); border: 1px solid var(--vonal); border-radius: 14px; }
.vagas .nev { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.vagas.csont { box-shadow: inset 4px 0 0 var(--sarga); }
.vagas.selejt { box-shadow: inset 4px 0 0 var(--piros); }
.vagas details { flex-basis: 100%; }
summary { cursor: pointer; color: var(--zold); font-size: 14px; }
.sav { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--lap3); margin: 10px 0; }
.sav i { display: block; }
.sav .r { background: var(--zold); } .sav .c { background: var(--sarga); } .sav .s { background: var(--piros); }

.bevet-fej { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.bevet-fej h1 { margin: 0; font-size: 26px; min-width: 0; overflow-wrap: anywhere; }
.vissza { width: 46px; padding: 0; font-size: 24px; flex: none; }
#tartalom { max-width: 760px; padding-bottom: 100px; }
.kartya { position: relative; display: block; width: 100%; min-height: 0; margin-bottom: 10px; padding: 16px 40px 16px 18px; border-radius: var(--sugar); border-color: var(--vonal); background: var(--lap); text-align: left; white-space: normal; font-weight: 400; }
.kartya strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.kartya .also { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 4px; color: var(--halvany); font-size: 14px; position: static; border: 0; background: none; padding: 0; height: auto; }
.adat { margin: 0 0 12px; color: var(--halvany); font-size: 14px; }
.tetel { margin-bottom: 10px; padding: 14px; border: 1px solid var(--vonal); border-radius: var(--sugar); background: var(--lap); box-shadow: inset 4px 0 0 var(--lap3); min-width: 0; }
.tetel.igen { box-shadow: inset 4px 0 0 var(--zold); }
.tetel.nem { box-shadow: inset 4px 0 0 var(--piros); background: linear-gradient(90deg, var(--piros-h), var(--lap) 60%); }
.tetel .nev { font-weight: 600; overflow-wrap: anywhere; }
.tetel .kod { color: var(--halvany); font-size: 13px; }
.tetel .sor { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.tetel .menny { flex: 1; min-width: 0; font-size: 15px; }
.gomb { width: 56px; min-height: 50px; padding: 0; font-size: 22px; flex: none; }
.gomb.igen[aria-pressed=true] { background: var(--zold); border-color: var(--zold); color: var(--zold-szoveg); }
.gomb.nem[aria-pressed=true] { background: var(--piros); border-color: var(--piros); color: #fff; }
.mezok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.mezok .szeles { grid-column: 1 / -1; }
.mezok .oszt span { display: flex; gap: 8px; }
.mezok .oszt span[hidden] { display: none; }
.mezok .oszt input { flex: 1; min-width: 0; }
.elter { color: var(--piros); font-weight: 600; }
.lab { position: fixed; left: 252px; right: 0; bottom: 0; padding: 12px 36px calc(12px + env(safe-area-inset-bottom)); background: var(--uveg); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--vonal); z-index: 9; }
.lab > div { display: flex; align-items: center; gap: 12px; max-width: 760px; }
.lab .allas { flex: 1; min-width: 0; font-size: 14px; color: var(--halvany); }
.lab .allas b { display: block; color: var(--szoveg); font-size: 16px; }
.uzenet { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 12px 18px; border-radius: 12px; background: var(--tinta); color: var(--fo-szoveg); font-weight: 600; z-index: 30; box-shadow: 0 12px 40px var(--arnyek); }
.uzenet.hiba { background: var(--piros); color: #fff; }

.cimkek { display: flex; flex-wrap: wrap; gap: 4mm; }
.cimke { width: calc(var(--csz, 40) * 1mm); max-width: 100%; height: calc(var(--cm, 25) * 1mm); padding: calc(var(--cm, 25) * .05mm) calc(var(--cm, 25) * .07mm); background: #ffe45c; color: #000; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; break-inside: avoid; font-family: Arial, Helvetica, sans-serif; }
.cimke .n { font-weight: 700; font-size: calc(var(--cm, 25) * .115mm); line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cimke .regi { font-size: calc(var(--cm, 25) * .095mm); line-height: 1; text-decoration: line-through; }
.cimke .uj { font-size: calc(var(--cm, 25) * .27mm); font-weight: 800; line-height: 1; white-space: nowrap; }
.cimke .uj small { font-size: 45%; font-weight: 700; }
.cimke .l { font-size: calc(var(--cm, 25) * .075mm); line-height: 1; display: flex; justify-content: space-between; white-space: nowrap; }

.pipa-sor { display: flex; align-items: center; gap: 8px; min-height: 46px; flex: 0 0 auto; font-size: 15px; color: var(--szoveg); white-space: nowrap; }
.pipa-sor input { margin: 0; }
.pipak label { display: flex; gap: 8px; align-items: center; font-size: 16px; color: var(--szoveg); }
kbd { margin-left: 6px; padding: 1px 6px; border: 1px solid currentColor; border-radius: 6px; font: 12px/1.4 inherit; opacity: .6; }
.kassza { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 16px; height: calc(100vh - 80px); height: calc(100dvh - 80px); }
.k-bal { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.k-fej { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 12px; color: var(--halvany); }
.k-fej b { color: var(--szoveg); font-size: 20px; }
.k-fej span { flex: 1; min-width: 0; }
.k-be { position: relative; }
.k-be input { min-height: 60px; font-size: 20px; border-radius: 12px; padding: 8px 18px; }
.k-tal { position: absolute; z-index: 3; left: 0; right: 0; top: 66px; background: var(--lap2); border: 1px solid var(--vonal); border-radius: 12px; box-shadow: 0 16px 40px var(--arnyek); overflow: hidden; background: var(--lap); }
.k-tal button { width: 100%; justify-content: space-between; border: 0; border-bottom: 1px solid var(--vonal); border-radius: 0; background: none; white-space: normal; text-align: left; }
.k-sorok { flex: 1; overflow-y: auto; margin-top: 12px; background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); }
.k-sor { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--vonal); cursor: pointer; transition: background var(--ido); }
.k-sor:hover { background: var(--lap2); }
.k-sor .n { min-width: 0; overflow-wrap: anywhere; }
.k-sor .m { color: var(--halvany); font-size: 14px; white-space: nowrap; }
.k-sor b { min-width: 84px; text-align: right; white-space: nowrap; }
.k-sor.betet { color: var(--halvany); padding-left: 32px; cursor: default; }
.k-sor.utolso { background: var(--zold-h); }
.k-jobb { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.k-vevo { padding: 12px 16px; border-radius: 14px; background: var(--sarga-h); color: var(--sarga); font-weight: 600; }
.k-ossz { padding: 20px; border-radius: var(--sugar); background: var(--fo); color: var(--fo-szoveg); }
.k-ossz span, .k-ossz small { display: block; opacity: .65; font-weight: 500; }
.k-ossz b { display: block; font-size: 46px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.kassza.visszaru .k-ossz { background: var(--piros); color: #fff; }
.k-gombok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.k-gombok button { min-height: 58px; padding: 0 8px; font-size: 15px; }
.k-gombok .fo { grid-column: 1 / -1; min-height: 72px; font-size: 20px; border-radius: var(--sugar); }
dialog { width: min(520px, calc(100% - 24px)); padding: 24px; border: 0; border-radius: 18px; background: var(--lap); color: var(--szoveg); box-shadow: 0 24px 70px var(--arnyek); }
dialog[open] { animation: fel .22s var(--ido); }
@keyframes fel { from { opacity: 0; transform: translateY(14px) scale(.98); } }
dialog::backdrop { background: rgba(16, 60, 44, .55); }
dialog h2 { margin: 0 0 16px; font-size: 22px; }
dialog h2.piros { color: var(--piros); }
dialog input { min-height: 56px; font-size: 22px; }
.k-fiz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-vj { font-size: 18px; }
.k-nagy { font-size: 22px; } .k-nagy b { font-size: 36px; letter-spacing: -.02em; }
.k-ptg { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--sarga-h); font-size: 18px; }
.bs { display: flex; justify-content: space-between; gap: 12px; }
.blokk { width: 72mm; max-width: 100%; padding: 4mm; background: #fff; color: #000; font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; border-radius: 4px; }
.blokk hr { border: 0; border-top: 1px dashed #000; }
.cimletek { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); gap: 8px; }
.polccimkek { display: flex; flex-wrap: wrap; gap: 2mm; }
.polccimke { width: 62mm; max-width: 100%; height: 34mm; padding: 2.5mm; background: #fff; color: #000; border-radius: 4px; display: flex; flex-direction: column; justify-content: space-between; break-inside: avoid; }
.polccimke .n { font-weight: 700; font-size: 11pt; line-height: 1.15; }
.polccimke .a { font-size: 24pt; font-weight: 800; line-height: 1; text-align: right; }
.polccimke .l { font-size: 7.5pt; display: flex; justify-content: space-between; }

.h-ket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px; align-items: start; }
.h-ket .vagas { min-height: 60px; font-size: 18px; color: var(--szoveg); }
.h-ket .vagas a.nev { color: var(--szoveg); align-self: stretch; display: flex; align-items: center; }
.h-ket .vagas.kijelolt { border-color: var(--palack); box-shadow: 0 0 0 1px var(--palack); }
.h-ket .vagas button { width: 48px; min-height: 48px; padding: 0; flex: none; }
.h-be { position: sticky; top: 16px; padding: 16px; background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); min-width: 0; }
.h-cim { font-size: 20px; font-weight: 700; margin-bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.h-reszek { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.h-reszek button { min-height: 52px; white-space: normal; font-size: 14px; line-height: 1.15; font-weight: 700; padding: 4px; text-wrap: balance; background: var(--kod); border-color: transparent; }
.h-reszek .csont { box-shadow: inset 0 -4px 0 var(--sarga); }
.h-reszek .selejt { box-shadow: inset 0 -4px 0 var(--piros); }
.h-reszek .kijelolt { background: var(--fo); border-color: var(--fo); color: var(--fo-szoveg); }
.h-kijelzo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 8px; margin-bottom: 10px; }
.h-kijelzo input { min-height: 56px; font-size: 22px; font-weight: 700; }
.h-kijelzo div { position: relative; }
.h-kijelzo div input { text-align: right; padding-right: 42px; }
.h-kijelzo div span { position: absolute; right: 12px; top: 16px; color: var(--halvany); }
.szamlap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.szamlap button { min-height: 58px; font-size: 26px; font-weight: 700; }
.h-ok { width: 100%; min-height: 62px; margin-top: 10px; font-size: 22px; border-radius: 12px; }
.h-fajta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 8px; margin-bottom: 12px; }
.h-fajta label { position: relative; }
.h-fajta input { position: absolute; opacity: 0; width: 0; min-height: 0; height: 0; }
.h-fajta span { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 4px 8px; border: 1px solid transparent; border-radius: 10px; background: var(--lap2); font-size: 18px; font-weight: 700; color: var(--szoveg); text-align: center; cursor: pointer; transition: background var(--ido), transform var(--ido); }
.h-fajta span:active { transform: scale(.96); }
.h-fajta input:checked + span { background: var(--fo); border-color: var(--fo); color: var(--fo-szoveg); }
.h-fajta input:focus-visible + span { outline: 2px solid var(--szoveg); outline-offset: 2px; }
.h-uj input, .h-uj select { min-height: 56px; font-size: 20px; }
.h-uj button.fo { min-height: 56px; font-size: 18px; }
.beoszt td { padding: 4px; }
.beoszt td:first-child { padding: 8px 12px; white-space: nowrap; }
.beoszt input { min-width: 78px; min-height: 40px; padding: 4px 6px; text-align: center; }

.t-csempek { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-bottom: 18px; }
.t-csempe { display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 140px; padding: 20px; border: 2px solid var(--palack); border-radius: 20px; background: var(--lap); color: var(--palack); transition: transform var(--ido), background var(--ido), color var(--ido); }
.t-csempe b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.t-csempe span { color: var(--szoveg2); margin-top: 4px; }
.t-csempe:active, .t-csempe:active span { transform: scale(.98); background: var(--palack); color: #fff; }
.t-urlap { max-width: 640px; }
.t-urlap label.keskeny { flex: 1 1 200px; max-width: none; }
.pinlap { width: 100%; max-width: 380px; display: grid; gap: 12px; text-align: center; }
.pinlap h1 { margin: 0; }
.pinlap input { min-height: 64px; font-size: 32px; text-align: center; letter-spacing: 8px; }
.pinlap .szamlap button { min-height: 72px; font-size: 28px; }

body.teljes main.lap, body.teljes main.kint { margin: 0; max-width: none; width: 100%; height: 100vh; height: 100dvh; padding: 12px; display: flex; flex-direction: column; overflow: hidden; background: none; }
body.teljes main > .uz { margin-bottom: 8px; }
.t-sav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 12px; }
.t-sav .cim { font-size: 22px; font-weight: 700; letter-spacing: -.01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-sav .gomb2, .t-sav button { min-height: 56px; padding: 0 22px; font-size: 18px; }
.t-tartalom { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; }
body.teljes .h-ket { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.t-csempek.teljes { flex: 1; min-height: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--o), minmax(0, 1fr)); grid-auto-rows: minmax(120px, 1fr); gap: 12px; }
.t-csempek.teljes .t-csempe { min-height: 0; align-items: center; justify-content: center; text-align: center; border-radius: 24px; }
.t-csempek.teljes .t-csempe b { font-size: clamp(26px, 4.5vw, 60px); line-height: 1.1; }
.t-csempek.teljes[style*="--o:4"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); grid-auto-rows: minmax(130px, 1fr); }
.t-csempek.teljes[style*="--o:4"] .t-csempe b { font-size: clamp(20px, 2.4vw, 32px); }
body.teljes .t-urlap input[data-kijelzo] { cursor: pointer; text-align: right; caret-color: transparent; }
body.teljes .t-urlap input[data-kijelzo].aktiv { border-color: var(--szoveg); box-shadow: 0 0 0 4px var(--fokusz-h); }
.t-szamlap { flex: 1; grid-auto-rows: minmax(56px, 1fr); }
.t-szamlap button { min-height: 0; font-size: 32px; }
body.teljes .t-urlap details { order: 10; }
body.teljes button[value=lezar] { min-height: 60px; font-size: 20px; padding: 0 28px; }
body.teljes .t-urlap { max-width: none; flex: 1; display: flex; flex-direction: column; gap: 14px; margin: 0; }
body.teljes .t-urlap .h-fajta { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); margin: 0; }
body.teljes .t-urlap .h-fajta span { min-height: 84px; font-size: 26px; }
body.teljes .t-urlap label { font-size: 18px; }
body.teljes .t-urlap label input { min-height: 84px; font-size: 38px; font-weight: 700; }
body.teljes .t-urlap .h-ok { margin-top: auto; min-height: 96px; font-size: 30px; }
body.teljes .pinlap { width: 100%; max-width: 560px; height: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; box-shadow: none; }
body.teljes .pinlap input { min-height: 90px; font-size: 44px; }
body.teljes .pinlap .szamlap { flex: 1; grid-auto-rows: 1fr; }
body.teljes .pinlap .szamlap button { min-height: 0; font-size: 40px; }
body.teljes .pinlap .szamlap button.fo { font-size: 26px; }

@media (orientation: portrait) {
  .t-csempek.teljes[style*="--o:3"], .t-csempek.teljes[style*="--o:2"], .t-csempek.teljes[style*="--o:1"] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .t-csempek.teljes { grid-template-columns: repeat(min(var(--o), 2), minmax(0, 1fr)); }
  .t-sav .cim { font-size: 18px; }
  .t-sav .gomb2, .t-sav button { padding: 0 14px; font-size: 16px; }
}

@media (max-width: 1000px) {
  .felso { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px; height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; background: var(--uveg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--vonal); }
  .felso .marka { flex: 1; min-width: 0; padding: 0; font-size: 16px; }
  .felso .marka i { width: 32px; height: 32px; border-radius: 10px; }
  .felso .marka span { font-size: 16px; }
  .felso .avatar { width: 34px; height: 34px; border-radius: 50%; font-size: 13px; }
  .also { position: fixed; left: 0; right: 0; bottom: 0; z-index: 18; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: var(--uveg); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-top: 1px solid var(--vonal); }
  .also a, .also button { min-width: 0; min-height: 52px; padding: 4px 2px; border: 0; border-radius: 14px; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--halvany); font-size: 11px; font-weight: 500; }
  .also span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .also a.aktiv, .also button[aria-expanded=true] { color: var(--palack); font-weight: 700; }
  .also a.aktiv svg { stroke-width: 2.1; }
  .also a:active, .also button:active { transform: scale(.92); background: var(--lap2); }
  .menu { inset: 0; width: auto; padding: calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); border: 0; background: var(--palack); z-index: 40; visibility: hidden; opacity: 0; transform: translateY(24px); transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1), visibility .25s; }
  body.menu-nyitva { overflow: hidden; }
  body.menu-nyitva .menu { visibility: visible; opacity: 1; transform: none; }
  .menu .marka { padding: 4px 4px 10px; font-size: 18px; }
  .menu .zar { display: grid; place-items: center; position: absolute; right: 14px; top: calc(12px + env(safe-area-inset-top)); width: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 22px; }
  .menu .pontok { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 96px), 1fr)); gap: 8px; align-content: start; padding-bottom: 8px; }
  .menu .cs { grid-column: 1 / -1; padding: 12px 4px 2px; }
  .menu .pontok a { flex-direction: column; justify-content: center; gap: 8px; min-height: 86px; padding: 10px 4px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .08); font-size: 13px; text-align: center; color: #fff; }
  .menu .pontok a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .menu .pontok a.aktiv { background: #fff; color: var(--palack); }
  .menu .pontok a:active { transform: scale(.95); }
  main.lap { margin-left: 0; padding: 18px 16px calc(92px + env(safe-area-inset-bottom)); }
  .lab { left: 0; bottom: calc(65px + env(safe-area-inset-bottom)); padding: 10px 16px; }
  .uzenet { bottom: calc(150px + env(safe-area-inset-bottom)); border-radius: 18px; text-align: center; }
  #tartalom { padding-bottom: 80px; }
  h1 { font-size: 28px; }
  h2 { font-size: 18px; margin-top: 28px; }
  .kassza { grid-template-columns: minmax(0, 1fr); height: auto; }
  .k-sorok { min-height: 220px; max-height: 45vh; }
  .h-ket { grid-template-columns: minmax(0, 1fr); }
  .h-be { position: static; order: -1; }
  .h-reszek { grid-template-columns: repeat(auto-fill, minmax(min(100%, 124px), 1fr)); }
}
@media (max-width: 900px) {
  .gordul { overflow: hidden; }
  table.kt, table.kt tbody, table.kt tr, table.kt td { display: block; width: auto; }
  table.kt tr.fej { display: none; }
  table.kt tr { position: relative; padding: 12px 16px; border-bottom: 1px solid var(--vonal); }
  table.kt tr:last-child { border-bottom: 0; }
  table.kt td { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 0; border: 0; text-align: right; white-space: normal; min-width: 0; }
  table.kt td::before { content: attr(data-c); flex: 0 1 auto; max-width: 46%; color: var(--halvany); font-size: 13px; text-align: left; }
  table.kt td > .e { min-width: 0; }
  table.kt td:has(input:not([type=checkbox]):not([type=hidden]), select, textarea) { display: block; padding: 6px 0; text-align: left; }
  table.kt td:has(input:not([type=checkbox]):not([type=hidden]), select, textarea)::before { display: block; max-width: none; margin-bottom: 4px; }
  table.kt td:first-child:has(input)::before { display: none; }
  .beoszt.kt td:has(input) { display: flex; padding: 4px 0; }
  .beoszt.kt td:has(input)::before { display: block; flex: 0 0 34%; margin: 0; }
  .beoszt.kt td:has(input) > .e { flex: 1; }
  table.kt td:first-child { font-size: 16px; font-weight: 600; text-align: left; }
  table.kt td:first-child::before, table.kt td[data-c=""]::before { display: none; }
  table.kt td[data-c=""] { justify-content: flex-start; text-align: left; }
  table.kt td.ures-c { display: none; }
  table.kt td input:not([style*="width"]), table.kt td select { width: 100%; }
  table.kt td input[type=checkbox] { width: 22px !important; }
  table.kt tr.katt { padding-right: 40px; }
  table.kt tr.katt > td:last-child { position: static; padding-right: 0; }
  table.kt tr.katt > td:last-child::after { right: 18px; }
  th, td { padding: 10px 12px; }
  .ket-oszlop { grid-template-columns: minmax(0, 1fr); }
  .k-fiz { grid-template-columns: minmax(0, 1fr); }
  .sorban > label.keskeny { max-width: none; }
  .sorban > label:has(input[placeholder]) { flex-basis: 100%; }
  .racs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .racs.lista { grid-template-columns: minmax(0, 1fr); }
  .csempe { padding: 14px 16px; }
  .csempe b { font-size: 22px; }
  .muv { flex-wrap: wrap; justify-content: flex-end; }
  .muv > input { flex: 1 1 100%; }
  .muv > button { flex: 1; }
  .fulek, .szuro { width: 100%; }
  .fulek a, .szuro button { flex: 1 1 auto; justify-content: center; }
  .fejsor > .sorban, .fejsor > .gomb2 { flex: 1 1 100%; }
  .fejsor > .sorban > * { flex: 1 1 auto; }
  .fejsor > a.gomb2:only-of-type { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
.ds-fej { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 20px; }
.ds-fej small { display: block; color: var(--halvany); font-size: 13px; }
.ds-fej b { font-size: 18px; overflow-wrap: anywhere; }
.ds-lista td { vertical-align: middle; }
.ds-lista td.kod { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ds-lista td small { display: block; color: var(--halvany); font-size: 12px; }
.ds-lista .pipa { width: 52px; text-align: center; }
.ds-lista .pipa i { display: inline-block; width: 20px; height: 20px; border: 1.5px solid var(--vonal2); border-radius: 5px; }
@media screen and (max-width: 640px) {
  .ds-lista th:nth-child(1), .ds-lista td:nth-child(1), .ds-lista th:nth-child(5), .ds-lista td:nth-child(5), .ds-lista .pipa { display: none; }
}
.szamla-nezet { display: grid; gap: 16px; }
.szamla-nezet p { margin: 0; }
.sz-fej { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sz-fej small, .szamla-nezet td small { display: block; color: var(--halvany); font-size: 12px; }
.sz-fej b { display: block; font-size: 16px; margin: 2px 0 4px; }
.sz-also { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--halvany); font-size: 14px; }
.sz-ossz { display: grid; grid-template-columns: auto auto; gap: 4px 20px; margin: 0 0 0 auto; text-align: right; }
.sz-ossz dt { color: var(--halvany); }
.sz-ossz dd { margin: 0; color: var(--szoveg, inherit); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .sz-fej { grid-template-columns: 1fr; gap: 12px; } }
.sor3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .sor3 { grid-template-columns: 1fr; } }
.szamla-tetelek input { width: 100%; min-width: 0; }
.szamla-tetelek td.szam input { text-align: right; max-width: 120px; margin-left: auto; display: block; }
.szamla-tetelek .nev { color: var(--halvany); font-size: 14px; }
.pipa-sor { display: flex; gap: 8px; align-items: center; }
.pipa-sor input { width: auto; }
.szuro-sor { flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; }
.csak-nez-sav { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 14px; margin-bottom: 16px; border-radius: 12px; background: #fff7e6; border: 1px solid #f0d9a8; color: #6b4b12; font-size: 14px; }
.csak-nez main form[method="post" i] :is(button, input[type="submit"], .fo),
.csak-nez main form[method="post" i] input:not([type="hidden"]),
.csak-nez main form[method="post" i] select,
.csak-nez main form[method="post" i] textarea { pointer-events: none; }
.csak-nez main form[method="post" i] :is(button, input[type="submit"]) { display: none; }
@media print {
  table.ds-lista { display: table; width: 100%; font-size: 12pt; }
  .ds-lista .pipa i { border-color: #000; }
  table.ds-lista tbody { display: table-row-group; }
  table.ds-lista tr, table.ds-lista tr.fej { display: table-row; position: static; padding: 0; break-inside: avoid; }
  table.ds-lista td, table.ds-lista th { display: table-cell; padding: 7px 8px; border-bottom: 1px solid #ccc; text-align: left; }
  table.ds-lista td.szam, table.ds-lista th.szam { text-align: right; }
  table.ds-lista td::before { content: none; }
  table.ds-lista td.pipa, table.ds-lista th.pipa { display: table-cell; text-align: center; }
  .gordul { border: 0; overflow: visible; }
  :root { --hatter: #fff; --lap: #fff; --lap2: #fff; --lap3: #eee; --szoveg: #000; --szoveg2: #000; --halvany: #555; --vonal: #ccc; --zold: #1f7a4a; --piros: #b3372c; --sarga: #7a5b00; --fo: #000; --fo-szoveg: #fff; }
  .menu, .felso, .also, .nyomtatasnal-nem, .uz { display: none !important; }
  main.lap { margin: 0; padding: 0; }
  body { background: #fff; }
  .cimkek { display: block; }
  .cimke { background: #fff; border-radius: 0; break-after: page; }
  .cimke:last-child { break-after: auto; }
  .blokk { padding: 0; }
  .beoszt input { border: 0; }
}
@media (min-width: 1001px) {
  body.teljes .h-ket { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); overflow: hidden; align-items: stretch; }
  body.teljes .h-ket > :first-child { overflow-y: auto; min-height: 0; }
  body.teljes .h-be { position: static; min-height: 0; max-height: 100%; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 10px 14px; grid-template-areas: "cim cim" "reszek kijelzo" "reszek szamlap" "reszek ok"; }
  body.teljes .h-be .h-cim { grid-area: cim; margin: 0; }
  body.teljes .h-be .h-reszek { grid-area: reszek; margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(40px, 1fr); min-height: 0; overflow-y: auto; align-content: stretch; }
  body.teljes .h-be .h-reszek button { min-height: 0; font-size: 14px; letter-spacing: -.01em; }
  body.teljes .h-be .h-kijelzo { grid-area: kijelzo; margin: 0; grid-template-columns: minmax(0, 1fr); }
  body.teljes .h-be .h-kijelzo input { min-height: 50px; }
  body.teljes .h-be .h-kijelzo div span { top: 13px; }
  body.teljes .h-be .szamlap { grid-area: szamlap; min-height: 0; grid-auto-rows: minmax(40px, 1fr); }
  body.teljes .h-be .szamlap button { min-height: 0; }
  body.teljes .h-be .h-ok { grid-area: ok; margin: 0; }
}
input[type=file] { padding: 6px; font-size: 14px; }
input[type=file]::file-selector-button { margin-right: 10px; min-height: 32px; padding: 0 12px; border: 1px solid var(--vonal2); border-radius: 8px; background: var(--lap); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.valtozasok { margin-top: 4px; }
.valtozasok summary { cursor: pointer; color: var(--palack); font-weight: 600; font-size: 13px; }
.valt-lista { background: var(--lap); border: 1px solid var(--vonal); border-radius: var(--sugar); overflow: hidden; margin-bottom: 16px; }
.valt-k { padding: 13px 16px; border-top: 1px solid var(--vonal); }
.valt-k:first-child { border-top: 0; }
.valt-k .valt { padding: 0; border-top: 0; }
.valt-meta { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--halvany); margin-bottom: 5px; }
.valt-meta .ki { font-weight: 600; color: var(--szoveg); }
.fejl-kapcs { margin: -8px 0 16px; font-size: 13px; color: var(--halvany); }
.fejl-kapcs a { color: var(--palack); font-weight: 600; }
.valt { padding: 6px 0; border-top: 1px solid var(--vonal); }
.valt .kis { margin-top: 2px; overflow-wrap: anywhere; }

/* Térközök: dobozon és űrlapon belül semmi nem ér össze */
.sorban { gap: 14px 12px; }
.doboz:not(.sorban) > :not(input[type=hidden]) ~ :not(input[type=hidden]) { margin-top: 16px; }
.doboz:not(.sorban) > h2:not(:first-child) { margin-top: 26px; }
.doboz:not(.sorban) > h2 + * { margin-top: 12px !important; }
.doboz > p { margin-bottom: 0; }
.doboz .gordul { margin-bottom: 0; }
.pipak { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 2px 24px; }
.pipak label { min-height: 42px; }
.gombsor { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 18px; border-top: 1px solid var(--vonal); }
.doboz:not(.sorban) > .gombsor { margin-top: 20px; }
.tablak { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px 20px; margin-bottom: 16px; align-items: start; }
.tablak h2 { margin: 18px 0 10px; }
.tablak .gordul { margin-bottom: 0; }
.urlap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px 12px; align-items: end; }
.urlap > * { grid-column: span 12; }
.urlap > .o2 { grid-column: span 2; }
.urlap > .o3 { grid-column: span 3; }
.urlap > .o4 { grid-column: span 4; }
.urlap > .o6 { grid-column: span 6; }
.urlap > .o8 { grid-column: span 8; }
@media (max-width: 760px) {
  .urlap > .o2, .urlap > .o3 { grid-column: span 6; }
  .urlap > .o4, .urlap > .o6, .urlap > .o8 { grid-column: span 12; }
}
main.lap > p:not(.ures) + .gordul, main.lap > .gordul + p, main.lap > form + .gordul, main.lap > .gordul + form, main.lap > .gordul + .gordul { margin-top: 16px; }
@media (min-width: 1001px) {
  .menu { view-transition-name: menu; }
}
.mezoracs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px 12px; align-items: end; }
.sorban > span, .sorban > p { align-self: center; margin: 0; }
.sorban > label:has(> input[type=date]) { flex-basis: 170px; min-width: 160px; }
@media (max-width: 640px) {
  .racs.lista .csempe { white-space: normal; overflow-wrap: anywhere; }
}
.t-csempe.szines { border-color: transparent; color: #fff; }
.t-csempe.szines span { color: rgba(255, 255, 255, .85); }
.t-csempe.szines:active, .t-csempe.szines:active span { filter: brightness(.88); color: #fff; }
.t-csempe.szin-zold { background: #1b8551; }
.t-csempe.szin-sarga { background: #b97a00; }
.t-csempe.szin-piros { background: #c4322f; }
.t-csempe.szin-rozsa { background: #c2456b; }
.t-csempe.szin-barna { background: #8a3b24; }
.t-csempe.szin-pala { background: #44606e; }
.t-csempe.szin-kek { background: #2f6fb0; }
.t-csempe.szin-lila { background: #6d4fa3; }
