/* ============================================================
   AGENTIC OPERATIONS (#agentic-operations, home page, 9 Nov 2026).
   Dom: clarify what agentic operations are: your business workflows
   executed by AI end to end, run from one central place, Askpilot.
   Three zones read left to right:
     1  Something happens: events in your tools (Outlook, Xero, WhatsApp,
        CallSwitch One, your website).
     2  Askpilot runs the workflow: the Askpilot app as it really looks (new
        UI read on app-dev, 1 Nov 2026): one session per case in the sidebar,
        and the open session (WhatsApp, order 1182) with its Progress card
        and its Activity card, where Ask asks you to approve a refund.
     3  Work gets done: the outcome of each case back in your tools.
   js/agentic-ops.js plays it once. Without JS, or with reduced motion,
   everything shows finished. Fixed heights: nothing moves the page.
   ============================================================ */
.ao { padding: 112px 0; border-top: 1px solid var(--line); background: var(--cream, #FCF9F7); }
.ao-lede { max-width: 640px; margin: 18px auto 0; font-size: 1.125rem; line-height: 1.55; color: var(--body, #4E4854); text-align: center; }

.ao-stage {
    position: relative;
    display: grid; grid-template-columns: 204px 72px minmax(0, 1fr) 72px 204px; align-items: start;
    max-width: 1280px; margin: 0 auto;
}
.ao-col { min-width: 0; }
/* the step headers: soft pills, numbered 1 2 3. The pill of the step the case
   in hand is at turns pale pink with a magenta number; once the run is through
   all three settle, numbers kept (a sequence, not a checklist) */
.ao-col-h { display: flex; align-items: center; margin: 0 0 16px; min-height: 34px; }
.ao-col-h p { margin: 0; }
.ao-col-h {
    width: max-content; max-width: 100%; height: 34px; padding: 0 14px 0 5px; gap: 9px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 17, 26, .04);
    transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.ao-col-h b { font-size: .875rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; color: var(--ink); white-space: nowrap; transition: color .4s ease; }
.ao-num {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none;
    background: #F4F1F0; font-size: .75rem; font-weight: 800; color: #6E6772;
    transition: background-color .4s ease, color .4s ease;
}
/* while the animation plays: the steps ahead stay quiet */
.ao-js .ao-col-h:not(.is-now):not(.is-past) b { color: #8C8590; }
.ao-js .ao-col-h:not(.is-now):not(.is-past) { box-shadow: none; }
/* the step the case is at */
.ao-col-h.is-now { background: var(--pink-wash); border-color: var(--pink-surface); box-shadow: 0 6px 18px -10px rgba(213, 59, 213, .5); }
.ao-col-h.is-now .ao-num { background: var(--brand-magenta); color: #fff; }
/* the run is through */
.ao-col-h.is-past .ao-num { background: var(--ink); color: #fff; }
.ao-col--mid .ao-col-h { margin-left: auto; margin-right: auto; }

/* ---------- events and outcomes ---------- */
.ao-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ao-ev, .ao-out {
    display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 14px; border-radius: 14px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 17, 26, .04), 0 14px 30px -26px rgba(20, 17, 26, .35);
}
.ao-ev img, .ao-out img, .ao-ic { width: 22px; height: 22px; flex: none; }
.ao-ic { display: grid; place-items: center; color: #6E6772; }
.ao-ic svg { width: 20px; height: 20px; }
.ao-ev span, .ao-out span { display: flex; flex-direction: column; min-width: 0; }
.ao-ev b, .ao-out b { font-size: .875rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ao-ev em, .ao-out em { font-style: normal; font-size: .75rem; color: var(--muted); }
.ao-tm { font-style: normal; }
.ao-out { border-color: #CDEBD8; background: linear-gradient(#fff, #fff) padding-box; }
.ao-out b::before {
    content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border-radius: 50%;
    background: var(--ok-bg, #E3F5EA) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231F6B49' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.ao-out--wait { border-style: dashed; border-color: #E4DCD8; background: transparent; box-shadow: none; }
.ao-out--wait b::before { background: none; border: 2px solid #D9D0CD; border-top-color: var(--brand-magenta); width: 10px; height: 10px; }
.ao-out-ph { width: 22px; height: 22px; flex: none; border-radius: 7px; background: #F1EBE8; }

/* ---------- wires: each event into its own session, each outcome out of the app ---------- */
.ao-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; display: none; }
.ao-wired .ao-wires { display: block; }
.ao-wired .ao-arrow i, .ao-wired .ao-arrow::after { display: none; }
.ao-wire { fill: none; stroke: #DCD3CF; stroke-width: 1.5; stroke-dasharray: 3 5; stroke-linecap: round; opacity: 0; transition: opacity .5s ease, stroke .5s ease; }
.ao-wire.is-on { opacity: 1; }
.ao-wire.is-cur { stroke: #E7A8E7; }
.ao-dot { fill: var(--brand-magenta); }
.ao-dot-h { fill: rgba(213, 59, 213, .18); }
/* the case in hand: its event and, once done, its outcome are marked */
.ao-ev.is-cur, .ao-out.is-cur { border-color: #EFC0EF; box-shadow: 0 0 0 3px rgba(213, 59, 213, .07), 0 14px 30px -26px rgba(20, 17, 26, .35); }

/* ---------- arrows between the zones (stacked layout) ---------- */
.ao-arrow { position: relative; align-self: stretch; margin-top: 50px; }
.ao-arrow i {
    position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; border-radius: 2px;
    background: repeating-linear-gradient(to right, #D9D0CD 0 6px, transparent 6px 11px);
}
.ao-arrow i::after {
    content: ""; position: absolute; right: -2px; top: -4px; width: 0; height: 0;
    border-left: 7px solid #D9D0CD; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.ao-arrow::after {   /* the pulse that carries an event in, or an outcome out */
    content: ""; position: absolute; top: calc(50% - 4px); left: 4px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--brand-magenta); box-shadow: 0 0 0 4px rgba(213, 59, 213, .15); opacity: 0;
}
.ao-arrow.is-pulse::after { animation: ao-pulse .7s ease-in-out; }
@keyframes ao-pulse {
    0% { left: 4px; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 14px); opacity: 0; }
}

/* ---------- the app window (the real app: Geist look, #141C20 text) ---------- */
.ao-app {
    position: relative; overflow: hidden; border-radius: 14px; border: 1px solid #DAE1E4;
    background: #fff; box-shadow: 0 1px 2px rgba(20, 28, 32, .05), 0 34px 70px -38px rgba(20, 28, 32, .45);
    font-family: Geist, Inter, -apple-system, 'Segoe UI', sans-serif; font-size: 13px; line-height: 17px; color: #141C20; text-align: left;
}
.ao-app p { margin: 0; }
.ao-bar {
    position: relative; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
    background: #F4F5F6; border-bottom: 1px solid #E6EBED;
}
.ao-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.ao-bar > i:nth-child(2) { background: #FEBC2E; }
.ao-bar > i:nth-child(3) { background: #28C840; }
.ao-bar span {
    position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 500; color: #54626C;
}
.ao-bar span img { width: 12px; height: 12px; }
/* the app's faint gradient under the sidebar and the page */
.ao-app-body {
    display: flex; height: 492px;
    background: linear-gradient(176deg, rgba(246, 244, 255, .3) .59%, rgba(255, 247, 253, .3) 31.09%, rgba(247, 255, 255, .3) 67.31%, rgba(250, 255, 250, .3) 99.7%), #fff;
}

/* the sidebar: org, menu, Open | Done, sessions */
.ao-side { flex: none; width: 178px; display: flex; flex-direction: column; overflow: hidden; white-space: nowrap; }
.ao-org { display: flex; align-items: center; gap: 6px; padding: 12px 8px 4px 11px; }
.ao-org span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; box-sizing: border-box; border: 1px solid #CFD8DC; border-radius: 10px; background: #1D2B53; font-size: 11px; font-weight: 700; color: #fff; }
.ao-org b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ao-nav { display: grid; gap: 2px; padding: 8px 6px 6px; }
.ao-nav span { display: flex; align-items: center; gap: 6px; height: 27px; padding: 0 9px; border-radius: 9px; }
.ao-nav svg { flex: none; width: 14px; height: 14px; }
.ao-tabs { display: flex; gap: 8px; align-items: center; height: 28px; padding: 0 14px; }
.ao-tabs b { font-weight: 600; }
.ao-tabs span { color: #7C8B91; }
.ao-sess { display: grid; padding: 2px 6px; }
/* a session: the trigger's icon and the title, the date under it */
.ao-s {
    position: relative; max-height: 0; opacity: 0; overflow: hidden; border-radius: 9px;
    transition: max-height .5s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, background-color .4s ease;
}
.ao-s.is-on { max-height: 46px; opacity: 1; }
.ao-s > img { position: absolute; left: 9px; top: 9px; width: 12px; height: 12px; }
.ao-s > span { display: block; overflow: hidden; padding: 6px 9px; }
.ao-s b { display: block; padding-left: 17px; font-weight: 400; line-height: 17px; overflow: hidden; text-overflow: ellipsis; }
.ao-s small { display: block; margin-top: 2px; font-size: 10px; line-height: 12px; font-weight: 500; color: #7C8B91; }
.ao-s.is-sel { background: #E6EBED; }
.ao-s.is-ping { background: #EEF1FD; }
/* while a session waits for you: the pill at the right of its title, the title cut short */
.ao-await {
    position: absolute; right: 8px; top: 7px; padding: 0 5px; border-radius: 999px; background: #B7C5FF; color: #1F3FC4;
    font-style: normal; font-size: 9.5px; line-height: 15px; font-weight: 500; opacity: 0; transform: translateX(4px);
    transition: opacity .3s ease, transform .3s ease;
}
.ao-s b { transition: padding-right .3s ease; }
.ao-s.is-await b { padding-right: 76px; }
.ao-s.is-await .ao-await { opacity: 1; transform: none; }
/* the person, at the foot of the sidebar */
.ao-user { display: flex; align-items: center; gap: 7px; margin-top: auto !important; padding: 10px 10px 11px; border-top: 1px solid #E6EBED; }
.ao-user span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; box-sizing: border-box; border: 1px solid #CFD8DC; border-radius: 10px; background: #F4F6FF; font-size: 10px; font-weight: 600; }
.ao-user b { font-weight: 600; }

/* the page: one white card, open at the bottom, 10px in from the top and right */
.ao-page { flex: 1; min-width: 0; display: flex; margin: 10px 10px 0 0; }
.ao-card {
    position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid #DAE1E4; border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
/* the title row: the trigger's icon, the session, auto-run and done */
.ao-ch { flex: none; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px 0 14px; white-space: nowrap; }
.ao-ch > img { flex: none; width: 13px; height: 13px; }
/* no session open yet: the card waits, empty */
.ao-card .ao-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: #9AA6AC; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.ao-empty img { width: 22px; height: 22px; opacity: .35; filter: grayscale(1); }
.ao-card.is-empty .ao-empty { opacity: 1; }
.ao-card.is-empty .ao-ch, .ao-card.is-empty .ao-seg, .ao-card.is-empty .ao-panes, .ao-card.is-empty .ao-compose { opacity: 0; }
.ao-ch, .ao-seg, .ao-compose { transition: opacity .3s ease; }
/* a session opens: its todos load in, one after another */
.ao-tl > li { transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1); }
.ao-tl.is-load > li { opacity: 0; transform: translateY(5px); }
/* switching to another case: the title and the panes fade out and back in */
.ao-ch > img, .ao-ch b, .ao-panes { transition: opacity .25s ease; }
.ao-card.is-swap .ao-ch > img, .ao-card.is-swap .ao-ch b, .ao-card.is-swap .ao-panes { opacity: 0; }
.ao-ch b { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ao-ok { display: grid; place-items: center; width: 24px; height: 24px; box-sizing: border-box; border: 1px solid #BFC6C9; border-radius: 9px; }
.ao-ok svg { width: 11px; height: 11px; }
/* Activity | Progress, the switch under the title */
.ao-seg {
    flex: none; display: grid; grid-template-columns: 1fr 1fr; width: 56%; max-width: 236px; margin: 0 auto 8px !important; padding: 2px;
    border-radius: 9px; background: #F2F4F5; font-size: 11.5px; line-height: 15px; text-align: center; color: #54626C;
}
.ao-seg span { padding: 3px 0; border-radius: 7px; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; }
.ao-seg b { font-weight: 500; }
.ao-card:not(.is-prog) .ao-seg-a, .ao-card.is-prog .ao-seg-p { background: #fff; color: #141C20; font-weight: 600; box-shadow: 0 1px 2px rgba(20, 28, 32, .12); }
.ao-card.is-prog .ao-seg-p b { font-weight: 600; }
.ao-pn { color: inherit; }
/* the two panes share the space under the switch; one shows at a time */
.ao-panes { position: relative; flex: 1; min-height: 0; border-top: 1px solid #E6EBED; }
.ao-feed, .ao-tl { position: absolute; inset: 0; transition: opacity .35s ease, transform .35s ease; }
.ao-card.is-prog .ao-feed { opacity: 0; transform: translateX(-10px); pointer-events: none; }
.ao-card:not(.is-prog) .ao-tl { opacity: 0; transform: translateX(10px); pointer-events: none; }

/* Progress: the trigger, then the todos with their marks and the line between them */
.ao-tl { margin: 0; padding: 16px 12px 0; list-style: none; }
.ao-trig, .ao-todo { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 7px; padding-bottom: 20px; font-weight: 600; line-height: 17px; }
.ao-todo:last-child { padding-bottom: 0; }
.ao-trig > i, .ao-todo > i { position: relative; height: 17px; }
.ao-trig > i img { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; }
.ao-trig::after, .ao-todo:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 16px; bottom: 0; border-left: 1px solid #CFD8DC; }
.ao-todo::before { content: ""; position: absolute; left: 8px; top: 0; height: 2px; border-left: 1px solid #CFD8DC; }
.ao-todo > i::before { content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #D3CED9; transition: background-color .3s ease; }
.ao-todo.is-prog > i::before { background: #ECBAFC; box-shadow: 0 0 0 3px rgba(236, 186, 252, .35); }
.ao-todo.is-done > i::before {
    left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 0; box-shadow: none; background: #141C20;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 12c0 6.63 5.37 12 12 12s12-5.37 12-12S18.63 0 12 0 0 5.38 0 12m17.22-4.17c.45.42.49 1.12.07 1.58l-6.14 6.7c-.21.22-.49.36-.8.36-.3 0-.6-.11-.81-.33l-2.79-2.79a1.11 1.11 0 0 1 0-1.58 1.11 1.11 0 0 1 1.58 0l1.97 1.97 5.35-5.84a1.12 1.12 0 0 1 1.58-.07z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M0 12c0 6.63 5.37 12 12 12s12-5.37 12-12S18.63 0 12 0 0 5.38 0 12m17.22-4.17c.45.42.49 1.12.07 1.58l-6.14 6.7c-.21.22-.49.36-.8.36-.3 0-.6-.11-.81-.33l-2.79-2.79a1.11 1.11 0 0 1 0-1.58 1.11 1.11 0 0 1 1.58 0l1.97 1.97 5.35-5.84a1.12 1.12 0 0 1 1.58-.07z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.ao-todo small { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11px; font-weight: 400; color: #7C8B91; white-space: nowrap; }
.ao-todo small svg { flex: none; width: 11px; height: 11px; }
.ao-tl { padding: 18px 22px 0; }

/* Activity: as in the app, the feed starts at the top and scrolls down as entries
   come in (the script scrolls it smoothly to the newest) */
.ao-feed { display: block; padding: 4px 22px 16px; overflow: hidden; scroll-behavior: smooth; }
/* the still version (no script, or reduced motion): show the newest entries, as the app does after a run */
.ao:not(.ao-js) .ao-feed { display: flex; flex-direction: column; justify-content: flex-end; }
.ao:not(.ao-js) .ao-m { flex: none; }
.ao-m { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .55s cubic-bezier(.2, .8, .2, 1), opacity .4s ease, margin .5s ease; }
.ao-m.is-on { max-height: 360px; opacity: 1; margin-top: 14px; }
.ao-mh { display: flex; align-items: center; gap: 8px; }
.ao-mh b { font-weight: 600; }
.ao-mh time { margin-left: -3px; font-size: 11px; color: #7C8B91; }
.ao-av { display: grid; place-items: center; flex: none; width: 26px; height: 26px; box-sizing: border-box; border: 1px solid #CFD8DC; border-radius: 10px; background: #fff; }
.ao-av img { width: 14px; height: 14px; }
.ao-av--ask { background: #F8FAFB; }
.ao-av--ask img { width: 12px; height: 12px; }
.ao-mb { padding-top: 6px; color: #141C20; }
.ao-lk { padding-top: 6px; color: #7C8B91; }
.ao-sum { padding-top: 8px; font-size: 14px; font-weight: 600; }
.ao-chips { display: flex; gap: 6px; padding: 8px 0 2px; }
.ao-chips span {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #E6EBED; border-radius: 8px; background: #F8FFFE; white-space: nowrap;
    font-size: 12px; font-weight: 600; box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .08);
}
.ao-chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #00BFA5; }

/* the message box at the foot */
.ao-compose { flex: none; margin: 0 14px 10px; padding: 9px 11px 8px; border: 1px solid #CFD8DC; border-radius: 14px; background: #fff; box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .1); }
.ao-compose p { color: #9AA6AC; }
.ao-srcs { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; height: 22px; padding: 0 7px; border: 1px solid #E6EBED; border-radius: 8px; font-size: 11px; font-weight: 500; }
.ao-srcs svg { width: 10px; height: 10px; }

/* Actions needing your approval: the Input needed card, as in the app */
.ao-appr-h { display: flex; align-items: center; justify-content: space-between; padding-top: 2px; font-size: 14px; }
.ao-appr-h b { font-weight: 600; }
.ao-appr-b { display: none; }
.ao-skip { font-size: 12px; color: #7C8B91; }
.ao-appr.is-approved .ao-appr-a, .ao-appr.is-approved .ao-skip { display: none; }
.ao-appr.is-approved .ao-appr-b { display: inline; }
.ao-in { margin: 8px 0 2px; border: 1px solid #E6EBED; border-radius: 10px; background: #fff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .08); overflow: hidden; }
.ao-in-t { padding: 9px 11px; border-bottom: 1px solid #E6EBED; background: #FAFBFB; font-size: 12px; color: #54626C; }
.ao-in-b { padding: 10px 11px 6px; }
.ao-in-q { display: flex; align-items: flex-start; gap: 6px; font-weight: 600; }
.ao-in-q i { flex: none; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #4C6BEE; }
.ao-in-c { margin: 3px 0 6px !important; font-size: 12px; color: #54626C; }
.ao-opt { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 7px; transition: background-color .2s ease, color .2s ease; }
.ao-opt em { width: 12px; font-style: normal; color: #7C8B91; }
.ao-opt svg { display: none; width: 12px; height: 12px; margin-left: auto; color: #4C6BEE; }
.ao-opt.is-picked { background: #F8FAFB; }
.ao-opt.is-picked svg { display: block; }
.ao-opt-c { color: #7C8B91; }
.ao-opt-c svg { display: block; width: 12px; height: 12px; margin: 0; color: #7C8B91; }
.ao-appr.is-approved .ao-opt:not(.is-picked) { color: #9AA6AC; }
.ao-in-f { padding: 8px 11px 10px; border-top: 1px solid #E6EBED; }
.ao-sub { display: grid; place-items: center; height: 30px; border-radius: 9px; background: #4C6BEE; font-weight: 600; color: #fff; transition: transform .15s ease, background-color .2s ease; }
.ao-sub.is-press { transform: scale(.97); background: #3D5AD6; }
.ao-sub-b { display: none; align-items: center; gap: 5px; }
.ao-sub-b svg { width: 13px; height: 13px; color: #4C6BEE; }
.ao-appr.is-approved .ao-sub { background: none; color: #141C20; }
.ao-appr.is-approved .ao-sub-a { display: none; }
.ao-appr.is-approved .ao-sub-b { display: inline-flex; }

/* the pointer: it glides on an ease-in-out curve, presses, and leaves a ring where it clicks */
.ao-ptr {
    position: absolute; left: 92%; top: 108%; z-index: 4; width: 17px; height: 21px; opacity: 0; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M2 1.5v16.2l4.4-4.1 2.8 6.4 2.9-1.3-2.8-6.3 6-.4z' fill='%2316121A' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
    transition: left .85s cubic-bezier(.45, .05, .25, 1), top .85s cubic-bezier(.45, .05, .25, 1), opacity .3s ease, transform .12s ease;
    transform-origin: 2px 2px;
}
.ao-ptr.is-on { opacity: 1; }
.ao-ptr.is-press { transform: scale(.86); }
.ao-ptr::after {
    content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid rgba(76, 107, 238, .55); opacity: 0; transform: scale(.3);
}
.ao-ptr.is-press::after { animation: ao-ring .5s ease-out; }
@keyframes ao-ring { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
.ao-seg span.is-press { transform: scale(.97); }
.ao-seg span { transition: background-color .3s ease, box-shadow .3s ease, color .3s ease, transform .12s ease; }

/* ============================================================
   THE PLAY (js/agentic-ops.js adds .ao-js and plays it once; the
   markup is the finished state, so without JS everything shows)
   ============================================================ */
/* before it happens: every event and every outcome is already in place, quiet,
   so the 5 in / 5 out structure reads from the first frame */
.ao-js:not(.is-done) .ao-ev:not(.is-on) { opacity: .42; box-shadow: none; }
.ao-js:not(.is-done) .ao-out:not(.is-on) { opacity: .5; border-style: dashed; border-color: #E4DCD8; background: transparent; box-shadow: none; }
.ao-js:not(.is-done) .ao-out:not(.is-on) b::before { background: none; box-shadow: inset 0 0 0 1.5px #D9D0CD; }
.ao-js .ao-out.is-on b::before { animation: ao-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ao-pop { 0% { transform: scale(.4); } 100% { transform: none; } }
.ao-js .ao-ev, .ao-js .ao-out { transition: opacity .45s ease, border-color .45s ease, box-shadow .45s ease, background-color .45s ease; }
.ao-js .ao-ev.is-flash { animation: ao-flash 1s ease; }
@keyframes ao-flash { 0% { box-shadow: 0 0 0 0 rgba(213, 59, 213, .45); } 100% { box-shadow: 0 0 0 10px rgba(213, 59, 213, 0); } }

@media (prefers-reduced-motion: reduce) {
    .ao-js *, .ao * { transition: none !important; animation: none !important; }
}

/* ============================================================
   NARROW: the zones stack, the arrows point down
   ============================================================ */
@media (max-width: 1100px) {
    .ao-stage { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
    .ao-arrow { height: 40px; margin: 6px 0; }
    .ao-arrow i { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, #D9D0CD 0 6px, transparent 6px 11px); }
    .ao-arrow i::after { right: -4px; top: auto; bottom: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #D9D0CD; border-bottom: 0; }
    .ao-arrow::after { left: calc(50% - 5px); top: 4px; }
    @keyframes ao-pulse { 0% { top: 4px; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 14px); opacity: 0; } }
    .ao-col-h { margin-left: auto; margin-right: auto; }
    .ao-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ao-list li:last-child { grid-column: 1 / -1; }
}
/* phone: the sidebar and Progress fold away, Activity takes the window */
@media (max-width: 640px) {
    .ao { padding: 80px 0; }
    .ao-app-body { height: 440px; }
    .ao-side { display: none; }
    .ao-page { margin: 8px 8px 0; }
    .ao-ev, .ao-out { height: 64px; padding: 0 10px; gap: 8px; }
    .ao-ev b, .ao-out b { font-size: .8125rem; white-space: normal; line-height: 1.2; }
    .ao-tm { display: none; }
}
