/* =============================================================================
   46 — Firm Administration: System health + Audit log (2026-11-05).
   Reuses .panel / .stat-card / .badge / .mt-chip; adds list rows only.
   ============================================================================= */

.portal-shell.firm-shell .fl-adm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 16px}
.portal-shell.firm-shell .fl-adm-tabs .mt-chip{text-decoration:none}

.portal-shell.firm-shell .fl-health-list,
.portal-shell.firm-shell .fl-audit-list{list-style:none;margin:0;padding:0}
.portal-shell.firm-shell .fl-health-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px var(--fp-pad,22px);border-top:1px solid #eef0f4}
.portal-shell.firm-shell .fl-health-row:first-child{border-top:0}
.portal-shell.firm-shell .fl-health-ic{display:inline-flex;width:30px;height:30px;border-radius:50%;align-items:center;justify-content:center;background:#eaf6ef;color:#14713d}
.portal-shell.firm-shell .fl-health-row.is-warn .fl-health-ic{background:#fff4e5;color:#b45309}
.portal-shell.firm-shell .fl-health-row.is-fail .fl-health-ic{background:#fdeaea;color:#b4161d}
.portal-shell.firm-shell .fl-health-main b{display:block;font-size:14.5px;color:var(--blue-ink,#0b1f4b)}
.portal-shell.firm-shell .fl-health-main small{display:block;font-size:13px;color:var(--mid);margin-top:2px;line-height:1.45}

.portal-shell.firm-shell .fl-audit-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.portal-shell.firm-shell .fl-audit-filters input[type="date"],
.portal-shell.firm-shell .fl-audit-filters input[type="search"]{height:38px;border:1px solid var(--hair);border-radius:8px;padding:0 10px;font:inherit;font-size:13.5px}
.portal-shell.firm-shell .fl-audit-filters input[type="search"]{min-width:180px}
.portal-shell.firm-shell .fl-audit-row{display:grid;grid-template-columns:150px minmax(0,1fr) minmax(0,260px);gap:12px;align-items:start;padding:11px var(--fp-pad,22px);border-top:1px solid #eef0f4;font-size:13.5px}
.portal-shell.firm-shell .fl-audit-row.is-flag{background:#fff8f8}
.portal-shell.firm-shell .fl-audit-when{color:var(--mid);font-size:12.5px;padding-top:1px}
.portal-shell.firm-shell .fl-audit-what b{color:var(--ink)}
.portal-shell.firm-shell .fl-audit-obj{display:inline-block;margin-left:6px;padding:0 7px;border-radius:999px;background:#eef2fb;color:#1f3b8f;font-size:11.5px;font-weight:600}
.portal-shell.firm-shell .fl-audit-what small,
.portal-shell.firm-shell .fl-audit-who small{display:block;color:var(--mid);font-size:12px;margin-top:2px;overflow-wrap:anywhere}
.portal-shell.firm-shell .fl-audit-who{overflow-wrap:anywhere}

@media (max-width:760px){
	.portal-shell.firm-shell .fl-audit-row{grid-template-columns:minmax(0,1fr);gap:3px;padding:12px 14px}
	.portal-shell.firm-shell .fl-health-row{padding:12px 14px;grid-template-columns:30px minmax(0,1fr)}
	.portal-shell.firm-shell .fl-health-row .badge{grid-column:2;justify-self:start}
	.portal-shell.firm-shell .fl-audit-filters{flex-direction:column;align-items:stretch}
	.portal-shell.firm-shell .fl-audit-filters > *{flex:0 0 auto !important;width:100%;min-height:40px;height:auto}
}
