.process-table{--pt-gap:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:16px;margin:16px 0;min-width:0;font-size:14px;line-height:1.5}
.pt-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--pt-gap);margin:10px 0}.pt-toolbar h3{margin:0 auto 0 0}.process-table label{display:flex;flex-direction:column;gap:4px;min-width:0}.process-table input,.process-table select,.process-table textarea{max-width:100%;min-width:0}.process-table button{font-size:inherit}.process-table :focus-visible{outline:3px solid var(--brand);outline-offset:3px}.pt-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--pt-gap)}.pt-scroll{max-height:65vh;overflow:auto;max-width:100%;position:relative;border:1px solid var(--line);margin-top:12px}.pt-scroll table{border-collapse:separate;border-spacing:0;table-layout:fixed}.pt-scroll th,.pt-scroll td{background:var(--surface);padding:8px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:top}.pt-scroll th{top:0;z-index:2}.pt-scroll th button{text-align:left;width:100%;white-space:normal}.pt-scroll td[style]{z-index:1}.pt-chips{display:flex;flex-wrap:wrap;gap:6px}.pt-columns{max-height:350px;overflow:auto}.pt-columns input[type=number]{width:85px}.process-table summary{cursor:pointer;padding:8px 0;font-weight:600}.process-table details{border-top:1px solid var(--line)}
@media(max-width:600px){.process-table{padding:10px;margin:10px 0}.pt-controls{grid-template-columns:1fr}.pt-toolbar{align-items:stretch}.pt-toolbar label{width:100%}.pt-toolbar button{max-width:100%}.pt-scroll{max-height:60vh}}
.process-table button{border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:var(--surface-soft);color:var(--ink);cursor:pointer;line-height:1.35}
.process-table button:hover{border-color:var(--brand);background:var(--surface)}
.process-table input:not([type=checkbox]),.process-table select,.process-table textarea{border:1px solid var(--line);border-radius:7px;padding:8px;background:var(--surface);color:var(--ink);font:inherit}
.process-table input[type=checkbox]{width:18px;height:18px;align-self:flex-start;accent-color:var(--brand)}
.pt-scroll table{height:auto;min-width:100%}
.pt-scroll th,.pt-scroll td{box-sizing:border-box;height:auto}
.pt-scroll th{position:sticky;white-space:normal}
.pt-scroll th:first-child,.pt-scroll td:first-child{width:200px;min-width:200px}
.pt-scroll td:first-child button{display:block;width:100%;margin-top:6px;white-space:normal;overflow-wrap:break-word}
.pt-columns{padding:6px 0}.pt-columns .pt-toolbar{border-bottom:1px solid var(--line);padding-bottom:10px}
.pt-columns .pt-toolbar label:first-child{min-width:150px;max-width:200px}
.pt-chips button{background:var(--surface-soft);border-radius:18px}
