<?php
$isArContext = current_lang() === 'ar';
$contextTr = static function (string $en, string $ar) use ($isArContext): string { return $isArContext ? $ar : $en; };
?>
<section class="diar-scope-strip" aria-label="<?= e($contextTr('DIAR operational scope', 'النطاق التشغيلي لمنظومة DIAR')) ?>">
    <div class="diar-scope-identity">
        <span class="scope-kicker"><?= e($contextTr('HMH GROUP', 'مجموعة HMH')) ?></span>
        <strong><?= e($contextTr('Dual-hospital medication intelligence', 'ذكاء حركات الأدوية عبر المستشفيين')) ?></strong>
    </div>
    <div class="diar-scope-badges">
        <span class="scope-badge scope-hospital">NJCH</span>
        <span class="scope-badge scope-hospital">MNH</span>
        <span class="scope-badge scope-readonly"><?= e($contextTr('Read only', 'قراءة فقط')) ?></span>
        <span class="scope-badge scope-profile"><?= e($contextTr('5D profiles supported', 'دعم ملفات 5D')) ?></span>
        <span class="scope-badge scope-pending"><?= e($contextTr('Live candidates await 5E-R1', 'المرشحون الفعليون ينتظرون 5E-R1')) ?></span>
    </div>
</section>
