.hf-editor-hads:has([data-hads-qa]) { --hf-hads-muted:#4b5563; --hf-hads-rule:rgba(86,113,130,.28); }
.hf-editor-hads:has([data-hads-qa]) .hf-editor-tool-hero h1 { font-size:clamp(35px,4vw,48px); line-height:1.1; letter-spacing:-.02em; }
.hf-editor-hads:has([data-hads-qa]) .hf-editor-lead { font-size:clamp(16px,1.5vw,20px); line-height:1.55; }
.hf-hads-qa { min-width:0; box-shadow:0 12px 40px rgba(86,113,130,.16); }
.hf-hads-qa h2,.hf-hads-qa legend { font-size:clamp(22px,2.2vw,30px); font-weight:600; line-height:1.2; }
.hf-hads-qa p,.hf-hads-result p { color:#4b5563; line-height:1.55; overflow-wrap:anywhere; }
.hf-hads-qa .hf-hads-hint,.hf-hads-result .hf-hads-hint { font-size:15px; margin:12px 0 0; }
.hf-hads-guide { display:grid; gap:14px; padding:0; margin:0 0 24px; list-style:none; color:#4b5563; }
.hf-hads-guide li { display:flex; gap:12px; align-items:center; }
.hf-hads-guide svg { flex:0 0 38px; height:38px; padding:9px; border-radius:50%; background:var(--hf-surface); color:var(--hf-primary); }
.hf-hads-counter { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 12px; font-size:14px; color:#4b5563; }
.hf-hads-counter span:first-child { font-weight:600; color:var(--hf-text); }
.hf-hads-segments { display:grid; grid-template-columns:repeat(14,minmax(0,1fr)); gap:4px; margin:10px 0 24px; }
.hf-hads-segments span { height:6px; border-radius:16px; background:var(--hf-surface); }
.hf-hads-segments .is-filled { background:var(--hf-primary); }
.hf-hads-qa fieldset { border:0; padding:0; margin:0; min-inline-size:0; }
.hf-hads-qa legend { padding:0; max-width:100%; }
.hf-hads-qa-choices { display:grid; gap:10px; margin:16px 0 0; }
.hf-hads-qa-choices button { display:flex; align-items:center; gap:12px; min-height:56px; padding:10px 16px; border:1px solid var(--hf-hads-rule,rgba(86,113,130,.28)); border-radius:16px; background:#fff; color:var(--hf-text); text-align:left; font:inherit; cursor:pointer; }
.hf-hads-qa-choices button::before { content:""; flex:none; width:18px; height:18px; border:1px solid var(--hf-primary); border-radius:50%; }
.hf-hads-qa-choices button:hover,.hf-hads-qa-choices button[aria-pressed=true] { background:var(--hf-surface); border-color:var(--hf-primary); }
.hf-hads-qa-choices button[aria-pressed=true]::before { background:var(--hf-primary); box-shadow:inset 0 0 0 4px var(--hf-surface); }
.hf-hads-qa input { accent-color:var(--hf-primary); }
.hf-hads-qa input[type=email] { display:block; width:100%; min-height:56px; margin-top:8px; padding:12px 18px; border-radius:9999px; border:1px solid var(--hf-primary); color:var(--hf-text); font:inherit; }
[data-hads-finish] { margin-top:18px; }
.hf-hads-qa [aria-invalid] { border-color:#a72a36; }
.hf-hads-qa .hf-hads-error { color:#a72a36; font-size:14px; margin:0; }
.hf-hads-error span:not(:empty) { display:block; padding:8px 0; }
.hf-hads-error span:not(:empty)::before { content:"!"; display:inline-grid; place-items:center; border:1px solid; border-radius:50%; width:18px; height:18px; font-weight:600; margin-right:8px; }
.hf-hads-actions { margin-top:16px; }
.hf-hads-wide { width:100%; }
.hf-hads-link-button { display:inline-block; min-height:44px; border:0; background:none; color:var(--hf-text); cursor:pointer; font:inherit; font-size:15px; text-decoration:underline; text-underline-offset:4px; }
[data-hads-email-back] { width:100%; margin-top:8px; }
.hf-hads-result { width:min(calc(100vw - 96px),1344px); margin:28px 0 96px; margin-inline-start:calc((100% - min(calc(100vw - 96px),1344px)) / 2); padding:48px; border-radius:48px; background:var(--hf-surface); scroll-margin-top:20px; }
.hf-hads-result-inner { max-width:1104px; margin-inline:auto; }
.hf-hads-result-sheet { padding:40px; text-align:center; background:#fff; border-radius:32px; box-shadow:0 12px 40px rgba(86,113,130,.16); }
.hf-hads-result-sheet h2 { margin:0 0 24px; }
.hf-hads-qa-scores { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.hf-hads-result-sheet .hf-hads-qa-scores { max-width:820px; margin-inline:auto; }
.hf-hads-score { border-radius:24px; padding:24px; background:var(--hf-bg); }
.hf-hads-score .hf-hads-score-label { font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin:0; }
.hf-hads-score .hf-hads-value { color:var(--hf-text); font:500 18px/1.15 var(--hf-font-data); font-variant-numeric:tabular-nums; margin:10px 0; }
.hf-hads-value strong { font-size:clamp(44px,5vw,76px); font-weight:600; }
.hf-hads-score .hf-hads-tier { display:inline-flex; align-items:center; gap:6px; padding:4px 12px; border-radius:9999px; margin:0 0 16px; background:#dcefe4; color:#245c43; font-size:14px; font-weight:600; }
.hf-hads-score[data-tier=mid] .hf-hads-tier { background:#f9ebcf; color:#755112; }
.hf-hads-score[data-tier=high] .hf-hads-tier { background:#f8e2e5; color:#922531; }
.hf-hads-scale,.hf-hads-scale-labels { display:grid; grid-template-columns:7.5fr 3fr 10.5fr; gap:2px; }
.hf-hads-scale { position:relative; height:8px; }
.hf-hads-scale i { border-radius:16px; background:var(--hf-accent); }
.hf-hads-scale i:nth-child(2) { background:#9dbbcb; }
.hf-hads-scale i:nth-child(3) { background:var(--hf-primary); }
.hf-hads-scale b { position:absolute; left:var(--hf-hads-marker,0%); top:50%; transform:translate(-50%,-50%); width:14px; height:14px; border:2px solid var(--hf-text); border-radius:50%; background:#fff; }
.hf-hads-scale-labels { margin-top:7px; font:500 12px/1.3 var(--hf-font-data); font-variant-numeric:tabular-nums; }
.hf-hads-reading,.hf-hads-help { margin-top:24px; }
.hf-hads-reading article { padding-inline:12px; }
.hf-hads-reading h3 { margin:0 0 8px; }
.hf-hads-reading p,.hf-hads-help p { margin:0; }
.hf-hads-result-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 24px; margin-top:24px; }
.hf-hads-help aside { border-radius:24px; padding:20px 24px; background:#fff; }
.hf-hads-help strong { display:block; margin-bottom:6px; }
.hf-hads-help a[href^="tel:"] { text-decoration:none; font-weight:600; }
@media (max-width:700px) {
 .hf-hads-result { width:calc(100% + 16px); margin:16px -8px 52px; padding:12px; border-radius:32px; }
 .hf-hads-result-sheet { padding:20px 14px; border-radius:24px; }
 .hf-hads-qa-scores { grid-template-columns:1fr; gap:12px; }
 .hf-hads-score { padding:20px; }
 .hf-hads-result-actions .hf-a-button { width:100%; }
}
