/* Mutyimonitor - stíluslap (fehér, fekete, piros; Inter betűcsalád, kártyás elrendezés) */
:root {
  --paper: #ffffff;
  --paper-2: #f4f4f5;
  --card: #ffffff;
  --ink: #0a0a0a;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --rule: #e4e4e7;
  --rule-2: #efeff1;
  --accent: #e30613;
  --accent-ink: #c4050f;
  --accent-soft: #ffe5e3;
  --on-accent: #ffffff;
  --focus: #0a0a0a;
  --inv: #0a0a0a;
  --inv-ink: #ffffff;
  --inv-ink-2: #a1a1aa;
  --rim-1: #e4e4e7; --rim-2: #ff8a80; --rim-3: #e30613;

  --s0: #e4e4e7; --s1: #b4b4bc; --s2: #ffbcb6; --s3: #ff8177;
  --s4: #ff3f33; --s5: #e30613; --s6: #8c0a0a; --s7: #0a0a0a;

  --st-vadol: #e30613; --st-vedi: #0a0a0a; --st-tagad: #8a8a93;
  --st-tamadja: #ff8177; --st-tajekoztat: #c8c8ce; --st-elismer: #8c0a0a;

  --t-person: #0a0a0a; --t-company: #e30613; --t-institution: #6b6b75; --t-case: #0a0a0a;
  --cmp: #0a0a0a;
  --sel: #ffd400;

  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--display);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: var(--sans);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 10, 10, .04);
  --shadow-lift: 0 1px 2px rgba(10, 10, 10, .04), 0 14px 32px -14px rgba(10, 10, 10, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a0a0a; --paper-2: #18181b; --card: #121214; --ink: #fafafa; --ink-2: #c4c4cc;
    --ink-3: #8a8a93; --rule: #2a2a2f; --rule-2: #1f1f23; --accent: #ff3b30; --accent-ink: #ff5a50; --accent-soft: #3a0f0c;
    --focus: #fafafa; --inv: #1c1c20; --inv-ink: #ffffff; --inv-ink-2: #a1a1aa;
    --rim-1: #52525b; --rim-2: #ff8a80; --rim-3: #ff3b30;
    --s0: #2e2e33; --s1: #5a5a63; --s2: #ffbcb6; --s3: #ff8177; --s4: #ff4d42; --s5: #e30613; --s6: #a30d0d; --s7: #fafafa;
    --st-vedi: #fafafa; --st-tagad: #8a8a93; --st-tajekoztat: #5a5a63; --st-elismer: #ffbcb6;
    --t-person: #e4e4e7; --t-institution: #71717a; --t-case: #fafafa; --cmp: #fafafa;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lift: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -14px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); text-decoration-color: var(--accent); }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.02em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.figure-num, .case-amount, .cmp-amt, .cmp-ratio, .pipe-count, .pipe-amount, .bar-val, .treemap-amount, .tl-date, .stmt-date, .chip small, .result-bar, .figure-sub, .block h2 .count { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; border-radius: 99px; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.loading { padding: 80px 0; color: var(--ink-3); font-family: var(--mono); font-size: .9rem; }

/* fejléc */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark .bm-bg { fill: #0a0a0a; }
@media (prefers-color-scheme: dark) { .brand-mark .bm-bg { stroke: #2a2a2f; stroke-width: 2; } }
.brand-mark .bm-eye { transform-box: view-box; transform-origin: 32px 32px; animation: blink 7s ease-in-out infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
.brand-name { font-family: var(--display); font-size: 1.42rem; font-weight: 800; letter-spacing: -.025em; }
.brand-tld { color: var(--accent); font-weight: 700; }
.footer-contact { margin-top: 12px; }
.nav { display: flex; gap: 2px; margin-left: auto; padding: 4px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--rule-2); border-radius: 99px; }
.nav a { text-decoration: none; padding: 7px 13px; border-radius: 99px; font-size: .9rem; color: var(--ink-2); font-weight: 550; transition: background .15s, color .15s; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.active { color: var(--paper); background: var(--ink); box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; background: var(--card); border: 1px solid var(--rule); border-radius: 99px; width: 46px; height: 40px; cursor: pointer; color: var(--ink); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: ""; border-radius: 2px; }
.nav-toggle-bars::before { position: absolute; top: -6px; } .nav-toggle-bars::after { position: absolute; top: 6px; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 12px; right: 12px; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-lift); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; border-radius: var(--radius-sm); }
}

/* lábléc: sötét blokk mindkét módban */
.site-footer { margin-top: 96px; padding: 48px 0 56px; background: #0a0a0a; color: #fafafa; border-radius: 28px 28px 0 0; }
@media (prefers-color-scheme: dark) { .site-footer { background: #141416; border-top: 1px solid #222226; } }
.site-footer a { color: #fafafa; }
.site-footer a:hover { color: #ff5a50; text-decoration-color: #ff5a50; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.footer-brand { font-family: var(--display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 4px; }
.site-footer .brand-tld { color: #ff3b30; }
.site-footer .muted { color: #a1a1aa; }
.footer-note p { font-size: .92rem; color: #d4d4d8; }
.footer-note strong { color: #ff5a50; }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; gap: 12px; } .site-footer { border-radius: 22px 22px 0 0; } }

/* általános elemek */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 1em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.lede { font-family: var(--sans); font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 760px; font-weight: 450; letter-spacing: -.01em; }
.section { padding: 64px 0 8px; margin-top: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-q { font: 600 .74rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); margin-bottom: .7em; }
.takeaway { font-size: 1.05rem; color: var(--ink-2); max-width: 780px; }
.takeaway strong { color: var(--ink); font-weight: 650; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; padding: 8px 14px; border-radius: 99px; background: var(--card); border: 1px solid var(--rule); transition: background .15s, border-color .15s, color .15s; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover { color: var(--ink); border-color: var(--ink); }
.more:hover::after { transform: translateX(3px); }
.card { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; line-height: 1.5; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.tag { display: inline-block; font-size: .8rem; padding: 3px 11px; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-2); background: var(--card); text-decoration: none; margin: 0 4px 6px 0; cursor: help; font-weight: 500; }
a.tag { cursor: pointer; }
a.tag:hover { border-color: var(--ink); color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; font-size: .92rem; cursor: pointer; transition: transform .15s; }
.btn:hover { color: var(--paper); transform: translateY(-1px); }
.empty { padding: 28px; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--rule); border-radius: var(--radius); }

/* élő jelzés */
.live { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 12px 7px 10px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); } 80%, 100% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); } }

/* kezdőlap */
.hero { padding: 56px 0 8px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 7.4rem); font-weight: 800; margin-bottom: .12em; letter-spacing: -.035em; line-height: .98; }
.hero h1 .hl { color: var(--accent); white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.hero-top .eyebrow { margin: 0; }
.presumption { padding: 20px 22px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); font-size: .95rem; color: var(--ink-2); box-shadow: var(--shadow); position: relative; }
.presumption strong { display: table; font: 600 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--paper); padding: 6px 9px; border-radius: 99px; margin-bottom: 10px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 36px; } }

.figures { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.figure { padding: 22px 22px 24px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.figure + .figure { padding-left: 22px; border-left: 1px solid var(--rule-2); }
.figure-num { font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: .95; font-weight: 800; letter-spacing: -.025em; }
.figure-num small { font-size: .38em; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; color: inherit; opacity: .75; margin-left: 6px; }
.figure-label { font-size: .9rem; color: var(--ink-2); margin-top: 10px; line-height: 1.4; }
.figure-sub { font: 600 .75rem/1.4 var(--mono); color: var(--ink-3); margin-top: 8px; }
.figure.big { background: var(--accent); color: var(--on-accent); border-color: var(--accent); box-shadow: 0 20px 40px -18px rgba(227, 6, 19, .55); }
.figure.big .figure-num { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.figure.big .figure-label { color: #fff; opacity: .92; }
.figure.big .figure-sub { color: rgba(255, 255, 255, .78); }
@media (prefers-color-scheme: dark) { .figure.big { background: #e30613; border-color: #e30613; box-shadow: none; } .amount-box { border-color: var(--rule); } }
@media (max-width: 860px) {
  .figures { grid-template-columns: 1fr 1fr; gap: 10px; }
  .figure.big, .figure:last-child:nth-child(even) { grid-column: 1 / -1; }
  .figure + .figure { padding-left: 18px; }
  .figure { padding: 18px; }
}
.scale-note { margin-top: 16px; font-family: var(--sans); color: var(--ink-2); font-size: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.scale-note a { font-weight: 600; text-decoration: none; padding: 8px 16px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.scale-note a:hover { color: var(--on-accent); background: var(--accent); }

/* diagramok */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); fill: var(--ink-2); font-size: 11px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--ink-2); margin: 14px 0 0; padding: 0; list-style: none; }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend .ln { width: 22px; height: 0; border-top: 2px solid; display: inline-block; }
.legend .ln.dash { border-top-style: dashed; }
.treemap-cell { cursor: pointer; }
.treemap-cell rect { stroke: var(--paper); stroke-width: 3px; rx: 8px; ry: 8px; transition: opacity .15s; }
.treemap-cell:hover rect { opacity: .85; }
.treemap-cell text { pointer-events: none; }
.treemap-label { font-weight: 600; font-size: 12px; }
.treemap-amount { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.012em; }
.chart-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 99px; overflow: hidden; background: var(--card); padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 6px 13px; font: 600 .84rem var(--sans); color: var(--ink-2); cursor: pointer; border-radius: 99px; }
.seg button + button { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.tooltip { position: fixed; z-index: 100; pointer-events: none; max-width: 320px; background: rgba(10, 10, 10, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fafafa; padding: 12px 14px; border-radius: 14px; font-size: .85rem; line-height: 1.45; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); }
.tooltip b { font-weight: 650; }
.tooltip .tt-title { font-family: var(--display); font-size: 1.02rem; font-weight: 700; letter-spacing: -.012em; margin-bottom: 3px; line-height: 1.2; }
.tooltip .tt-meta { opacity: .7; font-size: .78rem; font-family: var(--mono); }

/* szakasz-sín */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pipe-col { background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); padding: 16px 16px 12px; min-width: 0; position: relative; box-shadow: var(--shadow); }
.pipe-col::before { content: ""; position: absolute; right: 16px; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.pipe-count { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 800; letter-spacing: -.025em; }
.pipe-name { font-weight: 650; font-size: .92rem; margin: 6px 0 2px; }
.pipe-desc { font-size: .8rem; color: var(--ink-3); line-height: 1.4; min-height: 2.8em; }
.pipe-amount { font: 600 .76rem var(--mono); color: var(--ink-2); margin: 6px 0 8px; }
.pipe-list { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--rule-2); max-height: 220px; overflow: auto; }
.pipe-list li { font-size: .82rem; line-height: 1.3; padding: 4px 0; }
.pipe-list a { text-decoration: none; }
.pipe-list a:hover { text-decoration: underline; }
@media (max-width: 760px) { .pipeline { grid-template-columns: 1fr 1fr; gap: 8px; } .pipe-list { max-height: 150px; } .pipe-desc { min-height: 0; } }

.rail { display: flex; gap: 4px; margin: 8px 0 6px; }
.rail span { flex: 1; height: 8px; border-radius: 99px; background: var(--rule-2); }
.rail span.on { background: var(--c); }
.rail-labels { display: flex; justify-content: space-between; font: 600 .7rem var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.rail-labels b { color: var(--ink); }

/* bárok */
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 240px 1fr 48px; gap: 12px; align-items: center; text-decoration: none; padding: 8px 10px; border-radius: var(--radius-sm); transition: background .15s; }
.bar-row:hover { background: var(--card); color: var(--ink); }
.bar-row:hover .bar-fill { background: var(--accent); }
.bar-name { font-weight: 600; font-size: .92rem; }
.bar-desc { display: block; font-size: .78rem; color: var(--ink-3); font-weight: 400; line-height: 1.35; }
.bar-track { height: 12px; background: var(--rule-2); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--ink); border-radius: 99px; transition: background .15s; }
.bar-val { font: 700 1rem var(--display); text-align: right; letter-spacing: -.012em; }
@media (max-width: 640px) { .bar-row { grid-template-columns: 1fr 40px; } .bar-track { grid-column: 1 / -1; grid-row: 2; } }

/* személykártyák */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pcard { display: flex; gap: 12px; padding: 16px; text-decoration: none; align-items: flex-start; transition: transform .15s, box-shadow .15s, border-color .15s; }
.pcard:hover { border-color: var(--rule); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .86rem; color: #fff; flex: none; letter-spacing: .01em; font-family: var(--display); }
.avatar.company { border-radius: 12px; }
.avatar.institution { border-radius: 6px; }
.avatar.lg { width: 68px; height: 68px; font-size: 1.35rem; }
.pcard-name { font-weight: 650; line-height: 1.25; }
.pcard-desc { font-size: .82rem; color: var(--ink-3); line-height: 1.35; margin-top: 2px; }
.pcard-meta { font: 600 .74rem var(--mono); color: var(--ink-2); margin-top: 8px; }

/* ügylista */
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 8px; margin: 18px 0 10px; }
.filters input, .filters select { width: 100%; font: 500 .92rem var(--sans); padding: 11px 15px; border: 1px solid var(--rule); border-radius: 99px; background: var(--card); color: var(--ink); appearance: none; -webkit-appearance: none; }
.filters select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.filters input:focus, .filters select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.filters input::placeholder { color: var(--ink-3); }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } .filters .f-search { grid-column: 1 / -1; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font: 600 .8rem var(--mono); color: var(--ink-2); margin: 8px 0 12px; }
.case-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.case-row { display: grid; grid-template-columns: 1fr 150px 150px; gap: 18px; padding: 18px 20px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); text-decoration: none; align-items: start; transition: transform .15s, box-shadow .15s; }
.case-row:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.case-row:hover .case-title { color: var(--accent-ink); }
.case-title { font-family: var(--display); font-size: 1.2rem; font-weight: 700; line-height: 1.2; letter-spacing: -.012em; }
.case-sub { font-size: .85rem; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.case-amount { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.case-amount small { display: block; font: 600 .7rem var(--mono); color: var(--ink-3); letter-spacing: 0; }
.case-stage { font-size: .82rem; }
@media (max-width: 700px) { .case-row { grid-template-columns: 1fr auto; padding: 16px; } .case-stage { grid-column: 1 / -1; } }

/* ügyoldal */
.crumbs { font: 600 .78rem var(--mono); color: var(--ink-3); margin: 28px 0 14px; text-transform: uppercase; letter-spacing: .05em; }
.crumbs a { color: var(--ink-2); }
.case-head { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.case-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.case-meta { font-size: .9rem; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.amount-box { padding: 22px; background: var(--inv); color: var(--inv-ink); border-color: var(--inv); }
.amount-box .label-sm, .amount-box h3 { color: var(--inv-ink-2); }
.amount-box .figure-num { color: var(--inv-ink); }
.amount-box .figure-num small { color: #ff3b30; opacity: 1; }
.amount-box .figure-label { margin-top: 8px; color: var(--inv-ink); opacity: .85; }
.amount-box .figure-sub, .amount-box .muted { color: var(--inv-ink-2); }
.case-body { display: grid; grid-template-columns: 1fr 320px; gap: 40px; margin-top: 40px; }
.case-body > aside > * + * { margin-top: 16px; }
.case-body.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .case-head, .case-body, .case-body.two-col { grid-template-columns: 1fr; gap: 20px; } }
.tl-text, .stmt-sum, .case-sub, .pcard-desc { overflow-wrap: anywhere; }
.block { margin-bottom: 48px; }
.block h2 { font-size: 1.7rem; padding-bottom: 6px; margin-bottom: 16px; }
.block h2 .count { display: inline-block; vertical-align: middle; font: 600 .78rem/1 var(--mono); color: var(--ink-2); background: var(--paper-2); padding: 5px 8px; border-radius: 99px; margin-left: 8px; position: relative; top: -3px; letter-spacing: 0; }
.prose { font-size: 1.06rem; line-height: 1.7; max-width: 720px; }
.prose-official { border-left: 0; padding: 16px 18px; background: var(--paper-2); border-radius: var(--radius-sm); color: var(--ink-2); }
.label-sm { font: 600 .7rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); display: block; margin-bottom: 8px; }
.side-box { padding: 20px; }
.side-box h3 { font: 600 .7rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.dig { list-style: none; margin: 0; padding: 0; }
.dig li { padding: 8px 0; border-top: 1px solid var(--rule-2); font-size: .9rem; }
.dig li:first-child { border-top: 0; }
.dig a { text-decoration: none; display: flex; justify-content: space-between; gap: 8px; font-weight: 550; }
.dig a::after { content: "↗"; color: var(--ink-3); }
.dig a:hover::after { color: var(--accent); }

.involved { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.inv { display: flex; gap: 10px; padding: 14px; text-decoration: none; align-items: flex-start; transition: transform .15s, box-shadow .15s; }
.inv:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.inv .avatar { width: 38px; height: 38px; font-size: .78rem; }
.role { display: inline-block; font: 600 .7rem/1.3 var(--sans); padding: 3px 9px; border-radius: 10px; margin-top: 6px; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.role.hot { background: var(--accent); color: #fff; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(var(--rule), var(--rule-2)); }
.tl-item { position: relative; padding: 0 0 20px; }
.tl-item::before { content: ""; position: absolute; left: -25px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--c, var(--ink-3)); box-shadow: 0 0 0 4px var(--paper); }
.tl-date { font: 600 .76rem var(--mono); color: var(--ink-2); }
.tl-type { font: 600 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: color-mix(in srgb, var(--c, var(--ink-3)) 22%, transparent); padding: 3px 7px; border-radius: 99px; margin-left: 8px; }
.tl-text { margin: 4px 0 0; }
.tl-src { font-size: .8rem; color: var(--ink-3); }

.stmts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stmt { padding: 18px 20px 18px 24px; position: relative; overflow: hidden; }
.stmt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.stmt-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stmt-who { font-weight: 700; text-decoration: none; }
.stmt-role { font-size: .82rem; color: var(--ink-3); }
.stmt-date { margin-left: auto; font: 600 .74rem var(--mono); color: var(--ink-2); white-space: nowrap; }
.stmt-sum { margin: 8px 0 0; }
.stmt-quote { margin: 12px 0 0; font-family: var(--display); font-style: normal; font-weight: 600; font-size: 1.22rem; line-height: 1.35; letter-spacing: -.012em; color: var(--ink); }
.stmt-quote::before { content: "„"; color: var(--accent); font-weight: 800; } .stmt-quote::after { content: "”"; color: var(--accent); font-weight: 800; }
.stmt-foot { font-size: .8rem; color: var(--ink-3); margin-top: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.stance { display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem/1 var(--mono); color: var(--ink); text-transform: uppercase; letter-spacing: .06em; background: color-mix(in srgb, var(--c) 16%, transparent); padding: 5px 9px; border-radius: 99px; }
.stance .dot { background: var(--c); width: 7px; height: 7px; }
.approx { border-bottom: 1px dotted var(--ink-3); cursor: help; }

.shift { padding: 16px 18px; margin-bottom: 14px; }
.shift-row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--rule-2); }
.shift-row:first-child { border-top: 0; }
.shift-name { font-weight: 650; font-size: .9rem; text-decoration: none; }
.shift-track { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.shift-step { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--ink-2); }
.shift-step + .shift-step::before { content: "→"; color: var(--ink-3); margin-right: 2px; }
@media (max-width: 560px) { .shift-row { grid-template-columns: 1fr; gap: 4px; } }

.sources { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.sources li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--rule-2); font-size: .9rem; }
.sources li::before { content: counter(s, decimal-leading-zero); color: var(--ink-3); font: 600 .74rem/1.9 var(--mono); }
.sources .src-url { color: var(--ink-3); font: .74rem var(--mono); word-break: break-all; }

.case-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; margin-top: 20px; }
.case-nav a { text-decoration: none; font-size: .9rem; max-width: 46%; padding: 14px 16px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius-sm); font-weight: 600; }
.case-nav a:hover { color: var(--ink); border-color: var(--ink); }
.case-nav small { display: block; color: var(--ink-3); font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

/* hálózat */
.net-wrap { position: relative; border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.net-wrap svg { display: block; width: 100%; touch-action: none; }
.net-tools { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.net-tools > * { pointer-events: auto; }
.net-tools input { font: 500 .9rem var(--sans); padding: 9px 15px; border: 1px solid var(--rule); border-radius: 99px; background: var(--card); color: var(--ink); width: 260px; max-width: 100%; }
.node-label { font-size: 11px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.node-label.case { font-weight: 500; fill: var(--ink-2); font-size: 10px; }
.net-link { stroke: var(--ink-3); stroke-opacity: .35; }
.net-link.hot { stroke: var(--accent); stroke-opacity: .75; }
.net-link.dash { stroke-dasharray: 4 3; }
.faded { opacity: .12; }

/* nyilatkozat-sávok */
.lanes text.lane-name { font-size: 12px; font-weight: 600; fill: var(--ink); cursor: pointer; }
.lanes .lane-bg { fill: var(--paper-2); opacity: .6; }
.lanes .axis text { fill: var(--ink-3); font-size: 10.5px; font-family: var(--mono); }
.lanes .axis line, .lanes .axis path { stroke: var(--rule); }
.lanes circle { cursor: pointer; stroke: var(--card); stroke-width: 1.5px; }
.break-mark { stroke: var(--ink-3); stroke-dasharray: 2 3; }

.month-group h3 { font: 600 .74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 32px 0 12px; }

/* módszertan */
.method { max-width: 780px; }
.method h2 { margin-top: 1.6em; font-size: 1.75rem; }
.method dl { margin: 0; }
.method dt { font-weight: 700; margin-top: 12px; }
.method dd { margin: 2px 0 0; color: var(--ink-2); }
.method ul { padding-left: 1.2em; }
.method li { margin-bottom: .4em; }
.method li::marker { color: var(--accent); }

.page-head { padding: 48px 0 8px; }
.page-head .lede { margin-bottom: 0; }

/* jelvények */
.badge { display: inline-block; vertical-align: middle; font: 600 .64rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); margin-left: 6px; position: relative; top: -2px; }
.badge.new { background: var(--accent); color: var(--on-accent); }
h1 .badge { font-size: .8rem; top: -10px; transform: rotate(-4deg); padding: 6px 10px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; cursor: pointer; font: inherit; }
.linkish:hover { color: var(--accent-ink); }

/* mekkora? buborékok */
.cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "chart info" "chart pal"; gap: 18px 22px; align-items: start; }
.cmp-chart { grid-area: chart; position: sticky; top: 80px; }
.cmp-pal { grid-area: pal; }
.cmp-info { grid-area: info; }
.bubbles { overflow: hidden; background: radial-gradient(120% 90% at 50% 35%, var(--card), var(--paper-2)); touch-action: none; cursor: grab; border-radius: var(--radius); }
.bubbles:active { cursor: grabbing; }
.bubbles svg { overflow: hidden; }
.bub { cursor: default; }
.bub.case { cursor: pointer; }
.bub .bub-rim { stroke-width: 1.3px; stroke-opacity: .85; }
.bub.cmp .bub-rim, .bub.own .bub-rim { stroke-width: 2px; stroke-dasharray: 5 3; stroke-opacity: 1; }
.bub.cmp .bub-body { stroke: var(--cmp); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.bub.own .bub-body { stroke: var(--accent); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.bub { outline: none; -webkit-tap-highlight-color: transparent; transition: opacity .25s; }
.bub.case:hover .bub-rim { stroke-width: 2.4px; stroke-opacity: 1; }
.bub.case:focus-visible .bub-body { stroke: var(--focus); stroke-width: 2.5px; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
/* kijelölés: telt sárga golyó, körülötte réssel fekete gyűrű, a többi ügy halványabb */
.bub.is-sel .bub-body { fill: url(#bub-sel); }
.bub.is-sel .bub-rim { stroke: #a88a00; stroke-opacity: 1; }
.has-sel .bub.case:not(.is-sel) { opacity: .35; }
.has-sel .bub.case:not(.is-sel):hover, .has-sel .bub.case:not(.is-sel):focus-visible { opacity: .85; }
.bub-selring { pointer-events: none; }
.bub-selring .ring-gap { fill: none; stroke: var(--card); stroke-width: 6px; }
.bub-selring .ring-line { fill: none; stroke: var(--ink); stroke-width: 2px; }
.bub-selring .ring-pulse { fill: none; stroke: var(--sel); stroke-width: 3px; }
.sel-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sel); box-shadow: 0 0 0 1.5px var(--ink); margin-right: 7px; vertical-align: 0; }
.bub-labels { pointer-events: none; }
.bub-labels text { font-family: var(--sans); font-weight: 650; fill: var(--ink); paint-order: stroke; stroke: color-mix(in srgb, var(--card) 80%, transparent); stroke-width: 3px; stroke-linejoin: round; }
.bub-labels text .amt { font-weight: 500; fill: var(--ink-2); font-family: var(--mono); }
.bub-labels text.cmp, .bub-labels text.cmp .amt { fill: var(--cmp); }
.bub-labels text.own, .bub-labels text.own .amt { fill: var(--accent-ink); }
.bub-labels text.sel, .bub-labels text.sel .amt { fill: #0a0a0a; }
.bub-labels text.sel { stroke: var(--sel); stroke-width: 7px; }
.bub-labels text { transition: opacity .25s; }
.has-sel .bub-labels text.case:not(.sel) { opacity: .4; }
.cmp-pal .label-sm { margin-bottom: 8px; }
.cmp-group { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cmp-glabel { width: 100%; font: 600 .68rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.chip { display: inline-flex; align-items: baseline; gap: 6px; text-align: left; border: 1px solid var(--rule); background: var(--card); border-radius: 99px; padding: 6px 12px; font: 600 .78rem/1.3 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.chip small { font: 600 .68rem var(--mono); color: var(--ink-3); white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--cmp); background: var(--cmp); color: var(--paper); box-shadow: none; }
.chip[aria-pressed="true"] small { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.chip[data-id="osszes-ugy"][aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: none; }
.chip[data-id="osszes-ugy"][aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.cmp-subj { padding-bottom: 14px; border-bottom: 1px solid var(--rule-2); margin-bottom: 8px; }
.cmp-amt { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -.025em; color: var(--accent-ink); }
.cmp-rows { list-style: none; margin: 0; padding: 0; }
.cmp-rows li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule-2); }
.cmp-ratio { font-family: var(--display); font-size: 1.5rem; line-height: 1.05; color: var(--accent-ink); font-weight: 800; letter-spacing: -.025em; word-break: break-word; }
.cmp-xl { font-weight: 650; font-size: .92rem; }
.cmp-acts { margin-top: 2px; color: var(--ink-3); }
@media (max-width: 960px) {
  .cmp-layout { grid-template-columns: 1fr; grid-template-areas: "pal" "chart" "info"; }
  .cmp-chart { position: static; }
  .cmp-pal { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .cmp-pal .label-sm { display: none; }
  .cmp-group { flex-wrap: nowrap; margin: 0; }
  .cmp-glabel { display: none; }
  .chip { white-space: nowrap; }
}

/* friss */
.fresh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fresh-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--rule-2); border-radius: var(--radius); }
.fresh-kind { align-self: start; justify-self: start; font: 600 .66rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--paper-2); padding: 6px 9px; border-radius: 99px; margin-top: 2px; }
.fresh-kind.k-uj-ugy { color: var(--on-accent); background: var(--accent); }
.fresh-kind.k-nyilatkozat { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.fresh-kind.k-esemeny { color: var(--paper); background: var(--ink); }
.fresh-case { font-family: var(--display); font-weight: 700; letter-spacing: -.012em; text-decoration: none; font-size: 1.05rem; }
.fresh-text { margin: 4px 0 6px; }
@media (max-width: 560px) { .fresh-item { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; } }
.more-wrap { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.cmp-src li { margin-bottom: 8px; }

/* sütisáv (assets/meres.js) */
.suti-sav { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: var(--inv); color: var(--inv-ink);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .5); padding: 16px 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-size: .9rem; line-height: 1.45; }
.suti-sav p { margin: 0; flex: 1 1 320px; color: var(--inv-ink); }
.suti-sav a { color: var(--inv-ink); text-decoration-color: rgba(255, 255, 255, .5); }
.suti-gombok { display: flex; gap: 8px; flex: 0 0 auto; }
.suti-sav button { font: 650 .88rem/1 var(--sans); cursor: pointer; border-radius: 99px; padding: 11px 18px; min-width: 112px; border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: var(--inv-ink); }
.suti-sav .suti-igen { background: var(--accent); border-color: var(--accent); color: #fff; }
.suti-sav button:hover { filter: brightness(1.12); }
.suti-sav button:focus-visible { outline: 2.5px solid #fff; outline-offset: 2px; }
@media (max-width: 560px) { .suti-sav { left: 10px; right: 10px; bottom: 10px; } .suti-gombok { width: 100%; } .suti-sav button { flex: 1; } }
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: #a1a1aa; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-link:hover { color: #fafafa; }
.method h2[id] { scroll-margin-top: 88px; }
