/* ===================================================================
   Public reports (2026-10-25): layouts/report with reports/show (a whole
   campaign), reports/sponsor_show (one sponsor's banner) and
   reports/sponsor_unavailable. The dashboard's toy look comes from v2.css
   (cards, number boxes, the bar chart, breakdowns, tables); these are the
   report's own pieces: the header card with the creative, the takeaway
   sentence, the methodology and the footer. Everything is scoped under
   body.v2-report.
   =================================================================== */
.v2-report .v2-report-top, .v2-report .v2-report-main { max-width: 960px; }
.v2-report .v2-report-top { justify-content: space-between; }
.v2-report-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* No tab bar along the bottom here, unlike the dashboard on phones. */
.v2-report .v2-report-main { padding-bottom: 28px; }

/* Header card: what the report is, whose stream, the period, how fresh;
   the creative on the right (on top of it below 700px). */
.v2-report-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 28px; }
.v2-report-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.v2-report-hero .v2-h1 { overflow-wrap: anywhere; }
.v2-report-line { margin: 0; font-size: 17px; font-weight: 600; color: var(--v2-muted); }
.v2-report a { font-weight: 700; text-decoration: none; }
.v2-report-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-report-chips:empty { display: none; }
.v2-report-asof, .v2-report-meta li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.v2-report-asof { margin: 0; font-size: 14px; color: var(--v2-muted); }
.v2-report-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--v2-muted); }
.v2-report [data-local-note] { font-size: 13px; }
.v2-report [data-local-note][hidden] { display: none; }

/* The sponsor's banner (a QR mark for a QR creative), or up to four of
   the campaign's creatives. */
.v2-report-creative { box-sizing: border-box; width: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; overflow: hidden; border-radius: 16px; border: 2px solid var(--v2-line); background: var(--v2-cream); }
.v2-report-creative img { display: block; width: 100%; height: auto; }
.v2-report-creative.is-qr { padding: 18px 14px; color: var(--v2-purple-ink); font-weight: 700; text-align: center; }
.v2-report-creative code { font-size: 13px; color: var(--v2-muted); }
.v2-report-creative .v2-hint { margin: 0; padding: 28px 14px; }
.v2-report-creatives { width: 220px; display: flex; flex-direction: column; gap: 8px; }
.v2-report-creatives img { display: block; width: 100%; height: auto; border-radius: 12px; border: 2px solid var(--v2-line); background: #fff; }
@media (max-width: 699px) {
  .v2-report-hero { grid-template-columns: minmax(0, 1fr); }
  .v2-report-creative, .v2-report-creatives { width: 100%; }
  .v2-report-creatives { flex-direction: row; flex-wrap: wrap; }
  .v2-report-creatives img { width: calc(50% - 4px); }
}

/* The one-sentence takeaway, in the blue of the dashboard's overlay card. */
.v2-report-summary { background: var(--v2-blue-bg); border-color: var(--v2-blue-line); box-shadow: 0 4px 0 var(--v2-blue-line); }
.v2-report-summary p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--v2-blue-ink); }
.v2-report-summary strong { font-weight: 800; }

/* QR devices and systems side by side. */
.v2-report-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; }

.v2-report-empty { align-items: center; text-align: center; }
.v2-report-empty .v2-hint { margin: 0; }
.v2-report-method { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 16px; line-height: 1.5; }
.v2-report-gone { align-items: flex-start; }
.v2-report-gone .v2-lead, .v2-report-gone .v2-hint { margin: 0; }

.v2-report-foot { max-width: 960px; margin: 0 auto; padding: 0 24px 40px; text-align: center; font-size: 14px; color: var(--v2-muted); }
