/* MBW Financial Manager v1.7 — draft P&L and annual revenue reporting */
.rp-nav{display:flex;gap:10px;flex-wrap:wrap;margin:-9px 0 18px;font-size:13px}
.rp-nav a{padding:7px 9px;border-radius:6px}.rp-nav a.active{background:#e9f1fe;font-weight:700}
.rp-period{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 20px}
.rp-period label{font-size:12px;font-weight:700;color:#455a73;display:grid;gap:5px}
.rp-period select{padding:10px;border:1px solid #ccd7e6;border-radius:7px;color:#26364b;background:white;min-width:130px}
.rp-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.rp-kpis>div{border:1px solid #dde6f0;background:white;border-radius:10px;padding:16px;min-width:0}
.rp-kpis small{display:block;color:#61738a;font-size:11px;line-height:1.5}
.rp-kpis strong{display:block;margin-top:5px;font-size:20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.rp-table-wrap{max-width:100%;overflow:auto;border:1px solid #e2e8f0;border-radius:9px}
.rp-table{border-collapse:separate;border-spacing:0;min-width:1160px;width:100%;background:white;font-size:12px;font-variant-numeric:tabular-nums}
.rp-table.rp-compact{min-width:560px}
.rp-table th,.rp-table td{padding:10px;border-bottom:1px solid #e8edf2;white-space:nowrap;text-align:right}
.rp-table th:first-child,.rp-table td:first-child{text-align:left;position:sticky;left:0;background:white;z-index:1}
.rp-table thead th{background:#eff3f9;color:#455c75;position:sticky;top:0;z-index:2}
.rp-table thead th:first-child{z-index:3;background:#eff3f9;min-width:195px}
.rp-table .rp-group th{background:#dfebf8!important;font-weight:750;text-transform:uppercase;font-size:11px;color:#344e6b;letter-spacing:.03em;position:static;text-align:left}
.rp-table .rp-subtotal th,.rp-table .rp-subtotal td{background:#f1f6fc!important;font-weight:750}
.rp-table .rp-result th,.rp-table .rp-result td{background:#dceaf9!important;font-weight:850}
.rp-table .rp-strong{font-weight:800;background:#f8fafc}
.rp-month-state{display:block;font-size:10px;font-weight:400;margin-top:3px;color:#788ca2}
.rp-draft-mark{color:#bf700e;font-weight:800;margin-left:3px}
.rp-no-data{text-align:center!important;padding:25px!important;color:#65778c}
.rp-chart{display:grid;gap:11px}
.rp-bar-line{display:grid;grid-template-columns:42px 1fr 120px;align-items:center;gap:12px;font-size:12px;text-decoration:none;color:#35475f}
.rp-bar-line:hover{background:#f5f8fc}.rp-bar-line strong{text-align:right;font-variant-numeric:tabular-nums}
.rp-bar-line progress{appearance:none;-webkit-appearance:none;height:15px;width:100%;border:0;border-radius:4px;overflow:hidden;background:#e8eef6}
.rp-bar-line progress::-webkit-progress-bar{background:#e8eef6}.rp-bar-line progress::-webkit-progress-value{background:#3274ba}
.rp-bar-line progress::-moz-progress-bar{background:#3274ba}
@media(max-width:750px){.rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-bar-line{grid-template-columns:33px 1fr 95px;gap:8px}}
