{#if !$sessionHydrated}

Client Workspace

Hunter Premium Produce Lean 101 client workspace access

Restoring your workspace.

Checking the saved client session before deciding whether sign-in is required.

Checking Session

The sign-in form appears only when no valid local client session is available.

{:else if !$clientSession}

Client Sign-In

Hunter Premium Produce
Secure Workspace Access

Login

Enter your username & password below:

{#if loginError} {/if}
{:else}

Client Workspace

Hunter Premium Produce costing overview.

Track input pricing, mix performance, and delivered product outcomes from one client-facing workspace.

Review Delivered Pricing

Account

Hunter Premium Produce

Lean 101 powers the client workspace while operator-only administration now lives in the separate `/admin` area.

{#each focusCards as card}
{card.code}
{card.label} {card.detail}
{card.value}
{/each}
Latest market check
NZD USD

{featuredMaterial?.name ?? 'No material loaded'}

{formatDate(featuredMaterial?.current_price?.effective_date)}

{currency(featuredMaterial?.current_price?.market_value)}

{currency(featuredMaterial?.current_price?.cost_per_kg, 4)} / kg Current blend for Hunter Premium Produce

Tracked Workspace

Entities currently feeding the Hunter costing model

{totalTracked} tracked items
{#each productionSegments as segment} {segment.label} {segment.value} {/each}
Total Input Spend
{currency(totalMarketValue)}

Across all tracked raw materials

Average Mix Cost
{currency(averageMixCost, 4)}

Per kg across the current mix set

Top Delivered Output
{currency(featuredProduct?.finished_product_delivered)}

{featuredProduct?.product_name ?? 'No products loaded'}

Monthly Pricing Pulse

Trend view of input pressure and delivered output movement

Peak {trendFocus.month} {trendFocus.label}
{#each monthLabels as label} {label} {/each}

{featuredMix?.name ?? 'Mix Preview'}

{featuredMix?.client_name ?? 'Hunter Premium Produce'}

Open Mix Master
Ingredients {featuredMix?.ingredients.length ?? 0}
Total Kg {featuredMix?.total_mix_kg ?? 0}
Total Cost {currency(featuredMix?.total_mix_cost)}

Priority Watchlist

Current client-facing checkpoints generated from the active costing snapshot

{#each focusCards as card} {/each}
Focus Owner Reference Date Status
{card.code}
{card.label} {card.value}
HP Hunter Premium Produce
{card.detail} Current checkpoint
{card.tone === 'warning' ? 'Watch' : 'On track'}

Finished Product Summary

Highest delivered pricing outputs

{#each topProducts as product}
{product.product_name} {product.warnings.length ? 'Review warnings' : 'Stable pricing output'}
{currency(product.finished_product_delivered)}
{/each}
{/if}