{"kind":"Skill","metadata":{"namespace":"community","name":"earnings-preview-beta","version":"0.1.0"},"spec":{"description":"Generate a concise 4-5 page equity research earnings preview for a single company. Analyzes the most recent earnings transcript, competitor landscape, valuation, and recent news to produce a professional HTML report.","files":{"LICENSE":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright 2026-present Kensho Technologies, LLC.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.","SKILL.md":"---\nname: earnings-preview-single\ndescription: Generate a concise 4-5 page equity research earnings preview for a single company. Analyzes the most recent earnings transcript, competitor landscape, valuation, and recent news to produce a professional HTML report.\n---\n\n# Single-Company Earnings Preview\n\nGenerate a concise, professional equity research earnings preview for a single company. The output is a self-contained HTML file targeting 4-5 printed pages. The report is dense with figures and data, with tight narrative that gets straight to the point.\n\n**Data Sources (ZERO EXCEPTIONS):** The ONLY permitted data sources are **Kensho Grounding MCP** (`search`) and **S\u0026P Global MCP** (`kfinance`). Absolutely NO other tools, data sources, or web access of any kind. Specifically:\n- Do NOT use `WebSearch`, `WebFetch`, `web_search`, `brave_search`, `google_search`, or ANY generic web/internet search tool — even if Kensho is slow, returns no results, or is temporarily unavailable.\n- Do NOT use any browser, URL fetch, or web scraping tool.\n- If Kensho Grounding returns no results for a query, try rephrasing the query or note \"data not available\" in the report. **NEVER fall back to web search as an alternative.**\n- Every piece of information in the report must be traceable to either a `kfinance` MCP function call or a Kensho `search` call. If it cannot be sourced to one of these two, it must not appear in the report.\n\n**Critical Rule:** You MUST complete ALL research and data collection (Phases 1-5) BEFORE writing any part of the report.\n\n**Intermediate File Rule:** All raw data from MCP tool calls MUST be written to files in `/tmp/earnings-preview/` **immediately after each tool call returns** — before moving to the next call. This protects data from context window compression. Do NOT hold data only in memory. At the start of Phase 1, run `mkdir -p /tmp/earnings-preview` to create the directory. **Before generating the HTML report (Phase 7), you MUST read ALL intermediate files back into context using `cat` commands. The files — not your memory of earlier conversation — are the single source of truth for every number, quote, and source URL in the report. If you skip reading the files, the report WILL contain errors.**\n\n**Fiscal Quarter Rule:** NEVER infer the fiscal quarter from the calendar report date. Many companies have non-standard fiscal years (e.g., Walmart's FY ends Jan 31, so a Feb 2026 report covers Q4 FY2026, not Q4 2025 or Q1 2026). Always use the fiscal quarter and fiscal year exactly as stated in the earnings call name returned by `get_next_earnings_from_identifiers` or `get_earnings_from_identifiers` (e.g., \"Walmart Q4 FY2026 Earnings Call\" means the quarter is Q4 FY2026). Use that verbatim in the report title, headers, tables, and all references. If the call name is ambiguous, cross-reference with `get_financial_line_item_from_identifiers` period labels.\n\n**Length Rule:** The report must be concise. Target 4-5 pages when printed. Do NOT write long multi-paragraph narratives. Use tight, punchy bullet points. Every sentence must earn its place. If you can say it in fewer words, do so.\n\n**Verbatim Quote Rule:** When quoting management in `\u003cblockquote\u003e` tags, the text MUST be copied **exactly** from the transcript — word for word, including filler words and sentence fragments. Do NOT paraphrase, rearrange, combine sentences from different parts of the transcript, or \"clean up\" quotes. If you cannot find the exact phrase in the transcript, do NOT present it as a direct quote. Instead, paraphrase in your own narrative voice without blockquote formatting (e.g., \"Management noted that data center demand remains significant\"). Every blockquote must be a verbatim, copy-paste excerpt that can be verified against the transcript.\n\n**Calculation Integrity Rule:** For any multi-step calculation (implied quarterly figures from annual guidance, LTM P/E, y/y growth rates, segment y/y changes), write out each step explicitly and verify intermediate results before using them in the next step. If you state A + B + C = X, verify X is arithmetically correct before using X in a subsequent formula. If the appendix shows a sum that does not equal its stated components, the report is wrong. When in doubt, recompute from raw data rather than reusing a previously calculated intermediate.\n\n**Ratio Nomenclature Rule:** All valuation ratios must be explicitly labeled as **LTM** (Last Twelve Months) or **NTM** (Next Twelve Months). Never use \"trailing\" or \"forward\" — always use LTM or NTM. LTM ratios use the sum of the most recent 4 reported quarters. NTM ratios use the **sum of the next 4 quarterly consensus mean EPS estimates** from `get_consensus_estimates_from_identifiers` — NOT a single annual figure. Both LTM and NTM P/E must be computed and displayed in the competitor comparison table.\n\n**Hyperlink Rule (STRICTLY ENFORCED):** Every claim in the report — numeric AND non-numeric — MUST be wrapped in an `\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e` hyperlink pointing to the corresponding entry in the Appendix. **This is not optional. Every single number in the report must be a clickable link.** This includes: revenue figures, EPS, margins, growth rates, market caps, P/E ratios, stock returns, price targets, segment revenue, and any other financial metric. It also includes qualitative claims from transcripts or Kensho searches. If you state it as fact, it must link to a source. Assign each unique claim a sequential reference ID (`ref-1`, `ref-2`, etc.). The hyperlink style is subtle — navy color, no underline, dotted underline on hover. **Do NOT write any number in the report body without wrapping it in an `\u003ca\u003e` tag.** Example: write `\u003ca href=\"#ref-1\" class=\"data-ref\"\u003e$152.3B\u003c/a\u003e`, NEVER write `$152.3B` as plain text.\n\n---\n\n## Phase 1: Company Profile \u0026 Setup\n\n1. Parse the single company ticker from `$ARGUMENTS` (strip whitespace).\n2. Run `mkdir -p /tmp/earnings-preview` to create the working directory.\n3. Call `get_latest()` to establish current reporting period context.\n4. Call `get_info_from_identifiers` — record market cap, industry.\n5. Call `get_company_summary_from_identifiers` — record business description.\n6. Call `get_next_earnings_from_identifiers` — record upcoming earnings date and fiscal quarter name.\n\n**Immediately write** `/tmp/earnings-preview/company-info.txt`:\n```\nTICKER: [ticker]\nCOMPANY: [full name]\nINDUSTRY: [industry]\nMARKET_CAP: [value] (as of [date])\nNEXT_EARNINGS_DATE: [date]\nNEXT_EARNINGS_QUARTER: [Q# FY#### exactly as returned by API]\nBUSINESS_DESCRIPTION: [2-3 sentence summary]\n```\n\n---\n\n## Phase 2: Earnings Transcript Analysis (MANDATORY — COMPLETE BEFORE WRITING)\n\n1. Call `get_latest_earnings_from_identifiers` to get the most recent completed earnings call `key_dev_id`.\n2. Call `get_transcript_from_key_dev_id` for that transcript.\n3. **Immediately write** `/tmp/earnings-preview/transcript-extracts.txt` with the following sections. Write this file WHILE you still have the transcript in context — do not wait:\n\n```\nTRANSCRIPT_SOURCE: [Call Name, e.g., \"Q3 2025 Earnings Call\"]\nKEY_DEV_ID: [key_dev_id]\nCALL_DATE: [date]\nFISCAL_QUARTER: [Q# FY####]\n\n=== VERBATIM QUOTES (copy-paste exactly — do NOT paraphrase) ===\nQUOTE_1: \"[exact text from transcript]\"\nSPEAKER_1: [Name], [Title]\nCONTEXT_1: [1 sentence on where this appeared — prepared remarks or Q\u0026A]\n\nQUOTE_2: \"[exact text from transcript]\"\nSPEAKER_2: [Name], [Title]\nCONTEXT_2: [context]\n\nQUOTE_3: \"[exact text from transcript]\"\nSPEAKER_3: [Name], [Title]\nCONTEXT_3: [context]\n\nQUOTE_4: \"[exact text from transcript]\"\nSPEAKER_4: [Name], [Title]\nCONTEXT_4: [context]\n\n=== GUIDANCE (quantitative only) ===\n- [metric]: [range or point estimate as stated by management]\n- [metric]: [range or point estimate]\n\n=== KEY DRIVERS ===\n- [driver 1 with supporting data point]\n- [driver 2 with supporting data point]\n- [driver 3 with supporting data point]\n\n=== HEADWINDS \u0026 RISKS ===\n- [risk 1 with quantification if available]\n- [risk 2]\n\n=== ANALYST Q\u0026A THEMES ===\n- [theme 1: what analysts pushed on]\n- [theme 2]\n- [theme 3]\n\n=== SYNTHESIS: THEMES TO WATCH NEXT QUARTER ===\n- [theme 1]\n- [theme 2]\n- [theme 3]\n```\n\n---\n\n## Phase 3: Competitor Analysis\n\n1. Call `get_competitors_from_identifiers` with `competitor_source=\"all\"`.\n2. Select **top 5-7 most relevant public competitors**.\n3. For the company AND all selected competitors, gather:\n   - `get_prices_from_identifiers` with `periodicity=\"day\"`, last 12 months\n   - `get_financial_line_item_from_identifiers` for `diluted_eps`, `period_type=\"quarterly\"`, `num_periods=8`\n   - `get_capitalization_from_identifiers` with `capitalization=\"market_cap\"` (latest)\n   - `get_consensus_estimates_from_identifiers` with `period_type=\"quarterly\"`, `num_periods_forward=4` — this returns consensus mean EPS estimates for the next 4 quarters, which are summed to compute NTM EPS\n\n**After each tool call returns, immediately append the raw data to the appropriate intermediate file:**\n\n**Write** `/tmp/earnings-preview/prices.csv` — one row per (ticker, date, close). Include the `source` column with the exact MCP function call. Write the subject company's prices first, then each competitor's as you fetch them:\n```\nticker,date,close,source\nD,2025-02-19,55.67,get_prices_from_identifiers(identifier='D',periodicity='day')\nD,2025-02-20,55.82,get_prices_from_identifiers(identifier='D',periodicity='day')\n...\nDUK,2025-02-19,111.79,get_prices_from_identifiers(identifier='DUK',periodicity='day')\n...\n```\nNote: the `source` value is the same for all rows from a single call — write it on every row so it's always available.\n\n**Write** `/tmp/earnings-preview/peer-eps.csv` — one row per (ticker, period, eps). Write immediately after each `diluted_eps` call:\n```\nticker,period,diluted_eps,source\nD,Q4 2024,1.09,get_financial_line_item_from_identifiers(identifier='D',line_item='diluted_eps',period_type='quarterly')\nD,Q1 2025,-0.11,get_financial_line_item_from_identifiers(identifier='D',line_item='diluted_eps',period_type='quarterly')\n...\nDUK,Q4 2024,1.52,get_financial_line_item_from_identifiers(identifier='DUK',line_item='diluted_eps',period_type='quarterly')\n...\n```\n\n**Write** `/tmp/earnings-preview/peer-market-caps.csv` — one row per ticker. Write immediately after each `market_cap` call:\n```\nticker,market_cap,retrieval_date,source\nD,55900000000,2026-02-19,get_capitalization_from_identifiers(identifier='D',capitalization='market_cap')\nDUK,98300000000,2026-02-19,get_capitalization_from_identifiers(identifier='DUK',capitalization='market_cap')\n...\n```\n\n**Write** `/tmp/earnings-preview/consensus-eps.csv` — one row per (ticker, period, consensus mean EPS). Write immediately after each `get_consensus_estimates_from_identifiers` call:\n```\nticker,period,consensus_mean_eps,num_estimates,source\nD,Q4 2025,0.88,12,get_consensus_estimates_from_identifiers(identifier='D',period_type='quarterly',num_periods_forward=4)\nD,Q1 2026,0.72,10,get_consensus_estimates_from_identifiers(identifier='D',period_type='quarterly',num_periods_forward=4)\nD,Q2 2026,0.91,9,get_consensus_estimates_from_identifiers(identifier='D',period_type='quarterly',num_periods_forward=4)\nD,Q3 2026,1.05,8,get_consensus_estimates_from_identifiers(identifier='D',period_type='quarterly',num_periods_forward=4)\nDUK,Q4 2025,1.48,14,get_consensus_estimates_from_identifiers(identifier='DUK',period_type='quarterly',num_periods_forward=4)\n...\n```\n\n4. **Do NOT calculate P/E or returns yet.** The raw data is now on disk. Calculations happen in Phase 6 (Verification), reading from these files.\n\n**Date Consistency Rule (stock returns):** When computing comparative stock returns (YTD %, 1-yr %, 30d %, 90d %), ALL tickers MUST use the **exact same start and end dates**. After writing all price data to `prices.csv`, identify the first trading date that appears in ALL tickers' data and use that as the common base date. Do NOT use different base dates for different tickers (e.g., the subject from Feb 19 and peers from Feb 28). If a ticker's data starts later than others, use the first overlapping date for ALL calculations. State the common base date in the appendix for every return calculation.\n\n**P/E Currency Rule (LTM P/E):** When computing LTM P/E for each company, use that company's **most recent 4 reported quarters** from `peer-eps.csv` — not a fixed calendar window applied to all. If a peer has already reported Q4 2025 while the subject company has only reported through Q3 2025, the peer's LTM EPS should include Q4 2025. Check the latest reported period for each company and use the 4 most recent periods per company. Note in the appendix which 4 quarters were used for each P/E calculation.\n\n**Market Cap Date-Stamp:** When reporting market cap, use the `retrieval_date` from `peer-market-caps.csv`. If it differs from the report date, note this in the appendix.\n\n---\n\n## Phase 4: News, Estimates \u0026 Sector Intelligence (via Kensho Grounding)\n\nRun these `search` queries for **each** category below. Do NOT skip any.\n\n**CRITICAL — Capture Source URLs:** Every Kensho `search` result includes a **source URL** for the underlying article, report, or data page. You MUST record the URL alongside each finding.\n\n**After EACH search call, immediately append the results to** `/tmp/earnings-preview/kensho-findings.txt` using the format below. Do NOT wait until all searches are done — write after each one:\n\n```\n=== SEARCH: \"[query used]\" ===\nDATE_RUN: [today's date]\nCATEGORY: [estimates|analyst_ratings|risks|news|sector]\n\nFINDING_1: [key finding or excerpt]\nURL_1: [source URL from search result]\nSOURCE_1: [publication name, date if available]\n\nFINDING_2: [key finding or excerpt]\nURL_2: [source URL]\nSOURCE_2: [publication name, date]\n\n[...continue for all relevant results from this search...]\n```\n\n**Earnings estimates \u0026 analyst sentiment:**\n1. `search` for \"[TICKER] earnings estimates consensus EPS revenue upcoming quarter\"\n   - Record: consensus EPS, consensus revenue, estimate revision direction over last 90 days.\n   - **Append to kensho-findings.txt immediately.**\n2. `search` for \"[TICKER] analyst ratings price target upgrades downgrades\"\n   - Record: recent upgrades/downgrades, price target range, bull/bear thesis summaries.\n   - **Append to kensho-findings.txt immediately.**\n3. `search` for \"[TICKER] risks bear case concerns investors\"\n   - Record: key debates, bear arguments, swing factors for the upcoming print.\n   - **Append to kensho-findings.txt immediately.**\n\n**Recent news (MANDATORY — do not skip):**\n4. `search` for \"[TICKER] [company name] recent news developments\"\n   - Record: material news from the last 60 days — M\u0026A, product launches, executive changes, regulatory actions, partnerships, legal developments, tariffs, or any event that could affect the upcoming earnings print or forward guidance.\n   - For each item, note the date, headline, potential earnings impact.\n   - **Append to kensho-findings.txt immediately.**\n\n**Sector context:**\n5. `search` for \"[company industry/sector] sector outlook trends\"\n   - Record: sector-level tailwinds/headwinds, macro data, competitive dynamics.\n   - **Append to kensho-findings.txt immediately.**\n\n---\n\n## Phase 5: Financial Data Collection\n\n**Quarterly financials (last 8 quarters):**\n`get_financial_line_item_from_identifiers` with `period_type=\"quarterly\"`, `num_periods=8` for:\n`revenue`, `gross_profit`, `operating_income`, `ebitda`, `net_income`, `diluted_eps`\n\n**After each line item call returns, immediately append to** `/tmp/earnings-preview/financials.csv`. Write the raw values exactly as returned — do NOT round or convert yet. Include the `source` column with the exact MCP function call and parameters:\n```\nticker,period,line_item,value,source\nD,Q4 2024,revenue,3941000000,get_financial_line_item_from_identifiers(identifier='D',line_item='revenue',period_type='quarterly')\nD,Q1 2025,revenue,3400000000,get_financial_line_item_from_identifiers(identifier='D',line_item='revenue',period_type='quarterly')\nD,Q2 2025,revenue,4076000000,get_financial_line_item_from_identifiers(identifier='D',line_item='revenue',period_type='quarterly')\nD,Q3 2025,revenue,3810000000,get_financial_line_item_from_identifiers(identifier='D',line_item='revenue',period_type='quarterly')\nD,Q4 2024,diluted_eps,1.09,get_financial_line_item_from_identifiers(identifier='D',line_item='diluted_eps',period_type='quarterly')\nD,Q1 2025,diluted_eps,-0.11,get_financial_line_item_from_identifiers(identifier='D',line_item='diluted_eps',period_type='quarterly')\n...\n```\n\n**Do NOT calculate margins or growth rates yet.** Write raw data only. Calculations happen in Phase 6.\n\n**Segment data:**\n- `get_segments_from_identifiers` with `segment_type=\"business\"`, `period_type=\"quarterly\"`, `num_periods=8`\n- You need 8 quarters (not 4) so you have the year-ago quarter for y/y comparisons. To calculate y/y for Q3 2025, you need Q3 2024 — which is the 5th quarter back. **If the prior-year quarter's segment data is not available in the API response, do NOT estimate or fabricate it. State \"y/y not available\" in the report.**\n\n**Immediately write** `/tmp/earnings-preview/segments.csv`:\n```\nticker,period,segment_name,revenue,source\nD,Q3 2024,Dominion Energy Virginia,2762000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\nD,Q3 2024,Dominion Energy South Carolina,848000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\nD,Q3 2024,Contracted Energy,260000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\nD,Q3 2025,Dominion Energy Virginia,3311000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\nD,Q3 2025,Dominion Energy South Carolina,945000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\nD,Q3 2025,Contracted Energy,297000000,get_segments_from_identifiers(identifier='D',segment_type='business',period_type='quarterly')\n...\n```\n\n**Earnings history (for stock chart annotations):**\n- `get_earnings_from_identifiers` — collect past earnings dates within the 12-month price window.\n- **Immediately write** `/tmp/earnings-preview/earnings-dates.csv`:\n```\nticker,earnings_date,call_name,source\nD,2025-05-02,Q1 2025 Earnings Call,get_earnings_from_identifiers(identifier='D')\nD,2025-08-01,Q2 2025 Earnings Call,get_earnings_from_identifiers(identifier='D')\nD,2025-10-31,Q3 2025 Earnings Call,get_earnings_from_identifiers(identifier='D')\n...\n```\n\n---\n\n## Phase 6: Verification \u0026 Calculations (MANDATORY — DO NOT SKIP)\n\nBefore generating the report, read back ALL intermediate files and perform calculations from the clean data. This phase ensures data integrity by working from files rather than compressed conversation context.\n\n1. **Read all intermediate files** using bash `cat` commands:\n   - `cat /tmp/earnings-preview/company-info.txt`\n   - `cat /tmp/earnings-preview/transcript-extracts.txt`\n   - `cat /tmp/earnings-preview/financials.csv`\n   - `cat /tmp/earnings-preview/segments.csv`\n   - `cat /tmp/earnings-preview/prices.csv`\n   - `cat /tmp/earnings-preview/peer-eps.csv`\n   - `cat /tmp/earnings-preview/peer-market-caps.csv`\n   - `cat /tmp/earnings-preview/consensus-eps.csv`\n   - `cat /tmp/earnings-preview/kensho-findings.txt`\n   - `cat /tmp/earnings-preview/earnings-dates.csv`\n\n2. **Calculate derived metrics** from the raw data now in context:\n   - Gross margin % = gross_profit / revenue (per quarter)\n   - Operating margin % = operating_income / revenue (per quarter)\n   - Revenue y/y growth % = (current Q revenue - year-ago Q revenue) / year-ago Q revenue\n   - EPS y/y growth % = same logic; use \"n.m.\" if base is negative\n   - Segment y/y growth % = match segment by name to year-ago Q; if missing, note \"y/y not available\"\n   - LTM P/E per company = latest price / sum of most recent 4 quarterly EPS (check which 4 quarters are available per ticker using `peer-eps.csv`)\n   - NTM P/E per company = latest price / NTM EPS, where **NTM EPS = sum of the next 4 quarterly consensus mean EPS estimates** from `consensus-eps.csv`. Add all 4 quarters' consensus_mean_eps values for each ticker. If fewer than 4 forward quarters are available for a peer, mark NTM P/E as \"n/a\". Note in the appendix which 4 quarters were summed.\n   - Stock returns (YTD, 1-yr, 30d, 90d) = find the **common first date across all tickers** in `prices.csv`, then compute returns from that date\n\n3. **Cross-check**:\n   - Verify every segment y/y has the actual prior-year row in `segments.csv`. If not, mark \"y/y not available.\"\n   - Verify all stock return base dates are identical across tickers.\n   - Verify any multi-step calculation by re-summing components (e.g., LTM EPS sum matches the 4 quarterly values).\n   - Verify all verbatim quotes in `transcript-extracts.txt` are exact copy-pastes (not paraphrases).\n\n4. **Write** `/tmp/earnings-preview/calculations.csv` with all derived values:\n```\nticker,metric,value,formula,components\nD,gross_margin_Q3_2025,32.5%,gross_profit/revenue,\"gross_profit=1238100000,revenue=3810000000\"\nD,revenue_yoy_Q3_2025,+9.3%,(Q3_2025-Q3_2024)/Q3_2024,\"Q3_2025=3810000000,Q3_2024=3486000000\"\nD,ltm_pe,24.2x,price/ltm_eps,\"price=65.46,ltm_eps=2.70,quarters=Q4_2024+Q1_2025+Q2_2025+Q3_2025\"\nD,ntm_pe,18.5x,price/ntm_eps,\"price=65.46,ntm_eps=3.56,quarters=Q4_2025(0.88)+Q1_2026(0.72)+Q2_2026(0.91)+Q3_2026(1.05),source=get_consensus_estimates_from_identifiers\"\nD,yoy_return,+17.6%,(end-start)/start,\"end=65.46,start=55.67,base_date=2025-02-19\"\nDUK,yoy_return,+13.0%,(end-start)/start,\"end=126.32,start=111.79,base_date=2025-02-19\"\n...\n```\n\nThis file becomes the single source of truth for all numbers in the report.\n\n---\n\n## Phase 7: Generate the HTML Report\n\n**STOP — BEFORE WRITING ANY HTML, YOU MUST READ ALL INTERMEDIATE FILES. THIS IS A BLOCKING PREREQUISITE.**\n\nThis is not optional. You MUST run each `cat` command below as a **separate bash tool call** (not combined into one). This ensures each file's contents are individually loaded and visible in the conversation. Do NOT combine them into a single command. Do NOT skip any file.\n\nRun these commands **one at a time, each as its own bash call**:\n\n1. `cat /tmp/earnings-preview/company-info.txt`\n2. `cat /tmp/earnings-preview/transcript-extracts.txt`\n3. `cat /tmp/earnings-preview/financials.csv`\n4. `cat /tmp/earnings-preview/segments.csv`\n5. `cat /tmp/earnings-preview/prices.csv`\n6. `cat /tmp/earnings-preview/peer-eps.csv`\n7. `cat /tmp/earnings-preview/peer-market-caps.csv`\n8. `cat /tmp/earnings-preview/consensus-eps.csv`\n9. `cat /tmp/earnings-preview/kensho-findings.txt`\n10. `cat /tmp/earnings-preview/earnings-dates.csv`\n11. `cat /tmp/earnings-preview/calculations.csv`\n\n**After reading ALL files, you MUST print a summary message to the user** that lists every file and its status. Use exactly this format:\n\n```\n--- DATA FILE VERIFICATION ---\n1. company-info.txt        ✓ loaded ([N] lines)\n2. transcript-extracts.txt ✓ loaded ([N] lines)\n3. financials.csv          ✓ loaded ([N] rows)\n4. segments.csv            ✓ loaded ([N] rows)\n5. prices.csv              ✓ loaded ([N] rows)\n6. peer-eps.csv            ✓ loaded ([N] rows)\n7. peer-market-caps.csv    ✓ loaded ([N] rows)\n8. consensus-eps.csv       ✓ loaded ([N] rows)\n9. kensho-findings.txt     ✓ loaded ([N] lines)\n10. earnings-dates.csv     ✓ loaded ([N] rows)\n11. calculations.csv       ✓ loaded ([N] rows)\n\nAll intermediate data files loaded successfully.\nGenerating report using file data as the single source of truth.\n---\n```\n\nIf any file is missing or empty, STOP and tell the user which file failed. Do NOT proceed to generate the report with missing data.\n\n**Every number, quote, source URL, and MCP function call reference in the HTML report must come from these files — not from your memory of earlier conversation turns.** The files are the single source of truth. Earlier conversation context may have been compressed or summarized and WILL contain errors if relied upon. If a data point is not in the files, it should not appear in the report.\n\nSee [report-template.md](report-template.md) for the complete HTML template, CSS, and Chart.js configuration.\n\n**MANDATORY — Use Template Helper Functions for Charts:**\nThe report-template.md provides pre-built, debugged Chart.js helper functions. You MUST use these exact functions to create charts. Do NOT write custom inline Chart.js code. The helpers are:\n- `createRevEpsChart(canvasId, labels, revenueData, epsData, revLabel)` — for Figure 1\n- `createMarginChart(canvasId, labels, grossMargins, opMargins)` — for Figure 2\n- `createRevGrowthChart(canvasId, labels, growthData)` — for Figure 3\n- `createAnnotatedPriceChart(canvasId, labels, prices, earningsDates, ticker)` — for Figure 5\n- `createCompPerfChart(canvasId, labels, datasets)` — for Figure 6\n- `createPEChart(canvasId, companies)` — for Figure 7\n\nEach chart call MUST be in its own `\u003cscript\u003e` tag wrapped in a try-catch block. This ensures a bug in one chart does not prevent other charts from rendering. Example:\n```html\n\u003cscript\u003e\ntry {\n  createRevEpsChart('chart-rev-eps', [...], [...], [...], 'Revenue ($B)');\n} catch(e) { console.error('Figure 1 error:', e); }\n\u003c/script\u003e\n\u003cscript\u003e\ntry {\n  createMarginChart('chart-margins', [...], [...], [...]);\n} catch(e) { console.error('Figure 2 error:', e); }\n\u003c/script\u003e\n```\n\n### Report Structure (4-5 pages total)\n\nThe report has two halves: **narrative** (pages 1-2) and **figures** (pages 3-5). Keep these tightly integrated.\n\n---\n\n**AI DISCLAIMER (MANDATORY — must appear in 3 places):**\nYou MUST include the following disclaimer text in the report HTML. This is not optional — the report is incomplete without it:\n\n\u003e **\"Analysis is AI-generated — please confirm all outputs\"**\n\nIt must appear in exactly these 3 locations:\n1. **Header banner** — immediately before the cover header, as a centered yellow banner: `\u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e`\n2. **Footer** — inside the page-footer div, as a prominent yellow banner: `\u003cdiv class=\"footer-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e`\n3. **Appendix** — as the first line of the appendix section, before the table: `\u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e`\n\n---\n\n**PAGE 1: Cover \u0026 Thesis**\n\n- **AI disclaimer banner** (yellow, centered — see AI DISCLAIMER rule above)\n- **Header**: Company name (TICKER) | Industry | Report date\n- **Title**: Thematic, specific to the quarter (e.g., \"Walmart Inc. (WMT) Q4 FY2026 Earnings Preview: Holiday Harvest — Can Furner's First Print Confirm the $1T Thesis?\")\n- **Executive thesis** (2-3 short paragraphs max with bullet points):\n  - What we expect from this print in 1-2 sentences\n  - 4-6 bullet points covering: our EPS estimate vs consensus, guidance expectations, key metrics to watch, what would move the stock, key debates\n  - Keep it direct and opinionated — take a view, don't hedge everything\n- **Key management quotes** from the most recent earnings call woven into the narrative where relevant. Do NOT put these under a separate heading. Integrate them naturally as supporting evidence for your thesis points. Format as indented blockquotes.\n\n---\n\n**PAGE 2: Estimates, Themes \u0026 News**\n\n- **Consensus Estimates Table** (single table, labeled as a figure):\n  - Columns: Metric | Consensus | Our Estimate | y/y Change\n  - Rows: Revenue, EPS, Gross Margin, Operating Income, and 2-3 company-specific KPIs that matter (e.g., comp sales, eComm growth, membership revenue — whatever the Street cares about for THIS company)\n  - **Color-coding is strictly mechanical:** If the y/y change value is negative, use `class=\"neg\"` (red). If positive, use `class=\"pos\"` (green). If zero or N/A, use `class=\"neutral\"`. The sign of the number determines the class — do NOT override based on interpretation. A -1.1% is ALWAYS red, even if the decline is small.\n  - This is the ONLY guidance/estimates section. Do not repeat estimate data elsewhere.\n\n- **Key Metrics Beyond Headline EPS** (bulleted list, 3-5 items):\n  - The specific metrics that will determine if this is a good or bad quarter beyond the EPS number\n  - For each: what the metric is, what consensus/management expects, why it matters\n  - Be specific: \"Walmart Connect ad revenue growth (consensus ~30% y/y, 3Q was 33%)\"\n\n- **Themes to Watch** (3-5 bullets):\n  - Forward-looking items for the upcoming report\n  - What management needs to deliver on, what could surprise, what the bears are focused on\n  - Each theme: 1-2 sentences max\n\n- **Recent News \u0026 Developments** (3-5 bullets):\n  - Material news from the last 60 days, one line each\n  - Date + headline + brief impact assessment\n  - Only include items that could affect the upcoming print or guidance\n\n---\n\n**PAGES 3-5: Figures (all charts and tables)**\n\nAll figures are numbered sequentially. Every figure has a title and source line.\n\n- **Figure 1: Quarterly Revenue \u0026 Diluted EPS** — Bar/line combo, 8 quarters\n- **Figure 2: Margin Trends (Gross \u0026 Operating %)** — Dual line chart, 8 quarters\n- **Figure 3: Revenue Growth y/y %** — Bar chart with green/red conditional coloring. **Only include quarters where both current and year-ago data exist** (typically the most recent 4 quarters from the 8 fetched). Do NOT include quarters where y/y cannot be computed — the chart should have 4 bars, not 8.\n- **Figure 4: Business Segment Revenue** — Table: Segment | Latest Q Rev ($M) | % of Total | y/y Change\n- **Figure 5: 1-Year Stock Price with Earnings Dates** — Price line with vertical annotation lines at earnings dates, labeled with quarter and 1-day post-earnings move\n- **Figure 6: Stock Performance vs. Competitors (Indexed to 100)** — Multi-line chart, subject company as thick solid line, competitors as thinner dashed lines\n- **Figure 7: LTM P/E vs. Competitors** — Horizontal bar chart, subject company highlighted in navy\n- **Figure 8: Competitor Comparison Table** — Ticker | Company | Mkt Cap | LTM P/E | NTM P/E | YTD % | 1-Yr %\n\n---\n\n**APPENDIX: Data Sources \u0026 Calculations (MANDATORY — DO NOT SKIP OR ABBREVIATE)**\n\nThe appendix MUST begin with the AI disclaimer banner: `\u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e`\n\nThe final page(s) of the report MUST include an Appendix table that documents **every claim** — numeric and non-numeric — cited in the report. **Every number that appears in the report body must have a corresponding row in this appendix, and every such number in the report body must be a clickable `\u003ca href=\"#ref-N\"\u003e` hyperlink that scrolls to its appendix row.** If a number appears in the report without a hyperlink to the appendix, the report is incomplete.\n\n- **Table columns**: Ref # | Fact | Value | Source \u0026 Derivation\n- **Ref #**: Sequential ID matching the hyperlink anchors in the report body (`ref-1`, `ref-2`, etc.). Each row has an `id=\"ref-N\"` attribute so hyperlinks scroll to it.\n- **Fact**: Human-readable label (e.g., \"Q3 FY2026 Revenue\", \"LTM P/E — WMT\", \"Management flagged tariff headwinds\", \"Barclays upgraded to Overweight\")\n- **Value**: The exact figure as displayed in the report (e.g., \"$152.3B\", \"24.5%\", \"28.1x\"). For non-numeric facts, leave blank or write \"N/A\".\n- **Source \u0026 Derivation**: This is the critical column. **Every row must have a specific, detailed source — not just a label.** Follow these rules strictly:\n\n  **For raw financial data from S\u0026P Capital IQ (revenue, EPS, gross profit, operating income, net income, EBITDA, prices, market cap, etc.):**\n  - State the MCP function used and its key parameters. Format: `S\u0026P Capital IQ — [function_name](identifier='[TICKER]', line_item='[item]', period_type='[type]', period='[Q# FY####]')`\n  - Examples:\n    - `S\u0026P Capital IQ — get_financial_line_item_from_identifiers(identifier='WMT', line_item='revenue', period_type='quarterly', period='Q3 FY2026')`\n    - `S\u0026P Capital IQ — get_financial_line_item_from_identifiers(identifier='WMT', line_item='diluted_eps', period_type='quarterly', period='Q3 FY2026')`\n    - `S\u0026P Capital IQ — get_prices_from_identifiers(identifier='WMT', periodicity='day')`\n    - `S\u0026P Capital IQ — get_capitalization_from_identifiers(identifier='WMT', capitalization='market_cap')`\n  - **Do NOT just write \"S\u0026P Capital IQ\" with no detail.** The reader must know exactly which data point from which tool call produced this number.\n\n  **For calculated values (margins, growth rates, P/E, returns, y/y changes):**\n  - Show the full formula with **hyperlinked components** — each component must be an `\u003ca href=\"#ref-N\"\u003e` link back to the appendix row for that raw data point. This is critical: the reader must be able to click through from the calculated value to each of its inputs.\n  - Example: `Gross Margin = \u003ca href='#ref-5'\u003eGross Profit $37.2B\u003c/a\u003e / \u003ca href='#ref-1'\u003eRevenue $152.3B\u003c/a\u003e = 24.4%. Source: S\u0026P Capital IQ (calculated)`\n  - Example: `LTM P/E = \u003ca href='#ref-20'\u003ePrice $172.35\u003c/a\u003e / (\u003ca href='#ref-8'\u003eQ1 EPS $1.47\u003c/a\u003e + \u003ca href='#ref-9'\u003eQ2 EPS $1.84\u003c/a\u003e + \u003ca href='#ref-10'\u003eQ3 EPS $1.53\u003c/a\u003e + \u003ca href='#ref-11'\u003eQ4 EPS $1.80\u003c/a\u003e) = $172.35 / $6.64 = 25.9x`\n  - Example: `Revenue y/y growth = (\u003ca href='#ref-12'\u003eQ3 FY26 Rev $165.8B\u003c/a\u003e - \u003ca href='#ref-3'\u003eQ3 FY25 Rev $160.8B\u003c/a\u003e) / \u003ca href='#ref-3'\u003eQ3 FY25 Rev $160.8B\u003c/a\u003e = +3.1%`\n  - **Every formula component must be a clickable hyperlink.** Do NOT write formulas with plain-text numbers.\n\n  **For transcript-sourced claims (quotes, management commentary, guidance):**\n  - Write the **verbatim excerpt sentence** from the transcript.\n  - Reference the transcript by its full name and the `key_dev_id` used to fetch it.\n  - Format: `\"[verbatim quote]\" — [Speaker], [Title]. Source: [Q# FY#### Earnings Call Transcript] (key_dev_id: [ID])`\n  - Example: `\"We expect comp sales growth of 3-4% in Q4\" — CEO John Furner. Source: Q3 FY2026 Earnings Call Transcript (key_dev_id: 12345678)`\n\n  **For Kensho Grounding search results (news, analyst ratings, consensus estimates):**\n  - Write the key finding or excerpt from the search result.\n  - **MANDATORY: Include the source URL** returned by the Kensho `search` tool as a clickable `\u003ca href=\"[URL]\" target=\"_blank\"\u003e` hyperlink. This is the most important part — readers must be able to click through to the original source.\n  - Format: `\"[finding/excerpt]\" — \u003ca href=\"[URL]\" target=\"_blank\"\u003e[Source Title or Publication]\u003c/a\u003e. Query: search(\"[query used]\")`\n  - Example: `\"Barclays upgraded WMT to Overweight with $210 price target on Jan 15, 2026.\" — \u003ca href=\"https://www.investing.com/news/barclays-upgrades-wmt\" target=\"_blank\"\u003eInvesting.com, Jan 15 2026\u003c/a\u003e. Query: search(\"WMT analyst ratings price target upgrades downgrades\")`\n  - If no URL was returned for a particular result, write \"Source URL not available\" and still include the search query.\n\n**Completeness check:** Before finalizing the report, scan every number in the report body. If any number is not wrapped in `\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e`, fix it. If any appendix row has a Source \u0026 Derivation that is just a bare label like \"S\u0026P Capital IQ\" with no function call detail, fix it. If any calculated value's formula lacks hyperlinked components, fix it. If any Kensho-sourced claim lacks a source URL, fix it.\n\nGroup the appendix rows by section (Financials, Valuation, Estimates \u0026 Consensus, Transcript Claims, News \u0026 Analyst Commentary, Stock Performance) with subheadings. Use smaller font size (10-11px).\n\n---\n\n## Phase 8: Output\n\n1. Write the complete HTML file to `earnings-preview-[TICKER]-YYYY-MM-DD.html` in the current working directory.\n2. Open it in the browser: `open earnings-preview-[TICKER]-YYYY-MM-DD.html`\n3. Tell the user the file has been created and summarize the key findings.\n\n---\n\n## Writing Guidelines\n\n- **NO EMOJIS**: Do not use any emojis anywhere in the report. This is a professional research document.\n- **CONCISE**: Target 4-5 printed pages. Every sentence must carry weight. Use bullets, not paragraphs, wherever possible. If a section feels long, cut it.\n- **Be specific with numbers**: \"$52.4B revenue, up 5.2% y/y\" not \"strong revenue growth.\"\n- **Take a view**: This is an earnings preview, not a summary. State what you expect, what matters, and why. Be opinionated but back it with data.\n- **Management quotes without headers**: Weave 3-4 key management quotes from the most recent call directly into the narrative as blockquotes. Do not create a \"Key Management Quotes\" section heading — let them flow naturally as supporting evidence.\n- **Professional tone**: Sell-side equity research style — analytical, direct, data-driven.\n- **Charts must use real data**: Every chart populated with actual MCP data. Never fabricate.\n- **Competitor context**: Frame valuation relative to peers. A 25x P/E means nothing without knowing peers trade at 20x or 35x.\n- **Hyperlinked claims**: Every factual claim — numeric or qualitative — must be an `\u003ca class=\"data-ref\"\u003e` tag linking to its appendix entry. Numbers: `\u003ca href=\"#ref-1\" class=\"data-ref\"\u003e$152.3B\u003c/a\u003e`. Qualitative: `\u003ca href=\"#ref-25\" class=\"data-ref\"\u003emanagement flagged tariff headwinds as the primary margin risk\u003c/a\u003e`. No fact should appear without a traceable source in the appendix.\n","report-template.md":"# HTML Report Template Reference\n\nUse this template as the foundation for the single-company earnings preview HTML report. Customize the data, charts, and narrative content based on the research gathered in Phases 1-5.\n\n## HTML Structure\n\nThe report is a single self-contained HTML file with:\n- Embedded CSS (no external stylesheets)\n- Chart.js loaded from CDN for interactive charts\n- Print-friendly styles via `@media print`\n- Responsive layout that works on screens and in print\n- Target: 4-5 printed pages\n\n## Complete Template\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n  \u003cmeta charset=\"UTF-8\"\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n  \u003ctitle\u003eEarnings Preview — [COMPANY] ([TICKER]) — [DATE]\u003c/title\u003e\n  \u003cscript src=\"https://cdn.jsdelivr.net/npm/chart.js@4.4.7/dist/chart.umd.min.js\" integrity=\"sha384-vsrfeLOOY6KuIYKDlmVH5UiBmgIdB1oEf7p01YgWHuqmOHfZr374+odEv96n9tNC\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@3.1.0/dist/chartjs-plugin-annotation.min.js\" integrity=\"sha384-3N9GHhCtN3CQef6tNfqgZlv7sQLYIkcChN+uaTZ7xVdzKYp/SjBNPxa92+hM7EAY\" crossorigin=\"anonymous\"\u003e\u003c/script\u003e\n  \u003cstyle\u003e\n    /* ── Reset \u0026 Base ── */\n    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }\n    html { font-size: 15px; }\n    body {\n      font-family: 'Arial Narrow', Arial, sans-serif;\n      color: #1a1a2e;\n      background: #fff;\n      line-height: 1.6;\n    }\n\n    /* ── Layout ── */\n    .page {\n      max-width: 1100px;\n      margin: 0 auto;\n      padding: 40px 48px;\n    }\n    .page-break {\n      page-break-before: always;\n      border-top: 2px solid #1a1a4e;\n      margin-top: 48px;\n      padding-top: 32px;\n    }\n\n    /* ── Header / Cover ── */\n    .cover-header {\n      border-bottom: 3px solid #1a1a4e;\n      padding-bottom: 16px;\n      margin-bottom: 24px;\n      display: flex;\n      justify-content: space-between;\n      align-items: flex-end;\n    }\n    .cover-header .brand {\n      font-size: 24px;\n      font-weight: bold;\n      color: #1a1a4e;\n      letter-spacing: 2px;\n      text-transform: uppercase;\n    }\n    .cover-header .sector {\n      font-size: 13px;\n      color: #555;\n    }\n    .cover-header .date {\n      font-size: 14px;\n      color: #333;\n      text-align: right;\n    }\n    .report-title {\n      font-size: 26px;\n      font-weight: bold;\n      color: #1a1a2e;\n      margin: 20px 0 16px 0;\n      line-height: 1.3;\n    }\n\n    /* ── Executive Thesis ── */\n    .executive-summary {\n      font-size: 14px;\n      line-height: 1.65;\n      color: #222;\n      margin-bottom: 16px;\n    }\n    .executive-summary p {\n      margin-bottom: 10px;\n      text-align: justify;\n    }\n    .executive-summary ul {\n      margin: 8px 0 10px 20px;\n      font-size: 13.5px;\n    }\n    .executive-summary ul li {\n      margin-bottom: 5px;\n      line-height: 1.5;\n    }\n    blockquote {\n      border-left: 3px solid #b0b8c8;\n      padding: 6px 14px;\n      margin: 8px 0 8px 12px;\n      font-style: italic;\n      color: #444;\n      background: #f9fafb;\n      font-size: 12.5px;\n      line-height: 1.5;\n    }\n\n    /* ── Section Headings ── */\n    h2.section-title {\n      font-size: 18px;\n      font-weight: 700;\n      color: #1a1a4e;\n      border-bottom: 2px solid #1a1a4e;\n      padding-bottom: 5px;\n      margin: 28px 0 14px 0;\n    }\n    h3.subsection-title {\n      font-size: 14px;\n      font-weight: 600;\n      color: #1a1a4e;\n      margin: 16px 0 8px 0;\n    }\n    h4.figure-title {\n      font-size: 12px;\n      font-weight: 600;\n      color: #444;\n      margin: 14px 0 6px 0;\n    }\n\n    /* ── Tables ── */\n    table {\n      width: 100%;\n      border-collapse: collapse;\n      font-size: 12px;\n      margin: 10px 0 16px 0;\n    }\n    thead th {\n      background: #1a1a4e;\n      color: #fff;\n      padding: 7px 10px;\n      text-align: left;\n      font-weight: 600;\n      font-size: 11px;\n      text-transform: uppercase;\n      letter-spacing: 0.5px;\n    }\n    tbody td {\n      padding: 6px 10px;\n      border-bottom: 1px solid #e0e0e0;\n    }\n    tbody tr:nth-child(even) {\n      background: #f9fafb;\n    }\n    tbody tr:hover {\n      background: #eef0f5;\n    }\n    .num { text-align: right; font-variant-numeric: tabular-nums; }\n    .pos { color: #0d7a3e; font-weight: 600; }\n    .neg { color: #c0392b; font-weight: 600; }\n    .neutral { color: #555; }\n    .highlight-row { background: #e8eaf6 !important; font-weight: 600; }\n\n    /* ── Chart Containers ── */\n    .chart-row {\n      display: grid;\n      grid-template-columns: 1fr 1fr;\n      gap: 20px;\n      margin: 12px 0 20px 0;\n    }\n    .chart-container {\n      position: relative;\n      background: #fafbfc;\n      border: 1px solid #e8e8e8;\n      border-radius: 4px;\n      padding: 14px;\n    }\n    .chart-container canvas {\n      max-height: 260px;\n    }\n    .chart-full {\n      grid-column: 1 / -1;\n    }\n\n    /* ── Compact Lists ── */\n    .key-metrics ul, .themes ul, .news-list ul {\n      margin: 6px 0 6px 18px;\n      font-size: 13px;\n      line-height: 1.55;\n    }\n    .key-metrics li, .themes li, .news-list li {\n      margin-bottom: 5px;\n    }\n\n    /* ── Data Reference Links ── */\n    a.data-ref {\n      color: #1a1a4e;\n      text-decoration: none;\n      border-bottom: 1px dotted transparent;\n      transition: border-color 0.15s;\n    }\n    a.data-ref:hover {\n      border-bottom-color: #1a1a4e;\n    }\n\n    /* ── Appendix ── */\n    .appendix table {\n      font-size: 10.5px;\n    }\n    .appendix thead th {\n      font-size: 10px;\n      padding: 5px 8px;\n    }\n    .appendix tbody td {\n      padding: 4px 8px;\n      font-size: 10.5px;\n      vertical-align: top;\n      line-height: 1.45;\n    }\n    .appendix .ref-id {\n      font-weight: 600;\n      color: #1a1a4e;\n      white-space: nowrap;\n    }\n    .appendix .source-detail {\n      font-size: 10px;\n      color: #444;\n    }\n    .appendix .source-detail .formula {\n      font-family: 'Courier New', monospace;\n      font-size: 9.5px;\n      color: #555;\n    }\n    .appendix .source-detail .excerpt {\n      font-style: italic;\n      color: #555;\n    }\n    .appendix .source-detail .src-label {\n      font-weight: 600;\n      color: #1a1a4e;\n      font-size: 9.5px;\n    }\n    .appendix .source-detail a.data-ref {\n      font-weight: 600;\n    }\n    .appendix a.src-url {\n      color: #3366cc;\n      text-decoration: underline;\n      font-size: 10px;\n      word-break: break-all;\n    }\n    .appendix a.src-url:hover {\n      color: #1a1a4e;\n    }\n    .appendix .transcript-ref {\n      font-weight: 600;\n      color: #1a1a4e;\n      font-size: 10px;\n    }\n    .appendix-group {\n      font-size: 11px;\n      font-weight: 700;\n      color: #1a1a4e;\n      background: #f0f1f5;\n      padding: 4px 8px;\n      text-transform: uppercase;\n      letter-spacing: 0.5px;\n    }\n\n    /* ── Source / Footer ── */\n    .source {\n      font-size: 10px;\n      color: #999;\n      margin-top: 3px;\n      font-style: italic;\n    }\n    .ai-disclaimer {\n      background-color: #fff3cd;\n      border: 1px solid #ffc107;\n      border-radius: 4px;\n      padding: 4px 10px;\n      font-size: 11px;\n      font-weight: 600;\n      color: #664d03;\n      text-align: center;\n      margin-bottom: 12px;\n    }\n    .page-footer {\n      border-top: 2px solid #1a1a4e;\n      padding-top: 10px;\n      margin-top: 32px;\n      text-align: center;\n    }\n    .page-footer .footer-disclaimer {\n      font-size: 11px;\n      font-weight: 600;\n      color: #664d03;\n      background-color: #fff3cd;\n      border: 1px solid #ffc107;\n      border-radius: 4px;\n      padding: 4px 10px;\n      display: inline-block;\n      margin-bottom: 4px;\n    }\n    .page-footer .footer-meta {\n      font-size: 10px;\n      color: #888;\n    }\n\n    /* ── Print Styles ── */\n    @media print {\n      body { font-size: 11px; }\n      .page { padding: 16px; max-width: none; }\n      .chart-container { break-inside: avoid; }\n      table { break-inside: avoid; }\n      .page-break { margin-top: 0; }\n      .no-print { display: none; }\n    }\n  \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cdiv class=\"page\"\u003e\n\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003c!-- PAGE 1: COVER \u0026 THESIS                       --\u003e\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e\n  \u003cdiv class=\"cover-header\"\u003e\n    \u003cdiv\u003e\n      \u003cdiv class=\"brand\"\u003eEarnings Preview\u003c/div\u003e\n      \u003cdiv class=\"sector\"\u003e[Industry] | [TICKER]\u003c/div\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"date\"\u003e[Full Date]\u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003ch1 class=\"report-title\"\u003e[Company Name] ([TICKER]) [Q# FY####] Earnings Preview: [Thematic Subtitle]\u003c/h1\u003e\n\n  \u003cdiv class=\"executive-summary\"\u003e\n    \u003c!-- Executive thesis: 2-3 short paragraphs + bullet points.\n         What we expect, our EPS estimate vs consensus, guidance expectations,\n         key metrics to watch, what would move the stock, key debates.\n         Weave in 3-4 management quotes as blockquotes where they support the thesis.\n         Do NOT create a separate \"Key Management Quotes\" section. --\u003e\n\n    \u003cp\u003e[Opening 1-2 sentences: what we expect from this print.]\u003c/p\u003e\n\n    \u003cul\u003e\n      \u003cli\u003e\u003cstrong\u003eEPS:\u003c/strong\u003e We estimate \u003ca href=\"#ref-1\" class=\"data-ref\"\u003e$X.XX\u003c/a\u003e vs consensus \u003ca href=\"#ref-2\" class=\"data-ref\"\u003e$X.XX\u003c/a\u003e, [rationale]\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eRevenue:\u003c/strong\u003e We estimate \u003ca href=\"#ref-3\" class=\"data-ref\"\u003e$XX.XB\u003c/a\u003e vs consensus \u003ca href=\"#ref-4\" class=\"data-ref\"\u003e$XX.XB\u003c/a\u003e, [rationale]\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eGuidance:\u003c/strong\u003e [What to expect on forward guidance]\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eKey metric:\u003c/strong\u003e [Most important sub-headline metric to watch]\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eStock catalyst:\u003c/strong\u003e [What would move the stock up/down post-print]\u003c/li\u003e\n      \u003cli\u003e\u003cstrong\u003eKey debate:\u003c/strong\u003e [What bulls and bears disagree on]\u003c/li\u003e\n    \u003c/ul\u003e\n\n    \u003cblockquote\u003e\"[Key management quote supporting a thesis point]\" — [Speaker], [Q# FY####] Earnings Call\u003c/blockquote\u003e\n\n    \u003cp\u003e[1-2 sentences tying it together — your overall read on the setup.]\u003c/p\u003e\n\n    \u003cblockquote\u003e\"[Another supporting quote]\" — [Speaker], [Q# FY####] Earnings Call\u003c/blockquote\u003e\n  \u003c/div\u003e\n\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003c!-- PAGE 2: ESTIMATES, THEMES \u0026 NEWS             --\u003e\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003cdiv class=\"page-break\"\u003e\n\n    \u003c!-- Consensus Estimates Table (Figure label inline) --\u003e\n    \u003ch2 class=\"section-title\"\u003eConsensus Estimates — [Q# FY####]\u003c/h2\u003e\n    \u003ch4 class=\"figure-title\"\u003e[Q# FY####] Consensus Estimates\u003c/h4\u003e\n    \u003ctable\u003e\n      \u003cthead\u003e\n        \u003ctr\u003e\n          \u003cth\u003eMetric\u003c/th\u003e\n          \u003cth class=\"num\"\u003eConsensus\u003c/th\u003e\n          \u003cth class=\"num\"\u003eOur Estimate\u003c/th\u003e\n          \u003cth class=\"num\"\u003ey/y Change\u003c/th\u003e\n        \u003c/tr\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n        \u003ctr\u003e\u003ctd\u003eRevenue\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[XX.X]B\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[XX.X]B\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[+/-X.X%]\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr\u003e\u003ctd\u003eDiluted EPS\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[X.XX]\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[X.XX]\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[+/-X.X%]\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr\u003e\u003ctd\u003eGross Margin\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[XX.X%]\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[XX.X%]\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[+/-XXbps]\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr\u003e\u003ctd\u003eOperating Income\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[X.X]B\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e$[X.X]B\u003c/a\u003e\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e\u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[+/-X.X%]\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n        \u003c!-- Add 2-3 company-specific KPIs below (e.g., comp sales, eComm growth, membership revenue) --\u003e\n        \u003ctr\u003e\u003ctd\u003e[Company KPI 1]\u003c/td\u003e\u003ctd class=\"num\"\u003e[Value]\u003c/td\u003e\u003ctd class=\"num\"\u003e[Value]\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e[Change]\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr\u003e\u003ctd\u003e[Company KPI 2]\u003c/td\u003e\u003ctd class=\"num\"\u003e[Value]\u003c/td\u003e\u003ctd class=\"num\"\u003e[Value]\u003c/td\u003e\u003ctd class=\"num [pos|neg]\"\u003e[Change]\u003c/td\u003e\u003c/tr\u003e\n      \u003c/tbody\u003e\n    \u003c/table\u003e\n    \u003cdiv class=\"source\"\u003eSource: Kensho, S\u0026P Capital IQ\u003c/div\u003e\n\n    \u003c!-- Key Metrics Beyond Headline EPS --\u003e\n    \u003ch3 class=\"subsection-title\"\u003eKey Metrics Beyond Headline EPS\u003c/h3\u003e\n    \u003cdiv class=\"key-metrics\"\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003cstrong\u003e[Metric 1]:\u003c/strong\u003e [What consensus/management expects, why it matters. Be specific with numbers.]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Metric 2]:\u003c/strong\u003e [Details]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Metric 3]:\u003c/strong\u003e [Details]\u003c/li\u003e\n        \u003c!-- 3-5 items --\u003e\n      \u003c/ul\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Themes to Watch --\u003e\n    \u003ch3 class=\"subsection-title\"\u003eThemes to Watch\u003c/h3\u003e\n    \u003cdiv class=\"themes\"\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003cstrong\u003e[Theme 1]:\u003c/strong\u003e [1-2 sentences max. Forward-looking, specific.]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Theme 2]:\u003c/strong\u003e [Details]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Theme 3]:\u003c/strong\u003e [Details]\u003c/li\u003e\n        \u003c!-- 3-5 themes --\u003e\n      \u003c/ul\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Recent News \u0026 Developments --\u003e\n    \u003ch3 class=\"subsection-title\"\u003eRecent News \u0026 Developments\u003c/h3\u003e\n    \u003cdiv class=\"news-list\"\u003e\n      \u003cul\u003e\n        \u003cli\u003e\u003cstrong\u003e[Date]:\u003c/strong\u003e [Headline] — [Brief impact assessment, one line]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Date]:\u003c/strong\u003e [Headline] — [Impact]\u003c/li\u003e\n        \u003cli\u003e\u003cstrong\u003e[Date]:\u003c/strong\u003e [Headline] — [Impact]\u003c/li\u003e\n        \u003c!-- 3-5 material items from last 60 days --\u003e\n      \u003c/ul\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"source\"\u003eSource: Kensho\u003c/div\u003e\n\n  \u003c/div\u003e\n\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003c!-- PAGES 3-5: FIGURES                           --\u003e\n  \u003c!-- All charts and tables, numbered sequentially --\u003e\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003cdiv class=\"page-break\"\u003e\n    \u003ch2 class=\"section-title\"\u003eFinancial \u0026 Competitive Analysis\u003c/h2\u003e\n\n    \u003c!-- Figure 1: Quarterly Revenue \u0026 Diluted EPS --\u003e\n    \u003cdiv class=\"chart-row\"\u003e\n      \u003cdiv class=\"chart-container\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 1: Quarterly Revenue \u0026 Diluted EPS\u003c/h4\u003e\n        \u003ccanvas id=\"chart-rev-eps\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n\n      \u003c!-- Figure 2: Margin Trends --\u003e\n      \u003cdiv class=\"chart-container\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 2: Margin Trends (Gross \u0026 Operating %)\u003c/h4\u003e\n        \u003ccanvas id=\"chart-margins\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Figure 3: Revenue Growth y/y % --\u003e\n    \u003cdiv class=\"chart-row\"\u003e\n      \u003cdiv class=\"chart-container chart-full\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 3: Revenue Growth y/y (%)\u003c/h4\u003e\n        \u003ccanvas id=\"chart-rev-growth\" style=\"max-height: 200px;\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Figure 4: Business Segment Revenue --\u003e\n    \u003ch4 class=\"figure-title\"\u003eFigure 4: Business Segment Revenue\u003c/h4\u003e\n    \u003ctable\u003e\n      \u003cthead\u003e\n        \u003ctr\u003e\n          \u003cth\u003eSegment\u003c/th\u003e\n          \u003cth class=\"num\"\u003eLatest Q Rev ($M)\u003c/th\u003e\n          \u003cth class=\"num\"\u003e% of Total\u003c/th\u003e\n          \u003cth class=\"num\"\u003ey/y Change\u003c/th\u003e\n        \u003c/tr\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n        \u003c!-- Populate from segment data. Color-code y/y change with pos/neg classes. --\u003e\n      \u003c/tbody\u003e\n    \u003c/table\u003e\n    \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003c!-- Page break for stock \u0026 competitor charts --\u003e\n  \u003cdiv class=\"page-break\"\u003e\n\n    \u003c!-- Figure 5: 1-Year Stock Price with Earnings Dates --\u003e\n    \u003cdiv class=\"chart-row\"\u003e\n      \u003cdiv class=\"chart-container chart-full\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 5: 1-Year Stock Price with Earnings Dates\u003c/h4\u003e\n        \u003ccanvas id=\"chart-price-annotated\" style=\"max-height: 300px;\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Figure 6: Stock Performance vs. Competitors (Indexed to 100) --\u003e\n    \u003cdiv class=\"chart-row\"\u003e\n      \u003cdiv class=\"chart-container chart-full\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 6: Stock Performance vs. Competitors — 1 Year (Indexed to 100)\u003c/h4\u003e\n        \u003ccanvas id=\"chart-comp-perf\" style=\"max-height: 300px;\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003cdiv class=\"page-break\"\u003e\n\n    \u003c!-- Figure 7: LTM P/E vs. Competitors --\u003e\n    \u003cdiv class=\"chart-row\"\u003e\n      \u003cdiv class=\"chart-container chart-full\"\u003e\n        \u003ch4 class=\"figure-title\"\u003eFigure 7: LTM P/E vs. Competitors\u003c/h4\u003e\n        \u003ccanvas id=\"chart-pe-comp\" style=\"max-height: 280px;\"\u003e\u003c/canvas\u003e\n        \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n\n    \u003c!-- Figure 8: Competitor Comparison Table --\u003e\n    \u003ch4 class=\"figure-title\"\u003eFigure 8: Competitor Comparison\u003c/h4\u003e\n    \u003ctable\u003e\n      \u003cthead\u003e\n        \u003ctr\u003e\n          \u003cth\u003eTicker\u003c/th\u003e\n          \u003cth\u003eCompany\u003c/th\u003e\n          \u003cth class=\"num\"\u003eMkt Cap ($B)\u003c/th\u003e\n          \u003cth class=\"num\"\u003eLTM P/E\u003c/th\u003e\n          \u003cth class=\"num\"\u003eNTM P/E\u003c/th\u003e\n          \u003cth class=\"num\"\u003eYTD %\u003c/th\u003e\n          \u003cth class=\"num\"\u003e1-Yr %\u003c/th\u003e\n        \u003c/tr\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n        \u003c!-- Highlight the subject company row with class=\"highlight-row\" --\u003e\n      \u003c/tbody\u003e\n    \u003c/table\u003e\n    \u003cdiv class=\"source\"\u003eSource: S\u0026P Capital IQ\u003c/div\u003e\n  \u003c/div\u003e\n\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003c!-- APPENDIX: DATA SOURCES \u0026 CALCULATIONS        --\u003e\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003cdiv class=\"page-break appendix\" id=\"appendix\"\u003e\n    \u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e\n    \u003ch2 class=\"section-title\"\u003eAppendix: Data Sources \u0026 Calculations\u003c/h2\u003e\n    \u003cp style=\"font-size: 11px; color: #666; margin-bottom: 12px;\"\u003e\n      Every claim in this report is hyperlinked to its entry below. Click any highlighted text to jump here.\n    \u003c/p\u003e\n    \u003ctable\u003e\n      \u003cthead\u003e\n        \u003ctr\u003e\n          \u003cth style=\"width: 40px;\"\u003eRef\u003c/th\u003e\n          \u003cth style=\"width: 170px;\"\u003eFact\u003c/th\u003e\n          \u003cth style=\"width: 75px;\"\u003eValue\u003c/th\u003e\n          \u003cth\u003eSource \u0026 Derivation\u003c/th\u003e\n        \u003c/tr\u003e\n      \u003c/thead\u003e\n      \u003ctbody\u003e\n        \u003c!-- Group: Quarterly Financials --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eQuarterly Financials\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-1\"\u003e\n          \u003ctd class=\"ref-id\"\u003e1\u003c/td\u003e\n          \u003ctd\u003e[Q# FY#### Revenue]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[XX.X]B\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_financial_line_item_from_identifiers(identifier='[TICKER]', line_item='revenue', period_type='quarterly', period='[Q# FY####]')\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-2\"\u003e\n          \u003ctd class=\"ref-id\"\u003e2\u003c/td\u003e\n          \u003ctd\u003e[Q# FY#### Diluted EPS]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[X.XX]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_financial_line_item_from_identifiers(identifier='[TICKER]', line_item='diluted_eps', period_type='quarterly', period='[Q# FY####]')\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-3\"\u003e\n          \u003ctd class=\"ref-id\"\u003e3\u003c/td\u003e\n          \u003ctd\u003e[Q# FY#### Gross Profit]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[XX.X]B\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_financial_line_item_from_identifiers(identifier='[TICKER]', line_item='gross_profit', period_type='quarterly', period='[Q# FY####]')\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-4\"\u003e\n          \u003ctd class=\"ref-id\"\u003e4\u003c/td\u003e\n          \u003ctd\u003e[Q# FY#### Gross Margin]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e[XX.X%]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"formula\"\u003e\u003ca href=\"#ref-3\" class=\"data-ref\"\u003eGross Profit $XX.XB\u003c/a\u003e / \u003ca href=\"#ref-1\" class=\"data-ref\"\u003eRevenue $XX.XB\u003c/a\u003e = XX.X%\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e (calculated)\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-5\"\u003e\n          \u003ctd class=\"ref-id\"\u003e5\u003c/td\u003e\n          \u003ctd\u003e[Q# FY#### Revenue y/y Growth]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e[+/-X.X%]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"formula\"\u003e(\u003ca href=\"#ref-1\" class=\"data-ref\"\u003e[Q# FY## Rev $XX.XB]\u003c/a\u003e - \u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[Q# FY## Rev $XX.XB]\u003c/a\u003e) / \u003ca href=\"#ref-N\" class=\"data-ref\"\u003e[Q# FY## Rev $XX.XB]\u003c/a\u003e = X.X%\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e (calculated)\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003c!-- Continue for all financial data points... --\u003e\n\n        \u003c!-- Group: Valuation --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eValuation\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eCurrent Stock Price — [TICKER]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[XXX.XX]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_prices_from_identifiers(identifier='[TICKER]', periodicity='day')\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eMarket Cap — [TICKER]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[XXX.X]B\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_capitalization_from_identifiers(identifier='[TICKER]', capitalization='market_cap')\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eLTM P/E — [TICKER]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e[XX.X]x\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"formula\"\u003e\u003ca href=\"#ref-20\" class=\"data-ref\"\u003ePrice $XXX.XX\u003c/a\u003e / (\u003ca href=\"#ref-8\" class=\"data-ref\"\u003eQ1 EPS $X.XX\u003c/a\u003e + \u003ca href=\"#ref-9\" class=\"data-ref\"\u003eQ2 EPS $X.XX\u003c/a\u003e + \u003ca href=\"#ref-10\" class=\"data-ref\"\u003eQ3 EPS $X.XX\u003c/a\u003e + \u003ca href=\"#ref-11\" class=\"data-ref\"\u003eQ4 EPS $X.XX\u003c/a\u003e) = XX.Xx\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e (calculated)\n          \u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eNTM P/E — [TICKER]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e[XX.X]x\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"formula\"\u003e\u003ca href=\"#ref-20\" class=\"data-ref\"\u003ePrice $XXX.XX\u003c/a\u003e / (\u003ca href=\"#ref-N\" class=\"data-ref\"\u003eQ4'25E $X.XX\u003c/a\u003e + \u003ca href=\"#ref-N\" class=\"data-ref\"\u003eQ1'26E $X.XX\u003c/a\u003e + \u003ca href=\"#ref-N\" class=\"data-ref\"\u003eQ2'26E $X.XX\u003c/a\u003e + \u003ca href=\"#ref-N\" class=\"data-ref\"\u003eQ3'26E $X.XX\u003c/a\u003e) = XX.Xx\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e — get_consensus_estimates_from_identifiers(identifier='[TICKER]', period_type='quarterly', num_periods_forward=4). NTM EPS = sum of next 4 quarterly consensus mean EPS estimates.\n          \u003c/td\u003e\n        \u003c/tr\u003e\n\n        \u003c!-- Group: Transcript Claims --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eTranscript Claims\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003e[Fact, e.g., \"Management guided comp sales +3-4%\"]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003eN/A\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"excerpt\"\u003e\"We expect comp sales growth of 3-4% in Q4, driven by continued strength in grocery and health \u0026amp; wellness.\"\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eSource:\u003c/span\u003e \u003cspan class=\"transcript-ref\"\u003e[Q# FY#### Earnings Call Transcript]\u003c/span\u003e (key_dev_id: [ID]) — [Speaker Name], [Title]\n          \u003c/td\u003e\n        \u003c/tr\u003e\n\n        \u003c!-- Group: Estimates \u0026 Consensus --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eEstimates \u0026 Consensus\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eConsensus EPS — [Q# FY####]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e$[X.XX]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"excerpt\"\u003e\"Consensus EPS estimate of $X.XX, revised up from $X.XX over the past 90 days.\"\u003c/span\u003e\u003cbr\u003e\n            \u003ca href=\"https://[source-url-from-kensho-search]\" target=\"_blank\" class=\"src-url\"\u003e[Source Title / Publication Name]\u003c/a\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eQuery:\u003c/span\u003e search(\"[TICKER] earnings estimates consensus EPS revenue upcoming quarter\")\n          \u003c/td\u003e\n        \u003c/tr\u003e\n\n        \u003c!-- Group: News \u0026 Analyst Commentary --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eNews \u0026 Analyst Commentary\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003e[e.g., \"Barclays upgraded to Overweight\"]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003eN/A\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"excerpt\"\u003e\"Barclays upgraded WMT to Overweight with a $210 price target, citing accelerating eCommerce momentum.\"\u003c/span\u003e\u003cbr\u003e\n            \u003ca href=\"https://[source-url-from-kensho-search]\" target=\"_blank\" class=\"src-url\"\u003e[Source Title / Publication, Date]\u003c/a\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eQuery:\u003c/span\u003e search(\"[TICKER] analyst ratings price target upgrades downgrades\")\n          \u003c/td\u003e\n        \u003c/tr\u003e\n\n        \u003c!-- Group: Stock Performance --\u003e\n        \u003ctr\u003e\u003ctd colspan=\"4\" class=\"appendix-group\"\u003eStock Performance\u003c/td\u003e\u003c/tr\u003e\n        \u003ctr id=\"ref-N\"\u003e\n          \u003ctd class=\"ref-id\"\u003e[N]\u003c/td\u003e\n          \u003ctd\u003eYTD Return — [TICKER]\u003c/td\u003e\n          \u003ctd class=\"num\"\u003e[+/-X.X%]\u003c/td\u003e\n          \u003ctd class=\"source-detail\"\u003e\n            \u003cspan class=\"formula\"\u003e(\u003ca href=\"#ref-N\" class=\"data-ref\"\u003eCurrent $XXX.XX\u003c/a\u003e - \u003ca href=\"#ref-N\" class=\"data-ref\"\u003eDec 31 Close $XXX.XX\u003c/a\u003e) / \u003ca href=\"#ref-N\" class=\"data-ref\"\u003eDec 31 Close $XXX.XX\u003c/a\u003e = X.X%\u003c/span\u003e\u003cbr\u003e\n            \u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e (calculated from daily prices)\n          \u003c/td\u003e\n        \u003c/tr\u003e\n      \u003c/tbody\u003e\n    \u003c/table\u003e\n  \u003c/div\u003e\n\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003c!-- FOOTER                                       --\u003e\n  \u003c!-- ════════════════════════════════════════════ --\u003e\n  \u003cdiv class=\"page-footer\"\u003e\n    \u003cdiv class=\"footer-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e\n    \u003cdiv class=\"footer-meta\"\u003eData: S\u0026P Capital IQ, Kensho | [Month Day, Year]\u003c/div\u003e\n  \u003c/div\u003e\n\n\u003c/div\u003e\n\n\u003c!-- ════════════════════════════════════════════════ --\u003e\n\u003c!-- CHART.JS SCRIPTS                                 --\u003e\n\u003c!-- ════════════════════════════════════════════════ --\u003e\n\u003cscript\u003e\n// ── Register Annotation Plugin ──\n// The CDN-loaded annotation plugin must be explicitly registered.\n// It is available as a global after the script tag loads.\nif (window['chartjs-plugin-annotation']) {\n  Chart.register(window['chartjs-plugin-annotation']);\n}\n\n// ── Chart Defaults ──\nChart.defaults.font.family = \"'Arial Narrow', Arial, sans-serif\";\nChart.defaults.font.size = 11;\nChart.defaults.color = '#555';\nChart.defaults.plugins.legend.position = 'bottom';\nChart.defaults.plugins.legend.labels.boxWidth = 12;\n\n// ── Color Palette ──\nconst COLORS = {\n  navy:     '#1a1a4e',\n  blue:     '#3366cc',\n  teal:     '#0d9488',\n  orange:   '#e67e22',\n  red:      '#c0392b',\n  green:    '#27ae60',\n  purple:   '#8e44ad',\n  gray:     '#7f8c8d',\n  lightBlue:'#85c1e9',\n  gold:     '#f0b429',\n};\nconst COMP_COLORS = [\n  COLORS.navy, COLORS.blue, COLORS.teal,\n  COLORS.orange, COLORS.red, COLORS.green,\n  COLORS.purple, COLORS.gold\n];\n\n// ── Helper: Revenue \u0026 EPS Combo Chart ──\nfunction createRevEpsChart(canvasId, labels, revenueData, epsData, revLabel) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  new Chart(ctx, {\n    type: 'bar',\n    data: {\n      labels: labels,\n      datasets: [\n        {\n          label: revLabel || 'Revenue ($B)',\n          data: revenueData,\n          backgroundColor: COLORS.navy + 'cc',\n          borderColor: COLORS.navy,\n          borderWidth: 1,\n          yAxisID: 'y',\n          order: 2\n        },\n        {\n          label: 'Diluted EPS',\n          data: epsData,\n          type: 'line',\n          borderColor: COLORS.orange,\n          backgroundColor: COLORS.orange,\n          borderWidth: 2.5,\n          pointRadius: 4,\n          pointBackgroundColor: COLORS.orange,\n          tension: 0.3,\n          yAxisID: 'y1',\n          order: 1\n        }\n      ]\n    },\n    options: {\n      responsive: true,\n      interaction: { mode: 'index', intersect: false },\n      scales: {\n        y: {\n          position: 'left',\n          title: { display: true, text: revLabel || 'Revenue ($B)', font: { size: 11 } },\n          grid: { color: '#eee' }\n        },\n        y1: {\n          position: 'right',\n          title: { display: true, text: 'EPS ($)', font: { size: 11 } },\n          grid: { drawOnChartArea: false }\n        }\n      }\n    }\n  });\n}\n\n// ── Helper: Margin Trend Chart ──\nfunction createMarginChart(canvasId, labels, grossMargins, opMargins) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  new Chart(ctx, {\n    type: 'line',\n    data: {\n      labels: labels,\n      datasets: [\n        {\n          label: 'Gross Margin %',\n          data: grossMargins,\n          borderColor: COLORS.blue,\n          backgroundColor: COLORS.blue + '20',\n          borderWidth: 2.5,\n          pointRadius: 4,\n          fill: false,\n          tension: 0.3\n        },\n        {\n          label: 'Operating Margin %',\n          data: opMargins,\n          borderColor: COLORS.teal,\n          backgroundColor: COLORS.teal + '20',\n          borderWidth: 2.5,\n          pointRadius: 4,\n          fill: false,\n          tension: 0.3\n        }\n      ]\n    },\n    options: {\n      responsive: true,\n      scales: {\n        y: {\n          title: { display: true, text: 'Margin (%)', font: { size: 11 } },\n          grid: { color: '#eee' },\n          ticks: { callback: v =\u003e v.toFixed(1) + '%' }\n        }\n      }\n    }\n  });\n}\n\n// ── Helper: Revenue Growth Bar Chart ──\nfunction createRevGrowthChart(canvasId, labels, growthData) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  new Chart(ctx, {\n    type: 'bar',\n    data: {\n      labels: labels,\n      datasets: [{\n        label: 'Revenue Growth y/y %',\n        data: growthData,\n        backgroundColor: growthData.map(v =\u003e v \u003e= 0 ? COLORS.green + 'cc' : COLORS.red + 'cc'),\n        borderColor: growthData.map(v =\u003e v \u003e= 0 ? COLORS.green : COLORS.red),\n        borderWidth: 1\n      }]\n    },\n    options: {\n      responsive: true,\n      scales: {\n        y: {\n          title: { display: true, text: 'Growth (%)', font: { size: 11 } },\n          grid: { color: '#eee' },\n          ticks: { callback: v =\u003e v.toFixed(1) + '%' }\n        }\n      },\n      plugins: { legend: { display: false } }\n    }\n  });\n}\n\n// ── Helper: Earnings-Annotated Stock Price Chart ──\nfunction createAnnotatedPriceChart(canvasId, labels, prices, earningsDates, ticker) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  const annotations = {};\n  earningsDates.forEach((ed, i) =\u003e {\n    let xValue = ed.date;\n    const isNeg = ed.move.startsWith('-');\n    annotations['earnings' + i] = {\n      type: 'line',\n      xMin: xValue,\n      xMax: xValue,\n      borderColor: isNeg ? '#c0392b' : '#0d7a3e',\n      borderWidth: 2,\n      borderDash: [6, 4],\n      label: {\n        display: true,\n        content: ed.label + ' (' + ed.move + ')',\n        position: i % 2 === 0 ? 'start' : 'end',\n        backgroundColor: isNeg ? '#c0392b' : '#0d7a3e',\n        color: '#fff',\n        font: { size: 10, weight: 'bold' },\n        padding: { top: 3, bottom: 3, left: 6, right: 6 },\n        borderRadius: 3\n      }\n    };\n  });\n  new Chart(ctx, {\n    type: 'line',\n    data: {\n      labels: labels,\n      datasets: [{\n        label: ticker + ' Close',\n        data: prices,\n        borderColor: COLORS.navy,\n        backgroundColor: COLORS.navy + '15',\n        borderWidth: 1.5,\n        pointRadius: 0,\n        pointHitRadius: 4,\n        fill: true,\n        tension: 0.1\n      }]\n    },\n    options: {\n      responsive: true,\n      interaction: { mode: 'index', intersect: false },\n      scales: {\n        x: { type: 'category', ticks: { maxTicksLimit: 12, font: { size: 10 } }, grid: { display: false } },\n        y: { title: { display: true, text: 'Price ($)', font: { size: 11 } }, grid: { color: '#eee' } }\n      },\n      plugins: {\n        annotation: { annotations: annotations },\n        tooltip: { callbacks: { label: ctx =\u003e ticker + ': $' + ctx.raw.toFixed(2) } }\n      }\n    }\n  });\n}\n\n// ── Helper: Competitor Indexed Performance Chart ──\n// datasets: [{ label: 'TICKER', data: [price1, price2, ...], color: '#xxx', isSubject: true/false }, ...]\nfunction createCompPerfChart(canvasId, labels, datasets) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  const chartDatasets = datasets.map((ds, i) =\u003e {\n    const base = ds.data[0] || 1;\n    return {\n      label: ds.label,\n      data: ds.data.map(v =\u003e (v / base) * 100),\n      borderColor: ds.color || COMP_COLORS[i % COMP_COLORS.length],\n      backgroundColor: 'transparent',\n      borderWidth: ds.isSubject ? 3 : 1.5,\n      borderDash: ds.isSubject ? [] : [4, 2],\n      pointRadius: 0,\n      tension: 0.2\n    };\n  });\n  new Chart(ctx, {\n    type: 'line',\n    data: { labels: labels, datasets: chartDatasets },\n    options: {\n      responsive: true,\n      interaction: { mode: 'index', intersect: false },\n      scales: {\n        y: { title: { display: true, text: 'Indexed (100 = Start)', font: { size: 11 } }, grid: { color: '#eee' } },\n        x: { ticks: { maxTicksLimit: 12 } }\n      },\n      plugins: {\n        tooltip: { callbacks: { label: ctx =\u003e ctx.dataset.label + ': ' + ctx.raw.toFixed(1) } }\n      }\n    }\n  });\n}\n\n// ── Helper: LTM P/E Horizontal Bar Chart ──\n// companies: [{ label: 'TICKER', pe: 25.3, isSubject: true/false }, ...]\nfunction createPEChart(canvasId, companies) {\n  const ctx = document.getElementById(canvasId);\n  if (!ctx) return;\n  companies.sort((a, b) =\u003e b.pe - a.pe);\n  new Chart(ctx, {\n    type: 'bar',\n    data: {\n      labels: companies.map(c =\u003e c.label),\n      datasets: [{\n        label: 'LTM P/E',\n        data: companies.map(c =\u003e c.pe),\n        backgroundColor: companies.map(c =\u003e c.isSubject ? COLORS.navy : COLORS.lightBlue),\n        borderColor: companies.map(c =\u003e c.isSubject ? COLORS.navy : COLORS.blue),\n        borderWidth: 1\n      }]\n    },\n    options: {\n      indexAxis: 'y',\n      responsive: true,\n      scales: {\n        x: {\n          title: { display: true, text: 'LTM P/E', font: { size: 11 } },\n          grid: { color: '#eee' }\n        },\n        y: {\n          ticks: { font: { size: 12, weight: 'bold' } }\n        }\n      },\n      plugins: {\n        legend: { display: false },\n        tooltip: {\n          callbacks: { label: ctx =\u003e 'P/E: ' + ctx.raw.toFixed(1) + 'x' }\n        }\n      }\n    }\n  });\n}\n\n// ═══════════════════════════════════════════════\n// HELPER FUNCTIONS DEFINED ABOVE — DO NOT REWRITE THEM.\n// Use ONLY these functions to create charts.\n// DO NOT write custom inline Chart.js code.\n// ═══════════════════════════════════════════════\n\n\u003c/script\u003e\n\n\u003c!-- ═══════════════════════════════════════════════════════════ --\u003e\n\u003c!-- CHART DATA — EACH CHART IN ITS OWN SCRIPT + TRY-CATCH     --\u003e\n\u003c!-- A syntax error in one chart must NOT break the others.     --\u003e\n\u003c!-- MANDATORY: Use the helper functions above. No custom code. --\u003e\n\u003c!-- ═══════════════════════════════════════════════════════════ --\u003e\n\n\u003c!-- Figure 1: Revenue \u0026 EPS --\u003e\n\u003cscript\u003e\ntry {\n  createRevEpsChart('chart-rev-eps',\n    ['Q1 FY24','Q2 FY24','Q3 FY24','Q4 FY24','Q1 FY25','Q2 FY25','Q3 FY25','Q4 FY25'],\n    [152.3, 161.6, 160.8, 173.4, 161.5, 169.3, 165.8, 178.0],  // revenue in $B\n    [1.47, 1.84, 1.53, 1.80, 1.56, 1.92, 1.60, 1.90],          // diluted EPS\n    'Revenue ($B)'\n  );\n} catch(e) { console.error('Figure 1 error:', e); }\n\u003c/script\u003e\n\n\u003c!-- Figure 2: Margin Trends --\u003e\n\u003cscript\u003e\ntry {\n  createMarginChart('chart-margins',\n    ['Q1 FY24','Q2 FY24','Q3 FY24','Q4 FY24','Q1 FY25','Q2 FY25','Q3 FY25','Q4 FY25'],\n    [24.0, 24.4, 24.2, 23.8, 24.5, 24.8, 24.6, 24.1],  // gross margin %\n    [4.2, 5.1, 4.5, 4.8, 4.6, 5.3, 4.7, 5.0]            // operating margin %\n  );\n} catch(e) { console.error('Figure 2 error:', e); }\n\u003c/script\u003e\n\n\u003c!-- Figure 3: Revenue Growth y/y — ONLY quarters where y/y can be computed (most recent 4) --\u003e\n\u003cscript\u003e\ntry {\n  createRevGrowthChart('chart-rev-growth',\n    ['Q1 FY25','Q2 FY25','Q3 FY25','Q4 FY25'],  // Only 4 labels — quarters with y/y data\n    [6.0, 4.8, 3.1, 2.7]                          // y/y revenue growth % for those 4 quarters\n  );\n} catch(e) { console.error('Figure 3 error:', e); }\n\u003c/script\u003e\n\n\u003c!-- Figure 5: Annotated Stock Price --\u003e\n\u003cscript\u003e\ntry {\n  createAnnotatedPriceChart('chart-price-annotated',\n    ['2025-02-18','2025-02-19'],  // ... daily date labels for 1 year\n    [170.5, 171.2],               // ... daily closing prices\n    [\n      { date: '2025-05-15', label: 'Q1 FY26', move: '+3.2%' },\n      { date: '2025-08-15', label: 'Q2 FY26', move: '-1.8%' }\n    ],\n    'WMT'\n  );\n} catch(e) { console.error('Figure 5 error:', e); }\n\u003c/script\u003e\n\n\u003c!-- Figure 6: Competitor Indexed Performance --\u003e\n\u003cscript\u003e\ntry {\n  createCompPerfChart('chart-comp-perf',\n    ['2025-02-18','2025-03-18'],  // ... date labels\n    [\n      { label: 'WMT', data: [170.5, 172.3], isSubject: true },\n      { label: 'COST', data: [580.2, 595.1], isSubject: false },\n      { label: 'TGT', data: [142.0, 138.5], isSubject: false }\n    ]\n  );\n} catch(e) { console.error('Figure 6 error:', e); }\n\u003c/script\u003e\n\n\u003c!-- Figure 7: LTM P/E Comparison --\u003e\n\u003cscript\u003e\ntry {\n  createPEChart('chart-pe-comp', [\n    { label: 'COST', pe: 52.3, isSubject: false },\n    { label: 'WMT', pe: 28.1, isSubject: true },\n    { label: 'TGT', pe: 15.6, isSubject: false },\n    { label: 'BJ', pe: 22.4, isSubject: false }\n  ]);\n} catch(e) { console.error('Figure 7 error:', e); }\n\u003c/script\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Chart.js Implementation Notes\n\n### Figure 2: Revenue \u0026 EPS Chart\n- **Type**: Combo bar + line\n- **Bars**: Quarterly revenue on left y-axis\n- **Line**: Diluted EPS on right y-axis\n- **Labels**: Quarter identifiers (e.g., \"Q1 FY24\")\n- Use 8 quarters of data\n\n### Figure 3: Margin Trend Chart\n- **Type**: Dual line chart\n- **Lines**: Gross margin % and operating margin %\n- **Y-axis**: Percentage with 1 decimal place\n\n### Figure 3: Revenue Growth Chart\n- **Type**: Bar chart with conditional coloring\n- **Green bars**: Positive growth quarters\n- **Red bars**: Negative growth quarters\n- **IMPORTANT**: Only include quarters where y/y growth can be computed (i.e., where both the current quarter AND the year-ago quarter exist in `financials.csv`). With 8 quarters of raw data, this typically yields 4 bars — NOT 8. Do not pass labels for quarters without y/y data.\n- No legend needed (self-explanatory)\n\n### Figure 4: Business Segment Revenue\n- Use HTML table (not a chart)\n- Columns: Segment | Latest Q Rev ($M) | % of Total | y/y Change\n- Color-code y/y change cells with pos/neg classes\n\n### Figure 5: Earnings-Annotated Stock Price Chart\n- **Type**: Line chart with annotation plugin vertical lines\n- **Data**: 1 year of daily closing prices\n- **Annotations**: Vertical dashed lines at each earnings date\n- **Labels**: Quarter name + 1-day post-earnings stock move\n- **Colors**: Green for positive reactions, red for negative\n- **Calculating the 1-day move**: Compare closing price on earnings date to next trading day close\n- **CRITICAL**: The annotation plugin MUST be registered before creating charts: `Chart.register(window['chartjs-plugin-annotation'])` — this is already in the template script block\n\n### Figure 7: Competitor Indexed Performance Chart\n- **Type**: Multi-line chart, rebased to 100\n- **Subject company**: Solid thick line (borderWidth: 3)\n- **Competitors**: Thinner dashed lines (borderWidth: 1.5, borderDash)\n- This visual hierarchy makes the subject company immediately identifiable\n\n### Figure 8: LTM P/E Comparison Chart\n- **Type**: Horizontal bar chart\n- **Subject company**: Highlighted in navy (#1a1a4e)\n- **Competitors**: Light blue (#85c1e9)\n- **Sorted**: Descending by P/E\n- Shows at a glance whether the company trades at a premium or discount to peers\n\n### Figure 8: Competitor Comparison Table\n- HTML table with highlight-row for subject company\n- Columns: Ticker | Company | Mkt Cap ($B) | LTM P/E | NTM P/E | YTD % | 1-Yr %\n- Color-code returns with pos/neg classes\n\n## Formatting Conventions\n\n### Numbers\n- Revenue: 1 decimal place for $B (e.g., \"$152.3B\"), no decimals for $M (e.g., \"$4,521M\")\n- EPS: 2 decimal places (e.g., \"$1.47\")\n- Margins: 1 decimal place with % sign (e.g., \"24.5%\")\n- Growth rates: 1 decimal place with +/- sign (e.g., \"+5.2%\", \"-3.1%\")\n- Market cap: 1 decimal place for $B (e.g., \"$562.1B\")\n- Stock prices: 2 decimal places (e.g., \"$172.35\")\n- P/E ratios: 1 decimal place with 'x' suffix (e.g., \"25.3x\")\n\n### Color Coding\n- Positive values: `class=\"pos\"` -- green (#0d7a3e)\n- Negative values: `class=\"neg\"` -- red (#c0392b)\n- Neutral/flat: `class=\"neutral\"` -- gray (#555)\n- Subject company row: `class=\"highlight-row\"` -- light blue background\n\n### Figure Labels\n- Number all figures sequentially: \"Figure 1:\", \"Figure 2:\", etc.\n- Figures 1-8 are on Pages 3-5 (the Consensus Estimates table on Page 2 is not numbered)\n- Include source attribution under every chart and table: \"Source: S\u0026P Capital IQ\"\n\n### Hyperlinked Claims\n- Every factual claim in the report body — numbers AND qualitative statements — must be wrapped in `\u003ca href=\"#ref-N\" class=\"data-ref\"\u003eCLAIM TEXT\u003c/a\u003e`\n- The `ref-N` ID must match a row in the Appendix table\n- This applies to: narrative text, bullet points, table cells, blockquotes — anywhere a fact appears\n- Chart axis labels and tooltips do NOT need hyperlinks (only report body text)\n- Assign reference IDs sequentially (`ref-1`, `ref-2`, ...) as you write the report\n- Multiple references to the same underlying claim should share the same ref ID\n- For qualitative claims, wrap the key phrase: `\u003ca href=\"#ref-25\" class=\"data-ref\"\u003emanagement flagged tariff headwinds\u003c/a\u003e`\n\n### Appendix\n- **MUST begin with**: `\u003cdiv class=\"ai-disclaimer\"\u003eAnalysis is AI-generated — please confirm all outputs\u003c/div\u003e`\n- The Appendix is the final section of the report, after all figures\n- **4 columns**: Ref # | Fact | Value | Source \u0026 Derivation\n- One row per unique claim referenced in the report (numeric and non-numeric)\n- **Every number in the report body must be a clickable `\u003ca href=\"#ref-N\"\u003e` link to its appendix row. No exceptions.**\n- Group rows by category: Quarterly Financials, Valuation, Transcript Claims, Estimates \u0026 Consensus, News \u0026 Analyst Commentary, Stock Performance\n- Use subheading rows (`appendix-group` class) to separate groups\n- **Source \u0026 Derivation column** must include specific, detailed sourcing for EVERY row:\n  - For raw S\u0026P data (revenue, EPS, prices, market cap, etc.): `\u003cspan class=\"src-label\"\u003eS\u0026P Capital IQ\u003c/span\u003e` followed by the specific MCP function call with parameters (e.g., `get_financial_line_item_from_identifiers(identifier='WMT', line_item='revenue', period_type='quarterly', period='Q3 FY2026')`). **Never write just \"S\u0026P Capital IQ\" with no detail.**\n  - For calculated values (margins, growth rates, P/E, returns): the full formula with `\u003ca class=\"data-ref\"\u003e` hyperlinks to each component row (use `formula` CSS class). **Every number in the formula must be a clickable link to its own appendix row.**\n  - For transcript claims: the verbatim excerpt sentence in italics (`excerpt` CSS class) + transcript name with `transcript-ref` class + `key_dev_id`\n  - For Kensho results: the key finding (`excerpt` class) + **clickable source URL** as `\u003ca href=\"[URL]\" target=\"_blank\" class=\"src-url\"\u003e[Source Title]\u003c/a\u003e` + the search query used. **Every Kensho-sourced claim must have a clickable URL to the original source.**\n- Source labels use the `src-label` CSS class (bold navy)\n- External source URLs use the `src-url` CSS class (blue, underlined, clickable)\n\n### Style Rules\n- **NO EMOJIS** anywhere in the report. No emoji in headings, tables, chart labels, or body text. This is a professional research document.\n- Font: Arial Narrow throughout (body, headings, tables, charts).\n- Management quotes: Integrate as `\u003cblockquote\u003e` elements within the executive thesis narrative. Never under a separate heading.\n- Keep all text concise. Target 4-5 printed pages total (appendix is additional).\n"},"import":{"commit_sha":"9affc6e683bbaf66361058117027cf5a50bf1861","imported_at":"2026-05-18T20:09:40Z","license_text":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright 2026-present Kensho Technologies, LLC.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.","owner":"anthropics","repo":"anthropics/financial-services","source_url":"https://github.com/anthropics/financial-services/tree/9affc6e683bbaf66361058117027cf5a50bf1861/plugins/partner-built/spglobal/skills/earnings-preview-beta"}},"content_hash":[142,113,57,29,248,236,52,148,110,127,1,38,252,37,89,135,141,202,221,2,102,209,19,163,91,161,75,134,88,114,18,61],"trust_level":"unsigned","yanked":false}
