{{--
Live template thumbnail for the admin selector (STYLE-GUIDE-CLIENT-TEMPLATES
§8). 100% CSS — no — rendered inside a scoped `data-template` subtree
seeded with the panel's OWN --brand, so an admin sees their real colour in
every skin. One partial reused for all three cards; the CSS variables do the
rest. Expects: $key, $meta (registry row), $brand, $onPrimary.
--}}
@php
$layout = $meta['layout'] ?? 'topnav';
// Midnight is dark-first; Aurora needs an explicit light reset so it renders
// its light mother theme even when the admin page itself is dark. Vibrant
// carries its own light surfaces, so it needs neither class.
$scopeClass = $key === 'midnight' ? 'dark' : ($key === 'aurora' ? 'rf-tpl-light' : '');
@endphp