/* The leak check's result page (LeakChecksController#show), and the free
   audit's (AuditSignupsController#result), which is the same kind of page.
   The shell is the login card; these are the grade badge, the finding rows
   and their pills.
   Colours are base.css's own: --green, --amber-dark and --red, each with its
   -soft ground (--warn-soft for amber). Only green and red have a -line. */
.leak-wrap { max-width: 720px; }
.leak-card { text-align: left; }
.leak-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.leak-head h1 { margin: 0; overflow-wrap: anywhere; }
.leak-meta { color: var(--muted); font-size: .85rem; margin: 2px 0 0; }
.leak-grade { width: 64px; height: 64px; flex: none; border-radius: 18px; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; font-weight: 600; border: 1px solid; }
.leak-grade-good { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }
.leak-grade-warn { background: var(--warn-soft); color: var(--amber-dark); border-color: var(--amber-dark); }
.leak-grade-bad  { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.leak-section { font-size: 1rem; margin: 22px 0 4px; }
.leak-row { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.leak-row p { margin: 4px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.leak-fix { color: var(--muted); }
.leak-pill { font-size: .75rem; font-weight: 600; border-radius: 12px; padding: 3px 0; text-align: center; height: fit-content; }
.leak-pill-leak, .leak-pill-fail { background: var(--red-soft); color: var(--red); }
.leak-pill-warn { background: var(--warn-soft); color: var(--amber-dark); }
.leak-pill-pass { background: var(--green-soft); color: var(--green); }
.leak-pill-info, .leak-pill-unavailable { background: var(--line); color: var(--muted); }
.leak-subscribe { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
/* The audit result's agreement box: a sentence beside its box, not a bold
   field label, with its two links visibly links. */
.login-card label.leak-consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.login-card .leak-consent input { width: auto; flex: none; margin-top: 3px; padding: 0; }
.leak-consent a { text-decoration: underline; }
.leak-subscribe > .leak-meta { margin-top: 12px; }
