/* Website Auditor on revrxai.com. Loaded only on /website-auditor, after the auditor component CSS.
   v1 (2026-10-17): main screen redrawn in the revrxai.com design. Report, details panel, lead dialog
   and print still use the test-site component CSS, recoloured below to revrxai neutrals (v2 redraws them). */

/* Tokens the auditor component CSS reads. Values follow revrxai.com (black, bone, ash, iris, saffron). */
:root {
  --bg: #000; --panel: #0d0d0d; --ink: #fff; --muted: #9a9a9a; --line: #262626;
  --blue: #1e80ff; --wash: #111; --mint: #0f2a24; --error: #ff6b6b; --shadow: none;
  --art-blue: #0065fc; --art-mint: #15846e; --art-ink: #e6e6e6; --art-rim: #2a2a2a;
  --art-paper: #f2f2f2; --art-line: #c9c9c9; --shadow-art: #ffffff10; --error-ink: #ffb3b3;
}
:root[data-theme=light] {
  --bg: var(--void); --panel: #f3f5f8; --ink: #0c0d10; --muted: #5d6270; --line: #dfe3e9;
  --blue: #0057d9; --wash: #eef0f4; --mint: #dff3ee; --error: #c62828; --error-ink: #9b1c1c;
  --art-ink: #2a2f3a; --art-rim: #d5dae2; --art-paper: #fff; --art-line: #c9ced8; --shadow-art: #0c0d1012;
}
[data-theme=dark] .auditor-details-grid, [data-theme=dark] .auditor-drawer,
[data-theme=dark] .wa-scorecards, [data-theme=dark] .wa-sheet {
  --wa-bg: #000; --wa-card: #0d0d0d; --wa-ink: #fff; --wa-muted: #9a9a9a; --wa-line: #262626;
  --wa-blue: #1e80ff; --wa-good: #2fbf8f; --wa-warn: #ffb829; --wa-bad: #ff6b6b;
}
[data-theme=light] .auditor-details-grid, [data-theme=light] .auditor-drawer,
[data-theme=light] .wa-scorecards, [data-theme=light] .wa-sheet {
  --wa-bg: #fafbfc; --wa-card: #fff; --wa-ink: #0c0d10; --wa-muted: #5d6270; --wa-line: #e3e6ec;
  --wa-blue: #0057d9; --wa-good: #0f7a52; --wa-warn: #9a6200; --wa-bad: #c62828;
}
/* Print is always on white paper: light colours whatever theme the visitor uses. */
@media print {
  :root {
  --bg: var(--void); --panel: #f3f5f8; --ink: #0c0d10; --muted: #5d6270; --line: #dfe3e9;
  --blue: #0057d9; --wash: #eef0f4; --mint: #dff3ee; --error: #c62828; --error-ink: #9b1c1c;
  --art-ink: #2a2f3a; --art-rim: #d5dae2; --art-paper: #fff; --art-line: #c9ced8; --shadow-art: #0c0d1012;
  }
  [data-theme] .auditor-details-grid, [data-theme] .auditor-drawer, [data-theme] .wa-scorecards, [data-theme] .wa-sheet {
  --wa-bg: #fafbfc; --wa-card: #fff; --wa-ink: #0c0d10; --wa-muted: #5d6270; --wa-line: #e3e6ec;
  --wa-blue: #0057d9; --wa-good: #0f7a52; --wa-warn: #9a6200; --wa-bad: #c62828;
  }
}

/* The auditor scripts show and hide panels with the hidden attribute. */
[hidden] { display: none !important; }

