/* Evro Kőrös Partnerportál – evp- névtér */
:root {
  --evp-ink: #12151B;
  --evp-ink-2: #2A303B;
  --evp-muted: #5B6372;
  --evp-line: #E3E6EB;
  --evp-line-2: #EEF0F3;
  --evp-bg: #F4F5F7;
  --evp-card: #FFFFFF;
  --evp-accent: #505A6D;
  --evp-accent-hi: #5F6B82;
  --evp-accent-lt: #E8EBF0;
  --evp-focus: #7D89A0;
  --evp-ok: #1E7B4E;
  --evp-ok-bg: #E6F4EC;
  --evp-warn: #8A5A00;
  --evp-warn-bg: #FFF4DB;
  --evp-err: #B42318;
  --evp-err-bg: #FDECEA;
  --evp-info: #2D5B8C;
  --evp-info-bg: #E9F1FA;
  --evp-radius: 14px;
  --evp-shadow: 0 1px 2px rgba(18, 21, 27, .05), 0 4px 16px rgba(18, 21, 27, .04);
  --evp-font: "Manrope", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --evp-gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.evp { margin: 0; background: var(--evp-bg); color: var(--evp-ink); font: 15px/1.5 var(--evp-font); -webkit-font-smoothing: antialiased; }
.evp a { color: var(--evp-accent); text-decoration: none; }
.evp a:hover { color: var(--evp-ink); text-decoration: underline; }
.evp h1 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 6px; font-weight: 800; letter-spacing: -.01em; }
.evp h2 { font-size: 17px; margin: 0 0 14px; font-weight: 700; }
.evp h3 { font-size: 15px; margin: 18px 0 8px; font-weight: 700; }
.evp p { margin: 0 0 12px; }
.evp img { max-width: 100%; height: auto; }
.evp :focus-visible { outline: 2px solid var(--evp-focus); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Fejléc ---------- */
.evp-top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--evp-line); }
.evp-top-in { max-width: 1320px; margin: 0 auto; padding: 0 var(--evp-gutter); height: 64px; display: flex; align-items: center; gap: 24px; }
.evp-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.evp-brand img { height: 32px; width: auto; display: block; }
.evp-brand:hover { text-decoration: none !important; }
.evp-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--evp-accent); padding: 3px 8px; border-radius: 999px; }
.evp-area-iroda .evp-tag { background: var(--evp-ink); }
.evp-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.evp-nav > a { color: var(--evp-ink-2); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.evp-nav > a:hover { background: var(--evp-line-2); text-decoration: none; color: var(--evp-ink); }
.evp-nav > a.on { background: var(--evp-accent-lt); color: var(--evp-ink); }
.evp-nav-user { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.evp-lang { display: inline-flex; border: 1px solid var(--evp-line); border-radius: 8px; overflow: hidden; }
.evp-lang a { font-size: 12px; font-weight: 700; padding: 5px 9px; color: var(--evp-muted); }
.evp-lang a.on { background: var(--evp-ink); color: #fff; }
.evp-lang a:hover { text-decoration: none; }
.evp-umenu { position: relative; }
.evp-umenu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px; border-radius: 999px; }
.evp-umenu summary::-webkit-details-marker { display: none; }
.evp-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--evp-accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.evp-uname { font-weight: 600; font-size: 14px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evp-umenu-pop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--evp-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(18, 21, 27, .14); min-width: 240px; padding: 8px; z-index: 60; }
.evp-umenu-pop a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--evp-ink); font-weight: 600; }
.evp-umenu-pop a:hover { background: var(--evp-line-2); text-decoration: none; }
.evp-umenu-who { padding: 8px 12px 10px; border-bottom: 1px solid var(--evp-line-2); margin-bottom: 6px; }
.evp-umenu-who small { display: block; color: var(--evp-muted); }
.evp-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--evp-line); background: #fff; border-radius: 10px; padding: 11px 10px; cursor: pointer; }
.evp-burger span { display: block; height: 2px; background: var(--evp-ink); margin: 3px 0; border-radius: 2px; }

