.workflow-view{display:grid;gap:20px;min-width:0}.workflow-view[hidden]{display:none}.wf-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.wf-filters>.wf-field{flex:1 1 180px}.wf-field{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}.wf-field>span{font-size:.88rem;font-weight:600}.wf-field input,.wf-field select,.wf-field textarea{max-width:100%;width:100%;min-width:0}.wf-note,.wf-feedback{font-size:.86rem;line-height:1.6;color:var(--muted);margin:0 0 12px}.wf-feedback:empty{display:none}.wf-feedback.is-error{color:#9d352e;background:#fff4f1;border:1px solid #f0c4be;border-radius:10px;padding:12px}.wf-list{border:1px solid var(--line,#dce5d6);border-radius:20px;overflow:hidden;background:white}.wf-list:empty{display:none}.wf-list>p{padding:20px;margin:0}.wf-inbox-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:20px;border-bottom:1px solid var(--line,#dce5d6)}.wf-inbox-row:last-child{border-bottom:0}.wf-inbox-row.is-unread{border-left:4px solid #82a766;background:#fbfdf8}.wf-inbox-copy{display:grid;gap:6px;min-width:0}.wf-inbox-copy p{margin:5px 0}.wf-inbox-copy small,.wf-linked-row small,.wf-match-row small{display:block;color:var(--muted);font-size:.8rem}.wf-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.wf-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0}.wf-actions .button{font-size:.78rem;padding:8px 12px;min-height:36px}.wf-state{font-size:.76rem;color:var(--muted);padding:5px 10px;border-radius:999px;background:#eff3ed}.wf-card{border:1px solid var(--line,#dce5d6);background:white;border-radius:18px;padding:22px;min-width:0}.wf-card h3{margin:0 0 14px;font-size:1.05rem}.wf-card p{overflow-wrap:anywhere}.wf-policy-form{border:0;display:grid;gap:20px}.wf-policy-form>.button{justify-self:end}.wf-form-grid,.wf-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wf-case-grid{margin-top:18px}.wf-wide{grid-column:1/-1}.wf-check{display:flex;align-items:center;gap:9px;font-size:.86rem;font-weight:400}.wf-check input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;accent-color:#547e3c}.wf-mentions{grid-column:1/-1;border:1px solid #dce5d6;background:#fbfdf9;border-radius:12px;padding:16px;min-width:0}.wf-mentions strong{font-size:.88rem}.wf-mentions .wf-note{margin:6px 0 10px}.wf-mention-options,.wf-tag-options{display:flex;flex-wrap:wrap;gap:10px 18px}.wf-quality-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.wf-quality-fields>.button{justify-self:end}.wf-linked-row,.wf-match-row{display:grid;gap:14px;grid-template-columns:minmax(0,1fr) auto;padding:16px 0;border-top:1px solid var(--line,#dce5d6)}.wf-linked-row>div,.wf-match-row>div{min-width:0;overflow-wrap:anywhere}.wf-linked-row .wf-actions{align-content:center}.wf-link-form{display:flex;align-items:end;gap:8px}.wf-link-form .wf-field{max-width:230px}.wf-pagination{gap:12px;flex-wrap:wrap}.wf-pagination .wf-field{display:flex;flex-direction:row;align-items:center;gap:10px}.wf-pagination .wf-field select{width:100px}.wf-pagination:empty{display:none}.wf-dialog{width:min(980px,calc(100vw - 28px));max-height:90dvh;padding:0;border:1px solid #d5e0cf;border-radius:24px;color:var(--ink);background:white}.wf-dialog::backdrop{background:#14251bb3}.wf-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px;border-bottom:1px solid var(--line,#dce5d6)}.wf-dialog-head h2{margin:0;font-size:1.3rem}.wf-dialog-body{padding:22px}.wf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wf-stat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;border:1px solid #dce5d6;border-radius:14px;padding:20px}.wf-stat strong{font-size:1.6rem}.wf-stat span{font-size:.85rem}.wf-report-table{width:100%;font-size:.85rem}.wf-report-table td,.wf-report-table th{text-align:center;padding:12px}.wf-report-table td:first-child,.wf-report-table th:first-child{text-align:left}
@media(max-width:1100px){.wf-case-grid{grid-template-columns:minmax(0,1fr)}.wf-match-row{grid-template-columns:minmax(0,1fr)}.wf-match-row .wf-actions{justify-content:flex-start}.wf-link-form{flex:1}.wf-link-form .wf-field{flex:1;max-width:none}}
@media(max-width:650px){.wf-form-grid,.wf-stats{grid-template-columns:minmax(0,1fr)}.wf-inbox-row,.wf-linked-row{grid-template-columns:minmax(0,1fr);padding:16px}.wf-actions{justify-content:flex-start}.wf-card{padding:16px}.wf-link-form{flex-wrap:wrap}.wf-link-form .wf-field{flex-basis:100%}.wf-filters>.wf-field{flex-basis:100%}.wf-filters>.button{flex:1}.wf-dialog-body,.wf-dialog-head{padding:16px}.wf-tag-options{flex-direction:column}.wf-pagination .wf-field{flex-basis:100%}.wf-pagination .wf-field select{width:100px}.wf-actions .button{min-height:42px}}

.wf-lab-launch{margin-top:22px}.wf-lab-launch>.button{display:block;margin-left:auto}.wf-lab-meta{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;font-size:.8rem;color:var(--muted);margin:18px 0}.wf-lab-form{display:grid;gap:14px}.wf-lab-form>.button{justify-self:end}.wf-lab-form textarea{min-width:0;width:100%;resize:vertical}.wf-brief{min-width:0}.wf-brief summary,.wf-run summary{cursor:pointer;font-size:.85rem}.wf-brief textarea{display:block;margin:12px 0;font-size:.8rem}.wf-run{border-top:1px solid var(--line,#dce5d6);padding:16px 0;overflow-wrap:anywhere}.wf-run summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.wf-run summary small{flex-basis:100%;color:var(--muted)}.wf-run small{font-size:.77rem}.wf-state.is-pass{background:#e6f2df;color:#315b2b}.wf-state.is-fail{background:#fff0e4;color:#8b4b14}.wf-dialog-body>.wf-card,.wf-dialog-body>.wf-form-grid,.wf-dialog-body>.wf-stats{margin-top:18px}.wf-dialog-body>.wf-form-grid{align-items:start}.wf-dialog-head h2{overflow-wrap:anywhere}.wf-lab-form>.wf-form-grid{gap:12px}.wf-report-table{table-layout:fixed;overflow-wrap:anywhere}
.wf-inbox-row > .button{align-self:center;justify-self:end;min-height:42px;height:auto;padding:9px 15px;line-height:1.35}
.wf-match-row > .wf-actions{align-items:flex-end;align-self:end;gap:12px}
.wf-match-row .wf-link-form{min-width:0;margin:0;gap:12px}
.wf-match-row .wf-link-form > .wf-field{width:360px;max-width:none}
@media(max-width:650px){.wf-match-row > .wf-actions{align-items:stretch;flex-direction:column}.wf-match-row > .wf-actions > .button{align-self:flex-start}.wf-match-row .wf-link-form{flex:none;width:100%}.wf-match-row .wf-link-form > .wf-field{width:100%}.wf-match-row .wf-link-form > .button{margin-left:auto;min-height:44px}}
@media(max-width:650px){.wf-inbox-row > .button{justify-self:start}}
.wf-intro{display:grid;gap:6px;min-width:0}.wf-intro>.wf-note{margin:0}
.wf-policy-form{gap:16px}.wf-policy-form>h3{margin:0}
.wf-report-filters{align-items:end}.wf-company-selection{border:1px solid var(--line,#dce5d6);border-radius:12px;padding:12px 15px;margin:0;min-width:0}.wf-company-selection legend{font-size:.85rem;font-weight:600;padding:0 5px}.wf-company-checks{display:flex;gap:12px 20px;flex-wrap:wrap}.wf-company-checks .wf-check{white-space:nowrap}.wf-delivery-settings>summary{cursor:pointer;font-size:1.05rem;font-weight:650}.wf-delivery-settings[open]>summary{margin-bottom:16px}.wf-delivery-settings:not([open])>.wf-note{display:none}.wf-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.wf-delivery-form{display:grid;gap:16px}.wf-delivery-form .wf-note{font-size:.75rem;margin:0}.wf-delivery-form input[type=email],.wf-delivery-form textarea,.wf-delivery-form select{width:100%;min-width:0;border:1px solid #d6dfd2;border-radius:9px;padding:10px 12px;background:#fff;font:inherit;color:#203d2d;min-height:42px}.wf-delivery-form textarea{resize:vertical}.wf-delivery-form .wf-actions{justify-content:flex-start}.wf-delivery-status{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;padding:15px;border:1px solid #dce5d6;border-radius:12px;background:#f7faf4;margin-bottom:20px}.wf-delivery-status>span,.wf-delivery-status small{font-size:.77rem;color:var(--muted)}.wf-delivery-status strong{font-size:.9rem}.wf-delivery-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.wf-delivery-counts>div{display:flex;flex-direction:column;text-align:center;align-items:center;gap:7px;padding:10px;border:1px solid #e1e9dc;border-radius:9px}.wf-delivery-counts span{font-size:.71rem;color:var(--muted)}.wf-delivery-counts strong{font-size:1.2rem}.wf-delivery-card>.wf-note{margin-top:12px;font-size:.74rem}
@media(max-width:1100px){.wf-delivery-grid{grid-template-columns:1fr}}
@media(max-width:650px){.wf-company-selection{width:100%}.wf-company-checks{flex-direction:column}.wf-report-filters>.button{flex-basis:100%}.wf-delivery-card{padding:14px}.wf-delivery-form .wf-actions>.button{width:100%}}
.wf-delivery-history{margin-top:28px;border-top:1px solid var(--line,#dce5d6);padding-top:24px;min-width:0}.wf-delivery-history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}.wf-delivery-history-filters input,.wf-delivery-history-filters select{width:100%;min-width:0;min-height:40px;border:1px solid #d6dfd2;border-radius:9px;padding:9px 11px;background:#fff;font:inherit}.wf-delivery-history-list{margin-top:18px}.wf-delivery-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:18px 0;border-top:1px solid #e3eadf}.wf-delivery-history-copy{min-width:0;overflow-wrap:anywhere}.wf-delivery-history-copy>p{margin:6px 0}.wf-delivery-history-copy>small{font-size:.75rem;color:var(--muted)}.wf-delivery-history-copy .wf-note{margin-top:10px;font-size:.75rem}.wf-delivery-history-state{display:flex;flex-direction:column;align-items:flex-end;gap:10px;text-align:right}.wf-delivery-history-state small{font-size:.75rem;color:var(--muted)}.wf-delivery-history-state>.button{min-height:40px;padding:8px 12px;font-size:.8rem}.wf-delivery-history-details{margin-top:10px;font-size:.78rem}.wf-delivery-history-details summary{cursor:pointer}.wf-delivery-history-details>.button{min-height:40px;padding:8px 12px;font-size:.8rem}.wf-delivery-history[aria-busy=true] .wf-delivery-history-list{opacity:.6}
@media(max-width:650px){.wf-delivery-history-filters{grid-template-columns:1fr}.wf-delivery-history-row{grid-template-columns:1fr;gap:12px}.wf-delivery-history-state{align-items:flex-start;text-align:left}}
