.rtp-report{
  --rtp-primary:#7fa329;
  --rtp-primary-dark:#6d8f1d;
  --rtp-secondary:#91b73a;
  --rtp-bg:#f3f3ee;
  --rtp-green:#b5cf82;
  --rtp-green-deep:#a3c06d;
  --rtp-red:#ea8476;
  --rtp-red-deep:#e67767;
  --rtp-tab-bg:#ffffff;
  --rtp-tab-text:#173f7d;
  --rtp-tab-active-bg:#173f7d;
  --rtp-tab-active-text:#ffffff;
  --rtp-title-size:30px;
  --rtp-tab-size:16px;
  --rtp-material-size:24px;
  --rtp-value-size:20px;
  --rtp-total-number-size:48px;
  --rtp-total-text-size:32px;
  --rtp-border:#d8ddd2;
  --rtp-text:#2f2f2f;
  font-family:inherit;
  max-width:1180px;
  margin:34px auto;
  color:var(--rtp-text);
}
.rtp-report *{box-sizing:border-box}
.rtp-switch-wrap{
  max-width:460px;
  margin:0 auto 24px;
}
.rtp-switch-label{
  display:block;
  text-align:center;
  color:var(--rtp-primary);
  font-weight:800;
  margin-bottom:10px;
  font-size:22px;
}
.rtp-switch-shell{
  position:relative;
}
.rtp-report-switch{
  width:100%;
  min-height:58px;
  border:3px solid color-mix(in srgb, var(--rtp-primary) 70%, #7ab6ef 30%);
  border-radius:999px;
  background:#fff;
  color:#20304a;
  font-weight:800;
  font-size:18px;
  text-transform:uppercase;
  padding:12px 54px 12px 22px;
  box-shadow:0 8px 22px rgba(18,34,61,.08);
}
.rtp-report-title{
  text-align:center;
  color:var(--rtp-primary);
  font-weight:400;
  font-size:var(--rtp-title-size);
  line-height:1.05;
  letter-spacing:.01em;
  text-transform:uppercase;
  margin:0 0 16px;
}
.rtp-years{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:-1px;
  flex-wrap:wrap;
}
.rtp-year-btn{
  appearance:none;
  border:1px solid var(--rtp-border);
  border-bottom:0;
  background:var(--rtp-tab-bg);
  color:var(--rtp-tab-text);
  font-weight:700;
  font-size:var(--rtp-tab-size);
  min-width:95px;
  padding:18px 24px;
  cursor:pointer;
  transition:.25s ease;
}
.rtp-year-btn:hover{filter:brightness(.98)}
.rtp-year-btn.is-active{background:var(--rtp-tab-active-bg);color:var(--rtp-tab-active-text);border-color:var(--rtp-tab-active-bg);box-shadow:none}
.rtp-box{
  border:1px solid var(--rtp-border);
  background:#fff;
  padding:28px 38px 34px;
}
.rtp-view-title{display:none!important}
.rtp-months{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.rtp-month-btn{
  appearance:none;
  border:0;
  background:var(--rtp-tab-bg);
  color:var(--rtp-tab-text);
  font-weight:800;
  font-size:var(--rtp-tab-size);
  padding:10px 20px;
  border-radius:999px;
  cursor:pointer;
  transition:.25s ease;
}
.rtp-month-btn.is-active{background:var(--rtp-tab-active-bg);color:var(--rtp-tab-active-text)}
.rtp-annual-layout{
  display:grid;
  grid-template-columns:360px 1fr;
  gap:40px;
  align-items:start;
}
.rtp-side-panel{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:flex-start;
  min-height:100%;
}
.rtp-side-image-wrap{
  width:100%;
  min-height:285px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.rtp-side-image-wrap.is-empty{
  border:1px dashed var(--rtp-border);
  border-radius:22px;
  background:#fafaf7;
  min-height:260px;
}
.rtp-side-placeholder{
  font-weight:700;
  color:#97a18e;
}
.rtp-side-image{
  max-width:100%;
  max-height:300px;
  object-fit:contain;
  display:block;
}
.rtp-side-total{
  margin-top:24px;
}
.rtp-side-total-number{
  display:block;
  color:var(--rtp-primary);
  font-weight:900;
  font-style:italic;
  line-height:.92;
  letter-spacing:-.04em;
  font-size:var(--rtp-total-number-size);
  margin-bottom:6px;
}
.rtp-side-total-label{
  display:block;
  color:var(--rtp-primary);
  font-weight:900;
  font-style:italic;
  line-height:1.05;
  font-size:var(--rtp-total-text-size);
}
.rtp-main-panel{display:block}
.rtp-grid{display:grid;grid-template-columns:1fr;gap:22px}
.rtp-view-monthly .rtp-grid{grid-template-columns:1fr 1fr;gap:22px}
.rtp-material{opacity:0;transform:translateY(12px);animation:rtpFadeUp .8s ease forwards}
.rtp-material h3{
  margin:0 0 10px;
  font-size:var(--rtp-material-size);
  font-weight:400;
  color:#2f2f2f;
}
.rtp-bar{
  position:relative;
  height:30px;
  background:#edf0e6;
  overflow:hidden;
  display:flex;
}
.rtp-ap,.rtp-re{height:100%;transition:width 1.8s cubic-bezier(.16,1,.3,1)}
.rtp-ap{background:var(--rtp-green)}
.rtp-re{background:var(--rtp-red)}
.rtp-bar-percent{
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
}
.rtp-values{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.rtp-values .ap,
.rtp-values .re{
  font-weight:800;
  font-size:var(--rtp-value-size);
}
.rtp-values .ap{color:var(--rtp-primary)}
.rtp-values .re{color:var(--rtp-red-deep)}
.rtp-legend{
  display:flex;
  justify-content:center;
  gap:44px;
  flex-wrap:wrap;
  margin-top:28px;
}
.rtp-legend span{display:flex;align-items:center;gap:10px;color:var(--rtp-primary);font-weight:800;font-size:16px}
.rtp-dot{width:18px;height:18px;display:inline-block}
.rtp-green{background:var(--rtp-green)}
.rtp-red{background:var(--rtp-red)}
.rtp-bottom{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:24px;
  margin-top:28px;
}
.rtp-total{
  display:flex;
  align-items:center;
  gap:18px;
  color:var(--rtp-primary);
  border:1px solid var(--rtp-border);
  padding:18px 22px;
}
.rtp-total strong{font-size:var(--rtp-total-number-size);font-weight:900;line-height:.92;letter-spacing:-.04em}
.rtp-total span{font-size:var(--rtp-total-text-size);font-weight:700;line-height:1.06}
.rtp-empty{border:1px solid var(--rtp-border);padding:22px;background:#fff;text-align:center}
@keyframes rtpFadeUp{to{opacity:1;transform:translateY(0)}}
@media (max-width: 1024px){
  .rtp-box{padding:24px}
  .rtp-annual-layout{grid-template-columns:1fr;gap:26px}
  .rtp-side-panel{align-items:center;text-align:center}
  .rtp-side-total{margin-top:10px}
  .rtp-view-monthly .rtp-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .rtp-switch-label{font-size:18px}
  .rtp-report-switch{font-size:16px;min-height:52px}
  .rtp-year-btn{padding:14px 18px;min-width:78px}
  .rtp-box{padding:18px 14px}
  .rtp-bar{height:24px}
  .rtp-bar-percent{font-size:12px;right:10px}
  .rtp-legend{gap:18px}
  .rtp-bottom{grid-template-columns:1fr}
  .rtp-total{display:block}
  .rtp-total strong{display:block;margin-bottom:8px}
}
