/* Report and score page layout, on top of themes.css */
.report-hero { display: grid; gap: 24px; align-items: center; padding: 28px 0; }
@media (min-width: 820px) { .report-hero { grid-template-columns: 1.4fr 1fr; } }
.report-hero .dial svg { width: 190px; height: 190px; }
.score-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.score-row .dial svg { width: 110px; height: 110px; }
.phone-shot { border-radius: 24px; border: 6px solid var(--text); overflow: hidden; width: 200px; margin: 0 auto; box-shadow: var(--shadow); background: #fff; }
.phone-shot img { display: block; width: 100%; }
.finding { padding: 20px 0; border-top: 1px solid var(--border); }
.finding:first-of-type { border-top: 0; }
.finding h3 { margin-bottom: 6px; }
.finding .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.finding .measured { font-weight: 700; }
.finding .steps { background: var(--surface); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; white-space: pre-wrap; }
.top-fix { counter-increment: fix; position: relative; padding-left: 56px; }
.top-fix::before { content: counter(fix); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.top-fixes { counter-reset: fix; display: grid; gap: 20px; }
.paste { background: var(--surface); border: 1px dashed var(--border); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9rem; white-space: pre-wrap; word-break: break-word; }
table.compare { width: 100%; border-collapse: collapse; margin: 16px 0; }
table.compare th, table.compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); }
table.compare tr.you { font-weight: 800; background: var(--surface); }
.locked { position: relative; }
.locked .blur { filter: blur(4px); user-select: none; pointer-events: none; }
.locked .unlock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.upsell { border: 2px solid var(--accent); }
.print-only { display: none; }

@media print {
  body { font-size: 11pt; background: #fff; }
  .no-print { display: none !important; }
  .print-only { display: block; }
  .card { box-shadow: none; break-inside: avoid; }
  .finding { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  @page { size: A4; margin: 16mm 14mm; }
}
