.collaboration-workbench{margin-block:1.25rem;border:1px solid var(--line,#d8dde5);border-radius:14px;padding:1rem;background:var(--surface,#fff);color:var(--text,#172333)}
.cw-heading,.cw-actions{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.cw-heading h2{font-size:1.15rem;margin:0}.cw-panel[hidden]{display:none}.cw-panel h3{font-size:1rem;margin-block:1.2rem .6rem}.cw-presence,.cw-status,.cw-comment small{font-size:.85rem}.cw-thread{border:1px solid var(--line,#d8dde5);border-radius:10px;padding:.8rem;margin-block:.65rem}.cw-thread>summary{cursor:pointer;font-weight:650;overflow-wrap:anywhere}.cw-badge{margin-inline-start:.7rem;color:var(--accent,#1354a3);font-size:.8rem}.cw-comment{border-block-end:1px solid var(--line,#d8dde5);padding-block:.8rem}.cw-comment p,.cw-anchor p{white-space:pre-wrap;overflow-wrap:anywhere}.cw-actions{justify-content:flex-start;margin-block:.8rem}.cw-field{display:grid;gap:.3rem;min-width:0;margin-block:.65rem}.cw-field>span{font-size:.85rem;font-weight:600}.cw-field textarea,.cw-field input,.cw-field select{box-sizing:border-box;width:100%;max-width:100%;font:inherit;padding:.55rem;border:1px solid var(--line,#c3cbd6);border-radius:7px;background:var(--surface,#fff);color:inherit}.cw-field input[type=checkbox]{width:auto;justify-self:start}.cw-composer{border-block-start:1px solid var(--line,#d8dde5);padding-block:.75rem}.cw-task{display:flex;align-items:end;gap:.7rem;flex-wrap:wrap}.cw-task h3{width:100%}.cw-task .cw-field{flex:1 1 140px}.cw-overdue,.cw-stale{color:var(--warning,#83500a)}.cw-anchor{margin:1rem 0;padding:.7rem;border-inline-start:3px solid currentColor;background:var(--surface-raised,#f2f5f9)}.cw-anchor small{display:block}.cw-history,.cw-revisions,.cw-anchor-editor{margin-block:.8rem}.cw-history summary,.cw-revisions summary,.cw-anchor-editor summary{cursor:pointer}.cw-change{display:grid;grid-template-columns:1fr auto 1fr;gap:.7rem;padding:.7rem 0;border-block-end:1px solid var(--line,#d8dde5)}.cw-change strong{grid-column:1/-1;overflow-wrap:anywhere}.cw-change pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.85rem}.collaboration-workbench button:focus-visible,.collaboration-workbench summary:focus-visible{outline:3px solid var(--accent,#1354a3);outline-offset:3px}.collaboration-workbench button{font:inherit;cursor:pointer}.collaboration-workbench button:disabled{cursor:wait;opacity:.65}@media(max-width:600px){.cw-task{display:block}.cw-actions button{flex:1 1 130px}.cw-change{grid-template-columns:1fr}.cw-change strong{grid-column:auto}.cw-thread{padding:.6rem}}

:root[data-theme="dark"] :is(.cw-overdue,.cw-stale){color:#ffd391}
.paper :is([data-paper-note],[data-paper-item]>span):focus{outline:2px solid #315b91;outline-offset:4px}
