@model StoryIntelligenceCharacterImportResultViewModel
@{
    ViewData["Title"] = "Characters created";
}

<section class="onboarding-shell" aria-labelledby="story-character-complete-title">
    <div class="onboarding-panel onboarding-review-panel">
        <partial name="_StoryIntelligencePipelineHeader" model="@(new StoryIntelligencePipelineHeaderViewModel { CurrentStage = "Review Locations" })" />
        <div class="onboarding-copy">
            <p class="eyebrow">Build Story Database</p>
            <div class="onboarding-success-heading">
                <span aria-hidden="true">&check;</span>
                <h1 id="story-character-complete-title">Characters created</h1>
            </div>
            <p>PlotDirector updated your story database from the approved character decisions. The next Story Intelligence stages are ready to slot in as they are implemented.</p>
        </div>

        <div class="onboarding-scan-counts onboarding-review-counts">
            <div>
                <span>Characters created</span>
                <strong>@Model.CharactersCreated.ToString("N0")</strong>
            </div>
            <div>
                <span>Characters linked</span>
                <strong>@Model.CharactersLinked.ToString("N0")</strong>
            </div>
            <div>
                <span>Aliases added</span>
                <strong>@Model.CharactersAliased.ToString("N0")</strong>
            </div>
            <div>
                <span>Characters ignored</span>
                <strong>@Model.CharactersIgnored.ToString("N0")</strong>
            </div>
            <div>
                <span>POV links resolved</span>
                <strong>@Model.PovLinksResolved.ToString("N0")</strong>
            </div>
            <div>
                <span>Scene People panels updated</span>
                <strong>@Model.ScenePeoplePanelsUpdated.ToString("N0")</strong>
            </div>
        </div>

        <div class="story-future-stage-grid">
            <article class="story-future-stage"><strong>Review Locations</strong><span>Next</span></article>
            <article class="story-future-stage"><strong>Review Assets</strong><span>Coming Soon</span></article>
            <article class="story-future-stage"><strong>Review Relationships</strong><span>Coming Soon</span></article>
            <article class="story-future-stage"><strong>Review Knowledge</strong><span>Coming Soon</span></article>
        </div>

        <div class="onboarding-actions">
            <a class="btn btn-outline-secondary" asp-action="StoryIntelligenceCharacters" asp-route-batchId="@Model.BatchID">Back to characters</a>
            <a class="btn btn-primary" asp-action="StoryIntelligenceLocations" asp-route-batchId="@Model.BatchID">Review locations</a>
        </div>
    </div>
</section>
