.cda-workspace { padding: 14px 0; border-top: 1px solid #cbd5e1; color: #172033; font-size: calc(var(--lcw-font-scale, 1) * 12px); line-height: 1.4; }
.cda-workspace h3, .cda-workspace h4, .cda-workspace h5 { margin: 8px 0; font-size: 1em; letter-spacing: 0; }
.cda-tools { display: flex; gap: 8px; align-items: end; margin: 8px 0; flex-wrap: wrap; }
.cda-tools label, .cda-classify label { flex: 1 1 160px; min-width: 0; }
.cda-workspace label { display: block; font-size: .92em; }
.cda-workspace input:not([type=checkbox]), .cda-workspace select, .cda-workspace textarea { width: 100%; box-sizing: border-box; font: inherit; min-width: 0; margin-top: 4px; }
.cda-workspace textarea { resize: vertical; }
.cda-workspace button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font: inherit; min-height: 30px; max-width: 100%; border-radius: 4px; }
.cda-workspace button svg { width: 16px; height: 16px; flex-shrink: 0; }
.cda-consent { padding: 8px 0; border-bottom: 1px solid #e2e8f0; }
.cda-consent label { margin: 6px 0; display: flex; align-items: center; gap: 7px; }
.cda-workspace .cda-consent input[type="checkbox"] { width: 16px; height: 16px; min-height: 16px; flex: 0 0 16px; margin: 0; padding: 0; }
.cda-message { color: #7c3d00; white-space: pre-wrap; overflow-wrap: anywhere; }
.cda-group { border-bottom: 1px solid #d7e0ec; padding: 10px 0; }
.cda-group summary, .cda-comparison summary { cursor: pointer; font-weight: 700; }
.cda-group summary span { color: #5b6576; font-weight: 400; }
.cda-entry { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid #edf0f4; }
.cda-entry > div:first-child { min-width: 0; flex: 1; }
.cda-entry p, .cda-comparison p { margin: 8px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cda-entry-actions { display: flex; gap: 4px; align-items: start; }
.cda-badge, .cda-importance { display: inline-block; font-size: .8em; padding: 3px 5px; margin-right: 5px; background: #eef2f6; }
.cda-badge.state-needs_review { background: #fff1bf; color: #774500; }
.cda-badge.state-human_verified { background: #d8f5e9; color: #08664b; }
.cda-badge.state-rejected { background: #fee2e2; color: #991b1b; }
.cda-editor { border-left: 4px solid #1764e8; padding: 12px; background: #f1f7ff; margin: 12px 0; }
.cda-editor > label { margin: 10px 0; }
.cda-editor header { display: flex; justify-content: space-between; gap: 8px; }
.cda-editor pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow-y: auto; }
.cda-classify { display: flex; gap: 8px; align-items: end; margin: 14px 0; }
.cda-empty, .cda-workspace small { color: #647084; font-size: .88em; }
.cda-comparisons { border-top: 1px solid #cbd5e1; padding-top: 10px; }
.cda-comparison { border-bottom: 1px solid #cbd5e1; padding: 12px 0; }
.cda-comparison small { display: block; margin-top: 6px; }
.cda-import input { font-size: .85em; }
@media (max-width: 600px) { .cda-entry-actions { flex-direction: column; } .cda-tools > label { flex-basis: 100%; } .cda-tools button { flex-wrap: wrap; } }
.cda-stale { background: #fff4d6; border-left: 3px solid #b77908; padding: 8px; color: #654407; }
