.jr-report-shell {
  color: #eaf6ff;
  padding: 26px 28px 48px;
  max-width: 1600px;
}

html.jr-route-reports .el-main,
.jr-report-host {
  overflow: auto !important;
}

.jr-report-shell * {
  box-sizing: border-box;
}

.jr-report-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.jr-report-kicker {
  color: #7ec8ff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.jr-report-title {
  margin: 0;
  color: #fff8d8;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.jr-report-subtitle {
  margin-top: 10px;
  color: #9db6cc;
  font-size: 14px;
}

.jr-report-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.jr-report-btn,
.jr-report-date {
  height: 36px;
  border: 1px solid rgba(68, 186, 255, .28);
  border-radius: 8px;
  background: rgba(4, 15, 31, .84);
  color: #d8ecff;
  font-weight: 700;
  padding: 0 13px;
  outline: none;
}

.jr-report-date {
  width: 142px;
  text-align: center;
  letter-spacing: 0;
}

.jr-report-btn {
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.jr-report-btn:hover {
  border-color: rgba(47, 190, 255, .7);
  background: rgba(13, 48, 78, .9);
  transform: translateY(-1px);
}

.jr-report-btn.primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #2f8cff, #20d4ff);
  box-shadow: 0 10px 24px rgba(27, 153, 255, .28);
}

.jr-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr);
  gap: 18px;
}

.jr-report-card {
  border: 1px solid rgba(59, 157, 224, .26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(10, 32, 56, .86), rgba(3, 12, 25, .82));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26);
  overflow: hidden;
}

.jr-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(81, 168, 228, .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jr-card-title {
  margin: 0;
  font-size: 18px;
  color: #fff8d8;
  font-weight: 800;
}

.jr-card-note {
  color: #83a4bf;
  font-size: 12px;
}

.jr-summary {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.jr-conclusion {
  min-height: 120px;
  border-radius: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(14, 57, 88, .82), rgba(13, 23, 45, .82));
  border: 1px solid rgba(47, 213, 255, .22);
}

.jr-conclusion-label {
  color: #49e6ff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

.jr-conclusion-text {
  margin: 0;
  color: #f7fbff;
  font-size: 20px;
  line-height: 1.65;
  font-weight: 800;
}

.jr-metrics {
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jr-metric {
  min-height: 112px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(7, 22, 42, .74);
  border: 1px solid rgba(77, 160, 222, .18);
  position: relative;
  overflow: hidden;
}

.jr-metric::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(28, 205, 255, .08);
}

.jr-metric-label {
  color: #9eb2c4;
  font-size: 13px;
}

.jr-metric-value {
  margin-top: 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.jr-metric-detail {
  margin-top: 10px;
  color: #7f9ab1;
  font-size: 12px;
}

.jr-metric.accent .jr-metric-value { color: #28d8ff; }
.jr-metric.green .jr-metric-value { color: #20f0a6; }
.jr-metric.gold .jr-metric-value { color: #ffc64d; }
.jr-metric.pink .jr-metric-value { color: #ff5d92; }

.jr-section-body {
  padding: 18px 20px 20px;
}

.jr-action-list {
  display: grid;
  gap: 10px;
}

.jr-action-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(4, 15, 31, .7);
  border: 1px solid rgba(76, 161, 227, .16);
}

.jr-action-index {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #042033;
  font-weight: 900;
  background: linear-gradient(135deg, #fff07a, #24d7ff);
}

.jr-action-title {
  color: #f6fbff;
  font-weight: 800;
  margin-bottom: 4px;
}

.jr-action-desc {
  color: #8fa8be;
  line-height: 1.6;
}

.jr-ranking {
  display: grid;
  gap: 10px;
}

.jr-rank-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 24, 44, .72);
  border: 1px solid rgba(86, 162, 220, .16);
}

.jr-rank-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #062034;
  font-weight: 900;
  background: #21d8ff;
}

.jr-rank-name {
  color: #fff;
  font-weight: 800;
}

.jr-rank-desc {
  color: #8ca5bc;
  font-size: 12px;
  margin-top: 2px;
}

.jr-rank-count {
  color: #ffd25b;
  font-weight: 900;
}

.jr-news-card {
  margin-top: 18px;
  border-color: rgba(139, 103, 255, .28);
}

.jr-news-list {
  display: grid;
  gap: 10px;
}

.jr-news-item {
  border-radius: 12px;
  padding: 13px 14px;
  background: rgba(30, 27, 65, .62);
  border: 1px solid rgba(159, 132, 255, .18);
}

.jr-news-title {
  color: #f5ecff;
  font-weight: 800;
}

.jr-news-desc {
  color: #a69ac4;
  line-height: 1.55;
  margin-top: 5px;
  font-size: 13px;
}

.jr-report-loading,
.jr-report-error {
  padding: 36px;
  border-radius: 14px;
  border: 1px solid rgba(71, 160, 225, .22);
  background: rgba(5, 16, 31, .82);
  color: #9eb8ce;
}

@media (max-width: 1180px) {
  .jr-report-layout,
  .jr-summary {
    grid-template-columns: 1fr;
  }
  .jr-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  html.jr-route-reports,
  html.jr-route-reports body {
    overflow-x: hidden !important;
  }
  html.jr-route-reports .el-container,
  html.jr-route-reports .el-main,
  .jr-report-host,
  .jr-report-shell,
  .jr-report-layout,
  .jr-report-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .jr-report-shell {
    width: 100%;
    padding: 16px 10px 32px;
  }
  .jr-report-top {
    display: block;
  }
  .jr-report-actions {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    justify-content: stretch;
    margin-top: 14px;
    gap: 8px;
  }
  .jr-report-btn,
  .jr-report-date {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
  }
  .jr-report-actions .primary {
    grid-column: span 2;
  }
  .jr-report-title {
    font-size: 26px;
  }
  .jr-report-subtitle {
    font-size: 13px;
    line-height: 1.6;
  }
  .jr-card-head {
    display: block;
    padding: 16px;
  }
  .jr-card-note {
    display: block;
    margin-top: 6px;
  }
  .jr-summary,
  .jr-section-body {
    padding: 14px;
  }
  .jr-conclusion {
    padding: 15px;
  }
  .jr-conclusion-text {
    font-size: 17px;
    line-height: 1.7;
  }
  .jr-metrics {
    padding: 0 14px 14px;
    grid-template-columns: 1fr;
  }
  .jr-metric {
    min-height: 96px;
    padding: 14px;
  }
  .jr-report-layout {
    gap: 14px;
  }
  .jr-action-item,
  .jr-rank-item,
  .jr-news-item {
    padding: 12px;
  }
}
