/* Live mockups built in HTML: VS Code with the agent panel, the CLI, and phone screens.
   Every one of them plays on its own while it's on screen. */

/* ---------- the CLI, live ---------- */
.term-live { border-radius: 12px; overflow: hidden; background: #0c0c0c; border: 1px solid #2b2b2b; box-shadow: 0 30px 70px -40px rgba(16, 42, 84, .55); text-align: left; }
.term-live .tb { height: 34px; display: flex; align-items: center; padding: 0 14px; background: #2a2a2c; position: relative; border-bottom: 1px solid #1a1a1a; }
.term-live .tb i { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.term-live .tb span { position: absolute; left: 80px; right: 80px; text-align: center; color: #b8b8bd; font-size: 12.5px; font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tty { height: 372px; display: flex; flex-direction: column; overflow: hidden; padding: 16px 18px 12px; background: #0c0c0c; color: #e3e3e3; font: 13px/1.5 'Cascadia Mono', 'Geist Mono', Consolas, monospace; }
.term-live.short .tty { height: 300px; }
.t-text { color: #e3e3e3; font-weight: 700; } .t-sec { color: #a8adb3; } .t-dim { color: #80868b; } .t-acc { color: #5b9bff; } .t-ok { color: #5bb974; } .t-faint { color: #5f6368; } .t-b { color: #e3e3e3; font-weight: 700; }
.cb { flex: none; width: max-content; max-width: 100%; padding: 14px 22px; border: 1px solid #1f6bff; border-radius: 8px; }
.cb-top { display: flex; align-items: center; gap: 20px; }
.tball { display: grid; grid-template-columns: repeat(10, 5px); grid-auto-rows: 5px; flex: none; }
.tball i { display: block; }
.cb-info { margin-top: 12px; white-space: pre; }
.tl { flex: none; margin-top: 14px; white-space: pre-wrap; }
.tl:empty { margin-top: 10px; }
.tl > div { margin-bottom: 8px; }
.tl .br { display: block; color: #a8adb3; }
.cmp { flex: none; margin-top: 4px; padding: 5px 10px; border: 1px solid #4a4f55; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.cmp .ph { color: #80868b; }
.tcur { display: inline-block; width: .6em; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: #e3e3e3; animation: tblink 1s steps(1) infinite; }
.cmp.typing .ph { display: none; }
.cft { flex: none; display: flex; justify-content: space-between; padding: 6px 12px 0; }
@media (max-width: 560px) { .tty { height: 320px; font-size: 10px; padding: 12px; } .tball { grid-template-columns: repeat(10, 4px); grid-auto-rows: 4px; } .cb { padding: 10px 14px; } .cft { padding: 6px 4px 0; } }

/* ---------- phone screens (inside the same .pv-dev frame as the chat) ---------- */
.pvc { justify-content: space-between; background: radial-gradient(120% 60% at 50% 30%, #2b2b30, #121214 70%) !important; }
.pvc-in { flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 70px; text-align: center; }
.pvc-av { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.pvc-av > span { width: 120px; height: 120px; display: block; }
.pvc-av svg { width: 120px; height: 120px; }
.pvc-av::before, .pvc-av::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); opacity: 0; }
.pvc.ring .pvc-av::before { animation: ringout 1.6s ease-out infinite; }
.pvc.ring .pvc-av::after { animation: ringout 1.6s ease-out .8s infinite; }
@keyframes ringout { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.pvc-name { margin-top: 26px; font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.pvc-sub { margin-top: 6px; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pvc-cap { margin: 34px 26px 0; min-height: 120px; font-size: 18px; line-height: 1.45; color: var(--tx); text-align: left; align-self: stretch; }
.pvc-cap .w { color: var(--muted); font-size: 13px; display: block; margin-bottom: 6px; }
.pvc-acts { display: none; justify-content: space-around; padding: 0 30px 70px; }
.pvc.ring .pvc-acts.inc, .pvc.live .pvc-acts.cal { display: flex; }
.pvc-acts > span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pvc-acts i { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.pvc-acts i svg { width: 28px; height: 28px; stroke-width: 2; }
.pvc-acts .end i, .pvc-acts .no i { background: #ff3b30; color: #fff; }
.pvc-acts .yes i { background: #34c759; color: #fff; animation: answer 1.2s ease-in-out infinite; }
@keyframes answer { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-12deg); } 30% { transform: rotate(10deg); } 45% { transform: rotate(0); } }
.pvc-acts .end i svg { transform: rotate(135deg); }
.pvc .sp-on i { background: #fff; color: #111; }

/* cloud run on the phone */
.pvr-st { display: flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.pvr-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.pvr-st.done i { background: var(--add); animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.pv-scroll > .lv { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.pv-scroll > .lv.on { opacity: 1; transform: none; }
.pvr-pr { border: 1px solid var(--bd); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.pvr-pr b { font-size: 15px; }
.pvr-pr span { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.pvr-pr em { font-style: normal; margin-top: 8px; justify-self: start; padding: 8px 18px; border-radius: 999px; background: var(--tx); color: #111; font-weight: 600; font-size: 14px; transition: background-color .3s, color .3s; }
.pvr-pr em.merged { background: #1f3d2a; color: var(--add); }

/* calls list on the phone */
.pvl h4 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; padding: 4px 2px 6px; margin: 0; }
.pvl .row { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--bd); }
.pvl .row > span:first-child { width: 44px; height: 44px; flex: none; }
.pvl .row svg { width: 44px; height: 44px; }
.pvl .row div { flex: 1; min-width: 0; }
.pvl .row b { display: block; font-size: 16px; font-weight: 600; }
.pvl .row small { font-size: 13px; color: var(--muted); }
.pvl .row small.miss { color: #ff6961; }
.pvl .row em { font-style: normal; font-size: 13px; color: var(--faint); }
.pvl .row.new { animation: rowin .6s var(--ease) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-10px); } }

.phones-live { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.phones-live .pv-wrap { margin: 0; }

@media (prefers-reduced-motion: reduce) { .pv-scroll > .lv { opacity: 1; transform: none; } }

@keyframes tblink { 50% { opacity: 0; } }

/* ---------- Wisp's specialists ---------- */
.spec { position: relative; display: inline-block; width: 44px; height: 44px; flex: none; }
.spec .ball { display: block; width: 100%; height: 100%; }
.spec .eyes { position: absolute; top: 50%; left: 50%; width: 58%; height: 58%; transform: translate(-50%, -50%); animation: look 6s ease-in-out infinite; }
@keyframes look { 0%, 40%, 100% { transform: translate(-50%, -50%); } 50%, 60% { transform: translate(-42%, -50%); } 70%, 80% { transform: translate(-58%, -50%); } 88% { transform: translate(-50%, -50%) scaleY(.1); } }
.specs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 5px; border-radius: 999px; background: var(--panel, #fff); border: 1px solid var(--line, rgba(16,42,84,.1)); font-size: 13.5px; font-weight: 500; }
.sp-chip .spec { width: 26px; height: 26px; }
.sp-chip small { color: var(--muted, #4f5d73); font-weight: 400; }

/* ---------- the phone app, as it really looks ---------- */
.pv.pa-dark { background: #0b0b0b !important; --tx: #ececec; }
.pv.pvc { background: #0b0b0b !important; }
.pa { flex: 1; min-height: 0; display: flex; flex-direction: column; color: #ececec; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; }
.pa svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pa-ib { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #2c2c2c; background: #151515; display: grid; place-items: center; color: #e6e6e6; flex: none; }
.pa-ib svg { width: 19px; height: 19px; }
.pa-ib.sm { width: 34px; height: 34px; }
.pa-ib.sm svg { width: 17px; height: 17px; }
.pa-top { display: flex; align-items: center; gap: 8px; padding: 6px 14px 4px; }
.pa-top b { flex: 1; display: flex; justify-content: center; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; }
.pa-top .dn { width: 14px; height: 14px; color: #9a9a9a; }
.pa-r { display: flex; gap: 6px; }
.pa-body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.pa-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 30px; text-align: center; transition: opacity .35s; }
.pa-empty h5 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.pa-feed { position: absolute; inset: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.pa-u { align-self: flex-end; max-width: 82%; background: #2a2a2a; border-radius: 22px; padding: 11px 16px; font-size: 16px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.pa-did { font-size: 13.5px; color: #8e8e8e; display: flex; opacity: 0; transition: opacity .3s; }
.pa-did .t { display: none; align-items: center; gap: 4px; }
.pa-did .gt { width: 14px; height: 14px; }
.pa-did .shimmer { background: linear-gradient(90deg, #6d6d6d 20%, #e8e8e8 50%, #6d6d6d 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shim 1.4s linear infinite; }
@keyframes shim { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.pa-a { font-size: 16px; line-height: 1.55; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.pa-a p { margin: 0 0 8px; }
.pa-a code { font: 13.5px ui-monospace, 'SF Mono', Consolas, monospace; background: #232323; padding: 1px 6px; border-radius: 6px; }
.pa-a ul { margin: 0; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.pa-a li { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.pa-a li.on { opacity: 1; transform: none; }
.pa-sugg { display: flex; gap: 8px; padding: 0 12px 10px; overflow: hidden; transition: opacity .3s, max-height .4s; max-height: 80px; }
.pa-sugg span { flex: none; padding: 10px 12px; border-radius: 14px; border: 1px solid #2c2c2c; background: #121212; font-size: 12.5px; color: #9a9a9a; line-height: 1.35; }
.pa-sugg b { display: block; color: #ececec; font-weight: 600; font-size: 13.5px; }
.pa-comp { padding: 0 12px 30px; }
.pa-ctx { padding: 0 2px 8px; }
.pa-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid #2c2c2c; background: #151515; font-size: 13px; color: #d6d6d6; }
.pa-chip svg { width: 14px; height: 14px; }
.pa-chip i { width: 6px; height: 6px; border-radius: 50%; background: #6b6b6b; }
.pa-in { position: relative; background: #161616; border: 1px solid #2c2c2c; border-bottom: 0; border-radius: 22px 22px 0 0; padding: 14px 16px 6px; font-size: 16px; min-height: 46px; }
.pa-ph { color: #7a7a7a; }
.pa-typed { color: #ececec; }
.pa-car { display: none; width: 2px; height: 18px; background: #ececec; vertical-align: -3px; margin-left: 1px; animation: tblink 1s steps(1) infinite; }
.pa-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 10px; background: #161616; border: 1px solid #2c2c2c; border-top: 0; border-radius: 0 0 22px 22px; }
.pa-send { width: 36px; height: 36px; border-radius: 50%; background: #f2f2f2; color: #0b0b0b; display: grid; place-items: center; }
.pa-send svg { width: 18px; height: 18px; }
/* the flow: type, send, work, answer */
.pa.typing .pa-ph { display: none; }
.pa.typing .pa-car { display: inline-block; }
.pa.sent .pa-ph { display: inline; }
.pa.sent .pa-empty, .pa.sent .pa-sugg { opacity: 0; }
.pa.sent .pa-sugg { max-height: 0; padding-bottom: 0; }
.pa.sent .pa-u { opacity: 1; transform: none; }
.pa.working .pa-did, .pa.did .pa-did { opacity: 1; }
.pa.did .pa-did .shimmer { display: none; }
.pa.did .pa-did .t { display: inline-flex; }
.pa.answered .pa-a { opacity: 1; transform: none; }
.pa:not(.sent) .pa-feed { visibility: hidden; }
/* the menu */
.pa-menu { padding: 6px 18px 30px; }
.pm-h { display: flex; justify-content: space-between; align-items: center; padding: 4px 0 14px; }
.pm-h b { font-size: 24px; font-weight: 700; }
.pm-nav { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.pm-nav span { display: flex; align-items: center; gap: 14px; height: 44px; font-size: 17px; font-weight: 600; }
.pm-nav svg { width: 21px; height: 21px; }
.pm-list { flex: 1; display: grid; align-content: start; gap: 2px; padding-top: 12px; }
.pm-list span { padding: 11px 12px; margin: 0 -12px; border-radius: 12px; font-size: 15.5px; transition: background-color .3s; }
.pm-list span.on { background: #1d1d1d; }
.pm-list em { font-style: normal; color: #9a9a9a; font-size: 14.5px; padding: 10px 0; }
.pm-foot { display: flex; justify-content: space-between; align-items: center; }
.pm-chat { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; background: #3d6bff; color: #fff; font-weight: 600; font-size: 16px; }
.pm-chat svg { width: 18px; height: 18px; }

/* ---------- the Codeply desktop app, as it really looks ---------- */
.ap { --b0: #141414; --b1: #181818; --b2: #212121; --tx: #ececec; --mu: #9b9b9b; --fa: #6e6e6e; --blue: #2448c8;
  width: 1280px; border-radius: 12px; overflow: hidden; background: var(--b2); color: var(--tx); border: 1px solid #333; text-align: left;
  font: 14px/1.5 -apple-system, 'Segoe UI', system-ui, sans-serif; box-shadow: 0 40px 80px -30px rgba(8, 30, 90, .55); }
.ap svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ap-bar { height: 42px; display: flex; align-items: center; justify-content: space-between; background: var(--b0); }
.ap-bl { display: flex; align-items: center; gap: 2px; padding-left: 10px; }
.ap-bl > i, .ap-br i { width: 34px; height: 34px; display: grid; place-items: center; color: #cfcfcf; }
.ap-bl > i.dim { color: #5a5a5a; }
.ap-bl svg, .ap-br svg { width: 17px; height: 17px; }
.ap-seg { display: flex; gap: 2px; margin-left: 6px; padding: 3px; border-radius: 9px; background: #1e1e1e; }
.ap-seg i { width: 36px; height: 30px; display: grid; place-items: center; border-radius: 7px; color: #e4e4e4; }
.ap-seg i.on { background: #303030; }
.ap-seg svg { width: 21px; height: 21px; }
.ap-br { display: flex; padding-right: 6px; }
.ap-br i { width: 46px; }
.ap-br svg { width: 14px; height: 14px; }
.ap-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); height: 760px; }
.ap-side { background: var(--b1); display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #262626; }
.ap-nav { display: grid; padding: 10px 10px 8px; }
.ap-nav span { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 8px; border-radius: 8px; font-size: 14.5px; }
.ap-nav svg { width: 17px; height: 17px; color: #d6d6d6; }
.ap-groups { flex: 1; min-height: 0; overflow: hidden; padding: 6px 10px; display: grid; align-content: start; gap: 10px; }
.ap-gh { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 8px; color: #cfcfcf; font-size: 13.5px; }
.ap-gh svg { width: 16px; height: 16px; }
.ap-gh span { flex: 1; }
.ap-gh i svg { width: 15px; height: 15px; color: var(--mu); }
.ap-rows { margin-left: 15px; padding-left: 9px; border-left: 1px solid #2e2e2e; display: grid; gap: 1px; }
.ap-row { padding: 7px 10px; border-radius: 8px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.ap-row.cur { background: #262626; }
.ap-row.none { color: var(--fa); font-size: 13px; }
.ap-row.dot::after { content: ""; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #3d6bff; }
.ap-acct { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid #242424; font-size: 14px; }
.ap-acct .av { width: 28px; height: 28px; border-radius: 50%; background: #1d9a6c; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ap-acct b { flex: 1; font-weight: 600; }
.ap-acct svg { width: 15px; height: 15px; color: var(--mu); }
.ap-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.ap-head { height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 22px; flex: none; }
.ap-globe svg { width: 18px; height: 18px; color: #cfcfcf; }
.ap-title { flex: 1; font-size: 15.5px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.ap-tools { display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity .3s; }
.ap-tools em { font-style: normal; padding: 5px 12px; border-radius: 7px; background: #f2f2f2; color: #111; font-weight: 600; font-size: 13px; margin-right: 6px; }
.ap-tools i { width: 32px; height: 32px; display: grid; place-items: center; color: #d0d0d0; }
.ap-tools svg { width: 17px; height: 17px; }
.ap-stage { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.ap-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; transition: opacity .35s; }
.ap-mark svg { width: 54px; height: 54px; color: #e6e6e6; }
.ap-empty h4 { margin: 0; font-size: 29px; font-weight: 500; letter-spacing: -.01em; }
.ap-empty u { text-decoration: underline dotted #8a8a8a; text-underline-offset: 6px; }
.ap-feed { position: absolute; inset: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 18px; width: 800px; margin: 0 auto; visibility: hidden; }
.ap-u { align-self: flex-end; max-width: 480px; background: var(--blue); color: #fff; padding: 11px 18px; border-radius: 18px; font-size: 15px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.ap-did { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #2c2c2c; color: var(--mu); font-size: 14px; opacity: 0; transition: opacity .3s; }
.ap-did [data-spec] { width: 18px; height: 18px; display: block; flex: none; }
.ap-did .t { display: none; align-items: center; gap: 4px; }
.ap-did .t svg { width: 14px; height: 14px; }
.ap-did .shimmer { background: linear-gradient(90deg, #6d6d6d 20%, #e8e8e8 50%, #6d6d6d 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shim 1.4s linear infinite; }
.ap-a { font-size: 15px; line-height: 1.6; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.ap-a p { margin: 0 0 12px; }
.ap-a b { font-weight: 700; }
.ap-a ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; list-style: disc; }
.ap-a li { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.ap-a li.on { opacity: 1; transform: none; }
.ap-a code { font: 13px ui-monospace, Consolas, monospace; background: #2c2c2c; padding: 2px 6px; border-radius: 5px; }
.ap-chg { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: var(--mu); font-size: 14px; opacity: 0; transition: opacity .35s; }
.ap-chg span { display: inline-flex; align-items: center; gap: 4px; }
.ap-chg svg { width: 14px; height: 14px; }
.ap-chg em { font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid #3a3a3a; color: var(--tx); font-size: 13.5px; }
.ap-comp { flex: none; width: 810px; margin: 0 auto 18px; }
.ap-ctx { display: flex; align-items: center; gap: 8px; margin: 0 16px; padding: 10px 16px; background: #262626; border-radius: 14px 14px 0 0; font-size: 13.5px; font-weight: 600; }
.ap-ctx svg { width: 15px; height: 15px; }
.ap-box { background: #2b2b2b; border: 1px solid #383838; border-radius: 18px; padding: 14px 16px 10px; }
.ap-in { min-height: 26px; font-size: 15px; }
.ap-ph { color: #8f8f8f; }
.ap-car { display: none; width: 2px; height: 18px; background: #ececec; vertical-align: -3px; margin-left: 1px; animation: tblink 1s steps(1) infinite; }
.ap-row2 { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.ap-row2 > i svg { width: 18px; height: 18px; color: #d6d6d6; }
.ap-appr { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }
.ap-appr svg { width: 15px; height: 15px; }
.ap-row2 .sp { flex: 1; }
.ap-model { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; }
.ap-model svg { width: 14px; height: 14px; color: var(--mu); }
.ap-send { width: 32px; height: 32px; border-radius: 50%; background: #3d6bff; color: #fff; display: grid; place-items: center; }
.ap-send svg { width: 16px; height: 16px; stroke-width: 2.2; }
.ap.typing .ap-ph { display: none; }
.ap.typing .ap-car { display: inline-block; }
.ap.sent .ap-empty { opacity: 0; }
.ap.sent .ap-feed { visibility: visible; }
.ap.sent .ap-title, .ap.sent .ap-tools { opacity: 1; }
.ap.sent .ap-globe { display: none; }
.ap.sent .ap-u { opacity: 1; transform: none; }
.ap.working .ap-did, .ap.did .ap-did { opacity: 1; }
.ap.did .ap-did .shimmer { display: none; }
.ap.did .ap-did .t { display: inline-flex; }
.ap.answered .ap-a { opacity: 1; transform: none; }
.ap.changed .ap-chg { opacity: 1; }

/* Wisp keeps solid black dot eyes wherever he sits, even inside icon-styled mockups */
.wisp-el svg { stroke: none !important; }
.wisp-el .w-shape { stroke: none !important; }
.wisp-el .w-eye { fill: #0b0b0f !important; }
.c4-wisp { width: 112px; height: 112px; }
.c4-wisp [data-wisp] { width: 100%; height: 100%; display: block; }
.mk-av [data-wisp] { width: 64px; height: 64px; display: block; }
.gc-avs [data-wisp], .gc-m [data-wisp] { width: 22px; height: 22px; display: block; flex: none; }
.ap-did [data-wisp] { width: 20px; height: 20px; display: block; flex: none; }

/* the self-check card: summary first, a click opens the steps */
.pf { padding-top: 6px; }
.pf-sum { display: flex; align-items: center; gap: 9px; padding: 4px 0 12px; color: #9a9a9a; font-size: 13.5px; cursor: default; }
.pf-sum [data-wisp] { width: 18px; height: 18px; display: block; flex: none; }
.pf-sum .t { display: none; }
.pf-sum .cx-chev { width: 13px; height: 13px; color: #8a8a8a; transition: transform .3s ease; display: none; }
.pf-sum .shimmer { background: linear-gradient(90deg, #6d6d6d 20%, #e8e8e8 50%, #6d6d6d 80%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shim 1.4s linear infinite; }
.pf.done .pf-sum .shimmer { display: none; }
.pf.done .pf-sum .t, .pf.done .pf-sum .cx-chev { display: inline; }
.pf.open .pf-sum .cx-chev { transform: rotate(90deg); }
.pf.open .pf-sum { border-bottom: 1px solid #2c2c2c; margin-bottom: 14px; }
.pf-rows { display: none; }
.pf.open .pf-rows { display: block; }
.pf-row { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.pf-row.on { opacity: 1; transform: none; }
.pcur { position: absolute; left: 0; top: 0; width: 28px; height: 28px; z-index: 6; pointer-events: none; opacity: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45));
  transition: transform .95s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, scale .14s ease; }
.pcur.on { opacity: 1; }
.pcur.press { scale: .82; }

/* the click: the cursor holds still, a soft ring ripples out from its tip, the line lights up */
.pcur.press { scale: 1 !important; }
.pring { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; pointer-events: none; z-index: 5;
  background: radial-gradient(circle, rgba(90, 140, 255, .55) 0%, rgba(90, 140, 255, .2) 45%, rgba(90, 140, 255, 0) 70%); opacity: 0; transform: scale(.2); }
.pring.ping { animation: pring .6s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes pring { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.9); } }
.pf-sum { border-radius: 8px; transition: background-color .4s ease; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.pf-sum.hit { background: rgba(255, 255, 255, .05); }
