/* "Your chart at a glance" (inc/chart.php): the box around the reyep-tools chart card and the
   links the site adds under its result. Tokens (--rt-*) come from the plugin's .rt-rs scope. */

.ch .rt-chart {
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--rt-line);
  border-radius: 18px;
}
.ch--hero .rt-chart {
  border: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ch-links { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.ch-links li { margin: 0; }
.ch-link { font-weight: 700; color: var(--rt-bronze); text-decoration: none; }
.ch-link:hover { color: var(--rt-night); text-decoration: underline; }
.ch-note { display: block; margin-top: 2px; font-size: 0.85rem; line-height: 1.5; color: var(--rt-muted); }

.ch-ready {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: var(--rt-night);
  border-radius: 999px;
}
.ch-ready:hover { color: #fff; text-decoration: none; background: var(--rt-night-2); }

.ch-status { margin: 10px 0 0; font-size: 0.9rem; color: #2E6B45; }
.ch-status.is-error { font-weight: 700; color: var(--rt-error); }

/* My ReYep: the card takes the place over the hero, the other cards follow */
.pf-chart { position: relative; z-index: 2; margin: -72px 0 20px; }
.pf-chart .rt-chart { padding: 24px 20px; border-radius: 20px; box-shadow: 0 18px 44px rgba(26, 15, 46, 0.09); }
.pf-chart + .pf-top { margin-top: 0; }

@media (min-width: 640px) {
  .ch .rt-chart { padding: 24px; }
  .ch-ready { display: inline-flex; }
}
