/* Scoped proforma list, inbox review and document controls. */
.pf-list-grid{display:grid;gap:12px}.pf-list-card{border:1px solid var(--border,#dce6ed);border-radius:18px;padding:16px;background:var(--surface,#fff);min-width:0}.pf-list-card h3{margin:8px 0;overflow-wrap:anywhere}.pf-list-card p{margin:8px 0}.pf-list-card header,.pf-list-card nav,.pf-inbox-review nav,.pf-document-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pf-list-card header{justify-content:space-between}.pf-list-card .ui-button,.pf-inbox-review .ui-button,.pf-document-actions .ui-button{min-height:44px}.pf-state{padding:5px 10px;border-radius:20px;background:#edf2f6;color:#243c50;font-size:.8rem}.pf-state--APPROVED,.pf-state--ISSUED{background:#ddf5e8;color:#14613b}.pf-state--SUBMITTED{background:#fff0cb;color:#775000}.pf-state--RETURN,.pf-state--REJECT{background:#ffe7e5;color:#942f29}.pf-inbox-select{display:grid;gap:8px;color:inherit;text-decoration:none;min-width:0}.pf-inbox-review{border-top:1px solid var(--border,#dce6ed);padding-top:10px}.pf-inbox-review p{font-size:.85rem;margin:0 0 8px}.pf-document-actions{padding:12px;background:var(--surface,#fff);border-radius:12px}.pf-document-actions [role=status]{flex-basis:100%;margin:0;font-size:.82rem}.pf-quick-review ol{padding-inline-start:22px;max-height:28vh;overflow:auto}.pf-quick-review li{padding:7px 0;overflow-wrap:anywhere}@media(max-width:600px){.pf-list-card nav .ui-button{flex:1}.pf-document-actions .ui-button{flex:1}}

.pf-quick-review .mr-options{border:0;padding:8px 0;margin:12px 0}.pf-quick-review .mr-options label{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 10px;border-radius:10px;background:var(--surface-soft,#f2f6f7);margin-block:4px}.pf-quick-review .mr-submit{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.pf-quick-review .mr-submit .ui-button{flex:1;min-height:44px}.pf-quick-review textarea{width:100%;min-height:74px}.pf-quick-review details{margin-block:12px}

@media(min-width:900px){.pf-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
