@props(['value' => 0, 'max' => 100, 'tone' => null, 'thin' => false, 'label' => null]) @php $pct = $max > 0 ? min(100, max(0, $value / $max * 100)) : 0; @endphp
class(['prog', 'ink' => $tone === 'ink', 'thin' => $thin]) }}>