/* L-Kassza viszonteladói portál — keret (fejléc + menü + tartalom), kimutatás, nyomtatás. Az alap-komponensek, színek és betűk az admin.css-ből jönnek. Nincs inline stílus (szigorú CSP). */
.rp { min-height: 100vh; display: flex; flex-direction: column; }
.rp-top { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; width: 100%; max-width: 1200px; margin: 0 auto; padding: 16px 24px 4px; }
.rp-brand { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.rp-brand small { display: block; margin-top: 2px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.rp-logo { width: 38px; height: 38px; flex: none; }
.rp-who { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.rp-who .rp-name { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

.rp-nav { display: flex; gap: 6px; width: 100%; max-width: 1200px; margin: 6px auto 0; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.rp-nav::-webkit-scrollbar { display: none; }
.rp-tab { flex: none; padding: 10px 17px; border-radius: 12px; font-weight: 700; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.rp-tab:hover { background: var(--primary-weak); color: var(--primary); text-decoration: none; }
.rp-tab[aria-current="page"] { background: var(--primary); color: var(--primary-ink); box-shadow: 0 3px 0 var(--edge); }
.rp-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 18px 24px 56px; min-width: 0; }
.rp-main:focus { outline: none; }
.rp-foot { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 24px 28px; color: var(--ink-3); font-size: 12px; }

.rp-login-title { font-size: 22px; margin: 4px 0 16px; }
.rp-share { display: grid; gap: 10px; }
.rp-notice { padding: 12px 14px; border: 2px solid var(--warn); border-radius: 14px; background: var(--warn-weak); color: var(--warn); font-weight: 650; }
.rp-rate { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--head); font-weight: 800; font-size: 34px; letter-spacing: -.03em; color: var(--primary); }
.rp-rate small { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.rp-lead { margin: 0 0 4px; color: var(--ink-2); max-width: 70ch; }

/* kimutatás (elszámolás-ablak) */
.stmt { display: grid; gap: 16px; }
.stmt-party { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.stmt-party h3 { margin-bottom: 6px; color: var(--ink-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.stmt-total { display: flex; justify-content: flex-end; gap: 14px; align-items: baseline; padding: 4px 6px; font-size: 18px; }
.stmt-total b { font-family: var(--head); font-size: 24px; }

@media (max-width: 720px) {
  .rp-top { padding: 12px 14px 2px; } .rp-nav { padding: 0 14px; } .rp-main { padding: 14px 14px 48px; } .rp-foot { padding: 0 14px 24px; }
  .rp-who .rp-name { display: none; }
}

/* nyomtatás: csak az elszámolás-ablak (kimutatás) kerül a lapra */
@media print {
  body { background: #fff !important; background-image: none !important; }
  body > *:not(.scrim) { display: none !important; }
  .scrim { position: static !important; display: block !important; background: none !important; padding: 0 !important; overflow: visible !important; animation: none !important; }
  .modal { width: 100% !important; border: 0 !important; box-shadow: none !important; animation: none !important; background: #fff !important; }
  .modal-h button, .modal-f { display: none !important; }
  .tablewrap { overflow: visible !important; }
}
