/* WorkToolSet — two-folder duplicate review PRO (keeps the existing FREE tool untouched). */
.wts-duplicate-pro{margin-top:24px;padding:22px;display:grid;gap:17px}
.wts-dp-heading{display:flex;gap:13px;align-items:flex-start}
.wts-dp-heading .pro-badge{flex:none;margin-top:3px}
.wts-dp-heading h2{font-size:1.24rem;line-height:1.3;margin:0 0 7px}
.wts-dp-heading p{color:var(--text-muted,#657388);line-height:1.6;margin:0}
.wts-dp-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wts-dp-folder{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px dashed var(--border,#bdc9d8);border-radius:13px;min-width:0;background:var(--surface,#fff)}
.wts-dp-folder strong{font-size:.95rem}
.wts-dp-folder input{width:100%;max-width:100%;font:inherit}
.wts-dp-folder small{overflow-wrap:anywhere;color:var(--text-muted,#657388)}
.wts-dp-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.wts-dp-toolbar .field{min-width:195px;max-width:330px;flex:1}
.wts-dp-toolbar button{min-height:39px}
.wts-dp-progress{font-size:.92rem;min-height:22px;overflow-wrap:anywhere;color:var(--text-muted,#657388)}
.wts-dp-results{display:grid;gap:15px}
.wts-dp-results[hidden]{display:none}
.wts-dp-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wts-dp-metrics>div{padding:13px;border-radius:11px;background:var(--surface-soft,#f3f7fb);border:1px solid var(--border,#dae2ed);display:flex;flex-direction:column;gap:5px}
.wts-dp-metrics strong{font-size:1.38rem;font-weight:800}
.wts-dp-metrics span{font-size:.8rem;line-height:1.4;color:var(--text-muted,#657388)}
.wts-dp-table-wrap{overflow:auto;max-height:560px;border:1px solid var(--border,#dde4ed);border-radius:12px}
.wts-dp-table{border-collapse:collapse;min-width:820px;width:100%;font-size:.88rem}
.wts-dp-table th,.wts-dp-table td{padding:12px 13px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border,#e3e9f2)}
.wts-dp-table th{position:sticky;top:0;background:var(--surface,#fff);z-index:1;font-weight:700}
.wts-dp-table td strong{display:block;overflow-wrap:anywhere;max-width:400px}
.wts-dp-table td small{display:block;margin-top:5px;overflow-wrap:anywhere;color:var(--text-muted,#657388);line-height:1.5}
.wts-dp-status{display:inline-block;padding:4px 8px;border-radius:7px;max-width:230px;line-height:1.4;background:var(--surface-soft,#eff4fa)}
.wts-dp-status.conflict,.wts-dp-status.unverified{background:#fff2df;color:#804607}
.wts-dp-status.identical{background:#e2f5eb;color:#16683d}
.wts-dp-status.crosscopy{background:#eaf0ff;color:#2c5289}
.wts-dp-decision{font:inherit;max-width:205px;min-height:36px;padding:5px 8px;border-radius:8px;border:1px solid var(--border,#bbc5d5);background:var(--surface,#fff);color:inherit}
.wts-dp-count{font-size:.86rem;margin:0;color:var(--text-muted,#657388)}
.wts-dp-safety{margin:0}
@media(max-width:760px){.wts-duplicate-pro{padding:15px}.wts-dp-inputs{grid-template-columns:1fr}.wts-dp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.wts-dp-toolbar .field{max-width:none;min-width:100%}}
@media(prefers-color-scheme:dark){.wts-dp-status.conflict,.wts-dp-status.unverified{background:#52371f;color:#ffe1a9}.wts-dp-status.identical{background:#193e2f;color:#c5f6d7}.wts-dp-status.crosscopy{background:#1c3559;color:#c6dcff}}

/* Local-first trust: one visible note above the catalogue, not hidden in the side rail. */
.tool-local-trust-note{display:flex;align-items:center;gap:10px;margin:17px 0 0;padding:12px 15px;border:1px solid var(--line,#d7e5e8);border-radius:12px;background:var(--surface,#f6fafb)}
.tool-local-trust-note p{margin:0;line-height:1.5;font-size:.87rem}
.tool-local-trust-note strong{color:var(--text,#263448)}
.tool-local-trust-note a{margin-left:6px;text-decoration:underline;text-underline-offset:2px}
.tool-local-trust-dot{color:#16805d;flex:none;font-size:14px}
@media(max-width:760px){.tool-local-trust-note{margin-top:12px;padding:11px 13px;align-items:flex-start}.tool-local-trust-note a{display:inline-block}}

/* Make the local-first privacy message clearly visible above the catalogue. */
.tool-local-trust-note{border:1px solid #72c894;border-left:4px solid #168b4d;background:linear-gradient(105deg,#ddf8e5 0%,#eefbf1 100%);color:#175638;box-shadow:0 4px 14px rgba(24,128,72,.09)}
.tool-local-trust-note strong{color:#0e6b39;font-weight:850}
.tool-local-trust-note p{color:#175638}
.tool-local-trust-note a{color:#08683c;font-weight:750;text-decoration-thickness:1.5px}
.tool-local-trust-dot{color:#168b4d}
@media(prefers-color-scheme:dark){.tool-local-trust-note{background:linear-gradient(105deg,#153e2a,#1b4b34);border-color:#469c68;color:#ddf8e7}.tool-local-trust-note p,.tool-local-trust-note strong,.tool-local-trust-note a{color:#def8e7}.tool-local-trust-dot{color:#80dfa9}}

/* Lot 324: searchable, paginated PRO consolidation and decision progress. */
.wts-dp-toolbar .field input[type=search]{min-height:40px;width:100%;font:inherit;padding:8px 10px;box-sizing:border-box}
.wts-dp-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:8px 0 0}
.wts-dp-pagination[hidden]{display:none}
.wts-dp-pagination label{display:inline-flex;align-items:center;gap:7px;font-size:.9rem}
.wts-dp-pagination input{width:80px;min-height:37px;padding:5px 8px}
.wts-dp-pagination span{font-variant-numeric:tabular-nums}
