<!DOCTYPE html>
<html lang="pt-BR">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="theme-color" content="#1e293b" />
  <title>ClinicPro Manager</title>
  <link rel="apple-touch-icon" href="/pwa-icon.svg">

  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <style>
    /* --- ROOT LAYOUT LOCK --- */
    html,
    body {
      height: 100%;
      width: 100%;
      overflow: hidden;
      /* CRÍTICO: O BODY NUNCA ROLA */
      margin: 0;
      padding: 0;
      background-color: #F9FAFB;
      overscroll-behavior: none;
      /* Previne bounce no iOS */
    }

    .dark body {
      background-color: #0F172A;
      color: #F3F4F6;
    }

    #root {
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
    }

    /* --- SCROLLBAR INVISÍVEL (MAS FUNCIONAL) --- */
    /* Firefox */
    * {
      scrollbar-width: none;
    }

    /* Chrome, Edge, Safari */
    *::-webkit-scrollbar {
      display: none;
      width: 0px;
      background: transparent;
    }

    /* Input Reset */
    input,
    select,
    textarea {
      background-color: #FFFFFF !important;
      color: #111827 !important;
      border-color: #E5E7EB;
    }

    .dark input,
    .dark select,
    .dark textarea {
      background-color: #1E293B !important;
      color: #F3F4F6 !important;
      border-color: #374151;
    }

    input:focus,
    select:focus,
    textarea:focus {
      border-color: #2563EB !important;
      outline: none;
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    }
  </style>

  <!-- OneSignal temporarily disabled due to CDN issues
  <script src="https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.js" defer></script>
  <script>
    window.OneSignalDeferred = window.OneSignalDeferred || [];
    OneSignalDeferred.push(async function (OneSignal) {
      await OneSignal.init({
        appId: "66829022-db4b-49ac-b81d-4368d53145f0",
      });
    });
  </script>
  -->
  <script type="importmap">
{
  "imports": {
    "react/": "https://esm.sh/react@^19.2.3/",
    "react": "https://esm.sh/react@^19.2.3",
    "lucide-react": "https://esm.sh/lucide-react@^0.561.0",
    "react-dom/": "https://esm.sh/react-dom@^19.2.3/",
    "react-router-dom": "https://esm.sh/react-router-dom@^7.10.1",
    "recharts": "https://esm.sh/recharts@^3.5.1",
    "jspdf": "https://esm.sh/jspdf@2.5.1",
    "jspdf-autotable": "https://esm.sh/jspdf-autotable@3.8.2",
    "xlsx": "https://esm.sh/xlsx@0.18.5",
    "html2canvas": "https://esm.sh/html2canvas@1.4.1"
  }
}
</script>
  <script type="module" crossorigin src="/assets/index-D5C8D_ni.js"></script>
  <link rel="stylesheet" crossorigin href="/assets/index-D_D7DZpA.css">
<link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>

<body>
  <div id="root"></div>
</body>

</html>