{{-- Sidebar shell — shared by Vibrant (brand-filled sidebar, full-colour network tiles) and Midnight (dark sidebar, brand glow). The markup is identical; the --rf-sidebar-* / --rf-topbar-* tokens (set per data-template in app.css) do all the skinning, so this file stays one source of truth (§1.4). Consumes $nav / $navActive / $user / $balance / $showNetRow / $slot from the wrapper. --}}
{{-- Mobile backdrop --}}
{{-- ============================ SIDEBAR ============================ --}} {{-- ============================ CONTENT COLUMN ============================ --}}
{{-- Topbar: search · actions · language · theme · balance · user --}}
{{-- Language switcher --}}
@foreach (active_locales() as $code => $label) {{ $label }} @endforeach
{{-- Theme toggle --}} {{-- Balance pill --}}
{{ $balance }}
{{-- User menu --}}
{{ $user->display_name ?? $user->name }}
{{ $user->email }}
{{ __('Profile') }} @if (api_enabled()) {{ __('API key') }} @endif
@csrf
{{-- ============================ MAIN ============================ --}}
@if ($showNetRow)

{{ __('Choose a network') }}

@include('components.client.network-tiles')
@endif {{ $slot }} @include('partials.client-footer')