:root {
  --bg: #f3f5f8;
  --card: rgba(255,255,255,.86);
  --line: rgba(20,30,50,.12);
  --text: #172033;
  --muted: #667085;
  --danger: #c52828;
  --warning: #c66a00;
  --success: #198754;
  --pink: #ff3fa4;
  --blue: #0a66c2;
  --shadow: 0 18px 50px rgba(30,40,60,.13);
  --radius: 22px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0, #eef3fb 42%, #e6ebf2 100%);
  color: var(--text);
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.glass-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.install-page, .login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.install-card, .login-card { width: min(560px, 94vw); padding: 34px; }
h1, h2, h3 { margin-top: 0; }
label { display: block; font-weight: 650; margin: 10px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.85);
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(10,102,194,.55); box-shadow: 0 0 0 4px rgba(10,102,194,.12); }
.primary-btn, .secondary-btn, .danger-btn, .ghost-btn, .small-btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.primary-btn { color: white; background: #111827; }
.secondary-btn { color: #111827; background: rgba(255,255,255,.85); border: 1px solid var(--line); }
.danger-btn { color: white; background: var(--danger); }
.ghost-btn { color: #111827; background: transparent; border: 1px solid var(--line); }
.small-btn { padding: 8px 12px; border-radius: 11px; color: #111827; background: rgba(255,255,255,.88); border: 1px solid var(--line); }
.notice { padding: 12px 14px; border-radius: 14px; margin: 12px 0; }
.notice.success { background: rgba(25,135,84,.12); color: #0f5132; }
.notice.danger { background: rgba(197,40,40,.12); color: #842029; }
.small-text { font-size: 13px; color: var(--muted); }
.app-shell { min-height: 100vh; padding-top: 72px; }
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  background: rgba(248,250,252,.83);
  border-bottom: 1px solid rgba(20,30,50,.10);
  backdrop-filter: blur(18px);
  z-index: 50;
}
.top-left, .top-right { display: flex; align-items: center; gap: 12px; }
.top-right { justify-content: flex-end; }
.company-title { font-weight: 850; letter-spacing: .02em; }
.home-btn {
  width: 38px; height: 38px; border-radius: 13px; border: 1px solid var(--line); background: white; display: grid; place-items: center;
}
.home-btn svg { width: 19px; height: 19px; stroke: #111827; }
.clock { font-variant-numeric: tabular-nums; color: #344054; font-weight: 700; }
.user-pill, .scanner-pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: white; font-weight: 700; }
.scanner-pill { color: var(--success); }
.main-area { width: min(1480px, calc(100vw - 34px)); margin: 0 auto; padding: 22px 0 44px; }
.main-grid { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 18px; }
.menu-card { min-height: 168px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .16s ease, box-shadow .16s ease; }
.menu-card:hover { transform: translateY(-3px); }
.menu-card h2 { font-size: 22px; margin: 0; }
.menu-card p { color: var(--muted); margin: 14px 0 0; }
.table-wrap { overflow: auto; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.5); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: rgba(255,255,255,.78); font-size: 13px; color: #475467; position: sticky; top: 0; z-index: 2; }
tr.inactive-row td { color: #98a2b3; background: rgba(230,233,238,.45); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btn { border: 1px solid var(--line); background: rgba(255,255,255,.76); border-radius: 999px; padding: 10px 15px; font-weight: 760; }
.tab-btn.active { background: #111827; color: white; }
.settings-card { padding: 22px; }
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.ws-select-card { padding: 22px; }
.ws-select-card .ops-mini { color: var(--muted); font-size: 13px; margin-top: 10px; line-height: 1.45; }
.workstation-head { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 16px; }
.pdf-buttons { display: flex; gap: 8px; }
.scanner-box { padding: 16px; margin-bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.scanner-input-row { display: flex; gap: 10px; align-items: center; }
.last-qr { color: #344054; font-weight: 700; }
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 14px; }
.board-grid.three { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
.board-column { min-height: 420px; padding: 16px; }
.board-column h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.item-card { padding: 13px; border-radius: 16px; background: rgba(255,255,255,.88); border: 1px solid var(--line); margin-bottom: 10px; }
.item-card .qr { font-weight: 850; word-break: break-all; }
.item-card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.item-card.waiting { border-color: rgba(198,106,0,.45); background: rgba(255,243,224,.86); }
.item-card.ready { border-color: rgba(25,135,84,.45); background: rgba(232,248,239,.88); }
.item-card.expired { border-color: rgba(197,40,40,.50); background: rgba(255,235,235,.9); }
.timer { font-variant-numeric: tabular-nums; font-weight: 850; }
.bottom-ops {
  position: sticky;
  bottom: 12px;
  z-index: 30;
  margin-top: 18px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(250,250,252,.92);
  border: 1px solid rgba(20,30,50,.12);
  box-shadow: 0 16px 42px rgba(30,40,60,.16);
  backdrop-filter: blur(18px);
  display: flex;
  gap: 12px;
  overflow-x: auto;
}
.op-tab-large {
  min-width: 210px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  background: white;
  text-align: left;
  font-weight: 850;
}
.op-tab-large.active { background: #111827; color: white; }
.op-counts { margin-top: 9px; display: flex; gap: 10px; font-size: 18px; font-variant-numeric: tabular-nums; }
.count-red { color: var(--danger); }
.count-black { color: #111827; }
.count-green { color: var(--success); }
.op-tab-large.active .count-black { color: white; }
.target-hit { color: var(--pink) !important; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.38); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; }
.modal { width: min(1280px, 96vw); max-height: 92vh; overflow: auto; background: #f8fafc; border-radius: 24px; padding: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pdf-frame { width: 100%; height: 76vh; border: 0; border-radius: 16px; background: white; }
.toast-host { position: fixed; top: 80px; right: 20px; z-index: 200; display: grid; gap: 10px; }
.toast { min-width: 280px; max-width: 440px; padding: 14px 16px; border-radius: 16px; color: white; background: #111827; box-shadow: var(--shadow); animation: toastIn .18s ease; }
.toast.warning { background: var(--warning); }
.toast.success { background: var(--success); }
.toast.danger { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.drag-row { cursor: grab; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 7px; }
.checkbox-grid label { margin: 0; font-weight: 500; }
.report-product { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.signature-line { margin-top: 28px; font-size: 18px; }
.print-doc { width: min(1000px, 96vw); margin: 24px auto; background: white; padding: 32px; }
.print-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid #222; padding-bottom: 16px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 180; }
.confetti span { position: absolute; top: -20px; width: 10px; height: 18px; background: var(--pink); animation: fall 5s linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); opacity: .2; } }
@media (max-width: 1100px) { .main-grid { grid-template-columns: repeat(2, 1fr); } .board-grid, .board-grid.three { grid-template-columns: 1fr; } .topbar { grid-template-columns: 1fr; height: auto; min-height: 64px; gap: 8px; } .app-shell { padding-top: 118px; } .company-title { display: none; } }
@media print { .no-print, .topbar, .toast-host { display: none !important; } body { background: white; } .print-doc { box-shadow: none; width: 100%; margin: 0; } }

/* nagy kijelzos javitasok */
html, body { width: 100%; min-height: 100%; }
.app-shell { min-height: 100vh; width: 100%; }
.main-area { width: calc(100vw - 24px); max-width: none; margin: 0 auto; padding: 18px 0 44px; }
.company-title { font-size: 20px; text-align: center; }
.active-users { color: var(--success); font-weight: 900; }
.user-name-full { font-weight: 850; white-space: nowrap; }
.exit-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
  display: inline-grid;
  place-items: center;
}
.exit-btn svg { width: 22px; height: 22px; stroke: #111827; }
.scan-main-input { font-size: 22px; font-weight: 850; letter-spacing: .03em; padding: 16px 18px; }
.workstation-head { grid-template-columns: minmax(0, 1fr) auto; }
.board-grid { min-height: calc(100vh - 330px); }
.board-column { min-height: calc(100vh - 350px); }
.bottom-ops { bottom: 10px; padding: 22px; gap: 18px; min-height: 138px; }
.op-tab-large { min-width: 310px; padding: 18px 20px; font-size: 18px; }
.op-tab-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.op-tab-text { min-width: 0; }
.nav-qr { display: grid; justify-items: center; gap: 4px; font-size: 11px; text-transform: lowercase; }
.qr-nav-svg { width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 8px; }
.qr-nav-svg rect:not(:first-child) { fill: #111827; }
.settings-card { width: 100%; }
.modal { width: calc(100vw - 18px); max-width: none; }
.operations-editor table { min-width: 1900px; }
.operations-editor input,
.operations-editor select,
.operations-editor textarea {
  min-width: 150px;
  font-size: 16px;
  padding: 13px 14px;
  border-radius: 12px;
}
.operations-editor input[type="file"] { min-width: 230px; }
.operations-editor td:nth-child(2) input { min-width: 220px; }
.operations-editor td:nth-child(10) input { min-width: 260px; }
.users-access-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 980px;
  align-items: center;
}
.users-access-line label { white-space: nowrap; }
#settingsBody table input,
#settingsBody table select { font-size: 16px; }
@media (min-width: 1500px) {
  .board-grid { gap: 20px; }
  .board-column { padding: 22px; }
  .item-card { font-size: 17px; }
}

/* v3 megjelenes javitasok */
:root { --primary: #7A0F18; }
.topbar { border-bottom: 4px solid var(--primary); }
.company-title { display: flex; align-items: center; justify-content: center; gap: 12px; }
.company-logo { max-height: 42px; max-width: 150px; object-fit: contain; border-radius: 10px; background: rgba(255,255,255,.84); padding: 4px; }
.terms-btn { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; background: white; font-weight: 850; color: var(--primary); }
.primary-btn { background: var(--primary); }
.tab-btn.active { background: var(--primary); }
.op-tab-large.active { background: var(--primary); }
.bottom-ops { border-top: 5px solid var(--primary); }
.home-btn { border-color: color-mix(in srgb, var(--primary) 28%, var(--line)); }
.image-card { position: relative; overflow: hidden; min-height: 270px; padding: 0; border: 0; text-align: left; }
.image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.image-card:hover img { transform: scale(1.045); }
.image-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.72)); }
.image-card-text { position: relative; z-index: 1; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: white; }
.image-card h2 { color: white; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.image-card p { color: rgba(255,255,255,.88); font-weight: 650; }
.main-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.terms-modal { max-width: 980px; }
.terms-text { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 20px; line-height: 1.62; max-height: 65vh; overflow: auto; }
.terms-text p { margin: 0 0 14px; }
.terms-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.general-settings-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr); gap: 18px; }
.company-logo-preview { width: 100%; min-height: 120px; border: 1px dashed var(--line); border-radius: 18px; display: grid; place-items: center; margin-bottom: 12px; background: rgba(255,255,255,.72); }
.company-logo-preview img { max-width: 260px; max-height: 110px; object-fit: contain; }
.color-row { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.color-row input[type="color"] { height: 56px; padding: 4px; }
@media (min-width: 1800px) {
  .main-area { width: calc(100vw - 18px); }
  .image-card { min-height: 340px; }
  .image-card-text { min-height: 340px; }
  .board-column { min-height: calc(100vh - 320px); }
}
@media (max-width: 900px) {
  .general-settings-grid { grid-template-columns: 1fr; }
  .top-right { flex-wrap: wrap; }
}
.print-company-block { display: flex; align-items: center; gap: 16px; }
.print-logo { max-width: 140px; max-height: 80px; object-fit: contain; }

/* v4 uzemi javitasok */
.ready-total { font-size: 16px; font-weight: 850; }
.cancel-total { color: var(--danger); }
.nav-qr { font-size: 13px; font-weight: 850; }
.qr-nav-svg { width: 96px; height: 96px; border: 2px solid var(--line); border-radius: 10px; background: white; padding: 4px; }
.op-tab-large { min-width: 360px; }
.primary-btn { background: var(--primary, #7A0F18); }

/* v5 navigacios qr es nyelvi javitasok */
.scanner-box { grid-template-columns: 1fr; }
.qr-nav-img {
  width: 136px;
  height: 136px;
  display: block;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 6px;
  object-fit: contain;
}
.nav-qr span { font-size: 15px; }
.op-tab-large { min-width: 440px; }
.bottom-ops { min-height: 178px; }
.large-select { font-size: 18px; padding: 12px 14px; border-radius: 12px; }

/* v6 muhely suruseg es jogosultsag igazitas */
.workstation-scanner {
  padding: 6px 10px;
  margin-bottom: 8px;
  grid-template-columns: 1fr;
}
.workstation-scanner label { font-size: 12px; margin-bottom: 4px; }
.workstation-scanner .scanner-input-row { gap: 6px; }
.workstation-scanner .scan-main-input {
  font-size: 14px;
  padding: 6px 9px;
  min-height: 32px;
  border-radius: 10px;
}
.workstation-scanner .primary-btn {
  padding: 7px 10px;
  min-height: 32px;
  border-radius: 10px;
  font-size: 13px;
}
.workstation-scanner .last-qr {
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.15;
}
.board-grid { min-height: calc(100vh - 285px); }
.board-column {
  min-height: calc(100vh - 310px);
  padding: 10px;
}
.board-column h3 {
  margin-bottom: 7px;
  font-size: 16px;
}
.item-card {
  padding: 6px 8px;
  border-radius: 10px;
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.18;
}
.item-card .qr {
  font-size: 12px;
  line-height: 1.12;
}
.item-card .meta {
  font-size: 10.5px;
  margin-top: 2px;
}
.item-card .timer { font-size: 11px; }
.users-access-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  min-width: 1160px;
}
.users-access-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}
.users-access-line input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}
.qr-nav-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}
.nav-qr { font-size: 12px; }
@media (min-width: 1500px) {
  .item-card { font-size: 12px; }
  .item-card .meta { font-size: 10.5px; }
}

/* v6 navigacios qr meret */
.bottom-ops { min-height: 172px; }
.op-tab-large { min-width: 360px; }
.qr-nav-img { width: 132px; height: 132px; }

/* v7 szellozes, logo, hatter es statusz javitasok */
:root { --secondary: #082E49; }
body {
  background: radial-gradient(circle at 16% 18%, rgba(255,255,255,.86) 0, rgba(255,255,255,.42) 18%, transparent 38%),
              linear-gradient(135deg, color-mix(in srgb, var(--secondary) 18%, #f7f9fc), #edf4fa 52%, color-mix(in srgb, var(--secondary) 20%, #ffffff));
  overflow-x: hidden;
}
body:not(.print-page)::before {
  content: "";
  position: fixed;
  inset: -22vh -18vw;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 22%, color-mix(in srgb, var(--secondary) 34%, transparent), transparent 31%),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.54), transparent 25%),
    radial-gradient(circle at 60% 80%, color-mix(in srgb, var(--secondary) 28%, transparent), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(255,255,255,.42), transparent 24%);
  filter: blur(28px) saturate(1.1);
  opacity: .9;
  animation: liquidGlassMove 32s ease-in-out infinite alternate;
}
body:not(.print-page)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.46), rgba(255,255,255,.13));
  backdrop-filter: blur(1px);
}
@keyframes liquidGlassMove {
  from { transform: translate3d(-2vw, -1vh, 0) scale(1.02) rotate(0deg); }
  to { transform: translate3d(2vw, 2vh, 0) scale(1.08) rotate(5deg); }
}
.main-area {
  width: calc(100vw - 96px);
  max-width: none;
  margin: 0 auto;
  padding: 34px 0 62px;
}
.topbar {
  padding-left: 44px;
  padding-right: 44px;
  background: color-mix(in srgb, var(--primary) 9%, rgba(248,250,252,.88));
}
.top-left-logo {
  max-height: 44px;
  max-width: 150px;
  margin-left: 4px;
  margin-right: 2px;
}
.company-title .company-logo { display: none; }
.scanner-pill, .internet-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.92);
  font-weight: 850;
  white-space: nowrap;
}
.scanner-pill.active { color: var(--success); }
.scanner-pill.inactive { color: #475467; }
.internet-pill.ok { color: var(--success); }
.internet-pill.bad { color: var(--danger); }
.login-wrap {
  position: relative;
  overflow: hidden;
  background: #111827;
}
.login-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  z-index: 0;
}
.login-overlay {
  position: absolute;
  inset: 0;
  background: rgba(56, 64, 76, .56);
  backdrop-filter: blur(1.2px);
  z-index: 1;
}
.login-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.82);
}
.login-logo {
  max-width: 240px;
  max-height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 0 18px;
}
.brand-logo { margin: 0; max-width: 280px; max-height: 86px; width: 100%; }
.login-brand-row { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; }
.login-brand-box { flex: 1 1 220px; min-width: 220px; max-width: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 18px; background: rgba(17, 24, 39, .22); border: 1px solid rgba(255,255,255,.14); }
.login-brand-box .login-logo { margin: 0; }
.login-brand-caption { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: #475467; text-transform: uppercase; }
.single-brand .glassflow-brand-box { max-width: 360px; }
.login-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 8px;
}
.settings-card { padding: 30px; }
.table-wrap { margin-top: 8px; }
.modal-backdrop { padding: 34px; }
@media (min-width: 1800px) {
  .main-area { width: calc(100vw - 128px); max-width: none; }
}
@media (max-width: 900px) {
  .main-area { width: calc(100vw - 34px); padding-top: 22px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .top-left-logo { max-height: 34px; max-width: 105px; }
  .login-brand-row { gap: 10px; }
  .login-brand-box { min-width: 100%; max-width: none; }
  .brand-logo { max-width: 240px; }
}


/* v8 szinek, kepek es muhely reszletek */
body {
  background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 88%, #00121f), color-mix(in srgb, var(--secondary) 70%, #0c5274) 48%, #04131f);
}
body:not(.print-page)::before {
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--secondary) 62%, #2d96c8), transparent 31%),
    radial-gradient(circle at 76% 16%, color-mix(in srgb, var(--secondary) 48%, #75c7e8), transparent 26%),
    radial-gradient(circle at 60% 82%, color-mix(in srgb, var(--secondary) 56%, #0e6b96), transparent 36%),
    radial-gradient(circle at 8% 86%, rgba(57,142,181,.34), transparent 25%);
  opacity: .94;
}
body:not(.print-page)::after {
  background: linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
}
.main-area { width: calc(100vw - 140px); padding: 42px 0 68px; }
.scanner-pill.active, .internet-pill.ok { color: var(--success); border-color: rgba(25,135,84,.26); background: rgba(232,248,239,.92); }
.scanner-pill.inactive, .internet-pill.bad { color: #667085; border-color: rgba(102,112,133,.22); background: rgba(242,244,247,.92); }
button:disabled, button[aria-disabled="true"] { opacity: .42; filter: grayscale(1); cursor: not-allowed; }
.product-title-inline { font-size: .62em; color: var(--muted); font-weight: 750; margin-left: 12px; }
.batch-label { color: var(--muted); font-weight: 750; font-size: .9em; white-space: nowrap; }
.nav-qr { gap: 0; }
.nav-qr span { display: none !important; }
.ws-image-card {
  min-height: 230px;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.ws-image-card p, .ws-image-card .ops-mini { color: rgba(255,255,255,.90); }
.product-image-modal { display: grid; place-items: center; min-height: 60vh; }
.product-image-modal img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 18px; box-shadow: var(--shadow); background: white; }
@media (max-width: 900px) { .main-area { width: calc(100vw - 42px); padding-top: 24px; } }


/* v9 sotet fejlec, logo kontraszt es javitasok */
.topbar {
  background: rgba(38, 42, 50, .96) !important;
  border-bottom: 4px solid var(--primary) !important;
  color: #f8fafc;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.topbar .clock,
.topbar .company-title,
.topbar .user-name-full,
.topbar .active-users { color: #f8fafc; }
.topbar .active-users { color: #89e6a8; }
.home-btn,
.exit-btn,
.terms-btn {
  background: rgba(17, 24, 39, .82) !important;
  border-color: rgba(255,255,255,.20) !important;
  color: #f8fafc !important;
}
.home-btn svg,
.exit-btn svg { stroke: #f8fafc !important; }
.top-left-logo,
.company-logo,
.login-logo,
.company-logo-preview {
  background: rgba(36, 40, 48, .96) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.login-logo {
  padding: 12px;
  border-radius: 16px;
}
.company-logo-preview {
  min-height: 148px;
}
.company-logo-preview img {
  padding: 10px;
}
body {
  background: linear-gradient(135deg, #041522 0%, color-mix(in srgb, var(--secondary) 90%, #073653) 44%, #020912 100%) !important;
}
body:not(.print-page)::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(39,132,184,.48), transparent 31%),
    radial-gradient(circle at 78% 12%, rgba(29,91,138,.38), transparent 25%),
    radial-gradient(circle at 60% 82%, rgba(13,85,126,.50), transparent 36%),
    radial-gradient(circle at 8% 86%, rgba(5,42,76,.56), transparent 29%) !important;
  opacity: .78 !important;
}
body:not(.print-page)::after {
  background: linear-gradient(120deg, rgba(132,190,225,.08), rgba(4,14,25,.06)) !important;
}
.main-area {
  width: calc(100vw - 170px) !important;
  padding-top: 46px !important;
}
@media (max-width: 900px) {
  .main-area { width: calc(100vw - 46px) !important; }
}

/* v10 kontraszt, atlatszosag es riport naptar */
:root {
  --panel-dark: rgba(35, 40, 49, .74);
  --panel-dark-strong: rgba(31, 35, 43, .88);
  --panel-line: rgba(255,255,255,.16);
  --light-text: #f8fafc;
  --soft-text: #d2dae7;
}
body:not(.print-page) { color: var(--light-text); }
body:not(.print-page) .main-area { color: var(--light-text); }
body:not(.print-page) h1,
body:not(.print-page) h2,
body:not(.print-page) h3,
body:not(.print-page) label { color: var(--light-text); }
body:not(.print-page) .small-text,
body:not(.print-page) .ops-mini,
body:not(.print-page) .product-title-inline,
body:not(.print-page) .batch-label,
body:not(.print-page) .last-qr,
body:not(.print-page) .item-card .meta { color: var(--soft-text); }
body:not(.print-page) .glass-card,
body:not(.print-page) .settings-card,
body:not(.print-page) .modal,
body:not(.print-page) .report-product,
body:not(.print-page) .login-card {
  background: var(--panel-dark) !important;
  border: 1px solid var(--panel-line) !important;
  color: var(--light-text);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
body:not(.print-page) .settings-card,
body:not(.print-page) .modal,
body:not(.print-page) .login-card { background: var(--panel-dark-strong) !important; }
body:not(.print-page) .workstation-title-card {
  padding: 22px 24px;
  border-radius: 24px;
  margin-bottom: 18px;
}
body:not(.print-page) .workstation-head h1,
body:not(.print-page) .workstation-head h2 { margin-bottom: 6px; }
body:not(.print-page) .board-column {
  background: rgba(46, 51, 60, .54) !important;
  border-color: rgba(255,255,255,.13) !important;
  backdrop-filter: blur(18px);
}
body:not(.print-page) .item-card {
  background: rgba(74, 80, 91, .54) !important;
  border-color: rgba(255,255,255,.13) !important;
  color: var(--light-text);
}
body:not(.print-page) .item-card.waiting { background: rgba(145, 89, 22, .44) !important; }
body:not(.print-page) .item-card.ready { background: rgba(38, 112, 74, .44) !important; }
body:not(.print-page) .item-card.expired { background: rgba(140, 48, 48, .50) !important; }
body:not(.print-page) .table-wrap {
  background: rgba(25,29,36,.46);
  border-color: rgba(255,255,255,.12);
}
body:not(.print-page) th {
  background: rgba(24,28,35,.92);
  color: #f2f5f9;
}
body:not(.print-page) td { border-bottom-color: rgba(255,255,255,.11); color: var(--light-text); }
body:not(.print-page) input,
body:not(.print-page) select,
body:not(.print-page) textarea {
  background: rgba(248,250,252,.94);
  color: #111827;
  border-color: rgba(255,255,255,.26);
}
body:not(.print-page) input::placeholder,
body:not(.print-page) textarea::placeholder { color: #667085; }
body:not(.print-page) .secondary-btn,
body:not(.print-page) .small-btn,
body:not(.print-page) .ghost-btn {
  background: rgba(239,242,246,.94);
  color: #111827;
  border-color: rgba(255,255,255,.26);
}
body:not(.print-page) .toolbar h1 {
  color: var(--light-text);
  text-shadow: 0 3px 18px rgba(0,0,0,.50);
}
body:not(.print-page) .menu-card.image-card { min-height: 320px; }
body:not(.print-page) .image-card-text { min-height: 320px; padding: 28px; }
body:not(.print-page) .image-card-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.42) 45%, rgba(0,0,0,.84));
}
body:not(.print-page) .image-card h2,
body:not(.print-page) .image-card p,
body:not(.print-page) .ws-image-card h2,
body:not(.print-page) .ws-image-card p,
body:not(.print-page) .ws-image-card .ops-mini {
  color: #fff;
  text-shadow: 0 3px 16px rgba(0,0,0,.72);
}
.ws-select-card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
}
.ws-select-card:not(.ws-image-card) {
  background: var(--panel-dark-strong) !important;
}
.ws-image-card {
  min-height: 330px !important;
  padding: 0 !important;
  justify-content: flex-end;
}
.ws-image-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.80));
  pointer-events: none;
}
.ws-image-card h2,
.ws-image-card p,
.ws-image-card .ops-mini {
  position: relative;
  z-index: 1;
  margin-left: 22px;
  margin-right: 22px;
}
.ws-image-card h2 { margin-top: auto; }
.ws-image-card .ops-mini { margin-bottom: 22px; }
.modal-backdrop { background: rgba(0,0,0,.56); }
body:not(.print-page) .terms-text {
  background: rgba(20,24,31,.82);
  color: var(--light-text);
  border-color: rgba(255,255,255,.14);
}
body:not(.print-page) .notice.danger { background: rgba(197,40,40,.28); color: #ffd8d8; }
body:not(.print-page) .notice.success { background: rgba(25,135,84,.24); color: #cdf7dd; }
.toast-host { top: 92px; right: 34px; gap: 14px; }
.toast {
  min-width: 390px;
  max-width: 660px;
  padding: 22px 24px;
  border-radius: 22px;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 850;
  box-shadow: 0 24px 70px rgba(0,0,0,.32);
}
.report-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 14px;
  width: 100%;
}
.report-action-row { margin-top: 18px; }
.report-calendar-host { margin: 18px 0; }
.calendar-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 14px; }
.calendar-head h2 { margin: 0; }
.calendar-head p { margin: 0; color: var(--soft-text); }
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.calendar-weekdays b {
  text-align: center;
  padding: 8px;
  color: var(--soft-text);
}
.calendar-day {
  min-height: 86px;
  border-radius: 16px;
  padding: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calendar-day.other-month { opacity: .34; }
.calendar-day.selected { outline: 2px solid rgba(255,255,255,.32); background: rgba(255,255,255,.14); }
.calendar-day.has-data { border-color: rgba(137,230,168,.34); }
.calendar-date { font-weight: 900; }
.calendar-counts { display: flex; gap: 8px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cal-ok { color: #89e6a8; }
.cal-bad { color: #ff9b9b; }
.print-page .glass-card,
.print-page .settings-card,
.print-page .report-product,
.print-page .modal,
.print-page .login-card {
  background: white !important;
  color: #111827 !important;
  box-shadow: none;
}
.print-page h1,
.print-page h2,
.print-page h3,
.print-page label,
.print-page td,
.print-page th { color: #111827 !important; }
@media (max-width: 1200px) {
  .report-filter-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .calendar-day { min-height: 72px; }
}
@media (max-width: 700px) {
  .report-filter-grid { grid-template-columns: 1fr; }
  .toast { min-width: min(360px, calc(100vw - 32px)); font-size: 17px; }
}

/* v11 kepek, feltoltesi cimkek es olvashatosag */
body:not(.print-page)::before {
  animation-duration: 96s !important;
  animation-timing-function: ease-in-out !important;
}
body:not(.print-page)::after {
  animation: liquidGlassVeil 140s ease-in-out infinite alternate !important;
}
@keyframes liquidGlassVeil {
  from { transform: translate3d(-1.5vw, .8vh, 0) scale(1.01); opacity: .86; }
  to { transform: translate3d(1.8vw, -1vh, 0) scale(1.04); opacity: .94; }
}
body:not(.print-page) .table-wrap input,
body:not(.print-page) .table-wrap select,
body:not(.print-page) .table-wrap textarea {
  background: #aeb4bd !important;
  color: #05070b !important;
  border-color: rgba(0,0,0,.32) !important;
  font-weight: 650;
}
body:not(.print-page) .table-wrap input::placeholder,
body:not(.print-page) .table-wrap textarea::placeholder {
  color: #333b48 !important;
}
.upload-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.upload-line input[type="file"] {
  min-width: 210px;
  flex: 1 1 210px;
}
.upload-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.18);
}
.upload-status.uploaded {
  color: #d8f8e4;
  background: rgba(25,135,84,.34);
}
.upload-status.missing {
  color: #e8edf5;
  background: rgba(120,128,140,.34);
}
.ws-select-card.ws-image-card {
  background: rgba(18,22,30,.72) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
}
.ws-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform .25s ease;
}
.ws-select-card:hover .ws-card-bg { transform: scale(1.045); }
.ws-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.22) 38%, rgba(0,0,0,.80) 100%),
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.06));
  z-index: 1;
}
.ws-card-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  width: 100%;
  padding: 24px;
  color: #fff;
  text-align: left;
}
.ws-card-text h2,
.ws-card-text p,
.ws-card-text .ops-mini {
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: #fff !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.78);
}
.ws-card-text p { margin: 8px 0 0; font-weight: 800; }
.ws-card-text .ops-mini { margin-top: 12px; margin-bottom: 0 !important; }
.report-action-row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-start !important;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.report-action-row .primary-btn,
.report-action-row .secondary-btn {
  min-width: 150px;
}
.page-title-bar h1 {
  text-shadow: 0 3px 18px rgba(0,0,0,.70);
}

/* v12 responsiv beallitas es muveleti also sav */
#settingsBody .table-wrap {
  width: 100%;
  overflow-x: auto;
}
#settingsBody table {
  width: 100%;
  table-layout: auto;
}
#settingsBody th,
#settingsBody td {
  padding: clamp(6px, .55vw, 10px) clamp(5px, .5vw, 10px);
  font-size: clamp(11px, .72vw, 15px);
  line-height: 1.2;
}
#settingsBody table input,
#settingsBody table select,
#settingsBody table textarea {
  min-width: 0 !important;
  width: 100%;
  max-width: 100%;
  font-size: clamp(11px, .74vw, 15px) !important;
  padding: clamp(7px, .48vw, 11px) clamp(7px, .55vw, 12px) !important;
  border-radius: 10px;
}
#settingsBody table input[type="password"],
#settingsBody table input[placeholder*="változik"],
#settingsBody table input[placeholder*="valtozik"] {
  min-width: clamp(130px, 10vw, 230px) !important;
}
#settingsBody table td:nth-child(2) input,
#settingsBody table td:nth-child(3) input {
  min-width: clamp(135px, 11vw, 240px) !important;
}
.users-access-line {
  min-width: 0 !important;
  width: 100%;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: clamp(4px, .45vw, 10px) !important;
  align-items: center;
  overflow: visible;
}
.users-access-line label {
  font-size: clamp(10px, .66vw, 13px) !important;
  gap: 3px !important;
  white-space: nowrap;
  min-width: 0;
}
.users-access-line input[type="checkbox"] {
  width: clamp(12px, .8vw, 16px) !important;
  height: clamp(12px, .8vw, 16px) !important;
}
#settingsBody table td:has(.users-access-line) {
  min-width: clamp(520px, 42vw, 900px);
}
.operations-editor table {
  min-width: max(1500px, 100%);
}
.operations-editor th,
.operations-editor td {
  font-size: clamp(11px, .68vw, 14px) !important;
}
.operations-editor input,
.operations-editor select,
.operations-editor textarea {
  font-size: clamp(11px, .7vw, 14px) !important;
}
.bottom-ops {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(clamp(130px, 12vw, 210px), 1fr));
  gap: clamp(8px, .8vw, 14px) !important;
  overflow: visible !important;
  align-items: stretch;
  background: rgba(72, 78, 88, .76) !important;
  border-color: rgba(255,255,255,.18) !important;
  padding: clamp(10px, .95vw, 18px) !important;
  min-height: 0 !important;
}
.op-tab-large {
  min-width: 0 !important;
  width: 100%;
  padding: clamp(8px, .75vw, 14px) clamp(8px, .85vw, 15px) !important;
  font-size: clamp(11px, .78vw, 16px) !important;
  border-radius: clamp(12px, .95vw, 18px) !important;
}
.op-tab-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(6px, .6vw, 12px) !important;
  align-items: center;
}
.op-tab-text {
  min-width: 0;
  overflow: hidden;
}
.op-tab-text > div:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-tab-text .small-text {
  font-size: clamp(9px, .62vw, 12px) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.op-counts {
  margin-top: clamp(4px, .35vw, 7px) !important;
  gap: clamp(5px, .45vw, 9px) !important;
  font-size: clamp(12px, .85vw, 17px) !important;
}
.nav-qr {
  display: grid;
  place-items: center;
  min-width: 0;
}
.qr-nav-img {
  width: clamp(42px, 4.7vw, 96px) !important;
  height: clamp(42px, 4.7vw, 96px) !important;
  padding: clamp(2px, .22vw, 5px) !important;
  border-radius: clamp(6px, .5vw, 10px) !important;
}
@media (max-width: 1200px) {
  #settingsBody table td:has(.users-access-line) { min-width: 520px; }
  .bottom-ops { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .qr-nav-img { width: 54px !important; height: 54px !important; }
}

/* v13 session, nyomtatas es riport allapot */
.print-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  font-size: .9em;
}
.print-status.printed {
  color: #0f5132;
  background: rgba(25,135,84,.16);
  border: 1px solid rgba(25,135,84,.32);
}
.print-status.not-printed {
  color: #842029;
  background: rgba(197,40,40,.14);
  border: 1px solid rgba(197,40,40,.30);
}
body:not(.print-page) .print-status.printed {
  color: #c9f7d9;
  background: rgba(25,135,84,.34);
  border-color: rgba(137,230,168,.35);
}
body:not(.print-page) .print-status.not-printed {
  color: #ffd8d8;
  background: rgba(197,40,40,.32);
  border-color: rgba(255,155,155,.35);
}
.report-product-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}
.report-qr-code,
.print-qr-code {
  font-weight: 900;
  font-size: 13px;
  text-align: right;
  word-break: break-all;
  max-width: 36%;
  color: inherit;
}
.old-filters-card { margin-top: 18px; }
.print-logo-box {
  display: inline-grid;
  place-items: center;
  min-width: 150px;
  min-height: 88px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f3f5;
  border: 1px solid #d8dde5;
}
.print-product {
  break-inside: avoid;
  page-break-inside: avoid;
}
.print-product h2 { font-size: 15px; margin: 0 0 3px; }
.print-product p { margin: 2px 0 5px; }
.print-product table { font-size: 11px; }
.print-product th,
.print-product td { padding: 5px 6px; }
.print-page .report-product { margin: 9px 0; padding: 10px 12px; border-radius: 10px; }
.print-page .signature-line { margin-top: 18px; font-size: 14px; }
@media print {
  @page { margin: 10mm; }
  .no-print, .topbar, .toast-host { display: none !important; }
  body { background: white !important; }
  .print-doc { box-shadow: none; width: 100%; margin: 0; padding: 0; }
  .print-head { padding-bottom: 8px; margin-bottom: 8px; }
  .print-company-block h1 { font-size: 18px; margin-bottom: 4px; }
  .print-company-block p { font-size: 11px; margin: 2px 0; }
  .print-logo-box { min-width: 120px; min-height: 68px; padding: 7px; }
  .print-logo { max-width: 105px; max-height: 52px; }
  .report-product { break-inside: avoid; page-break-inside: avoid; }
  .report-product table { page-break-inside: avoid; }
}

