{{-- The WMA-MIS email shell. One layout, every automated message this module sends. Sections a message fills in: @section('preheader') the line inboxes show beside the subject @section('title') the heading at the top of the card @section('badge') the status pill, or nothing @section('body') the message itself ── Why this is written the way it is ────────────────────────────────────── This is NOT the React design system. It cannot be: an email is rendered by Outlook's Word engine, by Gmail's HTML sanitiser, by Apple Mail and by a dozen phone clients, none of which support flexbox, grid, external stylesheets or most of what the portal is built on. What carries across is the *look* - the agency masthead, the orange accent, the type scale, the card-on-grey - rebuilt in the only things email agrees on: tables, inline styles, and a media query the strict clients simply ignore. So: tables for layout, styles inline on the elements that must not lose them, and one {{-- The preview line, hidden in the body but read by the inbox list. --}}
@yield('preheader')
{{-- ── Masthead ─────────────────────────────────────────── --}} {{-- The accent rule, as on the printed reports. --}} {{-- ── The message ──────────────────────────────────────── --}} {{-- ── Footer ───────────────────────────────────────────── --}}