/* LINKS L5 2026-05-27 · NH Link Picker · modal styles */
.nh-lp-wrap { position: fixed; inset: 0; z-index: 99500; display: flex; align-items: center; justify-content: center; padding: 20px; animation: nh-lp-in 0.15s ease-out; }
@keyframes nh-lp-in { from { opacity: 0; } to { opacity: 1; } }
.nh-lp-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(2px); }
.nh-lp-modal { position: relative; background: var(--surface, #1e293b); color: var(--text-1, #e2e8f0); border: 1px solid var(--border, #334155); border-radius: 10px; padding: 18px; width: 100%; max-width: 540px; max-height: 85vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.nh-lp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border, #334155); }
.nh-lp-title { font-size: 14px; font-weight: 700; }
.nh-lp-title .nh-lp-key { font-family: ui-monospace, monospace; color: var(--accent, #3b82f6); }
.nh-lp-close { background: transparent; border: none; color: var(--text-3, #94a3b8); cursor: pointer; font-size: 18px; padding: 4px 8px; border-radius: 4px; }
.nh-lp-close:hover { background: var(--surface-2, #243248); color: var(--text-1, #e2e8f0); }
.nh-lp-body { display: flex; flex-direction: column; gap: 12px; }
.nh-lp-field { display: flex; flex-direction: column; }
.nh-lp-field label { font-size: 11px; color: var(--text-3, #94a3b8); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 600; }
.nh-lp-field select, .nh-lp-field input { padding: 8px 10px; background: var(--surface-2, #243248); border: 1px solid var(--border, #334155); border-radius: 6px; color: var(--text-1, #e2e8f0); font-size: 13px; font-family: inherit; }
.nh-lp-field select:focus, .nh-lp-field input:focus { outline: none; border-color: var(--accent, #3b82f6); box-shadow: 0 0 0 2px rgba(59,130,246,0.2); }
.nh-lp-results { max-height: 200px; overflow-y: auto; border: 1px solid var(--border, #334155); border-radius: 6px; margin-top: 6px; background: var(--surface-2, #243248); }
.nh-lp-results:empty { display: none; }
.nh-lp-item { padding: 8px 10px; cursor: pointer; display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--border, #334155); font-size: 12px; }
.nh-lp-item:last-child { border-bottom: none; }
.nh-lp-item:hover { background: rgba(59,130,246,0.08); }
.nh-lp-item.selected { background: rgba(59,130,246,0.18); border-left: 3px solid var(--accent, #3b82f6); padding-left: 7px; }
.nh-lp-item-k { font-family: ui-monospace, monospace; color: var(--accent, #3b82f6); font-weight: 600; min-width: 90px; }
.nh-lp-item-s { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-lp-item-st { font-size: 10px; background: var(--surface, #1e293b); padding: 2px 6px; border-radius: 4px; color: var(--text-3, #94a3b8); }
.nh-lp-empty { padding: 14px; text-align: center; color: var(--text-3, #94a3b8); font-size: 12px; }
.nh-lp-err { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4); color: #ef4444; padding: 8px 10px; border-radius: 6px; font-size: 12px; }
.nh-lp-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border, #334155); }
.nh-lp-btn { padding: 7px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border, #334155); background: var(--surface-2, #243248); color: var(--text-1, #e2e8f0); }
.nh-lp-btn:hover { background: var(--surface-3, #2d3a52); }
.nh-lp-btn.primary { background: var(--accent, #3b82f6); border-color: var(--accent, #3b82f6); color: white; }
.nh-lp-btn.primary:hover { background: #2563eb; }
.nh-lp-btn.primary:disabled { opacity: 0.5; cursor: not-allowed; background: var(--surface-2, #243248); border-color: var(--border, #334155); color: var(--text-3, #94a3b8); }