/* Page layout */
.auditor .aud-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.auditor .aud-pills li { padding: 9px 16px; border-radius: 9999px; background: var(--surface); color: var(--silver); font-size: 14px; font-weight: 400; }
.auditor .aud-section { padding-top: 0; }
.auditor .aud-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.auditor .aud-steps .k { display: block; color: var(--iris-hi); font-size: 14px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--rule-2); font-variant-numeric: tabular-nums; }
.auditor .aud-steps h3 { margin-top: 22px; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.auditor .aud-steps p { margin-top: 10px; color: var(--silver); font-size: 16px; line-height: 1.55; }
@media (max-width: 760px) { .auditor .aud-steps { grid-template-columns: 1fr; } }

/* Status line and messages */
.auditor .worker-status-bar { margin-bottom: 18px; }
.auditor .badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .025em; color: var(--ash); }
.auditor .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 0 4px color-mix(in srgb, var(--iris) 20%, transparent); }
.auditor .offline .badge::before, .auditor .badge.offline::before { background: var(--saffron); box-shadow: 0 0 0 4px #ff6a0033; }
.auditor .message { margin: 0 0 24px; padding: 16px 20px; background: var(--card-2); border-left: 2px solid var(--iris-hi); border-radius: 4px; font-size: 16px; color: var(--silver); }
.auditor .message.error { border-left-color: var(--error); color: var(--error-ink); }

/* Panels */
.auditor .panel { background: var(--card); border: 1px solid var(--card-line); border-radius: 24px; padding: clamp(28px, 4vw, 56px); }
.auditor .input-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.auditor .input-panel h2 { margin-top: 18px; }
.auditor .input-panel .body { margin-top: 18px; }
@media (max-width: 900px) { .auditor .input-panel { grid-template-columns: 1fr; } }

/* Form: same language as the revrxai.com calculators (underline inputs, pill choices) */
.auditor #audit-form > label, .auditor .optional-context label, .auditor #audit-form legend { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ash); margin: 0 0 8px; }
.auditor #audit-form input:not([type=radio]) { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; padding: 8px 0 12px; font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: -.02em; color: var(--strong); transition: border-color .25s var(--ease); }
.auditor #audit-form input:not([type=radio])::placeholder { color: var(--placeholder); }
.auditor #audit-form input:not([type=radio]):focus { outline: none; border-bottom-color: var(--iris); }
.auditor .url-row { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
.auditor .url-row input { width: 100%; }
.auditor fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.auditor .radio { position: relative; display: inline-flex; margin: 0 8px 8px 0; }
.auditor .radio input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.auditor .radio span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 9999px; background: var(--surface); color: var(--silver); font-size: 15px; font-weight: 400; transition: background-color .25s var(--ease), color .25s var(--ease); }
.auditor .radio:hover span { background: var(--surface-3); color: var(--strong); }
.auditor .radio input:checked + span { background: var(--iris); color: #fff; }
.auditor .radio input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 3px; }
.auditor .optional-context { margin: 0 0 28px; }
.auditor .optional-context summary { cursor: pointer; color: var(--saffron); font-size: 14px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; list-style: none; }
.auditor .optional-context summary::-webkit-details-marker { display: none; }
.auditor .optional-context summary::after { content: " +"; }
.auditor .optional-context[open] summary::after { content: " −"; }
.auditor .optional-context[open] summary { margin-bottom: 22px; }
.auditor .optional-context input { margin-bottom: 22px; }
.auditor .input-foot { font-size: 14px; color: var(--ash); }
/* Turnstile box: empty for most visitors (interaction-only), full width when Cloudflare asks for a click. */
.auditor .human-check:not(:empty) { margin: 12px 0 4px; max-width: 100%; }

/* Buttons used by the auditor scripts */
.auditor .secondary, .auditor-drawer .secondary, .wa-sheet .secondary, .lead-dialog .secondary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 10px 18px; border-radius: 24px; border: 1px solid var(--rule); background: transparent; color: var(--strong); font-size: 13px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.auditor .secondary:hover, .auditor-drawer .secondary:hover, .wa-sheet .secondary:hover, .lead-dialog .secondary:hover { border-color: var(--iris-hi); }
.auditor .text-button { border: 0; background: none; padding: 6px 0; color: var(--ash); font-size: 14px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; cursor: pointer; }
.auditor .text-button:hover { color: var(--strong); }
.auditor button:disabled { opacity: .45; cursor: wait; }
.rx-icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* Waiting screen */
.auditor .waiting { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; min-height: 460px; overflow: hidden; }
.auditor .wait-copy h2 { margin-top: 18px; }
.auditor .wait-copy .body { margin-top: 16px; }
.auditor .live-stage { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.auditor .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 0 5px color-mix(in srgb, var(--iris) 20%, transparent); animation: aud-pulse 2s ease-in-out infinite; }
.auditor .counters { display: flex; gap: 48px; margin: 24px 0; }
.auditor .counters > div { display: flex; flex-direction: column; }
.auditor .counters strong { font-size: clamp(36px, 4vw, 52px); font-weight: 400; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.auditor .counters span { margin-top: 8px; font-size: 13px; color: var(--ash); }
.auditor .small { font-size: 14px; line-height: 1.55; max-width: 34em; }
.auditor .wait-controls { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 26px; }
.auditor .illustration { position: relative; min-height: 380px; align-self: center; isolation: isolate; }
.auditor .illustration::before { content: ""; position: absolute; inset: 25px 0 20px; background: radial-gradient(ellipse, #0065fc22, transparent 70%); z-index: -1; }
.auditor .scene { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .7s, transform .7s; pointer-events: none; }
.auditor .scene.active { opacity: 1; transform: none; }
.auditor .tiny-label { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.auditor .spark { position: absolute; color: var(--saffron); font-size: 22px; animation: aud-spark 4s ease-in-out infinite; }
.auditor .s1 { top: 23%; left: 15%; }
.auditor .s2 { top: 15%; right: 9%; animation-delay: 1.5s; font-size: 15px; }
.auditor .orbit { position: absolute; border: 1px dashed var(--rim); border-radius: 50%; inset: 30px 38px; }
.auditor .o2 { inset: 0 8px; opacity: .6; transform: rotate(-20deg); }
.auditor .scene-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.auditor .scene-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--rule); }
.auditor .scene-dots i.on { background: var(--iris-hi); width: 16px; border-radius: 8px; }
/* 3D live scan (auditor-scan3d.js) takes the place of the illustrations once it runs */
.auditor .scan3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.auditor .scan3d.on { opacity: 1; }
.auditor .scan3d-on .scene, .auditor .scan3d-on .orbit, .auditor .scan3d-on .spark, .auditor .scan3d-on .scene-dots { display: none; }
.auditor .float { animation: aud-float 4s ease-in-out infinite; }
.auditor .steam { animation: aud-steam 3s ease-in-out infinite; }
.auditor .st2 { animation-delay: .7s; }
.auditor .st3 { animation-delay: 1.4s; }
.auditor .pour { transform-origin: 300px 91px; animation: aud-pour 5s ease-in-out infinite; }
.auditor .snack-one { animation: aud-snack 4s ease-in-out infinite; }
.auditor .snack-two { animation: aud-float 3s ease-in-out infinite; transform-origin: 280px 217px; }
.auditor .crumbs { animation: aud-crumbs 3s ease-in-out infinite; }
.auditor .stretch-person { transform-origin: 210px 265px; animation: aud-stretch 4s ease-in-out infinite; }
.auditor .breath { animation: aud-pulse 4s ease-in-out infinite; }
.auditor .paper { animation: aud-float 4s ease-in-out infinite; }
.auditor .check { animation: aud-check 4s ease-in-out infinite; }
.auditor .c2 { animation-delay: .5s; }
.auditor .c3 { animation-delay: 1s; }
.auditor .paused *, .auditor .paused *::before { animation-play-state: paused !important; }
.auditor .offline .pulse { animation: none; background: var(--saffron); }
@keyframes aud-float { 50% { transform: translateY(-7px); } }
@keyframes aud-steam { 0%, 100% { opacity: .12; transform: translateY(5px); } 50% { opacity: .65; transform: translateY(-7px); } }
@keyframes aud-pour { 0%, 25%, 100% { transform: translate(7px, -7px) rotate(-12deg); opacity: 0; } 40%, 65% { transform: none; opacity: 1; } 85% { opacity: 0; } }
@keyframes aud-pulse { 50% { opacity: .45; } }
@keyframes aud-spark { 50% { transform: rotate(25deg) scale(.7); opacity: .5; } }
@keyframes aud-snack { 50% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes aud-crumbs { 0%, 100% { transform: translateY(-5px); opacity: 0; } 50% { transform: translateY(17px); opacity: 1; } }
@keyframes aud-stretch { 50% { transform: rotate(5deg); } }
@keyframes aud-check { 0%, 15% { opacity: .2; transform: translateX(8px); } 35%, 90% { opacity: 1; transform: none; } 100% { opacity: .2; } }
@media (max-width: 760px) {
  .auditor .waiting { display: flex; flex-direction: column-reverse; }
  .auditor .illustration { min-height: 260px; width: 100%; max-width: 360px; }
  .auditor .tiny-label { display: none; }
  .auditor .url-row .btn { width: 100%; }
}

/* Recent checkups */
.auditor .history { margin-top: clamp(56px, 7vw, 96px); }
.auditor .section-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 28px; }
.auditor .section-title h2 { margin-top: 14px; }
.auditor .recent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.auditor .recent-checkup { display: flex; flex-direction: column; min-width: 0; min-height: 230px; padding: 26px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); }
.auditor .recent-checkup .eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--iris-hi); }
.auditor .recent-checkup h3 { margin: 12px 0 4px; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
.auditor .recent-checkup time, .auditor .recent-checkup-foot > span { font-size: 13px; color: var(--ash); }
.auditor .recent-result { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--strong); }
.auditor .recent-result > strong { font-size: 22px; line-height: 1.1; font-weight: 400; }
.auditor .recent-result.score > strong { font-size: 52px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.auditor .recent-result > span { font-size: 13px; color: var(--ash); line-height: 1.5; }
.auditor .recent-result b { display: block; font-size: 14px; color: var(--strong); font-weight: 600; }
.auditor .recent-checkup-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: auto; }
.auditor .recent-checkup-foot .secondary { width: 100%; justify-content: space-between; }
.auditor .recent-empty { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--card-line); border-radius: 20px; background: var(--card); }
.auditor .recent-empty h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.02em; }
.auditor .recent-empty p { color: var(--ash); font-size: 15px; }
.auditor .history-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; text-align: left; padding: 18px 20px; margin: 8px 0; border: 1px solid var(--card-line); border-radius: 16px; background: var(--card); color: var(--strong); font-size: 15px; }
.auditor .history-item:hover { border-color: var(--iris-hi); }
.auditor .status { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; background: var(--surface); color: var(--iris-hi); border-radius: 9999px; flex-shrink: 0; }
.auditor #history-show-all { display: block; margin: 16px 0 0 auto; }
@media (max-width: 900px) { .auditor .recent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .auditor .recent-grid { grid-template-columns: 1fr; } .auditor .recent-empty { flex-direction: column; align-items: flex-start; } }

