.pw-line-editor,.pw-receipts,.pw-progress,.pw-next{border:1px solid var(--line,#e2e8ef);border-radius:12px;padding:18px;margin:16px 0;background:var(--surface,#fff)}
.pw-line-editor>header,.pw-receipts>header,.pw-progress>header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.pw-line-editor h3,.pw-receipts h3,.pw-progress h3{margin:0;font-size:15px}.pw-progress header span{color:#64748b;font-size:12px}
.pw-document-summary{display:flex;flex-wrap:wrap;gap:32px;margin-bottom:16px}.pw-document-summary small{display:block;color:#64748b;margin-bottom:6px}.pw-document-summary h3{margin:0}.pw-receipts article{padding:14px 0;border-bottom:1px solid #e2e8ef}.pw-receipts small,.pw-progress td small,.pw-task-context td small{display:block;color:#64748b;margin-top:5px}.pw-task-context .table-scroll{max-height:340px;overflow:auto}.pw-pre{white-space:pre-wrap}.pw-preview{display:block;max-width:100%;max-height:70vh;margin:auto}.pw-progress table{width:100%;font-size:13px}.pw-progress td{vertical-align:top}.pw-next .actions{flex-wrap:wrap}.pw-edit-lines input,.pw-edit-lines select{min-width:0}.pw-receipts header .btn{white-space:nowrap}
@media(max-width:720px){.pw-document-summary{gap:16px}.pw-line-editor>header,.pw-progress>header{align-items:flex-start;flex-direction:column}.pw-line-editor .fields{grid-template-columns:1fr}}
