/* Lead capture card for the /tools/ pages (TRLDL-201). External on purpose:
   the prod/QA CSP has no 'unsafe-inline' for scripts, and one stylesheet beats
   one copy per page. Uses the pages' own custom properties (--brand, --ink, --muted,
   --line, --card) so it inherits each page's palette. Cache-busted by ?v=. */
.rdp-lead { background: var(--card, #fff); border: 1px solid var(--line, #dfe8ee); border-radius: 14px; padding: 20px 22px; margin: 28px 16px 0; max-width: 760px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
@media (min-width: 792px) { .rdp-lead { margin-left: auto; margin-right: auto; } }
.rdp-lead__done h2:focus { outline: none; }
.rdp-lead h2 { margin: 0 0 6px; font-size: 1.15rem; color: var(--ink, #1a2733); }
.rdp-lead p { margin: 0 0 14px; color: var(--muted, #5b6b78); font-size: 0.95rem; line-height: 1.5; }
.rdp-lead__row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .rdp-lead__row { grid-template-columns: 1fr 1fr; } }
.rdp-lead label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink, #1a2733); margin-bottom: 4px; }
.rdp-lead input[type="email"], .rdp-lead select { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line, #dfe8ee); border-radius: 8px; font: inherit; color: var(--ink, #1a2733); background: #fff; }
.rdp-lead input[type="email"]:focus, .rdp-lead select:focus { outline: 2px solid var(--brand, #0282C8); outline-offset: 1px; }
.rdp-lead__consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; font-size: 0.85rem; color: var(--muted, #5b6b78); line-height: 1.45; }
.rdp-lead__consent input { margin-top: 3px; flex: none; }
.rdp-lead__consent a { color: var(--brand, #0282C8); }
.rdp-lead button { background: var(--brand, #0282C8); color: #fff; border: 0; border-radius: 8px; padding: 11px 18px; font: inherit; font-weight: 600; cursor: pointer; }
.rdp-lead button:hover { background: var(--brand-dark, #026aa3); }
.rdp-lead button[disabled] { opacity: 0.6; cursor: default; }
.rdp-lead__status { margin: 10px 0 0; font-size: 0.9rem; min-height: 1.2em; }
.rdp-lead__status--ok { color: var(--good, #1a8f5e); }
.rdp-lead__status--err { color: #b42318; }
.rdp-lead__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
