<section class="border-b border-gray-300 p-2 shrink-0 bg-control-panel">
  <span class="text-sm font-bold text-gray-700">역할 (mb_level)</span>
</section>
<div class="border border-gray-300 p-4 mt-2">
  <p class="text-sm text-gray-600 mb-4">Config\Roles 기반 역할 목록입니다.</p>
  <table class="w-full data-table">
    <thead>
      <tr>
        <th class="w-24">코드</th>
        <th>이름</th>
      </tr>
    </thead>
    <tbody>
      <?php foreach ($roles->levelNames as $code => $name): ?>
      <tr>
        <td class="text-center"><?= (int) $code ?></td>
        <td class="text-left pl-2"><?= esc($name) ?></td>
      </tr>
      <?php endforeach; ?>
    </tbody>
  </table>
</div>
