.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-purchase-matching-workspace{display:grid;gap:16px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-filters label,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer-grid label{display:grid;gap:6px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-filters select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer-grid select,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer-grid input,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table select{min-height:42px;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface);color:var(--sfr-erp-ink);padding:7px 9px;font:inherit}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table input[type="checkbox"]{width:18px;height:18px;accent-color:#2563eb}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table th,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table td{vertical-align:middle}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table td:nth-child(1),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table td:nth-child(3),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table td:nth-child(6),
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-table td:nth-child(7){white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border-radius:999px;border:1px solid var(--sfr-border);font-weight:800;white-space:nowrap}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-matched{border-color:color-mix(in srgb,#10b981 50%,var(--sfr-border));background:color-mix(in srgb,#10b981 10%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-partial{border-color:color-mix(in srgb,#f59e0b 50%,var(--sfr-border));background:color-mix(in srgb,#f59e0b 10%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-review,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-needs_mapping{border-color:color-mix(in srgb,#ef4444 42%,var(--sfr-border));background:color-mix(in srgb,#ef4444 8%,var(--sfr-surface))}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-not_required,
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-status.is-unmatched{background:var(--sfr-surface-subtle)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer{display:grid;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer-grid{display:grid;grid-template-columns:1fr 1.35fr .65fr;gap:12px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-methodology{display:grid;gap:10px;line-height:1.8}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-empty{padding:22px;text-align:center}
@media(max-width:900px){
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-filters,
 .sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-composer-grid{grid-template-columns:1fr}
}

/* Patch 158 — compact receipt-eligibility decision surface */
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-card{min-width:0;max-width:100%;overflow:hidden;border:1px solid var(--sfr-border);border-radius:12px;background:var(--sfr-surface-subtle);padding:14px;display:grid;gap:12px;line-height:1.55}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-head>div{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-head strong{display:block;font-size:14px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-head p{margin:4px 0 0;font-size:12.5px;opacity:.78;overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-meta{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-meta>div{min-width:0;padding:9px 10px;border:1px solid var(--sfr-border);border-radius:9px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-meta dt{font-size:11.5px;opacity:.72}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-meta dd{margin:3px 0 0;font-weight:700;min-width:0;overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-details{min-width:0;border-top:1px solid var(--sfr-border);padding-top:10px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-details summary{cursor:pointer;font-weight:750;user-select:none}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-list{display:grid;gap:8px;margin-top:10px;max-height:360px;overflow:auto;padding-inline-end:3px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row{min-width:0;display:grid;grid-template-columns:minmax(150px,1fr) minmax(230px,1.35fr) minmax(210px,1fr);align-items:center;gap:10px;padding:10px;border:1px solid var(--sfr-border);border-radius:10px;background:var(--sfr-surface)}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-doc{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-doc strong,.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-doc small{display:block;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-doc small{margin-top:3px;opacity:.76;overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row dl>div{min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row dt{font-size:11px;opacity:.68}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row dd{margin:2px 0 0;font-weight:700;min-width:0;overflow-wrap:anywhere}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-flags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-flags span{display:inline-flex;max-width:100%;padding:4px 7px;border:1px solid var(--sfr-border);border-radius:999px;font-size:11px;line-height:1.35;white-space:normal}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-flags .is-ready{font-weight:700}
.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-flags .is-missing{opacity:.72}
@media(max-width:900px){.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-row{grid-template-columns:1fr}.sfr-a01[data-sfr-tool-id="business-accounting-management"] .sfr-match-eligibility-meta{grid-template-columns:1fr}}