/* Report container: component CSS styles its contents for now. */
.auditor #report { margin-top: 28px; }
.auditor .coverage { display: flex; flex-wrap: wrap; gap: 6px 22px; } /* the spans had no separation: "8 URLs checked2 mobile samples" */

@media (prefers-reduced-motion: reduce) {
  .auditor *, .auditor *::before { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .auditor .hero, .auditor #new-audit, .auditor #waiting, .auditor .history, .auditor .aud-steps, .auditor .skip, .auditor .message { display: none !important; }
}

/* ---------- v2: one-page report on screen (print keeps the Letter layout from auditor-onepage.css) ---------- */
@media screen {
  .wa-sheet { background: transparent; border: 0; border-radius: 0; padding: 0; max-width: none; margin: 0 0 32px; font-family: var(--font); line-height: 1.45; }
  .wa-report-bar { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--card-line); }
  .wa-report-brand { gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--saffron); }
  .wa-report-brand img { width: auto; height: 30px; }
  [data-theme=dark] .wa-report-brand img { filter: none; }
  .wa-meta { font-size: 15px; } .wa-meta span { font-size: 13px; color: var(--ash); }
  .wa-top { gap: 16px; } .wa-bottom { gap: 16px; margin-top: 16px; } .wa-areas { gap: 16px; margin-top: 16px; }
  .wa-card { background: var(--card); border: 1px solid var(--card-line); border-radius: 20px; padding: 26px; }
  .wa-sheet h2 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; }
  .wa-sheet h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .wa-sheet .wa-line { font-size: 15px; line-height: 1.5; color: var(--silver); }
  .wa-ring strong { font-weight: 400; } .wa-ring-large { width: 160px; height: 160px; } .wa-ring-large strong { font-size: 56px; font-weight: 300; }
  .wa-grade strong { font-size: 44px; font-weight: 300; letter-spacing: -.03em; } .wa-grade span { font-size: 13px; color: var(--ash); }
  .wa-friction { padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .wa-verdict { font-size: 20px; font-weight: 400; letter-spacing: -.01em; margin: 16px 0 6px; }
  .wa-priorities .wa-lead, .wa-agent .wa-lead { font-size: 14px; color: var(--ash); }
  .wa-priorities li { gap: 14px; padding: 16px 0; border-top-color: var(--card-line); }
  .wa-fix-number { width: 30px; height: 30px; border-radius: 50%; background: var(--iris); border: 0; color: #fff; font-size: 13px; font-weight: 600; }
  .wa-priorities .wa-line { font-size: 14px; }
  .wa-chips span { font-size: 12px; background: var(--chip); border: 0; border-radius: 9999px; color: var(--silver); padding: 4px 10px; }
  .wa-phone { border-color: var(--rule-2); border-radius: 22px; background: var(--void); } .wa-phone-notch { background: var(--rule-2); }
  .wa-preview-label { font-size: 12px; color: var(--ash); }
  .wa-areas { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wa-area { border-top: 2px solid currentColor; padding: 22px; }
  .wa-area .rx-area { color: var(--wa-ink); opacity: .85; }
  .wa-area-number { font-size: 12px; font-weight: 600; color: var(--ash); }
  .wa-area h3 { min-height: 40px; font-size: 15px; }
  .wa-letter { font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
  .wa-area-score > div:last-child > span { font-size: 11px; color: var(--ash); max-width: 80px; }
  .wa-area .wa-line { font-size: 13px; }
  .wa-agent li { font-size: 14px; } .wa-check { width: 24px; height: 24px; border-radius: 50%; font-size: 13px; }
  .wa-small { font-size: 12px; color: var(--ash); }
  .wa-help { background: var(--iris); border-color: var(--iris); color: #fff; }
  .wa-kicker { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #ffffffcc; }
  .wa-help h2 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.03em; }
  .wa-help .wa-line, .wa-help .wa-small, .wa-help li { color: #ffffffe0; } .wa-help ul { font-size: 14px; }
  .wa-book { min-height: 46px; padding: 12px 22px; border: 0; border-radius: 24px; background: #fff; color: #000; font-size: 14px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
  .wa-book:hover { background: #e6e6e6; } .wa-book:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
  .wa-footnote { font-size: 12px; color: var(--ash); margin-top: 18px; }
  .wa-actions { margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--saffron); }
  .wa-details { padding: 22px 26px; border-color: var(--card-line); border-radius: 20px; background: var(--card); }
  .wa-details > summary, .wa-scoring-details summary { color: var(--saffron); font-size: 14px; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
  .wa-scoring-details { font-size: 15px; color: var(--silver); }
  .wa-booking-dialog { background: var(--card); border-color: var(--rule-2); border-radius: 24px; color: var(--strong); }
  .wa-booking-dialog::backdrop { background: var(--scrim); }
}
@media screen and (max-width: 1100px) { .wa-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (max-width: 560px) { .wa-areas { grid-template-columns: 1fr 1fr; } .wa-card, .wa-area { padding: 18px; } .wa-ring-large { width: 130px; height: 130px; } .wa-ring-large strong { font-size: 44px; } }

/* ---------- v2: lead dialog and primary buttons (dialog is appended to <body>, outside .auditor) ---------- */
.auditor .primary, .lead-dialog .primary, .wa-sheet .primary, .auditor-drawer .primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 14px 22px; border: 0; border-radius: 24px; background: var(--iris); color: #fff; font: 600 14px/1.2 var(--font); letter-spacing: .025em; text-transform: uppercase; cursor: pointer; transition: background-color .3s var(--ease); }
.auditor .primary:hover, .lead-dialog .primary:hover, .wa-sheet .primary:hover, .auditor-drawer .primary:hover { background: var(--iris-hi); }
.lead-dialog { width: min(640px, calc(100% - 28px)); padding: clamp(26px, 4vw, 44px); border: 1px solid var(--rule-2); border-radius: 24px; background: var(--card); color: var(--strong); font: 200 16px/1.5 var(--font); }
.lead-dialog::backdrop { background: var(--scrim); backdrop-filter: blur(6px); }
.lead-dialog .eyebrow { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron); }
.lead-dialog h2 { margin: 14px 40px 14px 0; font-size: clamp(28px, 3.4vw, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.lead-dialog > p { font-size: 15px; color: var(--silver); }
.lead-close { border-color: var(--rule); color: var(--strong); }
.lead-close:hover { border-color: var(--iris-hi); }
.lead-dialog label { margin: 22px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ash); }
.lead-dialog label span { font-weight: 400; color: var(--hint); }
.lead-dialog input:not([type=checkbox]) { min-height: 0; padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent; color: var(--strong); font: 400 20px/1.3 var(--font); letter-spacing: -.01em; }
.lead-dialog input:not([type=checkbox])::placeholder { color: var(--placeholder); }
.lead-dialog input:not([type=checkbox]):focus { outline: none; border-bottom-color: var(--iris); }
.lead-two { gap: 0 28px; }
.lead-dialog .lead-consent { margin-top: 26px; font-size: 14px; font-weight: 400; color: var(--silver); }
.lead-consent input { accent-color: var(--iris); }
.lead-privacy, .lead-email-note { font-size: 13px; color: var(--ash); }
.lead-privacy a, .lead-email-note a { color: var(--saffron); text-decoration: underline; text-underline-offset: 3px; }
.lead-email-note { border-left: 2px solid var(--iris-hi); }
.lead-message { font-size: 15px; color: var(--strong); }
.lead-submit { width: 100%; margin-top: 18px; }
.lead-dialog .text-button { border: 0; background: none; color: var(--ash); font: 600 13px/1.2 var(--font); letter-spacing: .025em; text-transform: uppercase; cursor: pointer; }
.lead-dialog .text-button:hover { color: var(--strong); }
.lead-dialog :focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.lead-download-helper { font-size: 13px; color: var(--ash); }

/* After the report form, and on every download or print: say what happened and where the file went (Terry 2026-10-19). */
.lead-notice { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 1000; width: min(560px, calc(100% - 32px)); padding: 18px 52px 18px 22px; border: 1px solid var(--rule-2); border-left: 3px solid var(--accent); border-radius: 16px; background: var(--card); color: var(--strong); box-shadow: 0 18px 50px rgba(0,0,0,.25); font: 400 15px/1.5 var(--font); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.lead-notice.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.lead-notice-mail { margin-top: 6px; font-size: 14px; color: var(--ash); }
.lead-notice-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--ash); cursor: pointer; font-size: 15px; }
.lead-notice-close:hover { color: var(--strong); background: var(--surface); }
@media print { .lead-notice { display: none !important; } }
