/* ============================================================
   FutureBatao — /reports catalogue + /reports/<key> detail
   Was an inline <style> block in reports_catalog.html; moved
   here because the detail page needs the same tokens and the
   catalogue's rules were sized for an accordion that no longer
   exists.
   ============================================================ */

/* ---------- Catalogue grid ---------- */
.rpt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rpt {
  position: relative; overflow: hidden;
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  color: inherit; text-decoration: none;
}
.rpt__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rpt__ic { font-size: 32px; line-height: 1; }
.rpt__price { font-weight: 800; font-size: 20px; color: var(--c-saffron-700); }
.rpt__title { margin: 4px 0 0; font-size: 1.1rem; }
.rpt p { color: var(--c-ink-soft); font-size: var(--fs-sm); margin: 0; flex: 1; }
.rpt__badge {
  position: absolute; top: 14px; right: -8px;
  background: #b3261e; color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 6px 0 0 6px;
}
.rpt__cta {
  margin-top: 6px; font-size: var(--fs-sm); font-weight: var(--fw-semi);
  color: var(--c-saffron-700);
}
.rpt:hover .rpt__cta { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .rpt-grid { grid-template-columns: 1fr; } }

/* ---------- Detail hero ---------- */
.rptd-hero {
  position: relative; overflow: hidden;
  background: var(--g-dusk); color: #fff;
  padding-block: clamp(2rem, 5vw, 3.25rem) clamp(3rem, 7vw, 4.5rem);
}
.rptd-hero__glow { position: absolute; inset: 0; background: var(--g-halo); opacity: .5; pointer-events: none; }
.rptd-hero__inner { position: relative; z-index: 2; }
.rptd-hero .profile-back { color: var(--c-gold-400); }
.rptd-hero__row { display: flex; gap: var(--s-5); align-items: flex-start; }
.rptd-hero__ic {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22px;
  display: grid; place-items: center; font-size: 2.6rem; line-height: 1;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.rptd-hero h1 { color: #fff; margin: 0; font-size: var(--fs-3xl); }
.rptd-hero__blurb { color: rgba(255, 255, 255, .82); margin: .5rem 0 0; max-width: 56ch; }
.rptd-badge {
  display: inline-block; margin-bottom: .5rem; padding: 3px 11px; border-radius: 99px;
  background: #b3261e; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.rptd-price { margin: var(--s-4) 0 0; display: flex; align-items: baseline; gap: .6rem; }
.rptd-price b { font-size: 2rem; color: var(--c-gold-400); line-height: 1; }
.rptd-price span { font-size: var(--fs-sm); color: rgba(255, 255, 255, .7); }
@media (max-width: 620px) {
  .rptd-hero__row { flex-direction: column; }
  .rptd-hero__ic { width: 64px; height: 64px; font-size: 2rem; }
}

/* ---------- Detail body ---------- */
.rptd-body { position: relative; z-index: 2; }
.rptd-body > .container-fb > .row { margin-top: clamp(-2.75rem, -4vw, -1.75rem); }
.rptd-card { padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--sh-md); }
.rptd-card h2 { font-size: var(--fs-xl); margin: 0 0 var(--s-2); }

/* Numbered chapter list — what you actually receive. */
.rptd-toc { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: .55rem; }
.rptd-toc li {
  display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: baseline;
  font-size: var(--fs-md); color: var(--c-ink);
  padding-bottom: .55rem; border-bottom: 1px dashed var(--c-line);
}
.rptd-toc li:last-child { border-bottom: 0; padding-bottom: 0; }
.rptd-toc span {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--c-yellow-50); color: var(--c-saffron-700);
  font-size: 12px; font-weight: 800;
}

.rptd-steps { list-style: none; margin: var(--s-4) 0 0; padding: 0; counter-reset: step; display: grid; gap: var(--s-4); }
.rptd-steps li { counter-increment: step; padding-left: 42px; position: relative; }
.rptd-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--g-dusk); color: var(--c-gold-400); font-size: 13px; font-weight: 800;
}
.rptd-steps b { display: block; font-size: var(--fs-md); color: var(--c-plum-900); }
.rptd-steps span { font-size: var(--fs-sm); color: var(--c-ink-soft); }

.rptd-note { margin: var(--s-4) 0 0; font-size: var(--fs-sm); color: var(--c-ink-soft); }
.rptd-note--warn {
  padding: .85rem 1rem; border-left: 3px solid var(--c-saffron-500);
  background: rgba(245, 166, 35, .07); border-radius: 0 10px 10px 0;
}

/* ---------- Buy panel ---------- */
.rptd-buy {
  padding: clamp(1.4rem, 3vw, 2rem);
  position: sticky; top: calc(var(--nav-h) + 1rem);
  box-shadow: var(--sh-md);
}
.rptd-buy h2 { font-size: var(--fs-lg); margin: 0 0 var(--s-3); }
.rptd-form label i { color: #b3261e; font-style: normal; }
.rptd-form__msg {
  margin: var(--s-3) 0 0; font-size: var(--fs-sm); color: #b3261e;
}
.rptd-trust {
  list-style: none; margin: var(--s-4) 0 0; padding: var(--s-4) 0 0;
  border-top: 1px solid var(--c-line);
  display: grid; gap: .45rem; font-size: var(--fs-xs); color: var(--c-muted);
}
@media (max-width: 991px) { .rptd-buy { position: static; } }

.rptd-form__hint { margin: .4rem 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
