/* ClientBatchID → Dolibarr proposal validator widget. Scoped under .pv-*. */
.pv-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pv-row > input{flex:0 0 auto}
.pv-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;font-size:13px;font-weight:500;color:#fff;background:#2b6cb0;border:1px solid #2b6cb0;border-radius:4px;cursor:pointer;vertical-align:middle;line-height:1.4;transition:background-color .15s ease;font-family:inherit;white-space:nowrap}
.pv-btn:hover:not(:disabled){background:#234e8d}
.pv-btn:focus{outline:2px solid #63b3ed;outline-offset:2px}
.pv-btn:disabled{background:#a0aec0;border-color:#a0aec0;cursor:not-allowed}
.pv-hint{margin-top:6px;font-size:12px;color:#718096;line-height:1.5}
.pv-hint code{background:#edf2f7;color:#2b6cb0;padding:1px 5px;border-radius:3px;font-size:11.5px}
.pv-panel{display:none;margin-top:12px;padding:12px 16px;border:1px solid #cbd5e0;border-radius:6px;background:#f7fafc;font-size:13px;line-height:1.5;max-width:760px}
.pv-panel.pv-active{display:block}
.pv-panel.pv-stale{opacity:.6}
.pv-panel.pv-stale::before{content:"↻ Reference changed — click Find proposal again";display:block;margin-bottom:8px;font-style:italic;color:#718096;font-size:12px}
.pv-status{display:flex;align-items:center;gap:8px;font-weight:500}
.pv-status.pv-found{color:#22543d}
.pv-status.pv-not-found{color:#742a2a}
.pv-status.pv-error{color:#7b341e}
.pv-status.pv-loading{color:#4a5568}
.pv-chip{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:700;flex-shrink:0}
.pv-chip.pv-found{background:#c6f6d5;color:#22543d}
.pv-chip.pv-not-found{background:#fed7d7;color:#742a2a}
.pv-chip.pv-error{background:#feebc8;color:#7b341e}
.pv-chip.pv-loading{background:#e2e8f0;color:#4a5568}
.pv-summary{margin-top:4px;color:#2d3748}
.pv-summary strong{color:#1a365d}
.pv-meta{color:#718096;font-size:12px}
.pv-warn{margin-top:10px;padding:8px 12px;background:#fffaf0;border-left:3px solid #dd6b20;color:#7b341e;font-size:12.5px;border-radius:0 4px 4px 0}
.pv-pdf{display:block;width:100%;height:620px;margin-top:12px;border:1px solid #cbd5e0;border-radius:4px;background:#fff}
.pv-actions{margin-top:10px;display:flex;gap:8px}
.pv-actions button{padding:4px 10px;font-size:12px;background:#fff;border:1px solid #cbd5e0;border-radius:3px;cursor:pointer;color:#4a5568;font-family:inherit}
.pv-actions button:hover{background:#edf2f7}
.pv-spinner{display:inline-block;width:14px;height:14px;border:2px solid #cbd5e0;border-top-color:#2b6cb0;border-radius:50%;animation:pv-spin .7s linear infinite}
.pv-client-chip{display:inline-block;margin-top:6px;padding:4px 10px;background:#c6f6d5;color:#22543d;border-radius:3px;font-size:12.5px;font-weight:500}
@keyframes pv-spin{to{transform:rotate(360deg)}}
