@props(['label','value'=>null,'icon'=>'◎','description'=>null])
@php($statusDescription=$description??(is_string($value)&&mb_strlen($value)>12?$value:null))
<article class="tp-metric-card"><div class="tp-metric-icon" aria-hidden="true">{{ $icon }}</div><div class="tp-metric-content"><p class="tp-metric-label">{{ $label }}</p><strong class="tp-metric-value">{{ $statusDescription?'—':($value??'—') }}</strong>@if($statusDescription)<small class="tp-metric-description">{{ $statusDescription }}</small>@endif</div></article>
