/* Prowlyn free Health Check form + result (HEALTHCHECK-PUBLIC). Uses site.css tokens only; append to site.css or link after it. */
.hc-run { scroll-margin-top: calc(var(--nav-h) + 16px); }
.hc-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; max-width: 640px; }
.hc-form label { flex: 1 0 100%; font-size: .85rem; color: var(--muted); }
.hc-form input[type="text"] { flex: 1 1 260px; min-width: 0; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; }
.hc-form input[type="text"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hc-form button[disabled] { opacity: .6; cursor: progress; }
.hc-status { min-height: 1.4em; margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.hc-status.is-error { color: var(--error); }
.hc-result { margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); max-width: 820px; }
.hc-result:focus { outline: none; }
.hc-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hc-score { width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 4px solid var(--muted); flex: 0 0 auto; }
.hc-score.lvl-excellent, .hc-score.lvl-good { border-color: var(--success); }
.hc-score.lvl-needs-work { border-color: var(--warn); }
.hc-score.lvl-poor { border-color: var(--error); }
.hc-score-num { font-size: 2rem; font-weight: 700; line-height: 1; }
.hc-score-of { font-size: .75rem; color: var(--muted); }
.hc-meta h3 { margin: 0 0 4px; }
.hc-meta p { margin: 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.hc-blocked { color: var(--error) !important; margin-top: 4px !important; }
.hc-sub { margin: 20px 0 8px; }
.hc-fixes { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.hc-fix p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.hc-pri { margin-left: 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--accent-dim); color: var(--accent); }
.hc-all { margin-top: 18px; }
.hc-all summary { cursor: pointer; color: var(--accent); }
.hc-checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.hc-check { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .9rem; }
.hc-check .hc-verdict { grid-column: 2; color: var(--muted); overflow-wrap: anywhere; }
.hc-badge { grid-row: span 2; align-self: start; font-size: .72rem; padding: 2px 8px; border-radius: var(--radius-pill); white-space: nowrap; }
.st-pass .hc-badge { background: var(--success-dim); color: var(--success); }
.st-warn .hc-badge { background: var(--warn-dim); color: var(--warn); }
.st-fail .hc-badge { background: var(--error-dim); color: var(--error); }
.hc-cta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.hc-cta p { margin: 0 0 12px; }
.hc-cta .hc-fine { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }

.hc-cta .hc-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hc-cta .hc-fine { text-wrap: pretty; }
