.vf-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.vf-code { margin-top: 15px; }
.vf-ocr { margin-top: 17px; padding: 13px; border: 1px solid var(--cc-line); border-radius: 8px; background: var(--cc-base); }
.vf-ocr > label { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.vf-ocr > label .ic { width: 18px; height: 18px; color: var(--cc-active); }
.vf-ocr input[type=file] { width: 100%; min-width: 0; color: var(--cc-text); font: inherit; font-size: .88rem; }
.vf-ocr input::file-selector-button {
    min-height: 40px;
    margin-inline-end: 8px;
    padding: 5px 10px;
    border: 1px solid var(--cc-line);
    border-radius: 5px;
    background: var(--cc-card);
    color: var(--cc-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.vf-help { font-size: .87rem; line-height: 1.45; color: var(--cc-muted); margin: 6px 0 0; }
.vf-preview { margin-top: 12px; }
.vf-preview canvas { display: block; max-width: 100%; max-height: 290px; width: auto; height: auto; border-radius: 5px; background: #101827; touch-action: none; cursor: crosshair; }
.vf-photo-actions, .vf-candidates { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.vf-photo-actions .btn, .vf-candidates .btn { min-height: 38px; }
.vf-ocr-status { margin: 10px 0 0; font-size: .93rem; color: var(--cc-active); }
.vf-hit { margin-top: 13px; padding: clamp(13px, 2.5vw, 20px); border-radius: 8px; background: var(--cc-base); border: 1px solid var(--cc-line); }
.vf-hit__model { margin: 0 0 7px; color: var(--cc-muted); font-size: .88rem; font-weight: 700; }
.vf-hit__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.vf-hit__heading h3 { margin: 0; color: var(--cc-text); font-size: 1.12rem; }
.vf-hit__code { background: var(--cc-soft); color: var(--cc-active); padding: 3px 8px; border-radius: 5px; font-size: 1.08rem; font-weight: 700; }
.vf-hit dl { margin: 12px 0; }
.vf-hit dt { margin: 8px 0 2px; color: var(--cc-text); font-weight: 700; }
.vf-hit dd { margin: 0; color: var(--cc-muted); line-height: 1.5; }
.vf-manual { font-size: .86rem; }
.vf-coverage li + li { margin-top: 3px; }
@media (max-width: 820px) { .vf-grid { grid-template-columns: minmax(0, 1fr); } }
.vf-manuals { padding: 0; margin: 8px 0; list-style: none; }
.vf-manuals li + li { margin-top: 4px; }
.vf-catalogue { margin-top: 20px; }
.vf-browse { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,215px),1fr)); gap: 8px; padding: 0; list-style: none; }
.vf-browse li { min-width: 0; padding: 10px 12px; border: 1px solid var(--cc-line); border-radius: 6px; background: var(--cc-base); }
.vf-browse a { display: block; color: var(--cc-active); text-decoration: underline; font-weight: 700; overflow-wrap: anywhere; }
.vf-browse small { display: block; color: var(--cc-muted); }
.vf-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; list-style: none; }
.vf-table th, .vf-table td { text-align: left; }
.vf-table th:first-child { width: min(24%,180px); }
.vf-hit__model a { text-decoration: underline; text-underline-offset: .16em; }
