{
  "formatVersion": 1,
  "meta": {"title": "Investment Proposal for {{client.full_name}}", "author": "Accuvest Global Advisors"},
  "defaults": {"fontFamily": "Inter", "fontSize": 9, "color": "#3B3F45", "lineHeight": 1.35, "locale": "en"},
  "styles": {
    "band": {"fontWeight": 700, "fontSize": 18, "color": "#E3A43B", "letterSpacing": 1.6},
    "th": {"fontWeight": 600, "fontSize": 7, "color": "#8A95A3", "letterSpacing": 0.8, "textCase": "upper"},
    "factor": {"fontWeight": 700, "fontSize": 9, "color": "#1C2B48"}
  },
  "sheets": [
    {
      "id": "cover", "name": "Cover", "format": "A4", "orientation": "landscape",
      "size": {"w": 841.89, "h": 595.28},
      "background": {"type": "solid", "color": "#FFFFFF"},
      "pageNumbering": {"skip": true},
      "children": [
        {"id": "cover-art", "type": "image", "name": "Cover art", "x": 0, "y": 0, "w": 288, "h": 595.28,
         "assetId": "demo-cover", "fit": "cover"},
        {"id": "band", "type": "rect", "name": "Band", "x": 0, "y": 100, "w": 841.89, "h": 78,
         "fills": [{"type": "solid", "color": "#0F5470"}]},
        {"id": "logo-mark", "type": "ellipse", "x": 30, "y": 127, "w": 24, "h": 24,
         "fills": [{"type": "solid", "color": "#FFFFFF"}], "strokes": [{"color": "#0F5470", "width": 3}]},
        {"id": "logo-mark-dot", "type": "ellipse", "x": 38, "y": 135, "w": 8, "h": 8,
         "fills": [{"type": "solid", "color": "#0F5470"}]},
        {"id": "logo-text", "type": "text", "x": 60, "y": 123, "w": 200, "h": 34, "autoSize": "none",
         "content": [
           {"runs": [{"text": "Accuvest", "style": {"fontWeight": 700, "fontSize": 15, "color": "#FFFFFF", "lineHeight": 1.1}}]},
           {"runs": [{"text": "Global Advisors", "style": {"fontWeight": 500, "fontSize": 8.5, "color": "#FFFFFF", "lineHeight": 1.2}}]}
         ]},
        {"id": "tagline", "type": "text", "x": 300, "y": 126, "w": 520, "h": 26, "verticalAlign": "middle",
         "content": [{"align": "center", "runs": [{"text": "YOUR FUTURE  AWAITS", "styleRef": "band"}]}]},
        {"id": "client-name", "type": "text", "x": 336, "y": 252, "w": 470, "h": 34, "autoSize": "height",
         "content": [{"runs": [{"text": "{{client.full_name}}", "style": {"fontWeight": 700, "fontSize": 26, "color": "#164E70", "lineHeight": 1.15}}]}]},
        {"id": "identified", "type": "text", "x": 336, "y": 292, "w": 470, "h": 14, "pushDown": true,
         "content": [{"runs": [{"text": "We have identified you as a...", "style": {"fontSize": 8.5, "color": "#555B63"}}]}]},
        {"id": "risk-name", "type": "text", "x": 336, "y": 314, "w": 470, "h": 24, "autoSize": "height", "pushDown": true,
         "content": [{"runs": [{"text": "{{risk_profile.name}}", "style": {"fontWeight": 700, "fontSize": 17, "color": "#E8742A", "lineHeight": 1.2}}]}]},
        {"id": "plan-text", "type": "text", "x": 336, "y": 342, "w": 440, "h": 26, "autoSize": "height", "pushDown": true,
         "content": [{"runs": [{"text": "and have crafted a personalized investment plan built to align with your financial goals and long-term vision."}]}]},
        {"id": "risk-description", "type": "text", "x": 336, "y": 380, "w": 440, "h": 26, "autoSize": "height", "pushDown": true,
         "visibleIf": "risk_profile.description",
         "content": [{"runs": [{"text": "{{risk_profile.description}}"}]}]},
        {"id": "mosaic", "type": "group", "x": 650, "y": 500, "w": 150, "h": 30, "children": [
          {"id": "m1", "type": "rect", "x": 0, "y": 0, "w": 9, "h": 9, "cornerRadius": 2, "fills": [{"type": "solid", "color": "#E8742A"}]},
          {"id": "m2", "type": "rect", "x": 11, "y": 0, "w": 9, "h": 9, "cornerRadius": 2, "fills": [{"type": "solid", "color": "#3CCB4A"}]},
          {"id": "m3", "type": "rect", "x": 0, "y": 11, "w": 9, "h": 9, "cornerRadius": 2, "fills": [{"type": "solid", "color": "#2A8BD8"}]},
          {"id": "m4", "type": "rect", "x": 11, "y": 11, "w": 9, "h": 9, "cornerRadius": 2, "fills": [{"type": "solid", "color": "#E3A43B"}]},
          {"id": "m5", "type": "rect", "x": 22, "y": 5, "w": 9, "h": 9, "cornerRadius": 2, "fills": [{"type": "solid", "color": "#C23B7A"}]},
          {"id": "mosaic-text", "type": "text", "x": 36, "y": 1, "w": 110, "h": 20, "verticalAlign": "middle",
           "content": [{"runs": [{"text": "MOSAIC", "style": {"fontWeight": 500, "fontSize": 15, "color": "#3B3F45", "letterSpacing": 0.5}}]}]}
        ]}
      ]
    },
    {
      "id": "outlook", "name": "Market Outlook", "format": "A4", "orientation": "landscape",
      "size": {"w": 841.89, "h": 595.28},
      "background": {"type": "solid", "color": "#FFFFFF"},
      "overflow": {"continuationSheetId": "outlook", "maxPages": 10},
      "children": [
        {"id": "top-art", "type": "rect", "x": 0, "y": 0, "w": 841.89, "h": 46,
         "fills": [{"type": "linear", "angle": 90, "stops": [{"offset": 0, "color": "#2C8FB8"}, {"offset": 0.55, "color": "#4FB7A5"}, {"offset": 1, "color": "#7CC36A"}]}]},
        {"id": "overview-label", "type": "text", "x": 560, "y": 16, "w": 255, "h": 14,
         "content": [{"align": "right", "runs": [{"text": "MARKET OVERVIEW", "style": {"fontWeight": 700, "fontSize": 8.5, "color": "#FFFFFF", "letterSpacing": 0.4}}]}]},
        {"id": "title-band", "type": "rect", "x": 0, "y": 46, "w": 841.89, "h": 58,
         "fills": [{"type": "solid", "color": "#0F5470"}]},
        {"id": "title", "type": "text", "x": 40, "y": 62, "w": 761.89, "h": 26, "verticalAlign": "middle",
         "content": [{"align": "center", "runs": [{"text": "{{market_outlook.title|upper}}", "style": {"fontWeight": 700, "fontSize": 19, "color": "#FFFFFF", "letterSpacing": 1.4}}]}]},
        {"id": "subtitle", "type": "text", "x": 120, "y": 124, "w": 601.89, "h": 12, "showOn": "first",
         "content": [{"align": "center", "runs": [{"text": "{{market_outlook.subtitle}}", "style": {"fontSize": 7, "color": "#7A828C"}}]}]},
        {"id": "factors", "type": "repeater", "x": 185, "y": 146, "w": 480, "h": 360,
         "source": "market_outlook.factors", "as": "f", "direction": "vertical", "gap": 7,
         "overflow": "nextPage", "keepTogether": true,
         "header": {"h": 18, "repeat": true, "children": [
           {"id": "th-factor", "type": "text", "x": 28, "y": 2, "w": 140, "h": 12, "content": [{"runs": [{"text": "Factor", "styleRef": "th"}]}]},
           {"id": "th-score", "type": "text", "x": 180, "y": 2, "w": 140, "h": 12, "content": [{"runs": [{"text": "Assessment", "styleRef": "th"}]}]},
           {"id": "th-status", "type": "text", "x": 392, "y": 2, "w": 80, "h": 12, "content": [{"runs": [{"text": "Status", "styleRef": "th"}]}]}
         ]},
         "item": {"h": 24, "children": [
           {"id": "f-icon-bg", "type": "ellipse", "x": 0, "y": 1, "w": 20, "h": 20, "fills": [{"type": "solid", "color": "#DDE9F2"}]},
           {"id": "f-icon", "type": "text", "x": 0, "y": 5, "w": 20, "h": 12,
            "content": [{"align": "center", "runs": [{"text": "{{f.icon|default:f.title|first}}", "style": {"fontWeight": 700, "fontSize": 8, "color": "#2B5C82"}}]}]},
           {"id": "f-title", "type": "text", "x": 28, "y": 1, "w": 140, "h": 22, "verticalAlign": "middle",
            "overflowMode": "ellipsis", "maxLines": 2,
            "content": [{"runs": [{"text": "{{f.title}}", "styleRef": "factor", "style": {"lineHeight": 1.15}}]}]},
           {"id": "f-track", "type": "rect", "x": 180, "y": 7, "w": 200, "h": 9, "fills": [{"type": "solid", "color": "#E7ECEF"}]},
           {"id": "f-bar", "type": "rect", "x": 180, "y": 7, "w": 200, "h": 9,
            "bind": {"w": "f.score / 100 * 200", "fills.0.color": "f.color"},
            "fills": [{"type": "solid", "color": "#3CCB4A"}]},
           {"id": "f-status", "type": "text", "x": 392, "y": 5, "w": 85, "h": 12,
            "content": [{"runs": [{"text": "{{f.status}}", "style": {"fontSize": 8.5, "color": "#1C2B48"}}]}]}
         ]},
         "emptyState": {"h": 20, "children": [
           {"id": "empty", "type": "text", "x": 0, "y": 0, "w": 480, "h": 14, "content": [{"align": "center", "runs": [{"text": "No factors provided"}]}]}
         ]}
        },
        {"id": "footer-band", "type": "rect", "x": 0, "y": 545, "w": 841.89, "h": 50.28, "fills": [{"type": "solid", "color": "#575757"}]},
        {"id": "footer-site", "type": "text", "x": 40, "y": 564, "w": 200, "h": 12,
         "content": [{"runs": [{"text": "{{advisor.site|default:\"accuvest.com\"}}", "style": {"fontSize": 7.5, "color": "#FFFFFF"}}]}]},
        {"id": "footer-page", "type": "text", "x": 370.95, "y": 564, "w": 100, "h": 12,
         "content": [{"align": "center", "runs": [{"text": "{{page.number}} / {{page.total}}", "style": {"fontSize": 7.5, "color": "#D0D0D0"}}]}]},
        {"id": "footer-phone", "type": "text", "x": 600, "y": 564, "w": 201.89, "h": 12,
         "content": [{"align": "right", "runs": [{"text": "{{advisor.phone|default:\"Tel 925-930-2882\"}}", "style": {"fontSize": 7.5, "color": "#FFFFFF"}}]}]}
      ]
    }
  ]
}