/* v14 muveleti folyamat szerkeszto */
.flow-editor { display: grid; gap: 18px; }
.flow-mode-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: rgba(105,112,124,.45); border: 1px solid rgba(255,255,255,.14); }
.flow-mode-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--light-text); }
.flow-canvas { overflow-x: auto; padding: 18px; border-radius: 22px; background: rgba(205,211,220,.36); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(0,0,0,.10); }
.flow-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; margin: 12px 0; min-width: 860px; }
.flow-row-label { font-weight: 900; color: #f8fafc; background: rgba(32,36,44,.72); border-radius: 14px; padding: 10px 12px; text-align: center; }
.flow-row-track { display: flex; align-items: center; gap: 10px; min-height: 114px; }
.flow-box { min-width: 132px; max-width: 170px; min-height: 92px; padding: 10px; border-radius: 12px; border: 2px solid #111827; background: rgba(245,247,250,.96); color: #10151f; cursor: pointer; display: grid; align-content: center; gap: 4px; text-align: center; box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.flow-box strong { font-size: 14px; line-height: 1.15; }
.flow-box small { font-size: 11px; color: #303744; }
.flow-box em { font-size: 10px; font-style: normal; color: #7a0f18; font-weight: 900; }
.flow-box.selected { outline: 4px solid var(--primary); transform: translateY(-2px); }
.flow-box.branch-sub { background: rgba(232,240,255,.97); }
.flow-box.branch-assembly { background: rgba(255,246,214,.98); }
.flow-box.branch-post { background: rgba(232,255,242,.97); }
.flow-arrow { color: #0b1220; font-size: 28px; font-weight: 900; }
.flow-detail { padding: 18px; }
.operation-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; }
.operation-detail-grid label { display: grid; gap: 6px; font-weight: 800; }
.operation-detail-grid input,
.operation-detail-grid select { width: 100%; min-height: 42px; }
.operation-detail-grid .wide-field { grid-column: span 2; }
.operation-detail-grid .check-line { display: flex; align-items: center; gap: 10px; padding-top: 26px; }
.operation-detail-grid .check-line input { width: auto; min-height: auto; }
@media (max-width: 1200px) {
  .operation-detail-grid { grid-template-columns: repeat(2, minmax(170px, 1fr)); }
  .flow-row { grid-template-columns: 120px 1fr; min-width: 760px; }
  .flow-box { min-width: 118px; }
}

/* v16 muveleti editor es statisztika javitasok */
.hidden-file-input { display: none !important; }
.browse-btn { min-width: 104px; }
.table-wrap input,
.table-wrap select,
.table-wrap textarea,
.operation-detail-grid input,
.operation-detail-grid select,
.operation-detail-grid textarea {
  background: #c9ced6 !important;
  color: #111827 !important;
  border-color: #7b8493 !important;
}
.table-wrap input::placeholder,
.operation-detail-grid input::placeholder { color: #303744 !important; }
.flow-canvas { background: rgba(84,91,105,.72) !important; }
.flow-row { min-width: 1060px; }
.flow-row.main-row,
.flow-row.sub-row { grid-template-columns: 130px 1fr; }
.flow-row.common-row { grid-template-columns: 130px 1fr; }
.flow-row.common-row .flow-row-track {
  margin-left: clamp(190px, 24vw, 430px);
}
.flow-row.sub-row .flow-row-label { background: rgba(104,48,76,.80); }
.flow-box.branch-sub {
  background: rgba(255,214,232,.98) !important;
  border-color: #9d315b;
}
.flow-box.branch-sub small { color: #5b1731; }
.flow-box.branch-assembly { background: rgba(255,245,203,.98) !important; border-color: #8a6a04; }
.flow-box.branch-post { background: rgba(218,246,229,.98) !important; border-color: #24764b; }
.flow-detail .sub-title-tag { color: #ff9bc5; font-weight: 900; }
.operation-detail-grid select:disabled {
  opacity: .72;
  cursor: not-allowed;
  background: #aeb5bf !important;
}
.stats-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stats-metric {
  padding: 18px;
  border-radius: 18px;
  background: rgba(30,35,44,.78);
  border: 1px solid rgba(255,255,255,.15);
  color: #f8fafc;
}
.stats-metric strong {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-metric span { color: rgba(248,250,252,.78); font-weight: 800; }
.stats-table th,
.stats-table td { white-space: nowrap; }
@media (max-width: 1250px) {
  .flow-row { min-width: 900px; }
  .flow-box { min-width: 112px; max-width: 138px; }
  .flow-row.common-row .flow-row-track { margin-left: clamp(120px, 18vw, 260px); }
}

/* v17 workstation alsosav agas elrendezese */
.bottom-ops {
  display: block !important;
  background: rgba(74, 80, 90, .82) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  overflow-x: auto !important;
  padding: clamp(10px, .9vw, 18px) !important;
}
.bottom-ops-row {
  display: grid;
  grid-template-columns: clamp(84px, 7vw, 132px) minmax(0, 1fr);
  gap: clamp(8px, .75vw, 14px);
  align-items: center;
  margin: clamp(6px, .55vw, 10px) 0;
  min-width: min(980px, 100%);
}
.bottom-ops-row.unique-row { grid-template-columns: 0 minmax(0, 1fr); }
.bottom-ops-row.unique-row .bottom-ops-label { display: none; }
.bottom-ops-label {
  color: #f8fafc;
  font-weight: 900;
  text-align: center;
  background: rgba(24,28,36,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: clamp(8px, .65vw, 12px);
  font-size: clamp(11px, .78vw, 15px);
}
.bottom-ops-row.sub-row .bottom-ops-label { background: rgba(104,48,76,.84); }
.bottom-ops-track {
  display: flex;
  align-items: stretch;
  gap: clamp(7px, .65vw, 13px);
  min-width: 0;
}
.bottom-ops-row.common-row .bottom-ops-track {
  margin-left: clamp(130px, 20vw, 430px);
}
.bottom-ops .op-tab-large {
  flex: 1 1 clamp(112px, 10vw, 205px);
  min-width: clamp(112px, 10vw, 205px) !important;
  max-width: 260px;
}
.bottom-ops .op-tab-large.branch-sub {
  background: rgba(255,214,232,.95) !important;
  border-color: rgba(157,49,91,.70) !important;
  color: #34111f;
}
.bottom-ops .op-tab-large.branch-sub .small-text { color: #5b1731 !important; }
.bottom-ops .op-tab-large.branch-sub.active {
  background: #9d315b !important;
  color: #fff !important;
}
.bottom-ops .op-tab-large.branch-assembly { background: rgba(255,245,203,.96) !important; }
.bottom-ops .op-tab-large.branch-post { background: rgba(218,246,229,.96) !important; }
.bottom-ops .op-tab-large.branch-assembly.active,
.bottom-ops .op-tab-large.branch-post.active { background: var(--primary) !important; color: #fff !important; }
.bottom-ops .sub-title-tag { color: #7a0f18; font-weight: 950; }
.bottom-ops .op-tab-large.active .sub-title-tag { color: #ffd7e7; }
@media (max-width: 1280px) {
  .bottom-ops-row { grid-template-columns: 88px minmax(0, 1fr); }
  .bottom-ops-row.common-row .bottom-ops-track { margin-left: clamp(80px, 14vw, 240px); }
  .bottom-ops .op-tab-large { min-width: 118px !important; }
}

/* v18 workstation operation sav: ket sor, cimke nelkul, teljes szelesseg */
.bottom-ops {
  overflow-x: hidden !important;
  background: rgba(92, 96, 104, .84) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(7px, .65vw, 12px) !important;
  padding: clamp(8px, .7vw, 14px) !important;
}
.bottom-ops-row,
.bottom-ops-row.unique-row,
.bottom-ops-row.main-row,
.bottom-ops-row.sub-row,
.bottom-ops-row.common-row {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.bottom-ops-label { display: none !important; }
.bottom-ops-track,
.bottom-ops-row.common-row .bottom-ops-track {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  gap: clamp(5px, .48vw, 10px) !important;
  margin-left: 0 !important;
  min-width: 0 !important;
}
.bottom-ops .op-tab-large {
  flex: 1 1 calc((100% - (var(--op-count, 1) - 1) * clamp(5px, .48vw, 10px)) / var(--op-count, 1)) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: clamp(6px, .52vw, 12px) clamp(6px, .56vw, 13px) !important;
  font-size: clamp(10px, .72vw, 15px) !important;
}
.bottom-ops .op-tab-content {
  gap: clamp(4px, .45vw, 9px) !important;
}
.bottom-ops .op-tab-text > div:first-child {
  font-size: clamp(10px, .82vw, 16px) !important;
  line-height: 1.08 !important;
}
.bottom-ops .op-tab-text .small-text {
  font-size: clamp(8px, .62vw, 12px) !important;
}
.bottom-ops .op-counts {
  gap: clamp(3px, .35vw, 7px) !important;
}
.bottom-ops .qr-nav-img {
  width: var(--qr-size, clamp(28px, 4.2vw, 72px)) !important;
  height: var(--qr-size, clamp(28px, 4.2vw, 72px)) !important;
}
.bottom-ops-row.sub-row .op-tab-large.branch-sub {
  background: rgba(255,214,232,.95) !important;
  border-color: rgba(157,49,91,.70) !important;
}
@media (max-width: 1280px) {
  .bottom-ops .op-tab-large { min-width: 0 !important; }
  .bottom-ops .qr-nav-img { width: var(--qr-size, clamp(24px, 4vw, 56px)) !important; height: var(--qr-size, clamp(24px, 4vw, 56px)) !important; }
}

/* v18 settings muveleti szerkeszto visszaallitasa */
.flow-row { min-width: 860px !important; grid-template-columns: 150px 1fr !important; }
.flow-row.main-row,
.flow-row.sub-row,
.flow-row.common-row { grid-template-columns: 150px 1fr !important; }
.flow-row.common-row .flow-row-track { margin-left: 0 !important; }
.flow-row.sub-row .flow-row-label { background: rgba(32,36,44,.72) !important; }
.flow-box.branch-sub { background: rgba(232,240,255,.97) !important; border-color: #111827 !important; }
.flow-box.branch-sub small { color: #303744 !important; }
@media (max-width: 1250px) {
  .flow-row { min-width: 760px !important; grid-template-columns: 120px 1fr !important; }
  .flow-row.common-row .flow-row-track { margin-left: 0 !important; }
}

/* v19 alapanyag sav azonos kartya szelesseg, nyomtatatlan jelzes */
.bottom-ops-row.sub-row .op-tab-large {
  flex: 0 0 calc((100% - (var(--op-count, 1) - 1) * clamp(5px, .48vw, 10px)) / var(--op-count, 1)) !important;
}
.report-unprinted-info {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15,23,42,.55);
  color: #f8fafc;
  font-weight: 900;
  display: inline-block;
}
.report-unprinted-info b { color: #ff6b6b; font-size: 1.15em; }


/* v21 ellenorzes es visszavetel */
.undo-btn {
  min-width: 42px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 12px;
}
.failed-check-box {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 18px;
}
.big-warning-text {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.35;
  font-weight: 850;
  color: #f8fafc;
  text-align: center;
}
.fail-qr-wrap svg,
.fail-qr-wrap img {
  width: min(28vw, 190px);
  height: min(28vw, 190px);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  object-fit: contain;
}
.fail-code-text {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: .08em;
  color: #fef2f2;
}
.fail-scan-input {
  max-width: 520px;
  text-align: center;
}

/* azonosito generalas */
.label-generator-card { max-width: 980px; margin: 0 auto; }
.label-generator-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 18px; }
.label-help { margin: 18px 0; color: var(--soft-text, #d0d5dd); line-height: 1.5; }
.label-sample-box { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.label-print-toolbar { width: min(1100px, 96vw); margin: 18px auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #f3f4f6; border: 1px solid #d0d5dd; border-radius: 14px; padding: 14px 18px; }
.label-sheet { width: 210mm; min-height: 297mm; margin: 0 auto; background: white; display: grid; gap: 0; align-content: start; page-break-after: always; }
.label-sheet.labels-8 { grid-template-columns: repeat(2, 105mm); grid-auto-rows: 74.25mm; }
.label-sheet.labels-10 { grid-template-columns: repeat(2, 105mm); grid-auto-rows: 59.4mm; }
.label-sheet.labels-12 { grid-template-columns: repeat(3, 70mm); grid-auto-rows: 74.25mm; }
.label-sheet.labels-14 { grid-template-columns: repeat(2, 105mm); grid-auto-rows: 42.42mm; }
.label-sheet.labels-24 { grid-template-columns: repeat(3, 70mm); grid-auto-rows: 37.125mm; }
.qr-label-item { border: 1px dashed #c9ced6; padding: 4mm; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3mm; overflow: hidden; page-break-inside: avoid; break-inside: avoid; background: #fff; }
.qr-label-code { width: 30mm; height: 30mm; image-rendering: pixelated; flex: 0 0 auto; background: #fff; }
.qr-label-text { font-family: Arial, sans-serif; font-weight: 800; color: #111827; font-size: 8.1pt; line-height: 1.24; word-break: break-all; }
.labels-8 .qr-label-code, .labels-10 .qr-label-code { width: 40mm; height: 40mm; }
.labels-8 .qr-label-text, .labels-10 .qr-label-text { font-size: 11pt; }
.labels-14 .qr-label-code { width: 29mm; height: 29mm; }
.labels-24 .qr-label-code { width: 27mm; height: 27mm; }
.labels-14 .qr-label-text { font-size: 7.4pt; }
.labels-24 .qr-label-text { font-size: 6.3pt; }
@page { size: A4; margin: 0; }
@media print {
  .label-print-toolbar { display: none !important; }
  .label-print-page { margin: 0 !important; background: white !important; }
  .label-sheet { margin: 0; box-shadow: none; }
  .qr-label-item { border-color: #d8d8d8; }
  .qr-label-code { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
@media (max-width: 800px) { .label-generator-grid { grid-template-columns: 1fr; } }


/* v29 varakozo szam, aktiv alapanyag szin, kisebb sikertelen QR ablak */
.count-brown { color: #9a5b18; font-weight: 950; }
.op-tab-large.active .count-brown { color: #ffd08a; }
.bottom-ops .op-tab-large.branch-sub.active,
.bottom-ops-row.sub-row .op-tab-large.branch-sub.active {
  background: var(--primary) !important;
  border-color: color-mix(in srgb, var(--primary) 82%, #ffffff) !important;
  color: #fff !important;
}
.bottom-ops .op-tab-large.branch-sub.active .small-text,
.bottom-ops .op-tab-large.branch-sub.active .sub-title-tag { color: #ffe6ef !important; }
.failed-check-backdrop {
  background: transparent !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  padding: min(30vh, 260px) clamp(18px, 3.2vw, 58px) 0 0 !important;
  pointer-events: none;
}
.failed-check-modal {
  width: min(330px, 24vw) !important;
  min-width: 260px;
  max-height: none !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: rgba(31,35,43,.94) !important;
  pointer-events: auto;
}
.failed-check-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #f8fafc;
  font-size: 14px;
}
.failed-check-modal .big-warning-text {
  font-size: 12px !important;
  line-height: 1.25 !important;
  margin: 0 0 8px 0 !important;
  font-weight: 750 !important;
}
.failed-check-modal .fail-qr-wrap img,
.failed-check-modal .fail-qr-wrap svg {
  width: 86px !important;
  height: 86px !important;
  padding: 7px !important;
  border-radius: 10px !important;
}
.failed-check-modal .fail-qr-wrap {
  display: flex;
  justify-content: center;
}
.failed-check-modal .fail-code-text {
  font-size: 10px !important;
  letter-spacing: .02em !important;
  word-break: break-all;
  text-align: center;
  margin: 6px 0;
}
.failed-check-modal .fail-scan-input {
  height: 34px !important;
  font-size: 12px !important;
  padding: 6px 9px !important;
}
@media (max-width: 1100px) {
  .failed-check-backdrop { padding-top: 160px !important; padding-right: 14px !important; }
  .failed-check-modal { width: min(310px, 92vw) !important; }
}


/* v33 letisztitott bejelentkezo logo blokk */
.login-card h1 { display: none !important; }
.login-brand-row { justify-content: flex-start !important; gap: 24px !important; margin-bottom: 28px !important; }
.login-brand-box { border: none !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; border-radius: 0 !important; min-width: 0 !important; }
.login-brand-box .login-logo { background: transparent !important; border: none !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; margin: 0 !important; }
.company-brand-box { background: rgba(36, 40, 48, .96) !important; border-radius: 22px !important; padding: 18px 26px !important; min-height: 104px !important; min-width: 310px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.company-brand-box .login-logo { max-width: 320px !important; max-height: 82px !important; object-fit: contain !important; }
.glassflow-brand-box { min-height: 104px !important; min-width: 310px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.glassflow-brand-box .brand-logo { max-width: 350px !important; max-height: 92px !important; object-fit: contain !important; }
.login-brand-caption { display: none !important; }
.login-company-name { margin: 10px 0 24px; color: #d7dde7; font-size: 22px; font-weight: 500; letter-spacing: .01em; }
@media (max-width: 900px) {
  .login-brand-row { gap: 16px !important; }
  .company-brand-box, .glassflow-brand-box { width: 100% !important; min-width: 0 !important; }
  .company-brand-box .login-logo, .glassflow-brand-box .brand-logo { max-width: 100% !important; }
}


/* v34 bejelentkezo logo es video finomitas */
body:not(.print-page) .login-card {
  background: rgba(31, 36, 46, .70) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
}
.login-brand-row {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}
.login-brand-box {
  width: 100% !important;
  max-width: 520px !important;
  text-align: center !important;
}
.glassflow-brand-box {
  min-height: 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 10px !important;
}
.glassflow-brand-box .brand-logo {
  max-width: min(100%, 500px) !important;
  max-height: 112px !important;
  margin: 0 auto !important;
}
.company-brand-box {
  min-height: 86px !important;
  min-width: 0 !important;
  width: min(100%, 440px) !important;
  background: rgba(36, 40, 48, .82) !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 22px !important;
  padding: 16px 24px !important;
}
.company-brand-box .login-logo {
  max-width: 100% !important;
  max-height: 76px !important;
  margin: 0 auto !important;
}
.login-company-name {
  text-align: center !important;
  margin: 0 0 24px !important;
}
.login-card label {
  display: block;
  text-align: left;
}

/* v35 uzenetkuldes es nyomtatas javitasok */
.page-subtitle {
  margin: 6px 0 0;
  color: var(--soft-text);
  font-size: 16px;
  font-weight: 650;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
  font-size: 13px;
}
.status-pill.ok { color: #d8f8e4; background: rgba(25,135,84,.34); border: 1px solid rgba(137,230,168,.34); }
.status-pill.muted { color: #e6ebf2; background: rgba(120,128,140,.34); border: 1px solid rgba(255,255,255,.14); }
.small-icon-btn.mail-btn {
  min-width: 42px;
  min-height: 36px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #f8fafc;
}
.messenger-history {
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-right: 4px;
}
.message-bubble {
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}
.message-bubble.unread { border-color: rgba(255,190,80,.42); background: rgba(255,190,80,.12); }
.message-bubble.read { border-color: rgba(137,230,168,.28); }
.message-bubble-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft-text);
  font-size: 13px;
}
.message-bubble p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  line-height: 1.35;
}
.message-ack-backdrop {
  z-index: 9999;
  backdrop-filter: blur(5px);
}
.message-ack-modal {
  max-width: 680px;
  background: rgba(31, 36, 45, .96) !important;
  color: #f8fafc !important;
}
.message-meta {
  color: var(--soft-text);
  margin-bottom: 12px;
}
.admin-message-text {
  white-space: pre-wrap;
  font-size: 19px;
  line-height: 1.38;
  font-weight: 700;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  margin: 10px 0 16px;
}
.message-ack-grid {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: center;
}
.message-ack-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}
.message-ack-check input { width: 22px; height: 22px; }
.message-ack-qr {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--soft-text);
  text-align: center;
}
.message-ack-qr canvas {
  width: 128px;
  height: 128px;
  background: white;
  border-radius: 10px;
  padding: 6px;
}
.message-ack-scan { margin-top: 12px; height: 1px; opacity: .01; pointer-events: none; }

body.print-page {
  background: #fff !important;
  color: #111827 !important;
}
.print-doc {
  width: auto !important;
  max-width: none !important;
  margin: 18px auto !important;
  padding: 20px 26px !important;
}
.print-head {
  align-items: center;
}
.print-logo-box {
  background: transparent !important;
  border: 0 !important;
  padding: 4px !important;
  min-width: 126px;
  min-height: 62px;
}
.print-logo {
  filter: drop-shadow(0 0 0 #111827) drop-shadow(.45px 0 0 #111827) drop-shadow(-.45px 0 0 #111827) drop-shadow(0 .45px 0 #111827) drop-shadow(0 -.45px 0 #111827);
  max-width: 126px;
  max-height: 62px;
}
.print-product-title { flex: 1 1 50%; min-width: 0; }
.print-product-qr-box {
  flex: 0 1 48%;
  margin-left: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  max-width: 48%;
}
.print-part-qr {
  width: 58px !important;
  height: 58px !important;
  background: white;
  padding: 3px;
  border: 1px solid #d0d5dd;
  flex: 0 0 auto;
}
.print-qr-code {
  font-size: 9px !important;
  line-height: 1.15;
  text-align: left !important;
  max-width: none !important;
  font-weight: 800;
}
.print-page .report-product-head { align-items: center; }
.print-page .report-product { border-color: #d7dbe3; }
.signature-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 560px;
}
.signature-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: end;
  gap: 12px;
  margin-top: 0 !important;
}
.signature-line i {
  display: block;
  border-bottom: 1.5px solid #111827;
  height: 20px;
}
@media print {
  @page { margin: 14mm 16mm; }
  .print-doc { width: auto !important; margin: 0 !important; padding: 0 !important; }
  .print-logo-box { background: transparent !important; border: 0 !important; }
  .print-logo { max-width: 112px; max-height: 54px; }
  .print-part-qr { width: 52px !important; height: 52px !important; }
  .print-qr-code { font-size: 8px !important; }
  .print-product h2 { font-size: 13px; }
  .print-product table { font-size: 10px; }
  .print-product th, .print-product td { padding: 4px 5px; }
}

/* v37 login es admin felulet finomitasok */
body:not(.print-page) .login-card {
  width: min(500px, 92vw) !important;
  padding: 24px 28px 28px !important;
  background: rgba(31, 36, 46, .70) !important;
}
.login-brand-row {
  gap: 8px !important;
  margin-bottom: 18px !important;
}
.glassflow-brand-box .brand-logo {
  max-width: min(100%, 420px) !important;
  max-height: 86px !important;
}
.company-brand-box {
  min-height: 43px !important;
  width: min(70%, 310px) !important;
  padding: 6px 10px !important;
  border-radius: 14px !important;
  background: rgba(36, 40, 48, .82) !important;
}
.company-brand-box .login-logo {
  max-width: 100% !important;
  max-height: 76px !important;
}
.login-company-name {
  margin: 0 0 14px !important;
  font-size: 18px !important;
}
.login-card label {
  margin-top: 10px !important;
}
.login-card input {
  min-height: 48px !important;
}
.title-count {
  display: inline-flex;
  margin-left: 10px;
  color: var(--soft-text);
  font-size: .78em;
  font-weight: 900;
}
.user-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 18px;
}
.user-editor-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 14px;
  margin: 10px 0 18px;
}
.readonly-access span {
  white-space: nowrap;
  color: var(--text);
  font-weight: 750;
}
.title-search-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.title-search-input {
  width: min(460px, 42vw);
  min-height: 44px;
  font-size: 17px;
  border-radius: 14px;
  background: #cbd5e1 !important;
  color: #111827 !important;
}
@media (max-width: 900px) {
  .user-editor-grid { grid-template-columns: 1fr; }
  .title-search-input { width: 100%; }
  body:not(.print-page) .login-card { padding: 20px !important; }
  .company-brand-box { width: min(86%, 310px) !important; }
}

/* v38 munkaallas kereso sor */
.ws-search-row { display:flex; justify-content:flex-start; margin: -12px 0 22px; }
.ws-search-row .title-search-input { width: min(620px, 100%); }


/* v39 bejelentkezo liquid glass es jogosultsag kontraszt */
body:not(.print-page) .login-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.055) 42%, rgba(255,255,255,.10)),
    rgba(18, 24, 34, .46) !important;
  border: 1px solid rgba(255,255,255,.26) !important;
  box-shadow:
    0 28px 80px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(255,255,255,.08) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
}
body:not(.print-page) .login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 10%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(120deg, rgba(255,255,255,.11), transparent 38%);
  opacity: .72;
}
body:not(.print-page) .login-card > * {
  position: relative;
  z-index: 1;
}
body:not(.print-page) #settingsBody .readonly-access span,
body:not(.print-page) #settingsBody .users-access-line.readonly-access span,
body:not(.print-page) #settingsBody tr:not(.inactive-row) .readonly-access span {
  color: #ffffff !important;
  text-shadow: 0 1px 5px rgba(0,0,0,.42);
}
body:not(.print-page) #settingsBody tr.inactive-row .readonly-access span {
  color: rgba(255,255,255,.68) !important;
}

/* v42 workstation navigacios QR olvashatosag kisebb monitorokon */
.bottom-ops {
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: clamp(10px, .9vw, 18px) !important;
}
.bottom-ops-track,
.bottom-ops-row.common-row .bottom-ops-track {
  min-width: 0 !important;
  width: 100% !important;
  gap: clamp(7px, .62vw, 12px) !important;
}
.bottom-ops .op-tab-large {
  min-width: clamp(168px, calc((100% - (var(--op-count, 1) - 1) * 10px) / var(--op-count, 1)), 320px) !important;
  padding: clamp(7px, .58vw, 13px) clamp(7px, .62vw, 14px) !important;
}
.bottom-ops .op-tab-content {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}
.bottom-ops .op-tab-text > div:first-child {
  font-size: clamp(10px, .78vw, 15px) !important;
  line-height: 1.08 !important;
}
.bottom-ops .op-tab-text .small-text {
  font-size: clamp(8px, .55vw, 11px) !important;
}
.bottom-ops .op-counts {
  font-size: clamp(11px, .72vw, 15px) !important;
  gap: clamp(3px, .28vw, 6px) !important;
}
.bottom-ops .nav-qr {
  width: var(--qr-size, clamp(88px, 7vw, 154px)) !important;
  min-width: var(--qr-size, clamp(88px, 7vw, 154px)) !important;
  align-self: center !important;
}
.bottom-ops .qr-nav-img {
  width: var(--qr-size, clamp(88px, 7vw, 154px)) !important;
  height: var(--qr-size, clamp(88px, 7vw, 154px)) !important;
  padding: clamp(4px, .28vw, 7px) !important;
  border: 2px solid rgba(17,24,39,.22) !important;
  border-radius: clamp(8px, .55vw, 13px) !important;
  image-rendering: pixelated;
}
@media (max-width: 1280px) {
  .bottom-ops-track,
  .bottom-ops-row.common-row .bottom-ops-track {
    gap: 7px !important;
  }
  .bottom-ops .op-tab-large {
    min-width: clamp(160px, calc((100% - (var(--op-count, 1) - 1) * 7px) / var(--op-count, 1)), 300px) !important;
  }
  .bottom-ops .nav-qr,
  .bottom-ops .qr-nav-img {
    width: var(--qr-size, clamp(88px, 7vw, 140px)) !important;
    height: var(--qr-size, clamp(88px, 7vw, 140px)) !important;
    min-width: var(--qr-size, clamp(88px, 7vw, 140px)) !important;
  }
}

/* v43 kompakt muvelet kartya: nagyobb navigacios QR, kisebb kartya */
body:not(.print-page) .workstation-title-card {
  padding: clamp(8px, .75vw, 14px) clamp(14px, 1.2vw, 22px) !important;
  border-radius: 18px !important;
  margin-top: clamp(-6px, -.35vw, 0px) !important;
  margin-bottom: clamp(7px, .65vw, 12px) !important;
}
body:not(.print-page) .workstation-head {
  gap: clamp(8px, .8vw, 14px) !important;
}
body:not(.print-page) .workstation-head h1 {
  font-size: clamp(20px, 1.45vw, 30px) !important;
  line-height: 1.05 !important;
  margin: 0 0 2px !important;
}
body:not(.print-page) .workstation-head h2 {
  font-size: clamp(14px, 1vw, 20px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}
body:not(.print-page) .workstation-head .pdf-buttons {
  gap: clamp(5px, .45vw, 8px) !important;
}
body:not(.print-page) .workstation-head .pdf-buttons button {
  padding: clamp(7px, .55vw, 10px) clamp(9px, .75vw, 13px) !important;
  min-height: 34px !important;
}
body:not(.print-page) .workstation-scanner {
  padding: clamp(8px, .7vw, 12px) !important;
  margin-bottom: clamp(7px, .65vw, 12px) !important;
}

body:not(.print-page) .bottom-ops {
  padding: clamp(5px, .45vw, 9px) !important;
  gap: clamp(5px, .45vw, 8px) !important;
  min-height: 0 !important;
  border-radius: 20px !important;
  margin-top: clamp(8px, .7vw, 12px) !important;
}
body:not(.print-page) .bottom-ops-track,
body:not(.print-page) .bottom-ops-row.common-row .bottom-ops-track {
  gap: clamp(5px, .42vw, 8px) !important;
}
body:not(.print-page) .bottom-ops .op-tab-large {
  min-height: 0 !important;
  padding: clamp(6px, .45vw, 9px) clamp(5px, .42vw, 8px) clamp(6px, .45vw, 9px) clamp(10px, .75vw, 14px) !important;
  border-radius: 18px !important;
}
body:not(.print-page) .bottom-ops .op-tab-content {
  display: grid !important;
  grid-template-columns: minmax(62px, 1fr) auto !important;
  gap: clamp(4px, .35vw, 7px) !important;
  align-items: center !important;
}
body:not(.print-page) .bottom-ops .op-tab-text > div:first-child {
  font-size: clamp(12px, .95vw, 18px) !important;
  line-height: 1.02 !important;
  margin-bottom: 1px !important;
}
body:not(.print-page) .bottom-ops .op-tab-text .small-text {
  font-size: clamp(9px, .62vw, 12px) !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}
body:not(.print-page) .bottom-ops .op-counts {
  margin-top: clamp(4px, .35vw, 6px) !important;
  font-size: clamp(13px, .9vw, 18px) !important;
  line-height: 1 !important;
}
body:not(.print-page) .bottom-ops .nav-qr {
  width: var(--qr-size, clamp(104px, 8.6vw, 168px)) !important;
  min-width: var(--qr-size, clamp(104px, 8.6vw, 168px)) !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body:not(.print-page) .bottom-ops .qr-nav-img {
  width: var(--qr-size, clamp(104px, 8.6vw, 168px)) !important;
  height: var(--qr-size, clamp(104px, 8.6vw, 168px)) !important;
  padding: 1px !important;
  border-radius: 12px !important;
  border: 2px solid rgba(17,24,39,.22) !important;
  background: #fff !important;
  object-fit: contain !important;
  display: block !important;
}
@media (max-width: 1280px) {
  body:not(.print-page) .bottom-ops .nav-qr,
  body:not(.print-page) .bottom-ops .qr-nav-img {
    width: var(--qr-size, clamp(98px, 8.3vw, 148px)) !important;
    height: var(--qr-size, clamp(98px, 8.3vw, 148px)) !important;
    min-width: var(--qr-size, clamp(98px, 8.3vw, 148px)) !important;
  }
}
@media (max-width: 900px) {
  body:not(.print-page) .workstation-head { grid-template-columns: 1fr !important; }
  body:not(.print-page) .workstation-head .pdf-buttons { justify-content: flex-start !important; flex-wrap: wrap !important; }
  body:not(.print-page) .bottom-ops .nav-qr,
  body:not(.print-page) .bottom-ops .qr-nav-img {
    width: var(--qr-size, clamp(92px, 22vw, 132px)) !important;
    height: var(--qr-size, clamp(92px, 22vw, 132px)) !important;
    min-width: var(--qr-size, clamp(92px, 22vw, 132px)) !important;
  }
}


/* v44 ikonok, reszponziv login es veszelyes gomb vedelme */
body:not(.print-page) .login-card {
  width: clamp(336px, 29vw, 520px) !important;
  max-width: calc(100vw - clamp(28px, 5vw, 96px)) !important;
  max-height: calc(100dvh - clamp(24px, 5vh, 72px)) !important;
  overflow-y: auto !important;
  padding: clamp(18px, 2.1vw, 30px) clamp(20px, 2.35vw, 34px) !important;
}
body:not(.print-page) .login-brand-row {
  gap: clamp(6px, 1.1vh, 12px) !important;
  margin-bottom: clamp(12px, 2vh, 22px) !important;
}
body:not(.print-page) .glassflow-brand-box .brand-logo {
  max-width: min(100%, clamp(250px, 24vw, 440px)) !important;
  max-height: clamp(54px, 9vh, 94px) !important;
}
body:not(.print-page) .company-brand-box {
  width: min(64%, 300px) !important;
  min-height: clamp(34px, 5.2vh, 48px) !important;
  padding: clamp(4px, .85vh, 8px) clamp(8px, 1.1vw, 12px) !important;
}
body:not(.print-page) .company-brand-box .login-logo {
  max-height: clamp(30px, 5vh, 56px) !important;
}
body:not(.print-page) .login-company-name {
  margin: 0 0 clamp(10px, 1.8vh, 18px) !important;
  font-size: clamp(15px, 1.45vw, 20px) !important;
}
body:not(.print-page) .login-card label {
  margin-top: clamp(6px, 1.2vh, 10px) !important;
  margin-bottom: 4px !important;
}
body:not(.print-page) .login-card input {
  min-height: clamp(40px, 5.4vh, 50px) !important;
  padding-top: clamp(8px, 1.1vh, 12px) !important;
  padding-bottom: clamp(8px, 1.1vh, 12px) !important;
}
body:not(.print-page) .login-card .primary-btn {
  min-height: clamp(40px, 5.4vh, 50px) !important;
  padding-top: clamp(8px, 1.1vh, 12px) !important;
  padding-bottom: clamp(8px, 1.1vh, 12px) !important;
}
body:not(.print-page) .disabled-danger,
body:not(.print-page) .danger-btn:disabled {
  cursor: not-allowed !important;
  opacity: .45 !important;
  filter: grayscale(.35) !important;
}
@media (max-height: 760px) {
  body:not(.print-page) .login-wrap { align-items: flex-start !important; padding-top: clamp(10px, 3vh, 24px) !important; padding-bottom: clamp(10px, 3vh, 24px) !important; }
  body:not(.print-page) .login-card { padding: 16px 22px !important; }
  body:not(.print-page) .glassflow-brand-box .brand-logo { max-height: 58px !important; }
  body:not(.print-page) .company-brand-box { min-height: 34px !important; }
  body:not(.print-page) .company-brand-box .login-logo { max-height: 38px !important; }
}
@media (min-width: 1600px) and (min-height: 900px) {
  body:not(.print-page) .login-card { width: clamp(430px, 28vw, 560px) !important; }
}
@media (max-width: 640px) {
  body:not(.print-page) .login-card { width: calc(100vw - 24px) !important; padding: 18px !important; }
  body:not(.print-page) .company-brand-box { width: min(82%, 300px) !important; }
}


/* v45 login logo es meretezes javitasok */
html:has(body.login-page),
body.login-page {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}
body.login-page #app {
  width: 100vw !important;
  height: 100dvh !important;
  overflow: hidden !important;
}
body.login-page .login-wrap {
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
  align-items: center !important;
  justify-content: center !important;
  padding: clamp(8px, 2.2dvh, 24px) clamp(12px, 2.8vw, 44px) !important;
}
body.login-page .login-card {
  width: clamp(318px, 29vw, 540px) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: none !important;
  overflow: visible !important;
  padding: clamp(16px, 2dvh, 28px) clamp(18px, 2.2vw, 34px) !important;
  transform: scale(var(--login-scale, 1)) !important;
  transform-origin: center center !important;
}
body.login-page .login-brand-row {
  gap: clamp(2px, .55dvh, 7px) !important;
  margin-bottom: clamp(8px, 1.25dvh, 15px) !important;
}
body.login-page .login-brand-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}
body.login-page .glassflow-brand-box {
  width: 100% !important;
  max-width: none !important;
}
body.login-page .glassflow-brand-box .brand-logo {
  width: min(100%, clamp(260px, 24vw, 470px)) !important;
  max-width: min(100%, clamp(260px, 24vw, 470px)) !important;
  max-height: clamp(54px, 10dvh, 104px) !important;
  object-fit: contain !important;
}
body.login-page .company-brand-box {
  width: min(72%, clamp(230px, 17vw, 330px)) !important;
  max-width: min(72%, clamp(230px, 17vw, 330px)) !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  filter: none !important;
}
body.login-page .company-brand-box .login-logo {
  width: auto !important;
  max-width: 100% !important;
  max-height: clamp(38px, 6.4dvh, 74px) !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, .78))
    drop-shadow(0 5px 10px rgba(0, 0, 0, .62)) !important;
}
body.login-page .login-company-name {
  margin: 0 0 clamp(7px, 1.15dvh, 14px) !important;
  font-size: clamp(14px, 1.35vw, 19px) !important;
}
body.login-page .login-card label {
  margin-top: clamp(5px, .9dvh, 9px) !important;
  margin-bottom: 3px !important;
}
body.login-page .login-card input {
  min-height: clamp(38px, 5.1dvh, 48px) !important;
  padding-top: clamp(7px, .9dvh, 11px) !important;
  padding-bottom: clamp(7px, .9dvh, 11px) !important;
}
body.login-page .login-card .primary-btn,
body.login-page .login-card .secondary-btn {
  min-height: clamp(38px, 5.1dvh, 48px) !important;
  padding-top: clamp(7px, .9dvh, 11px) !important;
  padding-bottom: clamp(7px, .9dvh, 11px) !important;
}
@media (max-height: 720px) {
  body.login-page .login-brand-row { gap: 1px !important; margin-bottom: 7px !important; }
  body.login-page .glassflow-brand-box .brand-logo { max-height: clamp(46px, 8.6dvh, 62px) !important; }
  body.login-page .company-brand-box .login-logo { max-height: clamp(30px, 5.2dvh, 42px) !important; }
  body.login-page .login-company-name { margin-bottom: 7px !important; }
}
@media (max-width: 640px) {
  body.login-page .login-card { width: calc(100vw - 24px) !important; }
  body.login-page .company-brand-box { width: min(78%, 300px) !important; max-width: min(78%, 300px) !important; }
}

/* v46 kisebb bejelentkezo kartya */
body.login-page .login-card {
  width: clamp(270px, 24.65vw, 459px) !important;
  max-width: calc(100vw - 24px) !important;
  padding: clamp(9px, 1.2dvh, 17px) clamp(15px, 1.9vw, 29px) !important;
}
body.login-page .login-brand-row {
  gap: clamp(1px, .3dvh, 4px) !important;
  margin-bottom: clamp(3px, .6dvh, 8px) !important;
}
body.login-page .glassflow-brand-box .brand-logo {
  width: min(100%, clamp(221px, 20.4vw, 400px)) !important;
  max-width: min(100%, clamp(221px, 20.4vw, 400px)) !important;
  max-height: clamp(32px, 6dvh, 62px) !important;
}
body.login-page .company-brand-box {
  width: min(68%, clamp(196px, 14.45vw, 281px)) !important;
  max-width: min(68%, clamp(196px, 14.45vw, 281px)) !important;
}
body.login-page .company-brand-box .login-logo {
  max-height: clamp(23px, 3.85dvh, 44px) !important;
}
body.login-page .login-company-name {
  margin: 0 0 clamp(3px, .55dvh, 8px) !important;
  font-size: clamp(12px, 1.1vw, 16px) !important;
  line-height: 1.15 !important;
}
body.login-page .login-card label {
  margin-top: clamp(2px, .45dvh, 5px) !important;
  margin-bottom: 2px !important;
  font-size: clamp(12px, 1.05vw, 14px) !important;
}
body.login-page .login-card input {
  min-height: clamp(26px, 3.05dvh, 34px) !important;
  padding-top: clamp(4px, .5dvh, 7px) !important;
  padding-bottom: clamp(4px, .5dvh, 7px) !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
}
body.login-page .login-card .primary-btn,
body.login-page .login-card .secondary-btn {
  min-height: clamp(27px, 3.1dvh, 35px) !important;
  padding-top: clamp(4px, .5dvh, 7px) !important;
  padding-bottom: clamp(4px, .5dvh, 7px) !important;
  font-size: clamp(13px, 1.05vw, 15px) !important;
}
body.login-page .login-card [style*="margin-top:18px"] {
  margin-top: clamp(6px, .85dvh, 11px) !important;
}
@media (max-height: 720px) {
  body.login-page .login-card { padding: 8px 18px !important; }
  body.login-page .login-brand-row { gap: 0 !important; margin-bottom: 4px !important; }
  body.login-page .glassflow-brand-box .brand-logo { max-height: clamp(28px, 5.2dvh, 44px) !important; }
  body.login-page .company-brand-box .login-logo { max-height: clamp(19px, 3.2dvh, 32px) !important; }
  body.login-page .login-company-name { margin-bottom: 4px !important; }
}
@media (max-width: 640px) {
  body.login-page .login-card { width: min(calc(100vw - 24px), 85vw) !important; }
  body.login-page .company-brand-box { width: min(72%, 260px) !important; max-width: min(72%, 260px) !important; }
}


/* v47 login logo aranyok es tavolsag veglegesites */
body.login-page .login-card {
  width: clamp(420px, 43vw, 650px) !important;
  max-width: calc(100vw - 24px) !important;
  padding: clamp(14px, 1.6dvh, 22px) clamp(28px, 2.8vw, 42px) clamp(18px, 2dvh, 28px) !important;
}
body.login-page .login-brand-row {
  gap: clamp(0px, .22dvh, 3px) !important;
  margin-bottom: clamp(2px, .35dvh, 6px) !important;
}
body.login-page .glassflow-brand-box {
  padding: 0 !important;
}
body.login-page .glassflow-brand-box .brand-logo {
  width: min(100%, clamp(320px, 34vw, 520px)) !important;
  max-width: min(100%, clamp(320px, 34vw, 520px)) !important;
  max-height: clamp(76px, 12dvh, 132px) !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 26px 36px rgba(0, 0, 0, .78))
    drop-shadow(0 10px 18px rgba(0, 0, 0, .60))
    drop-shadow(0 2px 3px rgba(255, 255, 255, .12)) !important;
}
body.login-page .company-brand-box {
  width: min(86%, clamp(290px, 28vw, 470px)) !important;
  max-width: min(86%, clamp(290px, 28vw, 470px)) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
body.login-page .company-brand-box .login-logo {
  width: auto !important;
  max-width: 100% !important;
  max-height: clamp(58px, 9.2dvh, 102px) !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 28px 38px rgba(0, 0, 0, .84))
    drop-shadow(0 12px 20px rgba(0, 0, 0, .64)) !important;
}
body.login-page .login-company-name {
  margin: 0 0 clamp(8px, 1.05dvh, 14px) !important;
  font-size: clamp(17px, 1.8vw, 26px) !important;
  line-height: 1.15 !important;
}
body.login-page .login-card label {
  margin-top: clamp(5px, .7dvh, 9px) !important;
  margin-bottom: 4px !important;
  font-size: clamp(15px, 1.45vw, 22px) !important;
  font-weight: 800 !important;
}
body.login-page .login-card input {
  min-height: clamp(48px, 6dvh, 60px) !important;
  padding: clamp(10px, 1.1dvh, 14px) clamp(18px, 1.6vw, 24px) !important;
  font-size: clamp(18px, 1.7vw, 32px) !important;
}
body.login-page .login-card .primary-btn,
body.login-page .login-card .secondary-btn {
  min-height: clamp(48px, 6dvh, 60px) !important;
  padding: clamp(10px, 1.1dvh, 14px) clamp(22px, 2vw, 32px) !important;
  font-size: clamp(18px, 1.7vw, 28px) !important;
  font-weight: 800 !important;
}
body.login-page .login-card [style*="margin-top:18px"] {
  margin-top: clamp(8px, .95dvh, 12px) !important;
  gap: 10px !important;
}
@media (max-height: 760px) {
  body.login-page .login-card {
    padding: 12px 22px 16px !important;
  }
  body.login-page .glassflow-brand-box .brand-logo {
    max-height: clamp(62px, 10dvh, 92px) !important;
  }
  body.login-page .company-brand-box .login-logo {
    max-height: clamp(42px, 6.4dvh, 70px) !important;
  }
  body.login-page .login-company-name {
    margin-bottom: 8px !important;
  }
}
@media (max-width: 640px) {
  body.login-page .login-card {
    width: calc(100vw - 24px) !important;
    padding: 14px 18px 18px !important;
  }
  body.login-page .glassflow-brand-box .brand-logo {
    width: min(100%, 82vw) !important;
    max-width: min(100%, 82vw) !important;
    max-height: 92px !important;
  }
  body.login-page .company-brand-box {
    width: min(90%, 340px) !important;
    max-width: min(90%, 340px) !important;
  }
  body.login-page .company-brand-box .login-logo {
    max-height: 76px !important;
  }
}


/* v45 workstation muveleti anyag es nagyobb navigacios QR */
body:not(.print-page) .bottom-ops .op-name-line {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: clamp(4px, .28vw, 7px) !important;
}
body:not(.print-page) .bottom-ops .op-material-inline {
  font-size: .82em !important;
  font-weight: 850 !important;
  color: rgba(17, 24, 39, .68) !important;
  white-space: nowrap !important;
}
body:not(.print-page) .bottom-ops .op-tab-large.active .op-material-inline {
  color: rgba(255, 255, 255, .82) !important;
}
body:not(.print-page) .bottom-ops .op-tab-content {
  grid-template-columns: minmax(56px, 1fr) auto !important;
}
body:not(.print-page) .bottom-ops .nav-qr {
  width: var(--qr-size, clamp(82px, 6vw, 150px)) !important;
  min-width: var(--qr-size, clamp(82px, 6vw, 150px)) !important;
  height: var(--qr-size, clamp(82px, 6vw, 150px)) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  align-self: center !important;
}
body:not(.print-page) .bottom-ops .qr-nav-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  image-rendering: pixelated !important;
}
@media (max-width: 900px) {
  body:not(.print-page) .bottom-ops .nav-qr {
    width: var(--qr-size, clamp(78px, 21vw, 132px)) !important;
    min-width: var(--qr-size, clamp(78px, 21vw, 132px)) !important;
    height: var(--qr-size, clamp(78px, 21vw, 132px)) !important;
  }
}


/* v47 riport nyomtatas: alapanyag QR megjelenites */
.report-sub-qr-list,
.print-sub-qr-list {
  margin-top: 4px;
  font-weight: 800;
  line-height: 1.18;
}
.print-sub-qr-list {
  font-size: 8px;
}
body:not(.print-page) .report-sub-qr-list {
  margin-top: 6px;
  font-size: 12px;
  color: var(--soft-text);
}


/* v50 login szoveg finomitas es belepes atmenet */
body.login-page .login-card label {
  font-size: clamp(12px, 1.16vw, 17.5px) !important;
  font-weight: 400 !important;
}
body.login-page .login-card .primary-btn,
body.login-page .login-card .secondary-btn {
  font-size: clamp(14px, 1.36vw, 22px) !important;
  font-weight: 400 !important;
}
.login-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms ease;
}
.login-transition-overlay.is-visible {
  opacity: 1;
}
.login-transition-overlay.is-leaving {
  opacity: 0;
  transition-duration: 680ms;
}
.login-transition-logo-wrap {
  width: min(58vw, 520px);
  max-height: 38vh;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.94);
  transition: opacity 700ms ease, transform 700ms ease;
}
.login-transition-overlay.is-visible .login-transition-logo-wrap {
  opacity: 1;
  transform: scale(1);
}
.login-transition-overlay.is-leaving .login-transition-logo-wrap {
  opacity: 0;
  transform: scale(1.035);
  transition-duration: 560ms;
}
.login-transition-logo {
  max-width: 100%;
  max-height: 38vh;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 42px rgba(0, 0, 0, .9))
    drop-shadow(0 0 22px rgba(255, 255, 255, .16));
}


/* v51 riport naptar honap valto gombok */
.calendar-month-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.calendar-month-nav .secondary-btn {
  min-height: 42px;
  padding: 10px 16px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-month-nav {
    justify-content: flex-start;
  }
}


/* v52 nyomtatas QR fix, tiltott muveletek es QR ujraengedelyezes */
.op-tab-large.no-access,
.op-tab-large.no-access:hover {
  opacity: .42 !important;
  filter: grayscale(1) !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}
.op-tab-large.no-access .op-tab-content {
  justify-content: flex-start !important;
}
.op-tab-large.no-access .op-counts span {
  opacity: .55 !important;
}
.op-tab-large.no-access .small-text,
.op-tab-large.no-access .op-material-inline,
.op-tab-large.no-access .sub-title-tag {
  color: rgba(220, 226, 235, .52) !important;
}
.identify-reenable-row {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(197, 40, 40, .35);
  border-radius: 16px;
  background: rgba(197, 40, 40, .10);
}
.identify-reenable-row .danger-btn {
  margin-bottom: 8px;
}
.print-page script {
  display: none !important;
}

/* v56 korabbi szuresek fejlec */
.old-filters-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.old-filters-head h2 { margin: 0; }
.old-filters-show-all { white-space: nowrap; }
@media (max-width: 720px) {
  .old-filters-head { flex-direction: column; align-items: stretch; }
  .old-filters-show-all { width: 100%; }
}
