/* FIX17: one visible selection drives every recognition action. */
.add-v460-mode[data-add-mode-panel=single] .candidate-strip{display:block;max-height:none;overflow:visible;padding:12px 14px 18px;border-top:1px solid #738db333}
.candidate-strip[hidden]{display:none!important}
.fx17-candidate-heading{display:grid;gap:5px;margin-bottom:12px}
.fx17-candidate-heading strong{font-size:15px;color:var(--text,#eaf2ff)}
.fx17-candidate-heading small{font-size:12px;line-height:1.5;color:#a9bed8}
.fx17-candidate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;max-height:380px;overflow:auto;padding:4px;scrollbar-gutter:stable}
.add-v460-mode[data-add-mode-panel=single] .candidate{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:auto;min-width:0;padding:9px;border:1px solid #7892b34d;border-radius:13px;background:#101e35;color:#eaf2ff;text-align:left;font:inherit;cursor:pointer}
.add-v460-mode[data-add-mode-panel=single] .candidate img{width:100%;height:125px;object-fit:contain;background:#081222;flex:none}
.add-v460-mode[data-add-mode-panel=single] .candidate strong{white-space:normal;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.add-v460-mode[data-add-mode-panel=single] .candidate small{font-size:11px;line-height:1.4;color:#b2c6df;overflow-wrap:anywhere}
.candidate.active{border-color:#39d9ff!important;box-shadow:0 0 0 2px #39d9ff55;background:#15334c!important}
.candidate:focus-visible,.result-row:focus-visible{outline:3px solid #82e8ff;outline-offset:2px}
.fx17-selection-label{margin-top:auto;padding-top:7px;color:#7ce5ff;font-size:12px;font-weight:700}
.best-card>div{min-width:0}
.best-card .fx-scan-set-mark{display:block;width:auto!important;height:auto!important;max-width:120px!important;max-height:38px!important;object-fit:contain!important;object-position:left center;border-radius:0;background:none;box-shadow:none;margin:8px 0}
.best-card .fx-scan-set-mark[hidden]{display:none!important}
@media(max-width:520px){.fx17-candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:360px}.add-v460-mode[data-add-mode-panel=single] .candidate{min-height:44px}.add-v460-mode[data-add-mode-panel=single] .candidate img{height:132px}.best-card .eyebrow{font-size:10px;line-height:1.5}.best-card h3{overflow-wrap:anywhere}}
