{
  "name": "PatriUno — Gestão Patrimonial",
  "short_name": "PatriUno",
  "description": "Aplicativo de controle financeiro pessoal com análise de gastos, orçamentos e relatórios.",
  "start_url": "/app.html",
  "scope": "/",
  "display": "standalone",
  "orientation": "portrait-primary",
  "background_color": "#040D1C",
  "theme_color": "#2563EB",
  "categories": ["finance", "productivity"],
  "screenshots": [
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 720'><rect width='540' height='720' fill='%23040D1C'/><rect x='20' y='40' width='500' height='80' rx='14' fill='%232563EB' opacity='0.8'/><circle cx='60' cy='280' r='45' fill='%2310B981' opacity='0.2'/><text x='270' y='420' font-size='32' font-weight='700' text-anchor='middle' fill='%23F8FAFC'>PatriUno</text></svg>",
      "sizes": "540x720",
      "form_factor": "narrow",
      "type": "image/svg+xml"
    },
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 600'><rect width='1024' height='600' fill='%23040D1C'/><rect x='30' y='30' width='964' height='70' rx='14' fill='%232563EB' opacity='0.8'/><text x='512' y='380' font-size='48' font-weight='700' text-anchor='middle' fill='%23F8FAFC'>PatriUno</text></svg>",
      "sizes": "1024x600",
      "form_factor": "wide",
      "type": "image/svg+xml"
    }
  ],
  "icons": [
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='192' height='192'><rect width='80' height='80' rx='18' fill='%23040D1C'/><path d='M 20 72 L 20 8 A 26 26 0 1 1 20 60' fill='none' stroke='white' stroke-width='8' stroke-linecap='round'/></svg>",
      "sizes": "192x192",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='192' height='192'><rect width='80' height='80' rx='18' fill='%23040D1C'/><path d='M 20 72 L 20 8 A 26 26 0 1 1 20 60' fill='none' stroke='white' stroke-width='8' stroke-linecap='round'/></svg>",
      "sizes": "192x192",
      "type": "image/svg+xml",
      "purpose": "maskable"
    },
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='512' height='512'><rect width='80' height='80' rx='18' fill='%23040D1C'/><path d='M 20 72 L 20 8 A 26 26 0 1 1 20 60' fill='none' stroke='white' stroke-width='8' stroke-linecap='round'/></svg>",
      "sizes": "512x512",
      "type": "image/svg+xml",
      "purpose": "any"
    },
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='512' height='512'><rect width='80' height='80' rx='18' fill='%23040D1C'/><path d='M 20 72 L 20 8 A 26 26 0 1 1 20 60' fill='none' stroke='white' stroke-width='8' stroke-linecap='round'/></svg>",
      "sizes": "512x512",
      "type": "image/svg+xml",
      "purpose": "maskable"
    }
  ],
  "shortcuts": [
    {
      "name": "Adicionar Transação",
      "short_name": "Nova Transação",
      "description": "Registre uma nova entrada ou saída rapidamente",
      "url": "/?action=add-tx",
      "icons": [
        {
          "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'><rect width='96' height='96' rx='22' fill='%23040D1C'/><line x1='48' y1='22' x2='48' y2='74' stroke='white' stroke-width='8' stroke-linecap='round'/><line x1='22' y1='48' x2='74' y2='48' stroke='white' stroke-width='8' stroke-linecap='round'/></svg>",
          "sizes": "96x96",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Ver Contas",
      "short_name": "Contas",
      "description": "Visualize suas contas e saldos",
      "url": "/?action=accounts",
      "icons": [
        {
          "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'><rect width='96' height='96' rx='22' fill='%23040D1C'/><rect x='14' y='22' width='68' height='52' rx='8' fill='none' stroke='white' stroke-width='5'/><line x1='14' y1='42' x2='82' y2='42' stroke='white' stroke-width='5'/></svg>",
          "sizes": "96x96",
          "type": "image/svg+xml"
        }
      ]
    }
  ],
  "share_target": {
    "action": "/share",
    "method": "POST",
    "enctype": "multipart/form-data",
    "params": {
      "title": "title",
      "text": "text",
      "url": "url",
      "files": [
        {
          "name": "file",
          "accept": [".json", ".ofx", ".xlsx"]
        }
      ]
    }
  }
}
