/* Learning: what the system has learned, in tiles, lessons and accounts. */
.brain .br-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; }
.br-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.br-tile b { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.br-tile.ok b { color: var(--ok); } .br-tile.warn b { color: var(--warn); } .br-tile.bad b { color: var(--danger); }
.br-tl { font-weight: 650; font-size: 13px; }
.br-says { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.br-rules, .br-accts { display: flex; flex-direction: column; gap: 10px; }
.br-rule, .br-acct { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); flex-wrap: wrap; }
.br-rule.dim { opacity: .62; }
.br-why { margin: 4px 0 4px; font-size: 13px; color: var(--text); line-height: 1.45; max-width: 70ch; }
.br-by.learned { background: var(--accent-bg); color: var(--accent-2); } .br-by.user { background: rgba(62, 207, 142, .14); color: var(--ok); }
.brain .badge.ok { background: rgba(62, 207, 142, .16); color: var(--ok); } .brain .badge.warn { background: rgba(245, 185, 66, .16); color: var(--warn); }
.br-bits { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.br-inc { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.br-inc li { display: flex; gap: 12px; align-items: baseline; font-size: 13px; line-height: 1.45; padding: 6px 0; border-bottom: 1px solid var(--line); }
.br-inc li:last-child { border-bottom: 0; } .br-inc li.lost span:last-child, .br-inc li.rejected span:last-child { color: var(--warn); } .br-inc li.flagged span:last-child { color: var(--danger); }
.br-when { flex: none; width: 74px; font-variant-numeric: tabular-nums; }
