/* ---- The case workspace (static/js/workspace.js; docs/specs/2026-10-18-case-workspace.html) ---- */
.ws-mode .phase-list li { cursor: default; }
.ws-board { margin-bottom: 1rem; }
.ws-question { font-size: 1.15rem; font-weight: 700; margin: 0 0 .4rem; }
.ws-how { color: var(--muted); margin: 0 0 1rem; max-width: 70ch; }
.ws-claims { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.ws-claim { border: 1px solid var(--border); border-radius: 8px; padding: .75rem .9rem; }
.ws-by { color: var(--muted); font-size: .8rem; margin: 0; text-transform: uppercase; letter-spacing: .04em; }
.ws-claim-text { font-weight: 600; margin: .2rem 0 .5rem; }
.ws-pins { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.ws-pins li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; padding: .25rem 0; border-top: 1px solid var(--border); }
.ws-stance { color: var(--muted); }
.ws-unpin { margin-left: auto; background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.ws-unpin:hover { color: var(--error); }
.ws-empty { color: var(--muted); font-size: .9rem; margin: 0; }
.ws-truth { margin: .5rem 0 0; font-size: .9rem; font-weight: 600; }
.ws-truth.ok, .ws-say.ok { color: var(--success); }
.ws-truth.miss, .ws-say.miss { color: var(--warning); }
.ws-actions { border: 1px solid var(--border); border-radius: 8px; padding: .75rem .9rem; margin-bottom: .75rem; }
.ws-sel { font-family: ui-monospace, Consolas, monospace; margin: 0 0 .5rem; }
.ws-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.ws-row select { max-width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: .3rem .4rem; }
.ws-say { min-height: 1.4em; margin: 0; }
.ws-picked { display: none; margin: -.25rem 0 .25rem; color: var(--muted); font-size: .85rem; flex-basis: 100%; }
@media (max-width: 600px) {          /* a phone cuts a long option short: each select is full width, its whole text below (#307) */
    #ws-pin-claim, #ws-pin-measure { flex-basis: 100%; }
    .ws-picked { display: block; }
}
.ws-sheet { margin-bottom: 1rem; }
.ws-report { border: 1px solid var(--border); border-radius: 8px; padding: 1rem; }
.ws-verdict { border: 1px solid var(--border); border-radius: 6px; margin: 0 0 .75rem; padding: .5rem .75rem; }
.ws-verdict legend { font-weight: 600; padding: 0 .25rem; }
.ws-verdict label { display: block; padding: .15rem 0; }
.ws-report-act { display: flex; gap: .5rem; }
.ws-scores { border-collapse: collapse; margin: .5rem 0 1rem; }
.ws-scores th, .ws-scores td { text-align: left; padding: .25rem .75rem .25rem 0; border-bottom: 1px solid var(--border); }
.ws-notes { margin: .25rem 0 1rem; padding-left: 1.2rem; }
.ws-notes li { margin: .3rem 0; }
.ws-reaction { margin: .3rem 0; }
.ws-reaction.pleased b { color: var(--success); }
.ws-reaction.angry b { color: var(--error); }
.ws-epilogue { color: var(--muted); margin: 1rem 0; }
/* Dr. Ray's debrief after the report: the habit first, the lifecycle stage last and quiet. */
.ws-debrief { border-left: 3px solid var(--border); padding: .25rem 0 .25rem .9rem; margin: 0 0 1rem; }
.ws-debrief h4 { margin: 0 0 .35rem; }
.ws-debrief p { margin: .3rem 0; }
.ws-debrief-habit { font-weight: 600; }
.ws-debrief-stage { color: var(--muted); font-size: .85rem; }
.ws-sources h4, .ws-entropy h4 { margin: 1rem 0 .5rem; }
.ws-source { border: 1px solid var(--border); border-radius: 6px; padding: .5rem .6rem; margin-bottom: .5rem; font-size: .85rem; }
.ws-source.collected { border-color: var(--success); }
.ws-source-head { display: flex; justify-content: space-between; gap: .5rem; }
.ws-source p { color: var(--muted); margin: .25rem 0 .4rem; }
.ws-have { color: var(--success); font-size: .85rem; }
.ws-collect { padding: .2rem .7rem; }
.ws-entropy-pin { border: 1px solid var(--border); border-left: 3px solid var(--entropy); border-radius: 6px; padding: .5rem .6rem; margin-bottom: .5rem; font-size: .85rem; }
.ws-entropy-pin p { margin: 0 0 .3rem; }
.ws-method { color: var(--muted); }
.ws-entropy-act { display: flex; gap: .4rem; }
