/* Unit Converter (/tools/convert/). */
.cv-quick { display: grid; gap: 8px; margin-bottom: 16px; }
.cv-quick label { font-size: 13px; }
/* 16px stops iOS zooming into the main field */
.cv-quick .field { width: 100%; min-width: 0; padding: 10px 12px; font-size: 16px; }
.cv-out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 30px; font-size: 14px; }
.cv-out b { font-family: var(--mono); font-size: 16px; overflow-wrap: anywhere; }

.cv-in { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.cv-in .field { flex: 1 1 160px; min-width: 0; }
.cv-in select.field { flex: 1 1 220px; }

.cv-rows { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cv-row {
    width: 100%; min-height: 40px; border: 1px solid transparent; color: var(--text); font: inherit; font-size: 14px;
    text-align: left; cursor: pointer; transition: border-color var(--fast);
}
.cv-row:hover { border-color: var(--line-strong); }
.cv-row.on { background: var(--accent-soft); border-color: var(--btn-line); }
.cv-row .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-row b { font-family: var(--mono); font-size: 13px; font-weight: 400; text-align: right; overflow-wrap: anywhere; }
.cv-note { margin: 12px 0 0; font-size: 13px; }
.cv-note:empty { display: none; }
