/* AHPRA advertising checker. Loaded with sfd-ahpra-checker.js by mu-plugins/sfd-v2-template.php.
   Tokens (--brand, --navy, --ink, --sec, --border, --surface) come from the .sfd-page theme. 29 Sep 2026. */
.sfd-v2 .sfd-ahpra{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 18px 48px rgba(17,23,34,.10);padding:clamp(20px,3.2vw,36px);max-width:980px;margin:0 auto}
.sfd-v2 .sfd-ahpra label.sfd-ahpra__label{display:block;margin:0 0 10px;font-weight:700;font-size:1.05rem;color:var(--ink)}
.sfd-v2 .sfd-ahpra__hint{margin:-4px 0 12px;font-size:.9rem;color:var(--sec);max-width:none}
.sfd-v2 .sfd-ahpra textarea{display:block;width:100%;min-height:220px;resize:vertical;box-sizing:border-box;padding:16px 18px;border:1px solid rgba(17,23,34,.22);border-radius:14px;background:#fbfcff;font:inherit;font-size:1rem;line-height:1.6;color:var(--ink)}
.sfd-v2 .sfd-ahpra textarea:focus{outline:3px solid rgba(43,77,255,.25);border-color:var(--brand);background:#fff}
.sfd-v2 .sfd-ahpra__row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:14px 0 0}
.sfd-v2 .sfd-ahpra__opt{display:flex;align-items:flex-start;gap:10px;font-size:.92rem;color:var(--sec);cursor:pointer;max-width:560px}
.sfd-v2 .sfd-ahpra__opt input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--brand)}
.sfd-v2 .sfd-ahpra__count{font-size:.82rem;color:var(--sec)}
.sfd-v2 .sfd-ahpra__btns{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.sfd-v2 .sfd-ahpra__btns button{min-height:48px;padding:0 22px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--navy);font:inherit;font-weight:700;font-size:.98rem;cursor:pointer}
.sfd-v2 .sfd-ahpra__btns button.is-primary{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 8px 22px rgba(43,77,255,.28)}
.sfd-v2 .sfd-ahpra__btns button:hover{border-color:var(--brand)}
.sfd-v2 .sfd-ahpra__btns button.is-primary:hover{filter:brightness(1.06)}
.sfd-v2 .sfd-ahpra__private{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:.85rem;color:var(--sec);max-width:none}
.sfd-v2 .sfd-ahpra__private svg{width:16px;height:16px;color:#177245;flex:none}

.sfd-v2 .sfd-ahpra__results{margin:28px 0 0;padding:28px 0 0;border-top:1px solid var(--border);scroll-margin-top:110px}
.sfd-v2 .sfd-ahpra__results:focus{outline:none}
.sfd-v2 .sfd-ahpra__verdict{padding:16px 18px;border-radius:14px;background:#e8edff;color:var(--ink);font-size:1rem;line-height:1.55}
.sfd-v2 .sfd-ahpra__verdict.is-bad{background:#fdecea}
.sfd-v2 .sfd-ahpra__verdict.is-clear{background:#e7f6ec}
.sfd-v2 .sfd-ahpra__copy{margin:18px 0 0;padding:18px 20px;border:1px solid var(--border);border-radius:14px;background:#fbfcff;font-size:.98rem;line-height:1.75;color:var(--ink);max-height:360px;overflow:auto;overflow-wrap:anywhere}
.sfd-v2 .sfd-ahpra__copy mark{border-radius:4px;padding:1px 3px;color:inherit;scroll-margin-top:140px}
.sfd-v2 .sfd-ahpra__copy mark.is-block{background:#fbd4d0;box-shadow:inset 0 -2px 0 #b3261e}
.sfd-v2 .sfd-ahpra__copy mark.is-review{background:#ffe7b8;box-shadow:inset 0 -2px 0 #8a5a00}
.sfd-v2 .sfd-ahpra__copy mark.is-warn{background:#dfe6ff;box-shadow:inset 0 -2px 0 var(--brand)}
.sfd-v2 .sfd-ahpra__list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:14px;counter-reset:none}
.sfd-v2 .sfd-ahpra__item{margin:0;padding:18px 20px;border:1px solid var(--border);border-left:4px solid var(--brand);border-radius:14px;background:#fff}
.sfd-v2 .sfd-ahpra__item::before{content:none}
.sfd-v2 .sfd-ahpra__item.is-block{border-left-color:#b3261e}
.sfd-v2 .sfd-ahpra__item.is-review{border-left-color:#c98a00}
.sfd-v2 .sfd-ahpra__itemHead{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 10px}
.sfd-v2 .sfd-ahpra__itemHead h3{margin:0;font-size:1.08rem;line-height:1.3}
.sfd-v2 .sfd-ahpra__lvl{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.sfd-v2 .sfd-ahpra__lvl.is-block{background:#fdecea;color:#b3261e}
.sfd-v2 .sfd-ahpra__lvl.is-review{background:#fff4de;color:#8a5a00}
.sfd-v2 .sfd-ahpra__lvl.is-warn{background:#e8edff;color:var(--brand)}
.sfd-v2 .sfd-ahpra__hits{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px}
.sfd-v2 .sfd-ahpra__hits li{display:flex;gap:10px;align-items:baseline;margin:0;font-size:.95rem;line-height:1.5}
.sfd-v2 .sfd-ahpra__hits li::before{content:none}
.sfd-v2 .sfd-ahpra__hits a{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:rgba(17,23,34,.3);text-underline-offset:3px}
.sfd-v2 .sfd-ahpra__hits em{display:block;font-style:normal;color:var(--sec);font-size:.88rem}
.sfd-v2 .sfd-ahpra__dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--brand);transform:translateY(-1px)}
.sfd-v2 .sfd-ahpra__dot.is-block{background:#b3261e}
.sfd-v2 .sfd-ahpra__dot.is-review{background:#c98a00}
.sfd-v2 .sfd-ahpra p.sfd-ahpra__why,.sfd-v2 .sfd-ahpra p.sfd-ahpra__fix{margin:8px 0 0;font-size:.93rem;line-height:1.6;color:var(--sec);max-width:none}
.sfd-v2 .sfd-ahpra p.sfd-ahpra__fix{color:var(--ink)}
.sfd-v2 .sfd-ahpra p.sfd-ahpra__small{margin:18px 0 0;font-size:.82rem;color:var(--sec);max-width:none}
.sfd-v2 .sfd-ahpraSec{padding-top:0}
@media (max-width:600px){.sfd-v2 .sfd-ahpra{border-radius:18px}.sfd-v2 .sfd-ahpra__btns button{flex:1 1 auto}.sfd-v2 .sfd-ahpra textarea{min-height:200px}}

/* Pull the tool up so the text box shows on the first screen: the hero's section padding left ~110px of empty space above it. */
.sfd-v2 .sfd-hero:has(+ .sfd-ahpraSec){padding-bottom:28px}
.sfd-v2 .sfd-ahpraSec{padding-top:0}
@media (min-width:900px){.sfd-v2 .sfd-hero:has(+ .sfd-ahpraSec){padding-top:clamp(2rem,4vw,3rem)}}

/* Numbered lists in prose: the theme adds a bullet dot to every li, which doubled up with the numbers. */
.sfd-v2:has(.sfd-ahpra) .sfd-prose ol > li::before{content:none;display:none}
.sfd-v2:has(.sfd-ahpra) .sfd-prose ol{padding-left:1.4em}
.sfd-v2:has(.sfd-ahpra) .sfd-prose ol > li{padding-left:.3em}
