/* Results chat and curation (curate.js). Small, quiet controls; the anagram stays the focus. */
.ws-cur{display:flex;flex-wrap:wrap;gap:4px;padding:0 8px 8px}
.ws-cur button{font:13px/1 var(--sans);min-height:32px;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--muted);cursor:pointer}
.ws-cur button:focus-visible{color:var(--ink);border-color:var(--gold)}
@media(hover:hover){.ws-cur button:hover{color:var(--ink);border-color:var(--gold)}} /* no sticky hover after a tap on a phone */
.ws-cur .ws-cur-remove:hover,.ws-cur .ws-cur-remove:focus-visible{color:var(--ws-red);border-color:var(--ws-red)}
.ws-result[data-curation=pinned]{border-color:var(--gold);background:#fffaf0}
.ws-result[data-curation=pinned] .ws-result-text:before{content:"★ ";color:var(--gold)}
.ws-result[data-curation=demoted]{opacity:.72}
.ws-refined{color:#7a5410;font-weight:600}
.ws-curate{margin:14px 0 0;display:grid;gap:8px}
.ws-curate-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.ws-curate-bar .ws-key{margin:0}
.ws-bans{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ws-bans:empty{display:none}
.ws-bans-label{font-size:13px;color:var(--muted)}
.ws-ban{font:600 13px/1 var(--sans);letter-spacing:.04em;padding:4px 4px 4px 10px;border-radius:999px;background:#f6e3df;color:#7a2a20;display:inline-flex;align-items:center;gap:4px}
.ws-ban .quiet-button{font-size:12px;min-height:28px;padding:2px 8px}
.ws-hidden-wrap summary{cursor:pointer;color:var(--muted);font-size:14px;min-height:32px;display:flex;align-items:center;gap:6px}
.ws-hidden-row{opacity:.7;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}
.ws-hidden-row .ws-result-text{width:auto;flex:1 1 60%;text-decoration:line-through;text-decoration-color:#b63f3266;font-size:17px}
.ws-hidden-row .ws-result-note{padding:0 8px}
.ws-chat-panel{margin:22px 0 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fbf8f1}
.ws-chat-panel h3{margin-top:0}
.ws-chat .agchat{height:min(520px,70dvh)}
@media print{.ws-cur,.ws-curate,.ws-chat-panel{display:none!important}}
/* "Submit to the archive" on a result reads as a real action, a pill beside Pin / Move down / Remove (William, 21 Nov 2026:
   it looked greyed out). When the subject cannot be submitted, the pill stays readable and an info mark says a tap explains why. */
.ws-result .archive-submit{display:block;margin:0;padding:0 8px 8px;font:13px/1 var(--sans)}
.ws-result .archive-submit-link{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:6px 12px;border-radius:999px;border:1px solid var(--ws-red,#b63f32);background:#fff;color:var(--ws-red,#b63f32);font:600 13px/1 var(--sans);text-decoration:none}
.ws-result a.archive-submit-link:hover,.ws-result a.archive-submit-link:focus-visible{background:var(--ws-red,#b63f32);color:#fff}
.ws-result .archive-submit-link[aria-disabled="true"]{border-color:var(--line);color:var(--ink);font-weight:500;cursor:help}
.ws-result .archive-submit-link[aria-disabled="true"]::after{content:"i";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;border:1px solid var(--muted);color:var(--muted);font:italic 600 11px/1 Georgia,serif}
.ws-result .archive-submit-known{display:inline-block;padding:6px 0;color:var(--muted)}
/* Why a subject cannot be submitted opens inside the card, under the pill (William, 23 Nov 2026: "Clicking the archive
   button did nothing and created a brown line under the button"). The card clips overflow, so the floating tooltip
   showed only its top edge; it now takes its own space, opened and closed by a tap, never by hover. */
.ws-result .archive-submit-tip{position:static;display:none;width:auto;max-width:44ch;margin:8px 0 0;opacity:1;visibility:visible;transition:none;pointer-events:auto}
.ws-result .archive-submit:hover .archive-submit-tip,.ws-result .archive-submit:focus-within .archive-submit-tip{display:none}
.ws-result .archive-submit.tip-open .archive-submit-tip{display:block}
.ws-result .archive-submit-override-help{display:block;margin-top:6px;color:#e9d9b4}
.ws-result .archive-submit-anyway{display:inline-block;margin-top:8px;padding:6px 12px;border-radius:999px;background:#fffaf0;color:#3c2414;font:600 13px/1 var(--sans);text-decoration:none}
.ws-result .archive-submit-anyway:hover,.ws-result .archive-submit-anyway:focus-visible{background:#fff;text-decoration:underline}
