{
  "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": "/",
  "scope": "/",
  "display": "standalone",
  "orientation": "portrait-primary",
  "background_color": "#0A0E1A",
  "theme_color": "#E8875A",
  "categories": ["finance", "productivity"],
  "screenshots": [
    {
      "src": "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 540 720'><defs><linearGradient id='bg' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%230A0E1A'/><stop offset='100%' stop-color='%231A2332'/></linearGradient><linearGradient id='g1' x1='0%' y1='100%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23A44420'/><stop offset='100%' stop-color='%23E8875A'/></linearGradient></defs><rect width='540' height='720' fill='url(%23bg)'/><rect x='20' y='40' width='500' height='100' rx='12' fill='url(%23g1)' opacity='0.9'/><circle cx='60' cy='280' r='45' fill='%2310B981' opacity='0.2'/><circle cx='480' cy='350' r='60' fill='%23E8875A' opacity='0.1'/><text x='270' y='450' 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'><defs><linearGradient id='bg' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%230A0E1A'/><stop offset='100%' stop-color='%231A2332'/></linearGradient><linearGradient id='g1' x1='0%' y1='100%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23A44420'/><stop offset='100%' stop-color='%23E8875A'/></linearGradient></defs><rect width='1024' height='600' fill='url(%23bg)'/><rect x='30' y='30' width='964' height='80' rx='12' fill='url(%23g1)' opacity='0.9'/><circle cx='100' cy='300' r='80' fill='%2310B981' opacity='0.15'/><circle cx='900' cy='350' r='100' fill='%23E8875A' opacity='0.08'/><text x='512' y='400' 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 192 192' width='192' height='192'><defs><linearGradient id='bg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%231A0703'/><stop offset='100%25' stop-color='%231E0C05'/></linearGradient><linearGradient id='g1' x1='0%25' y1='100%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%23A44420'/><stop offset='100%25' stop-color='%23E8875A'/></linearGradient></defs><rect width='192' height='192' rx='45' fill='url(%23bg)'/><rect x='24' y='36' width='144' height='24' rx='12' fill='url(%23g1)'/><rect x='84' y='36' width='24' height='132' rx='12' fill='url(%23g1)' opacity='0.9'/></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 192 192' width='192' height='192'><defs><linearGradient id='bg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%231A0703'/><stop offset='100%25' stop-color='%231E0C05'/></linearGradient><linearGradient id='g1' x1='0%25' y1='100%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%23A44420'/><stop offset='100%25' stop-color='%23E8875A'/></linearGradient></defs><rect width='192' height='192' rx='45' fill='url(%23bg)'/><rect x='24' y='36' width='144' height='24' rx='12' fill='url(%23g1)'/><rect x='84' y='36' width='24' height='132' rx='12' fill='url(%23g1)' opacity='0.9'/></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 512 512' width='512' height='512'><defs><linearGradient id='bg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%231A0703'/><stop offset='100%25' stop-color='%231E0C05'/></linearGradient><linearGradient id='g1' x1='0%25' y1='100%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%23A44420'/><stop offset='100%25' stop-color='%23E8875A'/></linearGradient></defs><rect width='512' height='512' rx='120' fill='url(%23bg)'/><rect x='64' y='96' width='384' height='64' rx='32' fill='url(%23g1)'/><rect x='224' y='96' width='64' height='352' rx='32' fill='url(%23g1)' opacity='0.9'/></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 512 512' width='512' height='512'><defs><linearGradient id='bg' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%231A0703'/><stop offset='100%25' stop-color='%231E0C05'/></linearGradient><linearGradient id='g1' x1='0%25' y1='100%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%23A44420'/><stop offset='100%25' stop-color='%23E8875A'/></linearGradient></defs><rect width='512' height='512' rx='120' fill='url(%23bg)'/><rect x='64' y='96' width='384' height='64' rx='32' fill='url(%23g1)'/><rect x='224' y='96' width='64' height='352' rx='32' fill='url(%23g1)' opacity='0.9'/></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'><defs><linearGradient id='g1' x1='0%' y1='100%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23A44420'/><stop offset='100%' stop-color='%23E8875A'/></linearGradient></defs><rect width='96' height='96' rx='24' fill='%230A0E1A'/><rect x='12' y='36' width='72' height='12' rx='6' fill='url(%23g1)'/><rect x='42' y='12' width='12' height='72' rx='6' fill='url(%23g1)'/></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'><defs><linearGradient id='g1' x1='0%' y1='100%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23A44420'/><stop offset='100%' stop-color='%23E8875A'/></linearGradient></defs><rect width='96' height='96' rx='24' fill='%230A0E1A'/><rect x='12' y='20' width='72' height='56' rx='8' fill='none' stroke='url(%23g1)' stroke-width='4'/><line x1='12' y1='40' x2='84' y2='40' stroke='url(%23g1)' stroke-width='4'/></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"]
        }
      ]
    }
  }
}
