/* Smarter matching (Pro): confidence badges, reasons, the accept bar and reconciliation suggestions. Status colours with a label, never colour alone. */
.sm-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 1px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; border: 1px solid transparent; }
.sm-badge.high { background: var(--success-soft); color: var(--success); }
.sm-badge.medium { background: var(--warning-soft); color: var(--warning); }
.sm-badge.low { background: var(--surface-2); color: var(--text-2); border-color: var(--border); }
.sm-cell .sm-line { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sm-cell .sm-title { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.sm-why { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 12px; color: var(--accent-text); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 2px; }
.sm-why:hover { text-decoration-color: currentColor; }
.sm-bar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 10px 12px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.sm-bar-text { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13.5px; margin-right: auto; }
.sm-bar select { width: auto; }
.sm-why-list { display: grid; gap: 10px; }
.sm-why-list > p { margin: 0; }
.sm-option { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; }
.sm-opt-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sm-opt-head .muted { font-size: 12.5px; }
.sm-opt-head .btn { margin-left: auto; }
.sm-reasons { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.sm-reasons li { display: flex; gap: 6px; align-items: center; }
.sm-reasons .i { color: var(--success); }
.sm-fee { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.sm-rec-card { padding: 14px 16px; margin: 0 0 12px; }
.sm-rec-card h2 { display: inline-flex; gap: 6px; align-items: center; }
.sm-rec-list { list-style: none; margin: 0; padding: 0; }
.sm-rec-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.sm-rec-list li:first-child { border-top: 0; }
.sm-rec-text { color: var(--text-2); }
@media (max-width: 600px) {
  .sm-bar-text { width: 100%; margin-right: 0; }
  .sm-rec-list li { grid-template-columns: auto minmax(0, 1fr); }
  .sm-rec-list li .btn { grid-column: 2; justify-self: start; }
  .sm-opt-head .btn { margin-left: 0; }
}
