/* "Know it in feet / cm?" row under the height field (js/tools/shared/health-height-helper.js). One compact line. */
.ht-hconv {
    display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem;
    margin-top: .5rem; font-size: 11px; line-height: 1.2; color: #71717a;
}
.ht-hconv[hidden] { display: none; }
.dark .ht-hconv { color: #a1a1aa; }
.ht-hconv-lbl { font-weight: 600; }
.ht-hconv-f { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }
.ht-hconv-in {
    width: 3.5rem; height: 1.75rem; padding: 0 .4rem; box-sizing: border-box;
    border: 1px solid #d4d4d8; border-radius: .5rem; background: #fafafa;
    color: #18181b; font-size: 12px; font-weight: 700; text-align: right;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dark .ht-hconv-in { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #f4f4f5; }
.ht-hconv-in:focus { outline: none; border-color: #f43f5e; box-shadow: 0 0 0 3px rgba(244, 63, 94, .18); }
#ht-hconv-cm { width: 4.5rem; }
.ht-hconv-in::-webkit-inner-spin-button, .ht-hconv-in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ht-hconv-in { -moz-appearance: textfield; appearance: textfield; }
.ht-hconv-link {
    margin-left: auto; display: inline-flex; align-items: center; gap: .3rem;
    color: #e11d48; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.dark .ht-hconv-link { color: #fb7185; }
.ht-hconv-link:hover { text-decoration: underline; }
.ht-hconv-link i { font-size: 10px; }
@media (pointer: coarse) {
    /* 16px stops iOS from zooming the page when the box is focused; narrower boxes keep the row on one line */
    .ht-hconv-in { font-size: 16px; height: 1.875rem; width: 3rem; padding: 0 .3rem; }
    #ht-hconv-cm { width: 4rem; }
    .ht-hconv { gap: .25rem .4rem; }
}
@media print { .ht-hconv { display: none; } }
