.rtp-report{
  --rtp-blue:#173f7d;
  --rtp-blue-dark:#0d2d61;
  --rtp-blue-soft:#eaf3ff;
  --rtp-green:#78d3ad;
  --rtp-green-deep:#36b37e;
  --rtp-red:#f58b82;
  --rtp-red-deep:#ef5e56;
  --rtp-surface:#ffffff;
  --rtp-surface-alt:#f7fafe;
  --rtp-text:#12223d;
  --rtp-muted:#667085;
  --rtp-border:#d9e4f2;
  font-family:inherit;
  max-width:1240px;
  margin:36px auto;
  padding:34px;
  color:var(--rtp-text);
  background:linear-gradient(145deg,#dff3ff 0%,#eff7ff 44%,#f9fbff 100%);
  border-radius:30px;
  box-shadow:0 24px 70px rgba(17, 58, 118, .16);
  position:relative;
  overflow:hidden;
}
.rtp-report::before,
.rtp-report::after{
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(8px);
}
.rtp-report::before{
  width:240px;
  height:240px;
  top:-90px;
  right:-70px;
  background:radial-gradient(circle, rgba(23,63,125,.18) 0%, rgba(23,63,125,0) 70%);
}
.rtp-report::after{
  width:260px;
  height:260px;
  left:-100px;
  bottom:-120px;
  background:radial-gradient(circle, rgba(120,211,173,.20) 0%, rgba(120,211,173,0) 70%);
}
.rtp-report *{box-sizing:border-box}
.rtp-report-title{
  position:relative;
  z-index:1;
  text-align:center;
  color:var(--rtp-blue);
  font-size:clamp(24px,2.6vw,34px);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 24px;
}
.rtp-years{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin:0 0 -18px;
  flex-wrap:wrap;
}
.rtp-year-btn,
.rtp-month-btn{
  appearance:none;
  border:1px solid transparent;
  color:var(--rtp-muted);
  font-weight:800;
  cursor:pointer;
  transition:all .35s ease;
}
.rtp-year-btn{
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(8px);
  border-color:rgba(23,63,125,.08);
  border-radius:18px 18px 0 0;
  font-size:15px;
  line-height:1;
  padding:15px 28px;
  box-shadow:0 10px 24px rgba(15,59,130,.06);
}
.rtp-year-btn:hover{
  color:var(--rtp-blue);
  transform:translateY(-2px);
}
.rtp-year-btn.is-active{
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  color:var(--rtp-blue);
  border-color:rgba(23,63,125,.18);
  box-shadow:0 12px 28px rgba(15,59,130,.1);
}
.rtp-box{
  position:relative;
  z-index:1;
  border:1px solid rgba(23,63,125,.10);
  border-radius:28px;
  padding:34px 28px 28px;
  background:rgba(255,255,255,.96);
  box-shadow:0 20px 50px rgba(17,58,118,.10);
}
.rtp-months{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-bottom:34px;
  flex-wrap:wrap;
}
.rtp-month-btn{
  background:#f1f6fc;
  border-color:#e1ebf6;
  color:#51617c;
  font-size:14px;
  border-radius:14px;
  letter-spacing:.02em;
  text-transform:uppercase;
  padding:12px 20px;
  min-width:90px;
}
.rtp-month-btn:hover{
  background:#e7f0fb;
  color:var(--rtp-blue);
  transform:translateY(-2px);
}
.rtp-month-btn.is-active{
  background:linear-gradient(135deg,var(--rtp-blue) 0%,#255fc3 100%);
  color:#fff;
  border-color:transparent;
  box-shadow:0 14px 28px rgba(23,63,125,.22);
}
.rtp-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}
.rtp-material{
  background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);
  border:1px solid #e7eef8;
  border-radius:22px;
  padding:18px 18px 16px;
  box-shadow:0 12px 28px rgba(17,58,118,.06);
  transform:translateY(10px);
  opacity:0;
  animation:rtpFadeUp 1.15s ease forwards;
  animation-delay:calc(var(--i, 0) * .22s);
}
.rtp-material:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(17,58,118,.10);
}
.rtp-material h3{
  font-size:clamp(18px,1.8vw,24px);
  line-height:1.1;
  margin:0 0 12px;
  color:var(--rtp-blue);
  font-weight:900;
  letter-spacing:-.02em;
}
.rtp-bar{
  height:16px;
  display:flex;
  width:100%;
  overflow:hidden;
  background:#edf2f9;
  border-radius:999px;
  position:relative;
}
.rtp-bar::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  box-shadow:inset 0 1px 2px rgba(16,24,40,.06);
}
.rtp-ap,
.rtp-re{
  height:100%;
  min-width:0;
  transition:width 2.4s cubic-bezier(.16,1,.3,1);
}
.rtp-ap{
  background:linear-gradient(90deg,#8ee0bd 0%, var(--rtp-green-deep) 100%);
}
.rtp-re{
  background:linear-gradient(90deg,#ffb5ae 0%, var(--rtp-red-deep) 100%);
}
.rtp-values{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:12px 2px 0;
  font-weight:800;
  font-size:14px;
}
.rtp-values .ap{color:var(--rtp-green-deep)}
.rtp-values .re{color:var(--rtp-red-deep)}
.rtp-bottom{
  display:grid;
  grid-template-columns:1fr minmax(360px, 470px);
  align-items:end;
  gap:26px;
  margin-top:28px;
}
.rtp-legend{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.rtp-legend span{
  display:flex;
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid #e7eef8;
  border-radius:999px;
  padding:10px 16px;
  font-size:14px;
  font-weight:700;
  color:#344054;
  box-shadow:0 8px 18px rgba(17,58,118,.05);
}
.rtp-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  display:inline-block;
  box-shadow:0 0 0 5px rgba(0,0,0,.04);
}
.rtp-green{background:var(--rtp-green-deep)}
.rtp-red{background:var(--rtp-red-deep)}
 .rtp-total{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:14px;
  color:var(--rtp-blue);
  background:linear-gradient(135deg,#ffffff 0%,#f2f7ff 100%);
  border:1px solid #dfe9f6;
  border-radius:24px;
  padding:18px 20px;
  box-shadow:0 16px 30px rgba(17,58,118,.08);
}
.rtp-total strong{
  font-size:clamp(28px,3.3vw,46px);
  line-height:.9;
  font-weight:900;
  letter-spacing:-.05em;
  margin:0;
}
.rtp-total span{
  font-size:clamp(16px,1.6vw,22px);
  line-height:1.12;
  font-weight:700;
}
.rtp-empty{
  border:1px solid #d0d5dd;
  border-radius:18px;
  padding:24px;
  text-align:center;
  background:#fff;
}
@keyframes rtpFadeUp{
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:980px){
  .rtp-report{padding:26px 18px}
  .rtp-box{padding:24px 18px 20px}
  .rtp-grid{grid-template-columns:1fr}
  .rtp-bottom{grid-template-columns:1fr}
  .rtp-total{grid-template-columns:1fr;gap:12px}
}
@media(max-width:640px){
  .rtp-report{border-radius:22px;margin:24px auto;padding:18px 14px}
  .rtp-report-title{margin-bottom:18px}
  .rtp-years{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:8px}
  .rtp-year-btn{padding:14px 18px;font-size:15px}
  .rtp-months{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:8px}
  .rtp-month-btn{padding:12px 16px;font-size:14px;min-width:unset}
  .rtp-material{padding:18px 16px 16px}
  .rtp-material h3{font-size:22px}
  .rtp-values{font-size:13px}
  .rtp-legend span{font-size:14px;padding:9px 14px}
  .rtp-total{padding:18px}
}
