<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp
  xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
  xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
  xsi:type="TaskPaneApp">

  <!-- ── Identity ─────────────────────────────────────── -->
  <Id>7a3f8c1e-2b5d-4f9a-8e6b-3c1d5f7a9e2b</Id>
  <!-- DEPLOY CHECKLIST: bump Version + increment ?v=N on both TaskPaneUrl entries below -->
  <Version>1.0.1.0</Version>
  <ProviderName>LedgerMatch</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="LedgerMatch" />
  <Description DefaultValue="Bank reconciliation directly in Excel. Import two sheets, reconcile transactions, and export matched and unmatched rows — without leaving your spreadsheet." />

  <!-- ── Icons ─────────────────────────────────────────── -->
  <IconUrl DefaultValue="https://ledgermatchapp.com/assets/icon32.png" />
  <HighResolutionIconUrl DefaultValue="https://ledgermatchapp.com/assets/icon64.png" />
  <SupportUrl DefaultValue="https://ledgermatchapp.com" />

  <!-- ── Hosts ─────────────────────────────────────────── -->
  <Hosts>
    <Host Name="Workbook" />
  </Hosts>

  <!-- ── Default settings ──────────────────────────────── -->
  <DefaultSettings>
    <SourceLocation DefaultValue="https://ledgermatchapp.com/excel-addin/taskpane.html?v=1" />
  </DefaultSettings>

  <!-- ── Permissions ───────────────────────────────────── -->
  <Permissions>ReadWriteDocument</Permissions>

  <!-- ── Version overrides (ribbon button) ─────────────── -->
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>

          <!-- Ribbon extension -->
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="LedgerMatchGroup">
                <Label resid="GroupLabel" />
                <Icon>
                  <bt:Image size="16" resid="Icon16" />
                  <bt:Image size="32" resid="Icon32" />
                  <bt:Image size="80" resid="Icon80" />
                </Icon>
                <Control xsi:type="Button" id="OpenPaneButton">
                  <Label resid="TaskPaneButtonLabel" />
                  <Supertip>
                    <Title resid="TaskPaneButtonLabel" />
                    <Description resid="TaskPaneButtonTooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon16" />
                    <bt:Image size="32" resid="Icon32" />
                    <bt:Image size="80" resid="Icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>LedgerMatchPane</TaskpaneId>
                    <SourceLocation resid="TaskPaneUrl" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>

        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon16" DefaultValue="https://ledgermatchapp.com/assets/icon32.png" />
        <bt:Image id="Icon32" DefaultValue="https://ledgermatchapp.com/assets/icon32.png" />
        <bt:Image id="Icon80" DefaultValue="https://ledgermatchapp.com/assets/icon80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="TaskPaneUrl" DefaultValue="https://ledgermatchapp.com/excel-addin/taskpane.html?v=1" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel"           DefaultValue="LedgerMatch" />
        <bt:String id="TaskPaneButtonLabel"  DefaultValue="Open LedgerMatch" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskPaneButtonTooltip" DefaultValue="Open the LedgerMatch reconciliation panel" />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>

</OfficeApp>
