{
  "$schema": "https://json.schemastore.org/web-manifest-combined.json",

  "_comments": [
    "HOW TO UPDATE THIS FILE",
    "  Rebranding: change 'name', 'short_name', 'description', 'background_color', and 'theme_color'.",
    "  New icons: add an entry to 'icons' with the correct 'src', 'sizes', and 'purpose'.",
    "    - purpose 'any': standard icon shown in browser UI and most install contexts.",
    "    - purpose 'maskable': has extra padding around the artwork so Android adaptive",
    "      icon shapes (circle, squircle, etc.) can safely crop it. Both purposes should",
    "      be provided at 192x192 and 512x512.",
    "  display_override: the browser tries each value left-to-right.",
    "    - 'window-controls-overlay': desktop PWA with native title-bar area (Chromium only).",
    "    - 'standalone': full-screen app without browser navigation UI (most common).",
    "    - 'minimal-ui': like standalone but keeps a slim navigation row.",
    "  shortcuts: deep-link entries shown in the app's long-press context menu on Android",
    "    and in the Windows taskbar jump list. Update 'url' when view identifiers change.",
    "  launch_handler.client_mode: 'navigate-existing' reuses an already-open window",
    "    instead of opening a second one when the user taps the icon again.",
    "  edge_side_panel.preferred_width: preferred pixel width of the Edge sidebar panel.",
    "  NOTE: JSON does not support comments natively. This '_comments' key is ignored",
    "  by all browsers and is purely for developer documentation."
  ],

  "name": "PolicyCRM — Client Portfolio Manager",
  "short_name": "PolicyCRM",
  "description": "Manage client insurance portfolios, track policies, and grow your book of business — all in one place.",
  "start_url": "/",
  "scope": "/",
  "id": "/",
  "display": "standalone",
  "display_override": ["window-controls-overlay", "standalone", "minimal-ui"],
  "orientation": "any",
  "background_color": "#0b1120",
  "theme_color": "#1d4ed8",
  "lang": "en",
  "dir": "ltr",
  "categories": ["business", "finance", "productivity"],

  "icons": [
    {
      "src": "/favicon.svg",
      "type": "image/svg+xml",
      "sizes": "any",
      "purpose": "any"
    },
    {
      "src": "/icon-192.svg",
      "type": "image/svg+xml",
      "sizes": "192x192",
      "purpose": "any"
    },
    {
      "src": "/icon-512.svg",
      "type": "image/svg+xml",
      "sizes": "512x512",
      "purpose": "any"
    },
    {
      "src": "/icon-maskable-192.svg",
      "type": "image/svg+xml",
      "sizes": "192x192",
      "purpose": "maskable"
    },
    {
      "src": "/icon-maskable-512.svg",
      "type": "image/svg+xml",
      "sizes": "512x512",
      "purpose": "maskable"
    }
  ],

  "screenshots": [
    {
      "src": "/screenshot-wide.svg",
      "type": "image/svg+xml",
      "sizes": "1280x720",
      "form_factor": "wide",
      "label": "PolicyCRM dashboard showing portfolio analytics and client overview"
    },
    {
      "src": "/screenshot-narrow.svg",
      "type": "image/svg+xml",
      "sizes": "390x844",
      "form_factor": "narrow",
      "label": "PolicyCRM mobile view with charts and client list"
    }
  ],

  "shortcuts": [
    {
      "name": "New Client",
      "short_name": "Add Client",
      "description": "Add a new client portfolio",
      "url": "/?view=form",
      "icons": [
        {
          "src": "/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Pipeline",
      "short_name": "Pipeline",
      "description": "Open the sales pipeline",
      "url": "/?view=pipeline-hub",
      "icons": [
        {
          "src": "/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    },
    {
      "name": "Analytics",
      "short_name": "Analytics",
      "description": "View analytics dashboard",
      "url": "/?view=analytics",
      "icons": [
        {
          "src": "/icon-192.svg",
          "sizes": "192x192",
          "type": "image/svg+xml"
        }
      ]
    }
  ],

  "prefer_related_applications": false,

  "edge_side_panel": {
    "preferred_width": 400
  },

  "handle_links": "preferred",

  "launch_handler": {
    "client_mode": ["navigate-existing", "auto"]
  }
}
