/* Airtherm CRM — felület
   Színek a logóból: mélykék (#14408F) és meleg szürke (#BBBAB8).
   A sürgősséget "hőmérséklet" jelzi: forró (lejárt) → meleg (hamarosan) → hűvös (rendben).
   Betű: Bahnschrift (Windows DIN — műszaki, adattábla-hangulat) a címekhez és számokhoz. */

:root {
  --brand: #14408f;
  --brand-strong: #0e2f6c;
  --brand-tint: #e7edf8;
  --brand-tint-2: #d5e0f3;
  --steel: #bbbab8;
  --steel-tint: #eeedea;

  --ground: #f3f3f1;
  --surface: #ffffff;
  --line: #e2e1dd;
  --ink: #17202f;
  --ink-2: #535c6b;
  --ink-3: #737a86;

  --hot: #b93a22;
  --hot-tint: #fbe9e4;
  --warm: #a8620b;
  --warm-bar: #d98a1c;
  --warm-tint: #fcf0dc;
  --ok: #2c7a4b;

  --font-display: "Bahnschrift", "DIN Alternate", "DIN Next", "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --sidebar-w: 252px;
  --shadow: 0 1px 2px rgba(23, 32, 47, .05), 0 2px 8px rgba(23, 32, 47, .04);
}

*, *::before, *::after { box-sizing: border-box; }
[x-cloak] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 15px/1.5 var(--font-body);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: .005em; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }

/* Oldalváltás-jelző (htmx) */
.loadbar { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--brand); transform: scaleX(0); transform-origin: left; opacity: 0; }
.loadbar.htmx-request { opacity: 1; animation: load 1.2s ease-out forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(.85); } }

