/* =====================================================================
   Landing Page Audit: this tool's score card and report only.
   Shell, hero, replies, lead form, CTA, pills and bars come from ../_core/ui/core.css.
   Colours come from ../_core/brand/theme.css.
   ===================================================================== */

.enter { animation: pop .25s ease-out both; }

/* Score card */
.score-card .site { margin: 0; color: var(--mf-muted); font-size: 15px; }
.total-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 14px; }
.total { font-family: var(--font-title); font-weight: 900; font-size: 50px; line-height: 1; }
.total small { font-family: var(--font-subtitle); font-size: 17px; font-weight: 700; color: var(--mf-muted); }
.rows { display: grid; gap: 12px; }
.row-label { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; margin-bottom: 5px; }
.row-label b { font-family: var(--font-subtitle); font-variant-numeric: tabular-nums; }

/* Report */
.r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.r-head .card-title { margin: 0; }
.finding { font-weight: 700; margin: 10px 0 0; }
.points { margin: 8px 0 0; padding-left: 20px; }
.points li + li { margin-top: 4px; }
.evidence { margin: 10px 0 0; padding: 6px 0 6px 12px; border-left: 3px solid var(--mf-lime); color: var(--mf-muted); font-size: 15px; font-style: italic; }
.fixes { margin: 4px 0 0; padding-left: 24px; }
.fixes > li { margin-bottom: 14px; padding-left: 4px; }
.fixes > li:last-child { margin-bottom: 0; }
.fixes > li::marker { font-family: var(--font-title); color: var(--mf-green); }
.fix-title { margin: 0; font-family: var(--font-subtitle); font-weight: 700; }
.why { margin: 8px 0 0; font-size: 15px; }
.lead { color: var(--mf-muted); font-size: 15px; margin: 6px 0 0; }
.shot { display: block; margin: -4px -4px 10px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--mf-border); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; background: var(--mf-surface); }

/* Contrast */
.c-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.c-item { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: start; }
.swatch { display: grid; place-items: center; width: 50px; height: 38px; border-radius: var(--radius-sm); border: 1px solid var(--mf-border); font-family: var(--font-subtitle); font-weight: 700; font-size: 16px; }
.c-item p { margin: 0; }
.c-text { font-weight: 700; }
.c-detail { font-size: 14px; color: var(--mf-muted); }
.c-fail { color: var(--mf-red); font-weight: 700; }
.tag { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 400; background: var(--mf-lime-tint); color: var(--mf-ink); }
details.passes { margin-top: 12px; }
details.passes summary { cursor: pointer; color: var(--mf-green); font-weight: 700; }
.notes { margin: 4px 0 0; padding-left: 20px; color: var(--mf-muted); font-size: 15px; }

@media print {
  .site-header, .chat-head, .chat-foot, .msg.typing { display: none !important; }
  .chat, body.is-chat .chat { height: auto; }
  .chat-body { overflow: visible; }
  .card { break-inside: avoid; }
  .bar i, .pill, .swatch, .tag { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
