.hf{margin-top:24px;padding-top:24px;border-top:1px solid var(--line,#29313e)}
.hf h3{margin:0 0 12px}.hf-tutorial p{line-height:1.7;margin:0 0 24px}
.hf-fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}.hf-fieldset legend{font-weight:650;margin-bottom:10px;font-size:15px}
.hf-choices{display:flex;flex-wrap:wrap;gap:8px}.hf-choice{display:flex;align-items:center;gap:9px;border:1px solid var(--line,#29313e);border-radius:10px;padding:11px 14px;cursor:pointer;font-size:14px;background:var(--surface,#10141d)}
.hf-choice:has(input:checked){border-color:#c7d2e4;background:rgba(199,210,228,.09)}.hf-choice:focus-within{outline:2px solid #96c7fa;outline-offset:3px}
.hf-choice input{accent-color:#dce4f3;margin:0;width:16px;height:16px;flex-shrink:0}.hf-help{font-size:13px;line-height:1.65;color:var(--muted,#a5adbc);margin:6px 0 14px}
.hf-automatic{margin-bottom:24px}.hf-measurements{margin:16px 0}.hf-measurements>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#29313e)}
.hf-measurements dt{font-size:14px}.hf-measurements dd{margin:0;text-align:right;font-size:14px;font-variant-numeric:tabular-nums}
.hf-submit{margin:0 0 24px}.hf-submit:disabled{opacity:.45;cursor:not-allowed}.hf-result-section{margin-top:12px}.hf-reasons{padding:16px;border:1px solid var(--line,#29313e);border-radius:12px;margin-bottom:20px}
.hf-reasons h4{margin:0 0 10px;font-size:14px}.hf-reasons ul{padding-left:20px;margin:0;line-height:1.65;font-size:14px}.hf-reasons li+li{margin-top:8px}
.hf-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin-bottom:16px}.hf-result{min-width:0;overflow:hidden;border:1px solid var(--line,#29313e);border-radius:12px;background:var(--surface,#10141d)}
.hf-result img{display:block;width:100%;height:auto;aspect-ratio:412/464;object-fit:contain}.hf-result>div{padding:16px}.hf-number{font-family:var(--mono,monospace);font-size:11px;color:var(--muted,#a5adbc)}
.hf-result h4{font-size:17px;line-height:1.3;margin:6px 0 18px}.hf-result h5{font-size:12px;margin:18px 0 6px}.hf-result p{font-size:13px;line-height:1.65;margin:0;overflow-wrap:anywhere}
@media(max-width:520px){.hf-choices{flex-direction:column}.hf-choice{min-height:46px}.hf-measurements>div{display:block}.hf-measurements dd{text-align:left;margin-top:6px}.hf-submit{width:100%;justify-content:center}}