/* ---------- Keret ---------- */
.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line);
  padding: 18px 14px 20px;
}
.sidebar__brand { display: block; padding: 2px 12px 14px; }
.sidebar__brand img { display: block; width: 104px; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__group + .nav__group { margin-top: 12px; }
.nav__label {
  margin: 0 0 4px; padding: 0 12px;
  font: 600 11.5px/1.4 var(--font-display); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
}
.nav__link {
  display: flex; align-items: center; gap: 11px;
  padding: 7px 12px; border-radius: 8px;
  color: var(--ink-2); font-weight: 500;
}
.nav__link:hover { background: var(--steel-tint); color: var(--ink); text-decoration: none; }
.nav__link.is-active { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.nav__link.is-active .icon { stroke-width: 2; }
.nav__link span:not(.badge) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.badge {
  min-width: 22px; padding: 1px 7px; border-radius: 999px; text-align: center;
  font: 600 12px/1.5 var(--font-display); font-variant-numeric: tabular-nums;
}
.badge--hot { background: var(--hot); color: #fff; }
.badge--warm { background: var(--warm-tint); color: var(--warm); }

.main { min-width: 0; display: flex; flex-direction: column; }
.content { width: 100%; max-width: 1180px; padding: 30px 40px 56px; }
.content:focus { outline: none; }

.sandbox {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
  padding: 8px 40px; font-size: 13.5px; color: #6b4507;
  background: repeating-linear-gradient(-45deg, var(--warm-tint) 0 14px, #f9e7c6 14px 28px);
  border-bottom: 1px solid #efd9b0;
}
.sandbox strong { font-family: var(--font-display); letter-spacing: .06em; text-transform: uppercase; font-size: 12.5px; }

.topbar { display: none; }
.scrim { display: none; }

/* ---------- Oldalfej ---------- */
.page-head { margin-bottom: 24px; }
.eyebrow { margin: 0 0 2px; color: var(--ink-3); font: 500 13px/1.4 var(--font-display); letter-spacing: .04em; }
.page-head h1 { font-size: 32px; line-height: 1.15; }
.lede { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; max-width: 60ch; }

/* ---------- Panelek ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px 20px; }
.panel--flush { padding-bottom: 20px; margin-bottom: 20px; }
.panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.panel__head h2 { font-size: 18px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; white-space: nowrap; }

.grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.grid__wide { grid-column: 1 / -1; }

.note { margin: 12px 0 0; color: var(--ink-3); font-size: 13px; }
.empty { margin: 4px 0 0; color: var(--ink-2); }
.chip {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  background: var(--steel-tint); color: var(--ink-2);
  font: 500 12px/1.6 var(--font-display); letter-spacing: .02em; white-space: nowrap;
}
.chip--warm { background: var(--warm-tint); color: var(--warm); }
.muted { color: var(--ink-3); }

/* ---------- Gombok ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border: 1px solid transparent; border-radius: 8px;
  background: var(--brand); color: #fff; font: 600 14.5px/1.3 var(--font-body); cursor: pointer; white-space: nowrap;
}
.button:hover { background: var(--brand-strong); text-decoration: none; }
.button .icon { width: 18px; height: 18px; }
.button--sm { padding: 6px 12px; font-size: 13.5px; }
.button--secondary { background: var(--surface); color: var(--ink); border-color: #cfcdc8; }
.button--secondary:hover { background: var(--steel-tint); }
.button--danger { background: var(--hot); }
.button--danger:hover { background: #962d19; }
.button--danger-quiet { background: none; color: var(--hot); padding-left: 0; padding-right: 0; }
.button--danger-quiet:hover { background: none; text-decoration: underline; }
.button:disabled, .button.is-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border: 0; border-radius: 8px; background: none; color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { background: var(--steel-tint); color: var(--ink); }

/* ---------- Folyamat-sáv (a logó cikkcakkját követő nyilak) ---------- */
.flow { --notch: 16px; display: flex; list-style: none; margin: 0; padding: 0; }
.flow__stage {
  flex: 1 1 0; min-width: 0; margin-left: -12px;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%);
  background: var(--stage-bg, var(--steel-tint)); color: var(--stage-ink, var(--ink-2));
  transition: filter .15s ease;
}
.flow__stage:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); border-radius: 8px 0 0 8px; }
.flow__stage:last-child { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--notch) 50%); border-radius: 0 8px 8px 0; }
.flow__link { display: flex; flex-direction: column; justify-content: center; gap: 2px; height: 100%; min-height: 86px; padding: 12px 22px 12px 32px; color: inherit; }
.flow__stage:first-child .flow__link { padding-left: 18px; }
.flow__link:hover { text-decoration: none; }
.flow__stage:hover { filter: brightness(.96); }
.flow__count { display: inline-flex; align-items: center; gap: 6px; font: 600 30px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.flow__name { font-size: 13px; line-height: 1.3; font-weight: 500; }

.flow__stage--active { --stage-bg: var(--brand-tint); --stage-ink: var(--brand); }
.flow__stage--active .flow__name { color: var(--ink); }
.flow__stage--warm { --stage-bg: var(--warm-tint); --stage-ink: var(--warm); }
.flow__stage--warm .flow__name { color: var(--ink); }
.flow__stage--empty .flow__count { color: var(--ink-3); font-weight: 500; }
.flow__stage--done { --stage-bg: var(--steel); --stage-ink: var(--ink); }

/* ---------- Teendők ---------- */
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.todo__item {
  --bar: var(--brand);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px 12px 18px; border-radius: 8px; color: var(--ink);
  background: linear-gradient(90deg, var(--bar) 0 4px, var(--ground) 4px);
}
.todo__item:hover { text-decoration: none; background: linear-gradient(90deg, var(--bar) 0 4px, var(--steel-tint) 4px); }
.todo__item--hot { --bar: var(--hot); }
.todo__item--warm { --bar: var(--warm-bar); }
.todo__count { min-width: 2ch; font: 600 26px/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; }
.todo__item--hot .todo__count { color: var(--hot); }
.todo__item--warm .todo__count { color: var(--warm); }
.todo__item--cool .todo__count { color: var(--brand); }
.todo__text { display: flex; flex-direction: column; min-width: 0; }
.todo__source { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 1px; color: var(--ink-3);
  font: 500 12px/1.4 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.todo__title { font-weight: 600; }
.todo__desc { color: var(--ink-2); font-size: 13.5px; }
.todo__go { color: var(--ink-3); }

/* ---------- Számok ---------- */
.stats { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stats th, .stats td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: right; }
.stats thead th { padding-top: 0; font: 600 12px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.stats tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.stats td { font: 600 17px/1.2 var(--font-display); padding-left: 16px; white-space: nowrap; }
.stats tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Tevékenység ---------- */
.activity { list-style: none; margin: 0; padding: 0; }
.activity__row { display: grid; grid-template-columns: 96px auto 1fr; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.activity__row:last-child { border-bottom: 0; }
.activity__when { color: var(--ink-3); font: 500 13px/1.4 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.activity__what { min-width: 0; }
.activity__who { color: var(--ink-2); }

/* ---------- Átmeneti oldal ---------- */
.placeholder { max-width: 620px; }
.placeholder__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); margin-bottom: 8px; }
.placeholder p { margin: 6px 0 0; }

/* ---------- Oldalfej gombokkal ---------- */
.page-head--actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Űrlap-elemek ---------- */
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=search],
input[type=number], input[type=password], input:not([type]), textarea, select {
  width: 100%; padding: 9px 11px; border: 1px solid #cfcdc8; border-radius: 8px;
  background: var(--surface); color: var(--ink); font: 15px/1.4 var(--font-body);
}
textarea { resize: vertical; min-height: 88px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
input::placeholder, textarea::placeholder { color: #9a9ea6; }

.fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; font: 600 12.5px/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fieldset__hint { margin: -2px 0 10px; font-size: 13px; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; }
.req { color: var(--hot); }
.field__hint { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.field__error { margin: 4px 0 0; font-size: 13px; font-weight: 500; color: var(--hot); }
.has-error input { border-color: var(--hot); }
.form__footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

.alert { margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.alert p { margin: 0 0 6px; } .alert p:last-child { margin-bottom: 0; }
.alert ul { margin: 0 0 8px; padding-left: 20px; }
.alert--error { background: var(--hot-tint); color: #7a2616; }
.alert--warning { background: var(--warm-tint); color: #5c3a06; }

/* ---------- Szűrősáv ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { padding-left: 40px; height: 42px; }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 3px; border: 0; border-radius: 9px; background: #e7e6e2; }
.segmented:empty { display: none; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: block; padding: 6px 12px; border-radius: 7px; font-weight: 500; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.segmented b { margin-left: 3px; font: 600 12.5px var(--font-display); color: var(--ink-3); }
.segmented input:checked + span { background: var(--surface); color: var(--brand); box-shadow: 0 1px 2px rgba(23, 32, 47, .12); }
.segmented input:checked + span b { color: var(--brand); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 1px; }

.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.switch input { appearance: none; position: relative; width: 36px; height: 20px; margin: 0; border-radius: 999px; background: var(--steel); cursor: pointer; transition: background .15s; }
.switch input::before { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch input:checked { background: var(--brand); }
.switch input:checked::before { transform: translateX(16px); }

.result-count { margin: 0 0 8px; font-size: 13.5px; color: var(--ink-3); }
.empty-state { padding: 28px; }
.empty-state p { margin: 0 0 4px; }

/* ---------- Táblázat ---------- */
.panel--table { padding: 0; overflow: hidden; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { padding-top: 10px; padding-bottom: 10px; background: #fafaf8; font: 600 12px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.table__group th { padding: 9px 14px 7px; background: var(--ground); font: 600 14px/1.3 var(--font-display); color: var(--ink); }
.table__group span { font-weight: 500; color: var(--ink-3); }
.table__row { cursor: pointer; }
.table__row:hover td { background: #f7f7f5; }
.table tbody:last-child tr:last-child > * { border-bottom: 0; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table--wide td { white-space: nowrap; }
.table--compact th, .table--compact td { padding: 7px 10px; font-size: 13.5px; }
.table--compact tr.is-dup td { background: #fffaf0; }
.row-open { color: var(--ink); font-weight: 600; }
.row-open:hover { color: var(--brand); }
a.quiet { color: inherit; }
a.quiet:hover { color: var(--brand); }

/* ---------- Párbeszédablak és oldalpanel ---------- */
dialog { color: var(--ink); }
.modal {
  width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; overflow: auto;
  border: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 24px 64px rgba(23, 32, 47, .28);
}
.modal::backdrop, .drawer::backdrop { background: rgba(23, 32, 47, .42); }
.modal__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 24px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 21px; }
.modal__sub { margin: 3px 0 0; font-size: 14px; color: var(--ink-2); }
.modal__body { padding: 18px 24px 8px; }
.modal__foot { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 12px 24px; background: #fafaf8; border-top: 1px solid var(--line); }

.drawer {
  margin: 0 0 0 auto; width: min(580px, 100vw); max-width: 100vw; /* a böngésző alapból 2em-mel keskenyebbre venné */
  height: 100dvh; max-height: 100dvh; padding: 0; overflow: auto;
  border: 0; background: var(--surface); box-shadow: -12px 0 48px rgba(23, 32, 47, .22);
}
.drawer[open] { animation: drawer-in .2s ease-out; }
@keyframes drawer-in { from { transform: translateX(32px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet__title h2 { font-size: 24px; line-height: 1.2; }
.sheet__contact { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 8px 0 0; }
.sheet__contact a, .sheet__contact span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 500; }
.sheet__contact a:hover { color: var(--brand); }
.sheet__body { padding: 16px 24px 32px; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.sheet__section { padding: 18px 0 4px; border-top: 1px solid var(--line); margin-top: 16px; }
.sheet__actions + .sheet__section { border-top: 0; margin-top: 0; }
.sheet__section h3 { margin-bottom: 10px; font: 600 12.5px/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sheet__meta { margin: 0 0 10px; }
.sheet__hint { margin: -2px 0 10px; font-size: 13px; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.facts__wide { grid-column: 1 / -1; }
.facts dt { font-size: 13px; color: var(--ink-3); }
.facts dd { margin: 1px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inline-form label:not(.sr-only) { width: 100%; font-size: 14px; font-weight: 500; }
.inline-form input { flex: 1 1 200px; width: auto; }
.inline-form input[type=date] { flex: 0 1 190px; }
.stack-form { display: grid; gap: 8px; justify-items: start; }
.history { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.history li { display: grid; grid-template-columns: 92px auto 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }
.history li:last-child { border-bottom: 0; }
.history time { color: var(--ink-3); font: 500 13px var(--font-display); white-space: nowrap; }
.sheet__danger { margin-top: 24px; }
.confirm { padding: 12px 14px; border-radius: 8px; background: var(--hot-tint); }
.confirm p { margin: 0; }
.confirm__actions { display: flex; gap: 8px; margin-top: 10px; }
.confirm .confirm__note { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }
.confirm--soft { margin-top: 10px; background: var(--steel-tint); }
.confirm--soft .fieldset { margin-bottom: 12px; }
.contents { display: contents; }

/* ---------- Tömeges feltöltés ---------- */
.steps { margin: 0 0 18px; padding-left: 22px; }
.steps li { margin-bottom: 12px; padding-left: 4px; }
.steps li::marker { font: 600 15px var(--font-display); color: var(--brand); }
.steps strong { display: block; }
.steps span { display: block; color: var(--ink-2); font-size: 14px; }
.steps .button { margin-top: 8px; }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 26px 16px; border: 2px dashed var(--steel); border-radius: 10px; color: var(--ink-2); text-align: center; cursor: pointer;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--brand); background: var(--brand-tint); color: var(--brand); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__text { font-weight: 600; }
.loading-note { display: none; margin: 10px 0 0; color: var(--ink-2); }
.loading-note.htmx-request { display: block; }
.gomb-folyamatban { display: none; }
.htmx-request .gomb-alap { display: none; }
.htmx-request .gomb-folyamatban { display: inline; }
.tally { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.tally li { padding: 8px 12px; border-radius: 8px; background: var(--ground); font-size: 14px; color: var(--ink-2); }
.tally b { margin-right: 4px; font: 600 20px/1 var(--font-display); }
.tally--ok b { color: var(--ok); }
.tally--warm b { color: var(--warm); }
.tally--hot b { color: var(--hot); }
.subhead { margin: 4px 0 8px; font-size: 14.5px; }
.details { margin: 14px 0 4px; font-size: 14px; }
.details summary { cursor: pointer; font-weight: 600; }
.details ul { margin: 8px 0 0; padding-left: 20px; }

/* ---------- Folyamat-tábla ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.board__col { min-width: 0; }
/* Oszlopfej: ugyanaz a nyíl-forma, mint a kezdőlap folyamat-sávján */
.board__head {
  --notch: 14px; display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0 0 10px;
  padding: 8px calc(var(--notch) + 12px) 8px 14px; background: var(--brand-tint); color: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%);
  font: 600 14.5px/1.25 var(--font-display);
}
.board__head.is-empty { background: var(--steel-tint); color: var(--ink-2); }
.board__num { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12.5px; }
.board__head.is-empty .board__num { background: var(--steel); color: var(--ink); }
.board__name { flex: 1; min-width: 0; }
.board__count { font-size: 18px; font-variant-numeric: tabular-nums; color: var(--brand); }
.board__head.is-empty .board__count { color: var(--ink-3); }
.board__cards { display: grid; gap: 8px; }
.board__empty { margin: 0; padding: 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink-3); font-size: 14px; text-align: center; }

.card { padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card--stale { border-left: 4px solid var(--warm-bar); }
.card--utankovetes { border-left: 4px solid var(--brand); }
.card[hidden] { display: none; }
.card__name { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.card__name:hover { color: var(--brand); }
.card__contact { margin: 1px 0 8px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card__checks { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--ink-2); }
.card__checks li { display: flex; align-items: center; gap: 6px; }
.card__checks li.is-done { color: var(--ok); }
.card__dl { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-weight: 600; color: var(--brand); }
.card__contact a { color: inherit; text-decoration: none; }
.card__contact a:hover { color: var(--brand); text-decoration: underline; }
.card__igeny { margin: -4px 0 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__age--figyel { color: var(--brand); font-weight: 600; }
.next-step__figyel { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--brand); }
.card__age { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-3); }
.card--stale .card__age { color: var(--warm); font-weight: 600; }
.card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.card__actions .button { flex: 1 1 auto; }
.card__actions .card__teljes { flex-basis: 100%; }

.next-step { padding: 14px 16px; border-radius: 10px; background: var(--brand-tint); }
.next-step h3 { margin: 0 0 4px; font: 600 12.5px/1.4 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.next-step p { margin: 0 0 10px; }
.next-step .sheet__actions { margin: 0; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.docs li:last-child { border-bottom: 0; }
.docs__name { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; flex: 1 1 180px; }
.docs__meta { font-size: 13px; color: var(--ink-2); }
.docs__link { font-weight: 600; }
.nevrend__sor { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nevrend__sor .check { margin-top: 0; flex: 1 1 220px; }
.nevrend__vegso { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; cursor: pointer; }
.nevrend__vegso input { accent-color: var(--brand); }
.nevrend__sajat { flex: 1 1 220px; }
.nevrend__elonezet { margin: 12px 0 0; font-weight: 600; color: var(--brand); }
.nevrend__also { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.nevrend__also-fej { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.nevrend__also-fej .subhead { margin: 0; }
.nevrend__lista { list-style: none; margin: 8px 0 6px; padding: 0; }
.nevrend__lista li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.nevrend__kezi { max-height: 52vh; overflow: auto; margin-top: 12px; }
.nevrend__kezi-sor { margin-top: 0; padding: 7px 0; border-bottom: 1px solid var(--line); }
.kesz-uzenet { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ok); }
.alert--info { background: var(--brand-tint); color: #183a73; }
.modal__panel--narrow { max-width: 560px; }
.modal:has(.modal__panel--narrow) { width: min(560px, calc(100vw - 32px)); }
.sms-choice { margin-top: 8px; padding: 12px 14px; border-radius: 8px; background: var(--ground); }
.sms-choice p { margin: 0 0 6px; }
.sms-choice .alert { margin: 8px 0 0; }

/* ---------- Árajánlat-készítő ---------- */
.modal:has(.quote) { width: min(1040px, calc(100vw - 32px)); }
.fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote__mode { margin: 0 0 14px; }
.qopt { margin-bottom: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfb; }
.qopt__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.qopt__head h3 { font-size: 18px; white-space: nowrap; }
.qopt__add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.qopt__add select { flex: 1 1 260px; width: auto; }
.qopt__empty { margin: 4px 0; }
.qitem { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px; margin-bottom: 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.qitem__img { display: grid; place-items: center; align-self: start; aspect-ratio: 1; border-radius: 8px; background: var(--ground); overflow: hidden; font-size: 12.5px; text-align: center; }
.qitem__img img { width: 100%; height: 100%; object-fit: contain; }
.qitem__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.qitem__sums { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 13.5px; }
.qitem__sums dt { color: var(--ink-3); display: inline; }
.qitem__sums dd { display: inline; margin: 0 0 0 6px; font: 600 14px var(--font-display); font-variant-numeric: tabular-nums; }
.qitem__sums .is-total dd { color: var(--brand); font-size: 15.5px; }
.qitem__custom { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filepick { position: relative; overflow: hidden; }
.filepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.qopt__total { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; margin: 6px 0 0; }
.qopt__total b { font: 600 20px var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.quote__opts { display: flex; gap: 8px; margin-bottom: 14px; }
.quote__foot { align-items: center; }
.quote__sum { margin-right: auto; }
.quote__sum b { font: 600 20px var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.linklike { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Árajánlat-szerkesztő: sablon-katalógus ---------- */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tpl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; height: 100%; padding: 12px; border-radius: 10px;
       background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.tpl:hover { text-decoration: none; border-color: var(--brand-tint-2); box-shadow: 0 2px 12px rgba(20, 64, 143, .10); }
.tpl__img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: var(--ground); overflow: hidden; font-size: 12.5px; text-align: center; }
.tpl__img img { width: 100%; height: 100%; object-fit: contain; }
.tpl__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tpl__name { font-weight: 600; line-height: 1.3; }
.tpl__meta { font-size: 13px; color: var(--ink-3); }
.tpl__prices { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tpl__prices s { margin-right: 4px; }
.tpl__total { margin-top: auto; padding-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.tpl__total b { font: 600 16px var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.price-preview { margin: 14px 0; padding: 10px 14px; border-radius: 8px; background: var(--brand-tint); }
.price-preview b { font: 600 18px var(--font-display); color: var(--brand); }
.tpl-image { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; }
.sheet--wide { min-width: 0; }
.drawer:has(.sheet--wide) { width: min(760px, 100vw); }
.form__footer--split { justify-content: space-between; align-items: center; }
.confirm-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; color: var(--hot); }

/* ---------- Nagyker ---------- */
.tile small { font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alert--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.segmented .seg--hot input:checked + span, .segmented .seg--hot span b { color: var(--hot); }
.segmented .seg--warm input:checked + span, .segmented .seg--warm span b { color: var(--warm); }
.nk-table td { vertical-align: middle; }
.nk-row--overdue td:first-child { box-shadow: inset 4px 0 0 var(--hot); }
.nk-row--soon td:first-child { box-shadow: inset 4px 0 0 var(--warm-bar); }
.urgency { display: block; font: 600 12px/1.3 var(--font-display); }
.urgency--overdue { color: var(--hot); }
.urgency--soon { color: var(--warm); }
.status-select { width: auto; min-width: 128px; padding: 5px 8px; font-size: 13.5px; font-weight: 600; border-radius: 7px; }
.status-select--0 { background: var(--warm-tint); color: var(--warm); border-color: #f0d6a8; }
.status-select--1 { background: var(--brand-tint); color: var(--brand); border-color: var(--brand-tint-2); }
.status-select--2 { background: #e5f3ea; color: var(--ok); border-color: #c5e3cf; }
.nk-note { max-width: 240px; color: var(--ink-2); font-size: 13.5px; }
.nk-edit { width: 44px; text-align: right; }
.nk-customer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 14px; }
.nk-customer h2 { font-size: 24px; }
.name-hint { margin: 8px 0 0; }

/* ---------- Karbantartás-emlékeztetők ---------- */
.send-status { margin-bottom: 16px; border-left: 4px solid var(--brand); }
.send-status.is-done { border-left-color: var(--ok); }
.send-status.is-warn { border-left-color: var(--warm-bar); }
.send-status__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.send-status__head h2 { font-size: 18px; }
.send-status__line { margin: 8px 0 0; }
.progress { display: block; height: 10px; border-radius: 999px; background: var(--steel-tint); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transition: width .4s ease; }
.progress--sm { height: 6px; }
.rem-groups { display: grid; gap: 14px; }
.rem-group__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.rem-group__head h2 { font-size: 19px; }
.rem-group__head p { margin: 2px 0 0; }
.rem-count { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.rem-count b { font: 600 26px var(--font-display); color: var(--brand); }
.rem-list { columns: 2 260px; margin: 8px 0 0; padding-left: 18px; }
.rem-noemail { margin: 12px 0 0; }
.mail-preview { margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.6; }
.mail-preview__subject { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
.rem-send { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rem-send .muted { font-size: 13.5px; }
.smtp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.smtp-list li { display: grid; grid-template-columns: minmax(0, 140px) 1fr auto; gap: 12px; align-items: center; font-size: 14px; }

/* ---------- Riportok + oszlopdiagram ---------- */
.report-section { margin-bottom: 26px; }
.report-h { margin-bottom: 10px; font-size: 20px; }
.tiles--6 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.chart { margin: 0; }
/* Vízszintes sávok (pl. „Miért nem lett ügyfél”): név, sáv, darab */
.breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.breakdown li { display: grid; grid-template-columns: minmax(0, 150px) 1fr 32px; gap: 12px; align-items: center; font-size: 14px; }
.breakdown__name { overflow-wrap: anywhere; }
.breakdown b { font: 600 15px var(--font-display); text-align: right; }
.breakdown .progress > span { background: var(--bar); }
.chart__title { margin-bottom: 12px; font: 600 15px var(--font-display); }
.chart__title .muted { font-family: var(--font-body); font-weight: 400; font-size: 13px; }
/* A diagram színe a márkakék egy világosabb, validált lépése (#2B5BB5 — adat-jelnek a #14408F túl sötét) */
.chart { --bar: #2b5bb5; }
.chart__plot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; height: 150px; padding-top: 20px; border-bottom: 1px solid var(--line); }
.chart__col { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; border-radius: 4px; outline: none; }
.chart__col:hover, .chart__col:focus-visible { background: var(--ground); }
.chart__col:focus-visible { box-shadow: 0 0 0 2px var(--brand); }
.chart__bar { position: relative; display: block; width: min(24px, 70%); min-height: 0; background: var(--bar); border-radius: 4px 4px 0 0; }
.chart__col:hover .chart__bar, .chart__col:focus-visible .chart__bar { filter: brightness(1.12); }
.chart__val { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 3px;
              font: 600 12px var(--font-display); color: var(--ink-2); white-space: nowrap; }
.chart__col::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); z-index: 3;
                     padding: 5px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12.5px; white-space: nowrap;
                     opacity: 0; pointer-events: none; transition: opacity .12s; }
/* :focus (nem csak :focus-visible) — telefonon nincs hover, ott a koppintás mutatja az értéket */
.chart__col:hover::after, .chart__col:focus::after { opacity: 1; }
.chart__col:first-child::after { left: 0; transform: none; }
.chart__col:last-child::after { left: auto; right: 0; transform: none; }
.chart__axis { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 5px; font-size: 11.5px; color: var(--ink-3); text-align: center; }
.chart__axis small { display: block; font-size: 10.5px; }
.chart__table { margin-top: 8px; font-size: 13.5px; }
.chart__table summary { cursor: pointer; color: var(--ink-2); }
.chart__table table { margin-top: 6px; }
.chart__empty { margin: 8px 0 0; }

/* ---------- Értékeléskérés ---------- */
.review-form { padding: 0; overflow: hidden; }
.review-form iframe { display: block; width: 100%; height: 760px; border: 0; }
.review-form .note { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
.review-guard { padding: 24px; display: grid; gap: 12px; justify-items: start; max-width: 680px; }
.review-guard p { margin: 0; }

/* ---------- Naptár ---------- */
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.cal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cal-title { min-width: 190px; text-align: center; font-size: 22px; }
.cal-layers { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cal-layer { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.cal-layer input { width: 16px; height: 16px; accent-color: var(--brand); }
.cal-layer span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--c); vertical-align: 0; }
.cal-layer b { font: 600 12.5px var(--font-display); color: var(--ink-3); }
.cal-layer--kesz { --c: var(--ok); } .cal-layer--tervezett { --c: var(--brand); } .cal-layer--nagyker { --c: var(--steel); }
.cal-layer--felmeres { --c: #6b4fa0; }
.cal-grid-wrap { margin-bottom: 18px; }
.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-grid th { padding: 8px; background: #fafaf8; border-bottom: 1px solid var(--line); font: 600 12px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cal-grid td { height: 104px; padding: 6px; vertical-align: top; border: 1px solid var(--line); border-width: 0 1px 1px 0; overflow: hidden; }
.cal-grid td:last-child { border-right: 0; }
.cal-grid td.is-weekend { background: #fbfbfa; }
.cal-grid td.is-out { background: var(--ground); }
.cal-grid td.is-out .cal-day { color: var(--steel); }
.cal-day { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-bottom: 4px; border-radius: 50%; font: 600 14px var(--font-display); color: var(--ink-2); }
.cal-grid td.is-today .cal-day { background: var(--brand); color: #fff; }
.cal-ev { display: block; margin-bottom: 3px; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; font-weight: 500; line-height: 1.35;
          white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev:hover { text-decoration: none; filter: brightness(.95); }
.cal-ev--kesz { background: #e5f3ea; color: var(--ok); }
.cal-ev--tervezett { background: var(--brand-tint); color: var(--brand); }
.cal-ev--felmeres { background: #efeaf7; color: #5a3f8f; }
.cal-ev--nagyker { background: var(--steel-tint); color: var(--ink-2); box-shadow: inset 3px 0 0 var(--steel); }
.cal-ev--nagyker.cal-ev--soon { box-shadow: inset 3px 0 0 var(--warm-bar); }
.cal-ev--nagyker.cal-ev--overdue { box-shadow: inset 3px 0 0 var(--hot); color: var(--hot); }
.cal-more { font-size: 12px; color: var(--ink-3); }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda__day { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.agenda__day.is-today .agenda__date { color: var(--brand); }
.agenda__date { font: 600 18px var(--font-display); }
.agenda__date small { display: block; font-size: 12px; color: var(--ink-3); }
.agenda__day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.agenda__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.agenda__item a { font-weight: 600; color: var(--ink); }
.dot { width: 10px; height: 10px; border-radius: 3px; flex: none; align-self: center; }
.dot--kesz { background: var(--ok); } .dot--tervezett { background: var(--brand); } .dot--nagyker { background: var(--steel); }
.dot--felmeres { background: #6b4fa0; }
.dot--nagyker.dot--soon { background: var(--warm-bar); } .dot--nagyker.dot--overdue { background: var(--hot); }

@media (max-width: 760px) {
  .cal-grid-wrap { display: none; }  /* telefonon a napi lista olvashatóbb, mint a 7 oszlopos rács */
  .cal-title { min-width: 0; font-size: 19px; }
}

@media (max-width: 1100px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .fields--3 { grid-template-columns: minmax(0, 1fr); }
  .qitem { grid-template-columns: minmax(0, 1fr); }
  .qitem__img { width: 110px; }
}
@media (max-width: 640px) { .board { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Admin: hibanapló, rendszerállapot ---------- */
.mt { margin-top: 14px; }
code { font: 13px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--steel-tint); padding: 1px 5px; border-radius: 4px; }
.login-panel { max-width: 420px; display: grid; gap: 14px; justify-items: start; }
.login-panel .field { width: 100%; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -6px 0 6px; }
.tabs__link { padding: 9px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--ink-2); font-weight: 500; }
.tabs__link:hover { color: var(--ink); text-decoration: none; }
.tabs__link.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tabs__note { margin: 0 0 18px; }
.tabs__space { height: 18px; }
.tabs__link .badge { margin-left: 4px; vertical-align: 1px; }
.usage-lede { margin: 0 0 14px; }
.select-inline select { width: auto; min-width: 190px; height: 38px; padding: 6px 10px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 16px; padding: 0; }
.tiles.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--line); }
.tile b { font: 600 26px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.tile b.tile__text { font-size: 18px; line-height: 1.5; }
.tile span { font-size: 13px; color: var(--ink-3); }
.tile--hot { border-left-color: var(--hot); } .tile--hot b { color: var(--hot); }
.tile--warm { border-left-color: var(--warm-bar); } .tile--warm b { color: var(--warm); }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.list-head .result-count { margin: 0; }

.chip--error { background: var(--hot-tint); color: var(--hot); }
.chip--warning { background: var(--warm-tint); color: var(--warm); }
.chip--info { background: var(--brand-tint); color: var(--brand); }
.chip--ok { background: #e5f3ea; color: var(--ok); }
.table__row.is-resolved td { color: var(--ink-3); }
.table__row.is-resolved .row-open { color: var(--ink-3); font-weight: 500; }
.event-message { margin: 0 0 14px; font-size: 16px; font-weight: 500; white-space: pre-wrap; overflow-wrap: anywhere; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
pre.code { margin: 0; padding: 12px; max-height: 360px; overflow: auto; border-radius: 8px; background: #1f2633; color: #e6e9ef; font: 12.5px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: pre; }

.status-list { list-style: none; margin: 0; padding: 0; }
.status { display: grid; grid-template-columns: 12px minmax(140px, auto) 1fr; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.status:last-child { border-bottom: 0; }
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); transform: translateY(1px); }
.status--bad .status__dot { background: var(--warm-bar); }
.status__cim { font-weight: 600; }
.status__szoveg { color: var(--ink-2); overflow-wrap: anywhere; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.rules .chip { margin-right: 6px; }
.chat-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }

/* ---------- Értesítések ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 10px 30px rgba(23, 32, 47, .25);
}
.toast span { flex: 1; }
.toast--success { border-left: 4px solid #5fbf86; }
.toast--warning { background: #fdf3e1; color: #4d3104; border-left: 4px solid var(--warm-bar); }
.toast--error { background: var(--hot); }
.toast__x { border: 0; background: none; color: inherit; opacity: .7; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.toast__x:hover { opacity: 1; }

/* ---------- Kisebb képernyők ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 40; width: min(84vw, 300px);
    transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .15);
  }
  .sidebar.is-open { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(23, 32, 47, .35); }
  .topbar {
    display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 20;
    padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .topbar__menu { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
  .topbar__menu:hover { background: var(--steel-tint); }
  .topbar__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 600 17px/1 var(--font-display); }
  .topbar__brand:hover { text-decoration: none; }
  .content { padding: 22px 16px 40px; }
  .sandbox { padding: 8px 16px; }
  .page-head h1 { font-size: 27px; }
}
@media (max-width: 760px) {
  /* A nyíl-sáv függőleges listává alakul: ugyanaz a sorrend, olvasható nevekkel */
  .flow { flex-direction: column; gap: 4px; }
  .flow__stage, .flow__stage:first-child, .flow__stage:last-child { margin-left: 0; clip-path: none; border-radius: 8px; }
  .flow__link, .flow__stage:first-child .flow__link { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; min-height: 0; padding: 10px 14px; }
  .flow__count { font-size: 22px; width: 2.6em; flex: none; justify-content: flex-end; } /* fix szélesség: a ✓ se tolja el a neveket */
  .activity__row { grid-template-columns: auto 1fr; }
  .activity__what { grid-column: 1 / -1; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status { grid-template-columns: 12px 1fr; }
  .status__szoveg { grid-column: 2; }
  .page-actions, .page-actions .button { width: 100%; }
  .page-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .page-actions > :only-child { grid-column: 1 / -1; }
  .search { max-width: none; }
  .fields, .facts { grid-template-columns: minmax(0, 1fr); }
  .history li { grid-template-columns: auto 1fr; }
  .history li > span:last-child { grid-column: 1 / -1; }

  /* Táblázat → kártyák: minden ügyfél egy blokk, a mezők címkével */
  .table:not(.table--compact) thead { display: none; }
  .table:not(.table--compact), .table:not(.table--compact) tbody { display: block; }
  .table:not(.table--compact) .table__group, .table:not(.table--compact) .table__group th { display: block; }
  .table:not(.table--compact) .table__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .table:not(.table--compact) .table__row td { padding: 0; border: 0; white-space: normal; }
  .table:not(.table--compact) .table__row td::before { content: attr(data-label); display: block; font: 600 11px/1.5 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
  .table:not(.table--compact) .table__row td:first-child { grid-column: 1 / -1; font-size: 16px; }
  .table:not(.table--compact) .table__row td:first-child::before { display: none; }

  .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .modal__head, .sheet__head { padding: 14px 16px 12px; }
  .modal__body, .sheet__body { padding-left: 16px; padding-right: 16px; }
  .modal__foot { padding: 10px 16px; }
  .toasts { right: 16px; bottom: 16px; }
}

/* ---------- Belépés ---------- */
.signin-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); }
.signin { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
/* Kék sáv, jobb szélén a folyamat nyíl-alakjával */
.signin__brand {
  --notch: 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 48px calc(var(--notch) + 32px) 48px clamp(28px, 6vw, 88px);
  background: var(--brand); color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%);
}
.signin__word { margin: 0; font: 600 clamp(34px, 4vw, 52px)/1 var(--font-display); letter-spacing: .01em; }
.signin__word span { display: block; color: var(--steel); }
.signin__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.signin__steps li {
  display: flex; align-items: center; gap: 10px;
  font: 500 15px/1.3 var(--font-display); letter-spacing: .03em; color: rgba(255, 255, 255, .78);
}
.signin__steps li::before {
  content: ""; width: 14px; height: 10px; flex: none; background: rgba(255, 255, 255, .45);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 40% 50%);
}
.signin__steps li:last-child { color: #fff; }
.signin__steps li:last-child::before { background: #fff; }

.signin__panel { align-self: center; justify-self: center; width: 100%; max-width: 400px; padding: 40px 24px; }
.signin__logo { display: block; width: 84px; margin-bottom: 20px; }
.signin__panel h1 { font-size: 30px; line-height: 1.15; }
.signin__lede { margin: 6px 0 22px; color: var(--ink-2); }
.signin__form { display: grid; gap: 14px; }
.signin__form .alert { margin: 0; }
.signin__form .check { margin-top: 0; font-weight: 400; font-size: 14px; }
.signin__pw { position: relative; }
.signin__pw input { padding-right: 72px; }
.signin__eye {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  padding: 4px 8px; border: 0; border-radius: 6px; background: none;
  color: var(--brand); font: 500 13px/1.2 var(--font-body); cursor: pointer;
}
.signin__eye:hover { background: var(--brand-tint); }
.signin__submit { width: 100%; justify-content: center; padding-block: 11px; font-size: 16px; }
.signin__help { margin: 2px 0 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 760px) {
  .signin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .signin__brand {
    --notch: 22px; gap: 0; padding: 22px 20px calc(var(--notch) + 18px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), 50% 100%, 0 calc(100% - var(--notch)));
  }
  .signin__word { font-size: 30px; }
  .signin__steps { display: none; }
  .signin__panel { align-self: start; padding: 20px 16px 40px; }
  .signin__logo { display: none; }
}

/* ---------- Súgó ---------- */
/* A gomb szerény: ott van, ha kell, de nem versenyez az oldal fő műveletével */
.help-btn { background: transparent; border-color: transparent; color: var(--brand); box-shadow: none; }
.help-btn:hover { background: var(--brand-tint); border-color: transparent; }
.sheet--help .eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); }
.help { font-size: 15px; line-height: 1.6; color: var(--ink); }
.help h2 {
  margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 17px; color: var(--ink);
}
.help > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.help h3 { margin: 16px 0 6px; font-size: 15.5px; color: var(--brand); }
.help p { margin: 0 0 10px; }
.help ol, .help ul { margin: 0 0 12px; padding-left: 22px; }
.help li { margin: 3px 0; }
.help li::marker { color: var(--ink-3); font-family: var(--font-display); }
.help strong { font-weight: 600; }
.help code { padding: 1px 5px; border-radius: 4px; background: var(--steel-tint); font-size: 13.5px; }
.help blockquote {
  margin: 12px 0; padding: 10px 14px; border-radius: 8px; border-left: 3px solid var(--warm-bar);
  background: var(--warm-tint); color: #6b4507;
}
.help blockquote p { margin: 0; }
.help__foot { margin-top: 24px !important; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.help--page { max-width: 760px; padding: 24px 28px; }

/* ---------- Hiányzó adatok kártya (Kezdőlap) + adatpótlás ---------- */
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.adat-kartya .progress { margin-bottom: 12px; }
.adat-kartya__lead { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.adat-kartya__lead b { color: var(--ink); }
.adat-sorok { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.adat-sor {
  width: 100%; display: flex; align-items: baseline; gap: 6px; text-align: left;
  padding: 7px 10px; border: 0; border-radius: 8px; background: var(--ground); color: var(--ink);
  font: 14px/1.35 var(--font-body); cursor: pointer;
}
.adat-sor:hover { background: var(--brand-tint); }
.adat-sor b { min-width: 22px; font: 600 16px/1 var(--font-display); color: var(--brand); font-variant-numeric: tabular-nums; }
.adat-sor__miert { flex: 1; color: var(--ink-3); font-size: 13px; }
.adat-sor .icon { align-self: center; color: var(--ink-3); }
.adat-kartya__gomb { width: 100%; }
.adat-kartya__kesz { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-weight: 500; }

/* Előzmény: az elküldött e-mail teljes szövege lenyitható */
.history__more { margin-top: 4px; font-size: 13px; }
.history__more summary { cursor: pointer; color: var(--brand); }
.history__more p { margin: 6px 0 0; padding: 8px 10px; border-radius: 6px; background: var(--ground); white-space: pre-line; color: var(--ink-2); }

/* Karbantartás: a levelek szövege */
.rem-sablon { margin: 8px 0; }
.rem-sablonok { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rem-sablonok li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.rem-sablonok li:first-child { border-top: 0; }
.rem-sablonok__nev { flex: 1 1 320px; min-width: 0; }
.rem-sablonok__allapot { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sablon-beszur { margin-top: 6px; }

/* Árajánlat e-mail: előnézet + szerkesztés */
.email-elonezet__fej { margin-bottom: 14px; }
.email-elonezet .field + .field { margin-top: 12px; }
.email-elonezet textarea { min-height: 170px; font: 14.5px/1.55 var(--font-body); }
.email-elonezet__alairas { margin: 4px 0 6px; padding: 10px 12px; border-radius: 8px; background: var(--ground); font-size: 13.5px; }
.email-elonezet__alairas .muted { margin: 0 0 4px; font-size: 12.5px; }
.email-elonezet__szoveg { white-space: pre-line; margin: 0 0 14px; }
.email-elonezet__lab { justify-content: space-between; flex-wrap: wrap; }
.email-elonezet__gombok { display: flex; flex-wrap: wrap; gap: 8px; }

/* Rendrakás kártya: ha van teendő, piros felkiáltójel lüktető gyűrűvel vonzza a szemet
   (mozgáscsökkentés esetén álló jel — a globális prefers-reduced-motion szabály kikapcsolja) */
.rr-kartya--teendo { border-color: #f1c6bb; box-shadow: inset 4px 0 0 var(--hot), var(--shadow); }
.rr-kartya h2 { display: inline-flex; align-items: center; gap: 10px; }
.rr-jel {
  position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: var(--hot); color: #fff; font: 700 15px/1 var(--font-display);
}
.rr-jel::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--hot);
  animation: rr-pulzus 1.8s ease-out infinite;
}
@keyframes rr-pulzus {
  0% { transform: scale(1); opacity: .8; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}
.rr-kartya--teendo .rr-jel { animation: rr-ugras 4s ease-in-out infinite; }
@keyframes rr-ugras {
  0%, 86%, 100% { transform: none; }
  90% { transform: scale(1.18); }
  94% { transform: scale(.94); }
}
.rr-darab { padding: 2px 9px; border-radius: 999px; background: var(--hot-tint); color: var(--hot); font: 600 13px/1.5 var(--font-display); }
.rr-blokk {
  width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 10px 12px; text-align: left;
  border: 0; border-radius: 8px; background: var(--warm-tint); color: var(--ink); font: 14px/1.35 var(--font-body); cursor: pointer;
}
.rr-blokk:hover { filter: brightness(.97); }
.rr-blokk__szam { min-width: 30px; font: 600 26px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.rr-blokk__szam--meleg { color: var(--warm); }
.rr-blokk__szoveg { flex: 1; display: grid; gap: 2px; }
.rr-blokk__szoveg span { font-size: 13px; color: var(--ink-2); }
.rr-adat__fej { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; }
.rr-adat .progress { margin-bottom: 10px; }
.rr-kartya__gomb { width: 100%; }

/* Rendrakás: döntés egy elakadt ügyről */
.rendrakas__allas { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--warm-tint); color: #5c3a06; font-size: 14px; }
.rendrakas__tenyek { margin: 0 0 16px; font-size: 14px; }
.dontes { display: grid; gap: 8px; }
.dontes__sor { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dontes__napok { width: auto; }
.dontes .button.is-selected { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
.rendrakas__al { margin-top: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf8; }
.rendrakas__al legend { padding: 0 6px; }
.okok { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.okok .check { margin-top: 4px; font-weight: 400; }
.dontes__ok { display: flex; justify-content: flex-end; margin-top: 12px; }

.potlas__progress { margin: 0 24px; height: 4px; border-radius: 0 0 4px 4px; }
.potlas__ki { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.potlas__ki h3 { font-size: 20px; margin: 0 0 2px; }
.potlas__ki .muted { margin: 0; font-size: 14px; }
.potlas__mezo { margin-bottom: 18px; }
.potlas__mezo input:disabled { background: var(--steel-tint); color: var(--ink-3); }
.potlas__hatas {
  margin: 6px 0 0; padding: 7px 10px; border-radius: 6px; background: var(--brand-tint);
  font-size: 13.5px; color: #183a73;
}
.potlas__nincs { margin-top: 8px; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.potlas__miert { margin-top: 6px; color: var(--ink-2); }
.potlas__miert p { margin: 8px 0 0; }
.potlas__foot { justify-content: space-between; }
.potlas__kesz { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; font: 600 19px/1.3 var(--font-display); color: var(--ok); }
.potlas__kesz--semleges { color: var(--ink-2); font-size: 16px; }
.potlas__eredmeny { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.potlas__minden { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 500; }
.potlas--oldal { max-width: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.potlas--oldal .modal__head, .potlas--oldal .modal__foot { position: static; }

/* Hiányzó adatok (Ügyféllista szűrő + részletek panel) */
.gap-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.gap-note p { margin: 0; }

/* Oldalsáv alja: ki van belépve + kilépés */
.sidebar__user {
  margin-top: auto; padding: 14px 12px 0; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13.5px; color: var(--ink-2);
}
.sidebar__user b { color: var(--ink); font-weight: 600; }
.sidebar__logout { padding: 4px 8px; border: 0; border-radius: 6px; background: none; color: var(--brand); font: 500 13.5px/1.2 var(--font-body); cursor: pointer; }
.sidebar__logout:hover { background: var(--brand-tint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Szerelési anyag (nagyker portál) ---------- */
.sz-blokk { margin: 0 0 22px; }
.sz-blokk h3 { margin: 0 0 10px; font: 600 13px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sz-lepesek { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.sz-lepesek li { position: relative; padding-left: 22px; color: var(--ink-3); }
.sz-lepesek li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--steel); background: var(--surface); }
.sz-lepesek li.is-kesz { color: var(--ink); font-weight: 500; }
.sz-lepesek li.is-kesz::before { border-color: var(--ok); background: var(--ok); }
.sz-lepesek .muted { font-weight: 400; margin-left: 6px; }
.sz-muveletek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sz-muveletek .field__hint { flex-basis: 100%; margin: 0; }
.sz-lemondas { margin-top: 12px; }
.sz-megjegyzes { margin: 0; padding: 10px 12px; background: var(--ground); border-radius: 8px; white-space: pre-line; }
.sz-csoport { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 10px; font: 600 13px/1.4 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.sz-csoport .muted { font-weight: 400; }
.sz-kep { width: 56px; }
.sz-kep img { width: 44px; height: 44px; object-fit: contain; background: var(--ground); border-radius: 6px; display: block; }
.sz-kep__nincs { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--ground); border-radius: 6px; color: var(--ink-3); }
.sz-ar { width: 120px; text-align: right; font-variant-numeric: tabular-nums; padding: 6px 10px; }
.sz-inaktiv > td { color: var(--ink-3); }
.sz-inaktiv .sz-kep img { opacity: .5; }
.sz-aktiv { margin: 0; }
.sz-select { height: 42px; width: auto; min-width: 200px; }
.sz-tiltas { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sz-tiltas input { width: 180px; padding: 6px 10px; }
.sz-partner-muvelet { white-space: nowrap; }
.sz-kepblokk { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.sz-nagykep { width: 160px; height: 160px; object-fit: contain; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); }
.sz-nagykep--nincs { display: flex; align-items: center; justify-content: center; color: var(--ink-3); font-size: 14px; }
.sz-kepfeltoltes { flex: 1 1 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sz-kepfeltoltes label { font-size: 14px; font-weight: 600; }
.sz-kepfeltoltes .muted { font-weight: 400; }
