/**
 * Bevételi terv & Szezonalitás Hub
 * Fájl: includes/assets/css/bevetel-szezonalitas/flow-rp.css
 * A tab-rendszer (.flow-tab-*) a közös Flow Tab System CSS-ből jön.
 * @version 1.0.0
 */

.flow-rp {
    --rp-navy: #0d1f3c;
    --rp-blue: #223a5e;
    --rp-gold: #c9a84c;
    --rp-muted: #5a6a7e;
    --rp-line: #e3e8f2;
    --rp-soft: #f5f7fb;
    --rp-ok: #2e7d32;
    --rp-mid: #b7791f;
    --rp-bad: #c0392b;
    color: #1f2d3d;
}
/* Tartalék a közös Flow Tab System CSS mellé (ha az mégsem töltődne be) */
.flow-rp.flow-tab-container { box-sizing: border-box; width: 100%; padding: 20px 2%; }
.flow-rp .flow-tab-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; border-bottom: 3px solid #e0e0e0; }
.flow-rp .flow-tab-btn { flex: 1; min-width: 150px; padding: 15px 20px; margin-bottom: -3px; font-size: 16px; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.flow-rp .flow-tab-content { display: none; }
.flow-rp .flow-tab-content.active { display: block; }
.flow-rp .flow-tab-btn { background: #f5f5f5; color: #666; border: 0; border-bottom: 3px solid transparent; box-shadow: none !important; outline: none !important; }
.flow-rp .flow-tab-btn.active, .flow-rp .flow-tab-btn:focus { background: #fff !important; color: #223a5e !important; border-bottom-color: #223a5e !important; }
.flow-rp .flow-tab-content[data-rp-panel="intro"] { padding: 0 !important; }
.flow-rp-intro-cards button.flow-wrapper-card { text-align: left; font: inherit; cursor: pointer; width: 100%; }
.flow-rp .flow-wrapper-intro h1 { border: 0; padding: 0; }
.flow-rp .flow-wrapper-card h4 { border: 0; padding: 0; }

.flow-rp.flow-rp-busy { opacity: .6; pointer-events: none; }

/* ── Fejléc ─────────────────────────────────────────── */
.flow-rp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.flow-rp-title { font-size: 22px; font-weight: 700; color: var(--rp-blue); margin: 0 0 4px; padding: 0; border: 0; }
.flow-rp-subtitle { font-size: 14px; color: var(--rp-muted); margin: 0; }
.flow-rp-header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-rp-year-nav { display: flex; align-items: center; gap: 8px; }
.flow-rp-year { font-size: 18px; font-weight: 700; color: var(--rp-blue); min-width: 56px; text-align: center; }
.flow-rp-btn-nav { background: #f0f2f6; border: 1px solid #ccd3e0; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 14px; }
.flow-rp-btn-nav:disabled { opacity: .4; cursor: not-allowed; }
.flow-rp-currency { font-size: 12px; font-weight: 700; color: var(--rp-blue); background: #e2e5f6; border-radius: 12px; padding: 4px 10px; }
.flow-rp-badge { font-size: 12px; font-weight: 600; border-radius: 12px; padding: 4px 10px; }
.flow-rp-badge--demo { background: #fff3cd; color: #856404; }
.flow-rp-badge--lock { background: rgba(201,168,76,.15); color: #7a5c12; border: 1px solid rgba(201,168,76,.4); }

.flow-rp-upgrade { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--rp-navy), var(--rp-blue));
    color: rgba(255,255,255,.88); border-radius: 10px; padding: 16px 20px; margin-bottom: 20px; font-size: 14px; line-height: 1.6; }
.flow-rp-upgrade strong { color: #e8c97a; }
.flow-rp-upgrade a { color: #e8c97a; font-weight: 600; margin-left: 4px; }
.flow-rp-upgrade-icon { font-size: 22px; }

/* ── Szövegek, dobozok ─────────────────────────────── */
.flow-rp .flow-tab-content h3.flow-rp-h3 { font-size: 16px; font-weight: 700; color: var(--rp-blue); margin: 24px 0 10px; padding: 0; border: 0; }
.flow-rp-h3-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.flow-rp-toggles { display: flex; gap: 10px; flex-wrap: wrap; }
.flow-rp-count { font-weight: 400; color: var(--rp-muted); font-size: 13px; }
.flow-rp-hint { font-size: 12px; color: var(--rp-muted); margin: 6px 0 0; }
.flow-rp-note { background: #e2e5f6; border-left: 4px solid var(--rp-blue); border-radius: 6px; padding: 10px 14px; font-size: 13px; color: var(--rp-blue); margin-top: 8px; }
.flow-rp-info { background: var(--rp-soft); border: 1px solid var(--rp-line); border-radius: 10px; padding: 14px 18px; margin-top: 20px; font-size: 13px; line-height: 1.65; color: #3d4a5c; }
.flow-rp-info p { margin: 0 0 8px; }
.flow-rp-info p:last-child { margin: 0; }
.flow-rp-empty { background: var(--rp-soft); border: 1px dashed #c5cfe0; border-radius: 10px; padding: 18px; text-align: center; color: var(--rp-muted); font-size: 14px; margin: 10px 0; }

/* ── Táblák ────────────────────────────────────────── */
.flow-rp-table-wrap { overflow-x: auto; border: 1px solid var(--rp-line); border-radius: 10px; background: #fff; }
.flow-rp-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.flow-rp-table th, .flow-rp-table td { padding: 7px 8px; text-align: right; border-bottom: 1px solid #eef1f7; white-space: nowrap; }
.flow-rp-table thead th { background: #e2e5f6; color: var(--rp-blue); font-weight: 700; text-align: center; position: sticky; top: 0; }
.flow-rp-table tbody th { text-align: left; font-weight: 500; color: #3d4a5c; position: sticky; left: 0; background: #fff; z-index: 1; min-width: 210px; }
.flow-rp-table tr.flow-rp-strong td, .flow-rp-table tr.flow-rp-strong th { font-weight: 700; color: var(--rp-navy); }
.flow-rp-table tr.flow-rp-cf td, .flow-rp-table tr.flow-rp-cf th { color: var(--rp-muted); font-style: italic; }
.flow-rp-table tr.flow-rp-diff td, .flow-rp-table tr.flow-rp-diff th { background: var(--rp-soft); }
.flow-rp-table tr.flow-rp-calc td { background: #fafbfd; }
.flow-rp-table td.flow-rp-total { background: #f2f4f9; font-weight: 700; }
.flow-rp-neg { color: var(--rp-bad); }
.flow-rp-pos { color: var(--rp-ok); }
.flow-rp-ok  { color: var(--rp-ok);  font-weight: 700; }
.flow-rp-mid { color: var(--rp-mid); font-weight: 700; }
.flow-rp-bad { color: var(--rp-bad); font-weight: 700; }

.flow-rp-table--edit td { padding: 4px; }
.flow-rp-in { width: 92px; padding: 6px; border: 1px solid #ccd3e0; border-radius: 5px; text-align: right; font: inherit; background: #fff; }
.flow-rp-in:focus { outline: none; border-color: var(--rp-blue); box-shadow: 0 0 0 2px rgba(34,58,94,.12); }
.flow-rp-in:disabled { background: #f3f4f7; color: #8a95a5; cursor: not-allowed; }
.flow-rp-in::-webkit-outer-spin-button, .flow-rp-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.flow-rp-in[type=number] { -moz-appearance: textfield; }

/* ── 2×5 mátrix ────────────────────────────────────── */
.flow-rp-matrix { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow-rp-slot { min-height: 92px; border-radius: 10px; border: 1px solid var(--rp-line); background: #fff; padding: 12px 14px;
    display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: left; font: inherit; }
button.flow-rp-slot { cursor: pointer; transition: box-shadow .15s, transform .15s; }
button.flow-rp-slot:hover { box-shadow: 0 4px 16px rgba(13,31,60,.08); transform: translateY(-1px); }
.flow-rp-slot--filled { border-top: 4px solid var(--rp-color, var(--rp-blue)); }
.flow-rp-slot--filled.is-active { box-shadow: 0 0 0 2px var(--rp-color, var(--rp-blue)); }
.flow-rp-slot-name { font-weight: 700; color: var(--rp-navy); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-rp-slot-val { font-size: 13px; color: var(--rp-blue); font-variant-numeric: tabular-nums; }
.flow-rp-slot-sub { font-size: 12px; color: var(--rp-muted); }
.flow-rp-slot--new { border: 1px dashed #b7c2d6; background: var(--rp-soft); color: var(--rp-blue); font-weight: 600; align-items: center; }
.flow-rp-slot--new.is-active { border-style: solid; border-color: var(--rp-blue); }
.flow-rp-slot--locked, .flow-rp-slot--empty { background: #f6f7fa; border-style: dashed; align-items: center; color: #a9b2c2; font-size: 20px; }

/* ── Szerkesztő ────────────────────────────────────── */
.flow-rp-editor { margin-top: 18px; }
.flow-rp-editor-card { border: 1px solid var(--rp-line); border-top: 4px solid var(--rp-color, var(--rp-blue)); border-radius: 10px; padding: 16px; background: #fff; }
.flow-rp-editor-card.is-locked { position: relative; }
.flow-rp-editor-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.flow-rp-name { flex: 1 1 260px; padding: 9px 12px; border: 1px solid #ccd3e0; border-radius: 6px; font: inherit; font-weight: 600; font-size: 15px; color: var(--rp-navy); }
.flow-rp-color { width: 42px; height: 38px; border: 1px solid #ccd3e0; border-radius: 6px; padding: 2px; background: #fff; cursor: pointer; }
.flow-rp-toggle { display: inline-flex; border: 1px solid #ccd3e0; border-radius: 8px; overflow: hidden; }
.flow-rp-toggle button { background: #fff; border: 0; padding: 8px 12px; font: inherit; font-size: 13px; color: var(--rp-muted); cursor: pointer; }
.flow-rp-toggle button + button { border-left: 1px solid #ccd3e0; }
.flow-rp-toggle button.active { background: var(--rp-blue); color: #fff; font-weight: 600; }
.flow-rp-toggle button:disabled { cursor: not-allowed; }
.flow-rp-explain { font-size: 13px; line-height: 1.6; color: #3d4a5c; background: var(--rp-soft); border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
.flow-rp-explain p { margin: 0 0 6px; }
.flow-rp-explain p:last-child { margin: 0; }
.flow-rp-warn { color: #7a4b00; }
.flow-rp-editor-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.flow-rp-spacer { flex: 1; }
.flow-rp-locknote { font-size: 13px; color: var(--rp-muted); }
.flow-rp-locknote a { color: var(--rp-blue); font-weight: 600; }
.flow-rp-btn { background: #fff; color: var(--rp-blue); border: 1px solid #ccd3e0; border-radius: 6px; padding: 9px 16px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.flow-rp-btn--primary { background: var(--rp-blue); color: #fff; border-color: var(--rp-blue); }
.flow-rp-btn--primary:hover { background: var(--rp-navy); }
.flow-rp-btn--danger { color: var(--rp-bad); border-color: #e9b4ad; }

/* ── Grafikonok ────────────────────────────────────── */
.flow-rp-chart { position: relative; height: 300px; background: #fff; border: 1px solid var(--rp-line); border-radius: 10px; padding: 12px; }
.flow-rp-chart--lg { height: 420px; }

/* ── Csapat kártyák ────────────────────────────────── */
.flow-rp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.flow-rp-cards .flow-rp-empty { grid-column: 1 / -1; margin: 0; }
.flow-rp-card { background: #fff; border: 1px solid var(--rp-line); border-radius: 10px; padding: 14px 16px; }
.flow-rp-card-title { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--rp-muted); font-weight: 600; }
.flow-rp-card-value { font-size: 22px; font-weight: 700; color: var(--rp-navy); margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.flow-rp-card-sub { font-size: 12px; color: var(--rp-muted); }

/* ── Reszponzív ────────────────────────────────────── */
@media (max-width: 1000px) {
    .flow-rp-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow-rp-cards  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .flow-rp-cards { grid-template-columns: 1fr; }
    .flow-rp-chart--lg { height: 320px; }
    .flow-rp-table tbody th { min-width: 150px; }
}


/* ══════════════════════════════════════════════════════════════
   ELÁBÉ jelzés (a 0–100% sávon kívül)
   ══════════════════════════════════════════════════════════════ */
.flow-rp .flow-rp-in.flow-rp-in--warn { border-color: #c0392b !important; background: #fdecea !important; color: #a3261a !important; font-weight: 700 !important; }
.flow-rp .flow-rp-table td.flow-rp-neg { color: #c0392b !important; }
.flow-rp-cogs-note { font-size: 12px; color: #a3261a; margin: 8px 0 0; }
.flow-rp-cogs-note[hidden] { display: none; }

/* ══════════════════════════════════════════════════════════════
   ELEMENTOR-PAJZS
   Az Elementor kit globális gomb-stílusa (.elementor-kit-N button,
   :hover/:focus) erősebb, mint a sima osztályszelektor, ezért itt
   minden gombállapotot !important-tal rögzítünk.
   ══════════════════════════════════════════════════════════════ */
.flow-rp button,
.flow-rp button:hover,
.flow-rp button:focus,
.flow-rp button:active,
.flow-rp button:focus-visible {
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    outline: none !important;
    min-height: 0 !important;
}
.flow-rp button:focus-visible { outline: 2px solid #c9a84c !important; outline-offset: 2px !important; }

/* Fülek */
.flow-rp .flow-tab-nav .flow-tab-btn,
.flow-rp .flow-tab-nav .flow-tab-btn:focus,
.flow-rp .flow-tab-nav .flow-tab-btn:active {
    background: #f5f5f5 !important; color: #666 !important;
    border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important;
    padding: 15px 20px !important; font-size: 16px !important; font-weight: 500 !important;
}
.flow-rp .flow-tab-nav .flow-tab-btn:hover { background: #e8e8e8 !important; color: #223a5e !important; }
.flow-rp .flow-tab-nav .flow-tab-btn.active,
.flow-rp .flow-tab-nav .flow-tab-btn.active:hover,
.flow-rp .flow-tab-nav .flow-tab-btn.active:focus {
    background: #fff !important; color: #223a5e !important;
    border-bottom-color: #223a5e !important; font-weight: 600 !important;
}

/* Évlapozó */
.flow-rp .flow-rp-btn-nav,
.flow-rp .flow-rp-btn-nav:focus,
.flow-rp .flow-rp-btn-nav:active {
    background: #f0f2f6 !important; color: #223a5e !important;
    border: 1px solid #ccd3e0 !important; border-radius: 6px !important;
    padding: 4px 10px !important; font-size: 14px !important;
}
.flow-rp .flow-rp-btn-nav:hover:not(:disabled) { background: #e2e5f6 !important; }
.flow-rp .flow-rp-btn-nav:disabled { opacity: .4 !important; cursor: not-allowed !important; }

/* Bevételi irány rács */
.flow-rp button.flow-rp-slot,
.flow-rp button.flow-rp-slot:hover,
.flow-rp button.flow-rp-slot:focus,
.flow-rp button.flow-rp-slot:active {
    display: flex !important; flex-direction: column !important; justify-content: center !important;
    align-items: flex-start !important; gap: 4px !important; width: 100% !important;
    background: #fff !important; color: #1f2d3d !important;
    border: 1px solid #e3e8f2 !important; border-radius: 10px !important;
    padding: 12px 14px !important; font-size: 14px !important; font-weight: 400 !important;
    text-align: left !important; white-space: normal !important;
}
.flow-rp button.flow-rp-slot:hover { box-shadow: 0 4px 16px rgba(13,31,60,.08) !important; }
.flow-rp button.flow-rp-slot--filled,
.flow-rp button.flow-rp-slot--filled:hover,
.flow-rp button.flow-rp-slot--filled:focus { border-top: 4px solid var(--rp-color, #223a5e) !important; }
.flow-rp button.flow-rp-slot--filled.is-active { box-shadow: 0 0 0 2px var(--rp-color, #223a5e) !important; }
.flow-rp button.flow-rp-slot--new,
.flow-rp button.flow-rp-slot--new:hover,
.flow-rp button.flow-rp-slot--new:focus {
    align-items: center !important; background: #f5f7fb !important; color: #223a5e !important;
    border: 1px dashed #b7c2d6 !important; font-weight: 600 !important;
}
.flow-rp button.flow-rp-slot--new:hover { border-color: #223a5e !important; }
.flow-rp button.flow-rp-slot--new.is-active { border-style: solid !important; border-color: #223a5e !important; }

/* Kapcsolók (ELÁBÉ mód, Külön/Egymásra, Bevétel/Fedezet) */
.flow-rp .flow-rp-toggle button,
.flow-rp .flow-rp-toggle button:hover,
.flow-rp .flow-rp-toggle button:focus,
.flow-rp .flow-rp-toggle button:active {
    background: #fff !important; color: #5a6a7e !important;
    border: 0 !important; border-radius: 0 !important;
    padding: 8px 12px !important; font-size: 13px !important; font-weight: 400 !important;
}
.flow-rp .flow-rp-toggle button + button { border-left: 1px solid #ccd3e0 !important; }
.flow-rp .flow-rp-toggle button:hover:not(:disabled) { background: #f0f2f6 !important; color: #223a5e !important; }
.flow-rp .flow-rp-toggle button.active,
.flow-rp .flow-rp-toggle button.active:hover,
.flow-rp .flow-rp-toggle button.active:focus { background: #223a5e !important; color: #fff !important; font-weight: 600 !important; }

/* Szerkesztő gombjai */
.flow-rp .flow-rp-btn,
.flow-rp .flow-rp-btn:focus,
.flow-rp .flow-rp-btn:active {
    background: #fff !important; color: #223a5e !important;
    border: 1px solid #ccd3e0 !important; border-radius: 6px !important;
    padding: 9px 16px !important; font-size: 13px !important; font-weight: 600 !important;
}
.flow-rp .flow-rp-btn:hover { background: #f0f2f6 !important; border-color: #b7c2d6 !important; }
.flow-rp .flow-rp-btn--primary,
.flow-rp .flow-rp-btn--primary:focus,
.flow-rp .flow-rp-btn--primary:active { background: #223a5e !important; color: #fff !important; border-color: #223a5e !important; }
.flow-rp .flow-rp-btn--primary:hover { background: #0d1f3c !important; border-color: #0d1f3c !important; color: #fff !important; }
.flow-rp .flow-rp-btn--danger,
.flow-rp .flow-rp-btn--danger:focus,
.flow-rp .flow-rp-btn--danger:active { background: #fff !important; color: #c0392b !important; border-color: #e9b4ad !important; }
.flow-rp .flow-rp-btn--danger:hover { background: #fdecea !important; color: #a3261a !important; }

/* Kezdőlap kártyák */
.flow-rp button.flow-wrapper-card,
.flow-rp button.flow-wrapper-card:focus,
.flow-rp button.flow-wrapper-card:active {
    display: block !important; width: 100% !important; text-align: left !important;
    background: #fff !important; color: inherit !important;
    border: 1px solid rgba(13,31,60,.08) !important; border-radius: 12px !important;
    padding: 30px !important; white-space: normal !important; font-weight: 400 !important;
    box-shadow: 0 2px 12px rgba(13,31,60,.04) !important;
}
.flow-rp button.flow-wrapper-card:hover { box-shadow: 0 8px 32px rgba(13,31,60,.10) !important; transform: translateY(-2px); }

/* Mezők */
.flow-rp input.flow-rp-in,
.flow-rp input.flow-rp-name,
.flow-rp input.flow-rp-color { border-radius: 6px !important; box-shadow: none !important; }
.flow-rp input.flow-rp-in { padding: 6px !important; border: 1px solid #ccd3e0 !important; font-size: 13px !important; }
.flow-rp input.flow-rp-in:focus,
.flow-rp input.flow-rp-name:focus { border-color: #223a5e !important; box-shadow: 0 0 0 2px rgba(34,58,94,.12) !important; }


/* ══════════════════════════════════════════════════════════════
   v1.2 — Mértékegység, nettó/bruttó, adósorok
   ══════════════════════════════════════════════════════════════ */
.flow-rp-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; }
.flow-rp-field-label { font-size: 12px; font-weight: 700; color: #223a5e; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.flow-rp-field-hint { font-size: 11px; color: #5a6a7e; margin-top: 5px; }
.flow-rp select.flow-rp-unit,
.flow-rp input.flow-rp-unit-label,
.flow-rp input.flow-rp-tax-name,
.flow-rp input.flow-rp-tax-val {
    padding: 8px 10px !important; border: 1px solid #ccd3e0 !important; border-radius: 6px !important;
    font: inherit; font-size: 13px !important; background: #fff !important; color: #1f2d3d !important; box-shadow: none !important;
}
.flow-rp select.flow-rp-unit { width: 100%; }
.flow-rp input.flow-rp-unit-label { width: 100%; margin-top: 6px; }
.flow-rp select.flow-rp-unit:focus,
.flow-rp input.flow-rp-unit-label:focus,
.flow-rp input.flow-rp-tax-name:focus,
.flow-rp input.flow-rp-tax-val:focus { border-color: #223a5e !important; box-shadow: 0 0 0 2px rgba(34,58,94,.12) !important; outline: none !important; }
.flow-rp select:disabled, .flow-rp input:disabled { background: #f3f4f7 !important; color: #8a95a5 !important; cursor: not-allowed; }
.flow-rp .flow-rp-toggle button:disabled { opacity: .55; cursor: not-allowed !important; }
.flow-rp .flow-rp-toggle button.active:disabled { opacity: .85; }

.flow-rp-taxes { background: #f5f7fb; border: 1px solid #e3e8f2; border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.flow-rp-taxes-empty { font-size: 13px; color: #5a6a7e; margin-bottom: 8px; }
.flow-rp-tax { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.flow-rp input.flow-rp-tax-name { flex: 1 1 200px; max-width: 280px; }
.flow-rp input.flow-rp-tax-val { width: 110px; text-align: right; }
.flow-rp-tax-unit { font-size: 13px; color: #5a6a7e; min-width: 130px; }
.flow-rp .flow-rp-toggle--sm button,
.flow-rp .flow-rp-toggle--sm button:hover,
.flow-rp .flow-rp-toggle--sm button:focus { padding: 6px 10px !important; font-size: 12px !important; }
.flow-rp .flow-rp-btn--sm,
.flow-rp .flow-rp-btn--sm:focus { padding: 6px 12px !important; font-size: 12px !important; }
.flow-rp .flow-rp-btn--icon,
.flow-rp .flow-rp-btn--icon:focus { padding: 5px 9px !important; font-size: 12px !important; color: #c0392b !important; border-color: #e9b4ad !important; }
.flow-rp .flow-rp-btn--icon:hover { background: #fdecea !important; }

.flow-rp-table tr.flow-rp-derived td, .flow-rp-table tr.flow-rp-derived th { color: #5a6a7e; font-style: italic; background: #fafbfd; }

@media (max-width: 900px) { .flow-rp-settings { grid-template-columns: 1fr; } }

/* Összesítő: mértékegység-csoportok */
.flow-rp-table tr.flow-rp-group th { background: #f2f4f9 !important; color: #223a5e; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .04em; padding-top: 9px; }
.flow-rp-table tr.flow-rp-sub th { padding-left: 22px; }

.flow-rp-version { margin-top: 24px; font-size: 11px; color: #a3adbd; text-align: right; }

/* Slotzár (v1.4) */
.flow-rp-slot-lock { font-size: 11px; font-weight: 600; color: #8a5a00; background: #fff4d6; border-radius: 10px; padding: 2px 8px; margin-top: 2px; }
.flow-rp-lockbanner { background: #fff4d6; border: 1px solid #f0d58a; color: #6b4a00; border-radius: 8px;
    padding: 10px 14px; margin-bottom: 12px; font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
