/* 95 Forward — Today. The daily focus screen: where attention goes today.
Action over archive. Warm register. */
const TD = window.Ds95ForwardDesignSystem_31a0c4 || {};
function Today({ go }) {
const D = window.POC_DATA;
const { Icon, Eyebrow } = window.POC;
const { Card, Button, HorizonTag } = TD;
const t = D.today;
const [scope, setScope] = React.useState("me");
const byId = id => D.prospects.find(p => p.id === id);
const Section = ({ icon, title, count, accent, children }) => (
{/* scope toggle */}
{[["me", "Me"], ["team", "Team"]].map(([k, l]) => (
))}
Tuesday, June 18 · {scope === "me" ? "Your day" : "The team's day"}
{/* Your next right moves */}
{t.nextMoves.map((m, i) => {
const p = byId(m.id);
const go90 = p.qpi >= 90;
return (
go("prospect", { id: p.id })}>
= 70 ? "var(--blue-600)" : "var(--sage-600)" }}>
{p.qpi}
{m.move}
);
})}
{/* Follow-ups due — the 24h SLA queue with the heartbeat */}
{t.followups.map((f, i) => {
const p = byId(f.id);
return (
go("prospect", { id: p.id })} style={{
display: "flex", alignItems: "center", gap: 14, padding: "13px 18px", cursor: "pointer",
background: "var(--surface-card)", border: "1px solid " + (f.overdue ? "var(--gold-300)" : "var(--border-hairline)"),
borderRadius: "var(--radius-md)", transition: "box-shadow var(--dur-base) var(--ease-out)",
}}>
{f.left}
}>Open the draft
);
})}
{/* Today's visits */}
{t.visits.map((v, i) => {
const p = byId(v.id);
return (
{v.time}
{v.who}
Lead with: {v.priority}
);
})}
{/* From your copilot */}
go("prospect", { id: "p1" })}>
{t.copilotCount} suggestions to review
Capacity bumps, two new Natural Partners, and a fresh discovery batch — across your portfolio. Each proposes; you decide.
Review them
{/* Coverage nudge — quiet */}
go("mpl")} style={{
display: "flex", alignItems: "center", gap: 12, padding: "13px 18px", cursor: "pointer",
background: "var(--haze-100)", borderRadius: "var(--radius-md)", border: "1px solid var(--border-hairline)",
}}>
{t.coverage.text} — worth a look.
See them
);
}
window.POC = Object.assign(window.POC || {}, { Today });