<script setup>
import { useApiMode } from '@/composables/useApiMode'

const { isGatewayProxy } = useApiMode()
</script>

<template>
  <div
    v-if="isGatewayProxy"
    role="alert"
    class="border-b border-amber-300 bg-amber-50 px-4 py-2 text-center text-sm text-amber-900 dark:border-amber-700 dark:bg-amber-950/50 dark:text-amber-200"
  >
    Central sync paused — ward operating in local mode. Alerts and documentation on this ward remain active.
  </div>
</template>