/* ---------- Elrendezés ---------- */
.evp-main { padding: 28px 0 60px; min-height: calc(100vh - 140px); }
.evp-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--evp-gutter); }
.evp-foot { border-top: 1px solid var(--evp-line); padding: 18px 0; font-size: 13px; color: var(--evp-muted); background: #fff; }
.evp-foot .evp-wrap { display: flex; gap: 18px; flex-wrap: wrap; }
.evp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.evp-head h1 .evp-badge { vertical-align: middle; margin-left: 4px; }
.evp-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.evp-back { display: inline-block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--evp-muted) !important; }
.evp-count { font-size: 14px; font-weight: 700; color: var(--evp-muted); background: var(--evp-line-2); border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.evp-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.evp-cols-office { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.evp-card { background: var(--evp-card); border: 1px solid var(--evp-line); border-radius: var(--evp-radius); padding: 22px; box-shadow: var(--evp-shadow); margin-bottom: 20px; }
.evp-card-accent { border-top: 3px solid var(--evp-accent); }
.evp-card-warn { background: var(--evp-warn-bg); border-color: #F2DFAE; }
.evp-card-info { background: var(--evp-info-bg); border-color: #CFE0F2; }
.evp-empty { text-align: center; padding: 40px 22px; }

/* ---------- Gombok ---------- */
.evp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 14px/1 var(--evp-font); padding: 11px 16px; border-radius: 10px; border: 1px solid var(--evp-line); background: #fff; color: var(--evp-ink) !important; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; }
.evp-btn:hover { border-color: #C9CED6; background: #FAFBFC; }
.evp-btn-primary { background: var(--evp-accent); border-color: var(--evp-accent); color: #fff !important; }
.evp-btn-primary:hover { background: var(--evp-ink); border-color: var(--evp-ink); }
.evp-btn-danger { background: #fff; border-color: #F1C4BF; color: var(--evp-err) !important; }
.evp-btn-danger:hover { background: var(--evp-err-bg); border-color: var(--evp-err); }
.evp-btn-ghost { background: transparent; border-color: transparent; color: var(--evp-muted) !important; }
.evp-btn-ghost:hover { background: var(--evp-line-2); border-color: transparent; }
.evp-btn-link { background: none; border: 0; color: var(--evp-accent) !important; font-weight: 600; }
.evp-btn-sm { padding: 7px 10px; font-size: 13px; border-radius: 8px; }
.evp-btn-lg { padding: 14px 22px; font-size: 15px; }
.evp-btn-block { width: 100%; }
.evp-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.evp-inline { display: inline-flex; gap: 6px; align-items: center; margin: 0; }

/* ---------- Üzenetek ---------- */
.evp-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; font-size: 14px; border: 1px solid transparent; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.evp-alert-ok { background: var(--evp-ok-bg); color: var(--evp-ok); border-color: #C7E6D4; }
.evp-alert-err { background: var(--evp-err-bg); color: var(--evp-err); border-color: #F5C9C4; }
.evp-alert-warn { background: var(--evp-warn-bg); color: var(--evp-warn); border-color: #F2DFAE; }
.evp-alert-info { background: var(--evp-info-bg); color: var(--evp-info); border-color: #CFE0F2; }

/* ---------- Űrlap ---------- */
.evp-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.evp-form legend { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--evp-muted); margin-bottom: 10px; }
.evp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.evp-field > span { font-size: 13px; font-weight: 700; color: var(--evp-ink-2); }
.evp-field small, .evp-help { font-size: 12.5px; color: var(--evp-muted); }
.evp input[type=text], .evp input[type=email], .evp input[type=password], .evp input[type=tel], .evp input[type=number], .evp input[type=date], .evp input[type=time], .evp input[type=datetime-local], .evp input[type=search], .evp input[type=url], .evp select, .evp textarea {
  width: 100%; font: 500 15px/1.4 var(--evp-font); color: var(--evp-ink); background: #fff; border: 1px solid #CDD2DA; border-radius: 10px; padding: 10px 12px; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
.evp textarea { min-height: 0; resize: vertical; }
.evp input:focus, .evp select:focus, .evp textarea:focus { outline: none; border-color: var(--evp-accent); box-shadow: 0 0 0 3px rgba(80, 90, 109, .15); }
.evp input[readonly], .evp input:disabled, .evp select:disabled, .evp textarea:disabled, .evp textarea[readonly] { background: var(--evp-line-2); color: var(--evp-muted); }
.evp-ferr { color: var(--evp-err); font-size: 12.5px; font-weight: 700; }
.evp-field:has(.evp-ferr) input, .evp-field:has(.evp-ferr) select { border-color: var(--evp-err); }
.evp-grid2, .evp-grid3, .evp-grid4 { display: grid; gap: 0 14px; }
.evp-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.evp-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.evp-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.evp-span2 { grid-column: span 2; }
.evp-span3 { grid-column: span 3; }
.evp-check, .evp-radio { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.evp-check input, .evp-radio input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--evp-accent); flex-shrink: 0; }
.evp-check-strong { font-weight: 700; }
.evp-checks, .evp-radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.evp-radios .evp-radio, .evp-checks .evp-check { margin-bottom: 4px; }
.evp-checks-col, .evp-radios-col { flex-direction: column; gap: 2px; }
.evp-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--evp-accent); color: #fff; font-size: 13px; margin-right: 6px; vertical-align: 1px; }
.evp-qform .evp-card h2 { display: flex; align-items: center; }
.evp-sticky { position: sticky; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border: 1px solid var(--evp-line); border-radius: 14px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 -6px 24px rgba(18, 21, 27, .08); margin-top: 8px; }
.evp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.evp-row-form { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 1.4fr) auto; gap: 10px; align-items: center; }
.evp-row-form .evp-check { grid-column: 1 / -1; margin: 0; }
.evp-code-input { font-size: 26px !important; letter-spacing: 10px; text-align: center; font-weight: 800 !important; }

/* ---------- Szűrők, fülek ---------- */
.evp-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.evp-filters input[type=search], .evp-filters input[type=email] { flex: 1 1 220px; width: auto; }
.evp-filters select { width: auto; flex: 0 1 auto; }
.evp-filters label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--evp-muted); }
.evp-filters input[type=date] { width: auto; }
.evp-tabs { display: flex; gap: 4px; margin-bottom: 14px; overflow-x: auto; border-bottom: 1px solid var(--evp-line); }
.evp-tabs a { padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--evp-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.evp-tabs a.on { color: var(--evp-ink); border-color: var(--evp-accent); }
.evp-tabs a:hover { text-decoration: none; color: var(--evp-ink); }

/* ---------- Táblázat ---------- */
.evp-table-wrap { background: #fff; border: 1px solid var(--evp-line); border-radius: var(--evp-radius); overflow-x: auto; box-shadow: var(--evp-shadow); }
.evp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.evp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--evp-muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--evp-line); background: #FAFBFC; white-space: nowrap; }
.evp-table td { padding: 12px 14px; border-bottom: 1px solid var(--evp-line-2); vertical-align: top; }
.evp-table tbody tr:last-child td { border-bottom: 0; }
.evp-table tbody tr[data-href] { cursor: pointer; }
.evp-table tbody tr:hover td { background: #FAFBFC; }
.evp-table tr.is-problem td:first-child { box-shadow: inset 3px 0 0 var(--evp-err); }
.evp-table tr.is-hot td { background: #FFFCF2; }
.evp-cb { width: 36px; }
.evp-cb input { width: 18px; height: 18px; accent-color: var(--evp-accent); }
.evp-quick { min-width: 150px; }
.evp-quick .evp-btn { margin: 0 2px 4px 0; }
.evp-bulkbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.evp-bulkbar select, .evp-bulkbar input { width: auto; flex: 0 1 260px; }
.evp-nowrap { white-space: nowrap; }
.evp-pager { display: flex; gap: 4px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.evp-pager a, .evp-pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; font-weight: 700; font-size: 14px; padding: 0 8px; }
.evp-pager a { background: #fff; border: 1px solid var(--evp-line); color: var(--evp-ink); }
.evp-pager a:hover { text-decoration: none; border-color: var(--evp-accent); }
.evp-pager .cur { background: var(--evp-ink); color: #fff; }

/* ---------- Jelvények ---------- */
.evp-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--evp-line-2); color: var(--evp-ink-2); white-space: nowrap; margin: 1px 2px 1px 0; line-height: 1.4; }
.evp-st-organising, .evp-st-q-received { background: #ECEEF2; color: #3E4656; }
.evp-st-awaiting_loading, .evp-st-q-offered, .evp-st-c-pending_approval, .evp-st-c-pending_email { background: var(--evp-warn-bg); color: var(--evp-warn); }
.evp-st-in_transit { background: var(--evp-info-bg); color: var(--evp-info); }
.evp-st-delivered, .evp-st-cmr_uploaded, .evp-st-q-accepted, .evp-st-c-active { background: var(--evp-ok-bg); color: var(--evp-ok); }
.evp-st-invoiced { background: #EEEAF7; color: #4D3D80; }
.evp-st-closed, .evp-st-q-expired, .evp-st-q-withdrawn { background: #F0F1F3; color: #6B7280; }
.evp-st-cancelled, .evp-st-q-declined, .evp-st-q-rejected, .evp-st-c-rejected, .evp-st-c-suspended { background: var(--evp-err-bg); color: var(--evp-err); }
.evp-st-late { background: #FFE8D6; color: #9A3D00; }
.evp-st-urgent { background: var(--evp-ink); color: #fff; }
.evp-st-problem { background: var(--evp-err); color: #fff; }
.evp-chip { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 6px; background: var(--evp-line-2); color: var(--evp-muted); vertical-align: 1px; }
.evp-wait { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.evp-wait-g { background: var(--evp-ok-bg); color: var(--evp-ok); }
.evp-wait-y { background: var(--evp-warn-bg); color: var(--evp-warn); }
.evp-wait-r { background: var(--evp-err-bg); color: var(--evp-err); }

/* ---------- Áttekintés ---------- */
.evp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.evp-stat { background: #fff; border: 1px solid var(--evp-line); border-radius: var(--evp-radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--evp-shadow); color: var(--evp-ink) !important; }
.evp-stat:hover { text-decoration: none !important; border-color: var(--evp-accent); }
.evp-stat b { font-size: 30px; font-weight: 800; line-height: 1; }
.evp-stat span { font-size: 13px; color: var(--evp-muted); font-weight: 600; }
.evp-stat.is-hot { border-color: #F2DFAE; background: var(--evp-warn-bg); }
.evp-list { list-style: none; margin: 0; padding: 0; }
.evp-list li { border-top: 1px solid var(--evp-line-2); }
.evp-list li:first-child { border-top: 0; }
.evp-list li > a, .evp-list li > span:first-child:not(:only-child), .evp-list-sm li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; color: var(--evp-ink); }
.evp-list li > a:hover { text-decoration: none; background: #FAFBFC; }
.evp-list-r { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex-shrink: 0; }
.evp-list-r small { color: var(--evp-muted); }
.evp-list small { color: var(--evp-muted); }
.evp-list-sm li > a { padding: 8px 0; font-size: 13.5px; width: 100%; }
.evp-list-sm li { padding: 0; }
.evp-dash { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.evp-dcard { margin: 0; padding: 18px; }
.evp-dcard-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; color: var(--evp-ink) !important; font-weight: 700; margin-bottom: 8px; }
.evp-dcard-h:hover { text-decoration: none !important; }
.evp-dcard-h b { font-size: 26px; line-height: 1; font-weight: 800; color: #B5BBC6; }
.evp-dcard.has .evp-dcard-h b { color: var(--evp-ink); }
.evp-d-overdue.has, .evp-d-unanswered.has { border-top: 3px solid var(--evp-err); }
.evp-d-registrations.has, .evp-d-expiring.has, .evp-d-nocmr.has { border-top: 3px solid #E0A82E; }
.evp-more { display: inline-block; font-size: 13px; font-weight: 700; margin-top: 8px; }
.evp-small { font-size: 13px; }

/* ---------- Részletek ---------- */
.evp-dl { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 0; margin: 0; }
.evp-dl dt { color: var(--evp-muted); font-size: 13px; padding: 8px 10px 8px 0; border-top: 1px solid var(--evp-line-2); }
.evp-dl dd { margin: 0; padding: 8px 0; font-weight: 600; border-top: 1px solid var(--evp-line-2); min-width: 0; overflow-wrap: anywhere; }
.evp-dl dt:first-of-type, .evp-dl dt:first-of-type + dd { border-top: 0; }
.evp-dl-compact dt, .evp-dl-compact dd { padding: 5px 0; }
.evp-pre { white-space: pre-line; }
.evp-note { background: #F7F8FA; border-left: 3px solid var(--evp-accent); padding: 10px 12px; border-radius: 6px; font-size: 14px; margin: 10px 0; }
.evp-muted { color: var(--evp-muted); }
.evp-red { color: var(--evp-err) !important; font-weight: 700; }
.evp-ok { color: var(--evp-ok); font-weight: 800; }
.evp-route { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.evp-stop { background: #F7F8FA; border-radius: 12px; padding: 14px 16px; font-size: 14px; display: flex; flex-direction: column; gap: 3px; border-top: 3px solid var(--evp-accent); }
.evp-stop-delivery { border-top-color: var(--evp-ink); }
.evp-stop-h { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--evp-muted); margin-bottom: 4px; }
.evp-stop-when { font-weight: 700; margin-top: 4px; }
.evp-timeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--evp-line); }
.evp-timeline li { position: relative; padding: 0 0 14px 14px; font-size: 14px; }
.evp-timeline li::before { content: ""; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--evp-accent); box-shadow: 0 0 0 3px #fff; }
.evp-timeline li.is-internal::before { background: #B5BBC6; }
.evp-timeline time { display: block; font-size: 12px; color: var(--evp-muted); font-weight: 600; }
.evp-timeline small { color: var(--evp-muted); }
.evp-docs { list-style: none; margin: 0; padding: 0; }
.evp-docs li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--evp-line-2); flex-wrap: wrap; }
.evp-docs li:first-child { border-top: 0; }
.evp-docs li.is-deleted { opacity: .55; }
.evp-doc-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--evp-accent-lt); color: var(--evp-accent); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.evp-doc-main { flex: 1; min-width: 160px; display: flex; flex-direction: column; }
.evp-doc-main small { color: var(--evp-muted); overflow-wrap: anywhere; }
.evp-progress { list-style: none; display: flex; margin: 0 0 20px; padding: 0; counter-reset: s; background: #fff; border: 1px solid var(--evp-line); border-radius: var(--evp-radius); overflow: hidden; }
.evp-progress li { flex: 1; padding: 12px 10px; font-size: 13px; font-weight: 700; color: #9AA1AD; text-align: center; position: relative; border-right: 1px solid var(--evp-line-2); }
.evp-progress li:last-child { border-right: 0; }
.evp-progress li.done { color: var(--evp-ok); background: #F3FAF6; }
.evp-progress li.cur { color: #fff; background: var(--evp-accent); }
.evp-eta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.evp-eta-big { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.01em; margin: 4px 0 2px; }
.evp-offer-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.evp-price { font-size: clamp(26px, 4vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.evp-price small { display: block; text-align: right; font-size: 12px; font-weight: 700; color: var(--evp-muted); letter-spacing: 0; margin-top: 4px; }
.evp-offer-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--evp-line-2); }
.evp-terms, .evp-reject { margin-top: 12px; }
.evp-terms summary, .evp-reject summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--evp-accent); padding: 6px 0; }
.evp-reject[open] summary { margin-bottom: 10px; }
.evp-members { list-style: none; margin: 0 0 12px; padding: 0; }
.evp-members li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--evp-line-2); flex-wrap: wrap; }
.evp-members li:first-child { border-top: 0; }
.evp-member-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.evp-member-actions select { width: auto; min-height: 36px; padding: 6px 10px; font-size: 13px; }
.evp-assign label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--evp-muted); }
.evp-assign select { width: auto; min-height: 38px; }
.evp-helper h2 { font-size: 15px; }

/* ---------- Feltöltés ---------- */
.evp-drop { display: block; border: 2px dashed #C9CED6; border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; background: #FAFBFC; position: relative; margin-bottom: 12px; transition: border-color .15s, background .15s; }
.evp-drop.is-over, .evp-drop:hover { border-color: var(--evp-accent); background: var(--evp-accent-lt); }
.evp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.evp-drop span { font-weight: 600; color: var(--evp-muted); font-size: 14px; }
.evp-doc-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.evp-doc-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 130px; gap: 8px; align-items: center; background: #F7F8FA; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.evp-doc-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.evp-doc-row select { min-height: 38px; padding: 6px 8px; font-size: 13px; }

/* ---------- Lenyíló, párbeszéd ---------- */
.evp-dd { position: relative; }
.evp-dd summary { list-style: none; }
.evp-dd summary::-webkit-details-marker { display: none; }
.evp-dd-pop { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--evp-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(18, 21, 27, .14); width: min(420px, 90vw); max-height: 360px; overflow: auto; padding: 6px; z-index: 30; }
.evp-dd-pop a { display: block; padding: 9px 10px; border-radius: 8px; color: var(--evp-ink); font-size: 14px; }
.evp-dd-pop a:hover { background: var(--evp-line-2); text-decoration: none; }
.evp-dd-pop a span { color: var(--evp-muted); }
.evp-dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 24px 64px rgba(18, 21, 27, .3); color: var(--evp-ink); }
.evp-dialog::backdrop { background: rgba(18, 21, 27, .5); }
.evp-dialog form { padding: 24px; }
.evp-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- Belépés ---------- */
.evp-area-auth { background: linear-gradient(180deg, #12151B 0, #12151B 300px, var(--evp-bg) 300px); }
.evp-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 16px 24px; }
.evp-auth-card { width: 100%; max-width: 480px; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(18, 21, 27, .18); padding: clamp(22px, 5vw, 36px); }
.evp-auth-card:has(input[name=tax]) { max-width: 680px; }
.evp-auth-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 12px; }
.evp-auth-logo img { height: 36px; width: auto; display: block; }
.evp-auth-title { font-size: 24px !important; }
.evp-auth-links { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; text-align: center; }
.evp-auth-foot { color: var(--evp-muted); font-size: 13px; margin-top: 20px; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .evp-dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evp-burger { display: block; }
  .evp-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--evp-line); flex-direction: column; align-items: stretch; padding: 10px var(--evp-gutter) 16px; box-shadow: 0 16px 32px rgba(18, 21, 27, .1); max-height: calc(100vh - 64px); overflow: auto; }
  .evp-nav.is-open { display: flex; }
  .evp-nav > a { padding: 12px; font-size: 15px; }
  .evp-nav-user { margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--evp-line-2); justify-content: space-between; }
  .evp-umenu-pop { right: 0; }
}
@media (max-width: 900px) {
  .evp-cols, .evp-cols-office { grid-template-columns: minmax(0, 1fr); }
  .evp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evp-grid3 { grid-template-columns: minmax(0, 1fr); }
  .evp-grid3 .evp-span2 { grid-column: auto; }
  .evp-eta { grid-template-columns: minmax(0, 1fr); }
  .evp-row-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body.evp { font-size: 15px; }
  .evp-main { padding-top: 18px; }
  .evp-card { padding: 16px; border-radius: 12px; }
  .evp-dash { grid-template-columns: minmax(0, 1fr); }
  .evp-grid2, .evp-grid4 { grid-template-columns: minmax(0, 1fr); }
  .evp-span2, .evp-span3 { grid-column: auto; }
  .evp-route { grid-template-columns: minmax(0, 1fr); }
  .evp-progress { flex-direction: column; }
  .evp-progress li { border-right: 0; border-bottom: 1px solid var(--evp-line-2); text-align: left; }
  .evp-filters > * { flex: 1 1 100% !important; width: 100% !important; }
  .evp-filters label input { flex: 1; }
  .evp-head .evp-btn { flex: 1; }
  /* Listák kártyanézetben */
  .evp-table-wrap { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .evp-table, .evp-table tbody, .evp-table tr, .evp-table td { display: block; width: 100%; }
  .evp-table thead { display: none; }
  .evp-table tr { background: #fff; border: 1px solid var(--evp-line); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; box-shadow: var(--evp-shadow); position: relative; }
  .evp-table td { border: 0; padding: 4px 0 4px 42%; position: relative; min-height: 26px; }
  .evp-table td::before { content: attr(data-label); position: absolute; left: 0; top: 4px; width: 40%; font-size: 12px; color: var(--evp-muted); font-weight: 600; }
  .evp-table td:not([data-label]) { padding-left: 0; }
  .evp-table td.evp-cb { position: absolute; right: 10px; top: 10px; width: auto; padding: 0; }
  .evp-table tbody tr:hover td { background: transparent; }
  .evp-sticky { border-radius: 0; margin: 0 calc(-1 * var(--evp-gutter)); }
  .evp-sticky .evp-muted { display: none; }
  .evp-sticky .evp-btn { width: 100%; }
  .evp-doc-row { grid-template-columns: minmax(0, 1fr); }
  .evp-uname { display: none; }
  .evp-dl { grid-template-columns: minmax(0, 1fr); }
  .evp-dl dt { padding-bottom: 0; }
  .evp-dl dd { border-top: 0; padding-top: 2px; }
  .evp-offer-actions .evp-btn { width: 100%; }
}
@media print {
  .evp-top, .evp-foot, .evp-btn, .evp-filters, .evp-sticky { display: none !important; }
  body.evp { background: #fff; }
}
