.tp-workbench { min-width: 0; }
.tp-info, .tp-empty { margin: 0 0 12px; color: var(--module-muted); line-height: 1.6; }
.tp-tabs, .tp-source-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.tp-tabs { margin: 0 0 16px; }
.dk-surface #view .tp-workbench button[aria-pressed=true] { color: var(--module-accent); background: var(--module-tint); border-color: var(--module-accent); }
.tp-layout, .tp-candidates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2cqi,24px); }
.tp-workbench h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.55; color: var(--module-ink); }
.tp-workbench small { color: var(--module-muted); font-size: 13px; line-height: 1.6; }
.tp-workbench :is(ol,ul) { list-style: none; margin: 0; padding: 0; }
.tp-evidence { padding: 14px; border-radius: 10px; background: color-mix(in srgb,var(--module-tint) 60%,white); }
.tp-sources li { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--module-line); }
.tp-sources li:last-child { border-bottom: 0; }
.tp-sources :is(small,strong) { display: block; overflow-wrap: anywhere; }
.tp-sources :is(button,.tp-source-actions) { flex: 0 0 auto; }
.tp-sources a { color: var(--module-accent); }
.tp-sources p { margin: 4px 0 0; font-size: 14px; }
.tp-sources strong { line-height: 1.5; }
.tp-workbench summary { padding: 7px 0; color: var(--module-accent); cursor: pointer; }
.tp-select { margin: 13px 0 0; }
.tp-candidate { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; border: 1px solid var(--module-border); border-radius: 12px; padding: 16px; overflow-wrap: anywhere; }
.tp-candidate h3,.tp-candidate p { margin: 0; }
.tp-candidate p { font-size: 15px; line-height: 1.65; white-space: pre-line; }
.tp-candidate .btn { margin-top: auto; }
@container workspace-view (max-width: 690px) {
  .tp-layout,.tp-candidates { grid-template-columns: minmax(0,1fr); }
  .tp-sources li { flex-wrap: wrap; }
}
