/* The CxC app's screens, coded (not pictures) after the Figma file "CxC Product" (Appstore page: the iOS screens, the
   iPad and the desktop frames), for the site and the decks (tools/app-screens.html, tools/app_screens.py). Each screen is
   drawn at the app's own size in points (phone 377 x 818, iPad 834 x 1194, desktop 1440 x 803) and scaled into its device
   with zoom (--z). Every rule sits under .app, so the site's own classes never reach in. Only the photos (avatars, the
   Grasshopper logo) and the recording screen's 3D shape are images (/assets/app/); the icons are the site's (u-*). */

.app{--bg:#0C0C0E;--sh:#171717;--ln:#2B2B2D;--ln2:#3A3A3C;--tx:#F5F5F5;--mu:#A2A2A2;--mu2:#8E8E93;--lime:#87F432;
  position:relative;width:377px;height:818px;overflow:hidden;zoom:var(--z,1);background:var(--bg);color:var(--tx);
  font:400 15px/1.4 "Google Sans Flex",system-ui,sans-serif;font-stretch:100%;letter-spacing:0;text-align:left;
  -webkit-user-select:none;user-select:none}
.app *,.app *::before,.app *::after{box-sizing:border-box}
.app :where(p){margin:0}
.app svg{flex:none;width:20px;height:20px}
.app img{display:block}
.app .a-av{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover}
.app .t,.app .a-tm{font-variant-numeric:tabular-nums}

/* iOS status bar */
.app .a-st{display:flex;align-items:center;justify-content:space-between;height:50px;padding:6px 28px 0 33px;font:600 17px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-st i{display:flex;align-items:center;gap:5px}
.app .a-sig{display:flex;align-items:flex-end;gap:2px;height:11px}
.app .a-sig b{width:3px;border-radius:1px;background:currentColor}
.app .a-sig b:nth-child(1){height:4px}.app .a-sig b:nth-child(2){height:6px}.app .a-sig b:nth-child(3){height:8px}.app .a-sig b:nth-child(4){height:11px}
.app .a-wifi{width:16px;height:11px;border-radius:16px 16px 0 0;background:radial-gradient(circle at 50% 100%,currentColor 0 2.5px,transparent 3px,transparent 4.5px,currentColor 5px 6.5px,transparent 7px,transparent 8.5px,currentColor 9px 10.5px,transparent 11px);-webkit-mask:linear-gradient(135deg,transparent 30%,#000 30%) ,linear-gradient(225deg,transparent 30%,#000 30%);-webkit-mask-composite:source-in;mask-composite:intersect}
.app .a-bat{position:relative;width:25px;height:12px;border-radius:4px;box-shadow:inset 0 0 0 1px rgba(245,245,245,.45)}
.app .a-bat::before{content:"";position:absolute;inset:2px;border-radius:2px;background:currentColor}
.app .a-bat::after{content:"";position:absolute;right:-3px;top:4px;width:1.5px;height:4px;border-radius:0 1px 1px 0;background:rgba(245,245,245,.45)}

/* chips */
.app .chip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 8px;border-radius:6px;font:400 14px/1 "Google Sans Flex",system-ui,sans-serif;white-space:nowrap}
.app .chip svg{width:13px;height:13px}
.app .chip.prog{background:#172554;box-shadow:inset 0 0 0 1px #2C4AA8;color:#93B4FF}
.app .chip.off{background:#450A0A;box-shadow:inset 0 0 0 1px #8F1D1D;color:#FCA5A5}
.app .chip.off::before{content:"";width:6px;height:6px;border-radius:50%;background:#EF4444}
.app .chip.rec,.app .chip.go{background:#1A2E05;box-shadow:inset 0 0 0 1px #3F6212;color:#A3E635}
.app .chip.done{background:transparent;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--mu)}
.app .chips{display:flex;gap:6px}
.app .badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--lime);color:var(--bg);font:600 13px/1 "Google Sans Flex",system-ui,sans-serif}

/* the job header (job chat, recordings) */
.app .a-jh{position:relative;padding:2px 20px 0 57px;height:135px}
.app .a-jh .back{position:absolute;left:18px;top:13px;width:22px;height:22px}
.app .a-jh .dn{position:absolute;right:20px;top:14px;width:20px;height:20px;color:var(--mu)}
.app .a-jh h4{display:flex;align-items:center;gap:8px;margin:6px 0 0;font:700 18px/1.3 "Google Sans Flex",system-ui,sans-serif;white-space:nowrap;overflow:hidden}
.app .a-jh h4 svg{width:17px;height:17px;color:var(--mu)}
.app .a-jh h4 span{overflow:hidden;text-overflow:ellipsis}
.app .a-jh .a-sub{margin-top:2px;color:var(--mu2);font-size:15px}
.app .a-rec-btn{position:absolute;left:109px;top:84px;display:flex;align-items:center;justify-content:center;gap:8px;width:159px;height:35px;border-radius:9px;background:var(--lime);box-shadow:inset 0 0 0 1px #9BF552;color:var(--bg);font:600 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-rec-btn svg{width:18px;height:18px;stroke-width:2}

/* the sheet the content sits on */
.app .a-sheet{position:absolute;left:0;right:0;bottom:0;border-radius:20px 20px 0 0;background:var(--sh);box-shadow:inset 0 1px 0 var(--ln)}

/* messages */
.app .a-msgs{display:flex;flex-direction:column;gap:22px;padding:29px 18px 0 17px}
.app .a-msg{display:grid;grid-template-columns:39px minmax(0,1fr);gap:13px;align-items:start}
.app .a-msg .a-av{width:39px;height:39px}
.app .a-msg b{font:700 15px/1.3 "Google Sans Flex",system-ui,sans-serif}
.app .a-msg b i{margin-left:7px;font:400 12px/1 "Google Sans Flex",system-ui,sans-serif;font-style:normal;color:var(--mu2)}
.app .a-msg p{margin-top:3px;font-size:15px;line-height:24px;color:var(--tx)}
/* an agent posting in the chat: the CxC mark in an outlined circle (Figma's Assistant row), its kind after the name */
.app .a-bot{display:grid;place-items:center;background:#1F1F21;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--tx)}
.app .a-bot svg{width:52%;height:52%}
.app .a-msg b .a-tag{display:inline-block;margin-left:7px;padding:3px 6px;border-radius:5px;box-shadow:inset 0 0 0 1px var(--ln2);font:500 11px/1 "Google Sans Flex",system-ui,sans-serif;font-style:normal;color:var(--mu);vertical-align:2px}
.app .a-comp{position:absolute;left:0;right:0;bottom:0;height:116px;padding:18px 14px 0;border-radius:20px 20px 0 0;background:var(--sh);box-shadow:inset 0 0 0 1px var(--ln)}
.app .a-comp p{font-size:16px;color:var(--mu2)}
.app .a-comp div{display:flex;align-items:center;gap:16px;margin-top:20px;color:var(--mu)}
.app .a-comp div svg{width:20px;height:20px}
.app .a-comp div i{width:1px;height:18px;background:var(--ln2)}
.app .a-comp div .snd{margin-left:auto;color:#5C5C60}
.app .a-home{position:absolute;left:50%;bottom:8px;width:134px;height:5px;margin-left:-67px;border-radius:3px;background:#F5F5F5}

/* the jobs list (phone and iPad) */
.app .a-ws{display:flex;align-items:center;gap:12px;height:64px;padding:0 17px}
.app .a-ws .lg{width:42px;height:42px;border-radius:50%}
.app .a-ws b{flex:1;font:700 20px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-me{position:relative;flex:none;width:40px;height:40px}
.app .a-me img{width:40px;height:40px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1.5px var(--ln2)}
.app .a-me::after{content:"";position:absolute;right:-1px;bottom:-1px;width:12px;height:12px;border-radius:50%;background:#7ED321;box-shadow:0 0 0 2px var(--bg)}
.app .a-panel{position:absolute;left:0;right:0;bottom:0;top:114px;padding:12px 17px 0;border-radius:20px 20px 0 0;background:var(--sh);box-shadow:inset 0 1px 0 var(--ln)}
.app .a-nav{display:flex;align-items:center;gap:12px;height:40px;color:var(--mu);font-size:16px}
.app .a-nav svg{width:20px;height:20px;color:#8A8A8E}
.app .a-nav .badge{margin-left:auto}
.app .a-div{height:1px;margin:10px 0 14px;background:var(--ln)}
.app .a-srch{display:flex;gap:9px;height:40px}
.app .a-srch p{flex:1;display:flex;align-items:center;gap:10px;padding:0 13px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--mu2);font-size:16px}
.app .a-srch p svg{width:19px;height:19px}
.app .a-srch>span{display:grid;place-items:center;width:40px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--mu)}
.app .a-sec{display:flex;align-items:center;gap:12px;height:36px;margin-top:6px;color:var(--mu);font-size:16px}
.app .a-sec svg{width:20px;height:20px;color:#8A8A8E}
.app .a-sec .chev{margin-left:auto;width:18px;height:18px}
.app .a-sec .chev.up{transform:rotate(180deg)}
.app .a-job{position:relative;padding:9px 10px 10px 8px;border-radius:10px}
.app .a-job+.a-job{margin-top:4px}
.app .a-job b{display:block;margin-top:7px;font:700 16px/1.25 "Google Sans Flex",system-ui,sans-serif}
.app .a-job i{display:block;margin-top:4px;font:400 13px/1.2 "Google Sans Flex",system-ui,sans-serif;font-style:normal;color:var(--mu2)}
.app .a-job .badge{position:absolute;right:10px;top:41px}
.app .a-job.sel{background:#27282A}
.app .a-job.read b{font-weight:400;color:#B7B7BA}
.app .a-more{display:flex;align-items:center;justify-content:center;gap:8px;height:32px;margin-top:10px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln2);font:600 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-ch{display:flex;align-items:center;gap:12px;height:30px;color:var(--mu);font-size:15px}
.app .a-ch svg{width:18px;height:18px;color:#8A8A8E}
.app .a-ch.new{color:var(--tx);font-weight:700}
.app .a-ch .badge{margin-left:auto}
.app .a-ch .add{margin-left:auto;display:flex;gap:10px;color:var(--mu)}

/* recordings */
.app .a-recs{display:flex;flex-direction:column;gap:13px;padding:17px 17px 0}
.app .a-rc{padding:15px 14px 15px;border-radius:14px;box-shadow:inset 0 0 0 1px var(--ln)}
.app .a-rc h5{margin:0;font:700 16px/1.25 "Google Sans Flex",system-ui,sans-serif}
.app .a-ctl{display:flex;align-items:center;gap:8px;margin-top:13px}
.app .a-ctl span{display:grid;place-items:center;height:35px;min-width:36px;padding:0 13px;border-radius:9px;box-shadow:inset 0 0 0 1px var(--ln2);font:400 14px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-ctl span:first-child{padding:0}
.app .a-ctl span svg{width:15px;height:15px;fill:currentColor}
.app .a-ctl em{display:flex;align-items:center;gap:6px;margin-left:4px;font:400 14px/1 "Google Sans Flex",system-ui,sans-serif;font-style:normal}
.app .a-ctl em svg{width:15px;height:15px}
.app .a-tl{display:flex;align-items:center;gap:8px;margin-top:12px;font:400 14px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-tl .a-tm{flex:none;white-space:nowrap}
.app .a-tl .a-wave{margin:0 4px}
.app .a-tl .dd{display:grid;place-items:center;width:36px;height:35px;margin-left:6px;border-radius:9px;box-shadow:inset 0 0 0 1px var(--ln2)}
.app .a-tl .dd svg{width:17px;height:17px}
.app .a-wave{flex:1;display:flex;align-items:center;gap:1.5px;height:26px;min-width:0;overflow:hidden}
.app .a-wave i{flex:none;width:1.5px;border-radius:1px;background:#6E6E73}
.app .a-wave i.on{background:#D4D4D6}
.app .a-state{display:flex;align-items:center;justify-content:center;gap:9px;height:40px;margin-top:12px;border-radius:9px;font:400 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-state svg{width:17px;height:17px}
.app .a-state.pa{background:#431407;box-shadow:inset 0 0 0 1px #9A3412;color:#FACC15}
.app .a-state.go{background:#1A2E05;box-shadow:inset 0 0 0 1px #3F6212;color:#A3E635}
.app .a-state.ld{background:#2A2A2C;color:var(--mu)}

/* the recording sheet (the cover) */
.app .a-rsheet{position:absolute;left:0;right:0;bottom:0;top:46px;border-radius:22px 22px 0 0;background:var(--sh);text-align:center}
.app .a-rsheet::before{content:"";position:absolute;left:50%;top:9px;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:#4A4A4E}
.app .a-rsheet h5{margin:34px 0 0;font:700 17px/1.2 "Google Sans Flex",system-ui,sans-serif}
.app .a-rsheet .a-sub{margin-top:5px;color:var(--mu2);font-size:13px}
.app .a-rsheet .blob{width:320px;height:350px;margin:30px auto 0;object-fit:contain}
.app .a-rsheet .t{margin-top:22px;font:700 50px/1 "Google Sans Flex",system-ui,sans-serif;letter-spacing:-.01em}
.app .a-rsheet .hint{margin-top:14px;color:var(--mu2);font-size:13px}
.app .a-rbtns{display:flex;align-items:center;justify-content:center;gap:56px;margin-top:22px}
.app .a-rbtns span{display:grid;place-items:center;width:24px;height:24px}
.app .a-rbtns .del{color:#E5484D}
.app .a-rbtns .mic{width:76px;height:76px;border-radius:50%;background:var(--lime);color:var(--bg)}
.app .a-rbtns .mic svg{width:30px;height:30px;stroke-width:1.8}
.app .a-dim{position:absolute;inset:0 0 auto;height:46px;background:#0A0A0B;opacity:.9}

/* the iPad: the same jobs list, wider */
.app.pad{width:834px;height:1194px}
.app.pad .a-st{padding:6px 24px 0 24px;height:44px;font-size:15px}
.app.pad .a-ws{height:70px;padding:0 20px}
.app.pad .a-panel{top:116px;padding:12px 20px 0}

/* the desktop app */
.app.desk{width:1440px;height:803px;font-size:15px}
.app .d-top{display:flex;align-items:center;gap:16px;height:72px;padding:0 24px}
.app .d-top .lk{width:68px;height:32px;color:var(--tx)}
.app .d-tabs{display:flex;align-items:center;gap:4px;height:40px;padding:4px;margin-left:30px;border-radius:12px;background:#1C1C1E}
.app .d-tabs span{display:flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:8px;color:var(--mu);font-size:15px}
.app .d-tabs span.on{background:#2C2C2E;color:var(--tx);font-weight:600}
.app .d-tabs .chip{height:20px;padding:0 6px;font-size:12px}
.app .d-ask{display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:12px;background:#1C1C1E;color:var(--mu);font-size:15px}
.app .d-ask svg{width:18px;height:18px;color:var(--lime)}
.app .d-search{display:flex;align-items:center;gap:10px;width:472px;height:40px;margin-left:auto;padding:0 14px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--mu2);font-size:16px}
.app .d-me{position:relative;width:38px;height:38px}
.app .d-me img{width:38px;height:38px;border-radius:50%;object-fit:cover}
.app .d-me::after{content:"";position:absolute;right:-1px;bottom:-1px;width:11px;height:11px;border-radius:50%;background:#7ED321;box-shadow:0 0 0 2px var(--bg)}
.app .d-rail{position:absolute;left:0;top:72px;bottom:0;width:80px;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:6px}
.app .d-rail .ws{position:relative;width:42px;height:42px;border-radius:50%}
.app .d-rail .ws img{width:42px;height:42px;border-radius:50%;box-shadow:0 0 0 2px var(--lime)}
.app .d-rail .ws .badge{position:absolute;right:-8px;top:-8px;height:18px;min-width:22px;font-size:12px}
.app .d-rail .gh{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#2563EB;font:600 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .d-rail .add{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--ln2);color:var(--mu)}
.app .d-win{position:absolute;left:80px;right:24px;top:72px;bottom:0;display:grid;grid-template-columns:316px minmax(0,1fr);border-radius:18px 18px 0 0;background:var(--sh);box-shadow:inset 0 0 0 1px var(--ln)}
.app .d-side{padding:14px 8px 0 16px;border-right:1px solid var(--ln);overflow:hidden}
.app .d-side .a-ws{height:48px;padding:0}
.app .d-side .a-ws b{font-size:18px}
.app .d-side .a-nav{height:32px;font-size:16px}
.app .d-side .a-nav.on{color:var(--tx);font-weight:600}
.app .d-side .a-srch{height:36px}
.app .d-side .a-srch p{font-size:14px}
.app .d-side .a-sec{height:32px}
.app .d-side .a-job b{font-size:16px}
.app .d-main{position:relative;display:flex;flex-direction:column;min-width:0}
.app .d-jh{padding:16px 24px 0}
.app .d-jh h4{display:flex;align-items:center;gap:10px;margin:0;font:700 24px/1.25 "Google Sans Flex",system-ui,sans-serif}
.app .d-jh h4>svg{width:20px;height:20px;color:var(--mu)}
.app .d-jh h4 .chip{height:22px;font-size:13px}
.app .d-cu{display:flex;align-items:center;gap:8px;margin-top:6px;color:var(--mu);font-size:15px}
.app .d-cu img{width:22px;height:22px;border-radius:50%}
.app .d-tb{display:flex;align-items:center;gap:26px;height:48px;margin-top:6px;padding:0 24px;border-bottom:1px solid var(--ln);color:var(--mu);font-size:15px}
.app .d-tb span{display:flex;align-items:center;gap:8px;height:100%}
.app .d-tb span.on{color:var(--tx);font-weight:600;box-shadow:inset 0 -2px 0 var(--tx)}
.app .d-tb .n{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--ln2);font-size:12px}
.app .d-tb .op{margin-left:auto;color:var(--tx)}
.app .d-tb .op svg{width:17px;height:17px;transform:rotate(-90deg)}
.app .d-main .a-msgs{padding:20px 24px 0;gap:22px}
.app .d-main .a-msg{grid-template-columns:44px minmax(0,1fr);gap:16px}
.app .d-main .a-msg .a-av{width:44px;height:44px}
.app .d-main .a-msg b{font-size:16px}
.app .d-main .a-msg p{font-size:16px;line-height:24px}
.app .d-comp{position:absolute;left:24px;right:24px;bottom:0;height:98px;padding:14px 16px 0;border-radius:12px 12px 0 0;box-shadow:inset 0 0 0 1px var(--ln2)}
.app .d-comp div{display:flex;gap:16px;color:var(--mu);font:600 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .d-comp p{margin-top:22px;color:var(--mu2);font-size:16px}
.app .d-main .a-recs{padding:18px 24px 0;gap:14px}
.app .d-main .a-rc{position:relative;padding:16px 16px 14px}
.app .d-main .a-rc h5{font-size:18px}
.app .d-main .a-rc .tag{position:absolute;right:16px;top:14px;padding:5px 9px;border-radius:7px;box-shadow:inset 0 0 0 1px var(--ln2);font-size:14px}
.app .d-main .a-row{display:flex;align-items:center;gap:8px;margin-top:12px}
.app .d-main .a-row .a-ctl,.app .d-main .a-row .a-tl{margin:0}
.app .d-main .a-row .a-tl{flex:1;margin-left:70px}
.app .d-main .a-row .a-wave{max-width:380px}
.app .d-main .a-state{width:842px}

/* the desktop app in a narrower browser (1024 points, the site's Inside the app): the search takes what is left, the
   job's sub-tabs run off the edge as they would */
.app.desk.narrow{width:1024px}
.app.desk.narrow .d-tabs{margin-left:12px}
.app.desk.narrow .d-search{flex:1;width:auto;min-width:0}
.app.desk.narrow .d-tb{overflow:hidden;white-space:nowrap}
.app.desk.narrow .d-tb .op{display:none}
.app.desk.narrow .d-main .a-state{width:auto}
/* initials where Figma has a photo or a logo (a workspace, a customer) */
.app .a-in{display:grid;place-items:center;background:#2563EB;color:var(--tx);font:600 15px/1 "Google Sans Flex",system-ui,sans-serif}
.app .d-rail .gh{position:relative}
.app .d-rail .gh .badge{position:absolute;right:-8px;top:-8px;height:18px;min-width:22px;font-size:12px}
.app .d-cu .a-in{width:22px;height:22px;border-radius:50%;font-size:10px}
/* an agent's response with a checklist (a scorecard) or labelled lines (a summary) */
.app .a-sc{display:grid;gap:6px;margin:10px 0;padding:0;list-style:none}
.app .a-sc li{display:flex;align-items:center;gap:10px;height:36px;padding:0 12px;border-radius:9px;box-shadow:inset 0 0 0 1px var(--ln2);font-size:15px}
.app .a-sc li svg{width:16px;height:16px;color:#A3E635}
.app .a-sc li.no svg{color:#F87171}
.app .a-dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 16px;margin:8px 0 2px}
.app .a-dl dt{color:var(--mu2);font-size:14px;line-height:22px}
.app .a-dl dd{margin:0;font-size:15px;line-height:22px}
/* a list of names to act on (Activity) in the main pane, as job rows */
.app .a-acts{display:flex;flex-direction:column;gap:6px;padding:18px 24px 0}
.app .a-acts .a-job{box-shadow:inset 0 0 0 1px var(--ln)}
.app .a-acts .a-job i{font-size:14px}

/* ---------- played (js/app-play.js): typing rows, the composer typing, live states, the person's cursor ---------- */
.app .a-typ .a-ty{display:inline-flex;align-items:center;gap:4px;margin-top:9px;color:var(--mu2);font-size:14px}
.app .a-typ .a-ty i{width:4px;height:4px;border-radius:50%;background:var(--lime);animation:aDot 1s ease-in-out infinite}
.app .a-typ .a-ty i:nth-of-type(1){margin-left:3px}
.app .a-typ .a-ty i:nth-of-type(2){animation-delay:.15s}
.app .a-typ .a-ty i:nth-of-type(3){animation-delay:.3s}
@keyframes aDot{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}
.app .typing,.app .a-val{color:var(--tx)!important}
.app .typing:not(:has(.a-q))::after,.app .typing .a-q::after{content:"";display:inline-block;width:1.5px;height:1.05em;margin-left:1px;vertical-align:-.15em;background:var(--lime);animation:aCaret 1s steps(1) infinite}
@keyframes aCaret{50%{opacity:0}}
.app .live{animation:aLive 1.6s ease-out infinite}
@keyframes aLive{0%{box-shadow:0 0 0 0 rgba(135,244,50,.5)}100%{box-shadow:0 0 0 22px rgba(135,244,50,0)}}
.app.playing .a-state.go svg{animation:aBlink 1.2s ease-in-out infinite}
@keyframes aBlink{50%{opacity:.35}}
.app.playing .a-state.ld::before{content:"";width:13px;height:13px;border-radius:50%;box-shadow:inset 0 0 0 2px #4A4A4E;border-top:2px solid var(--mu);animation:aSpin .9s linear infinite}
@keyframes aSpin{to{transform:rotate(360deg)}}
.app .hit{box-shadow:inset 0 0 0 1px #9BF552,0 0 0 4px rgba(135,244,50,.25)}
/* the person, a step larger than the site's so it reads inside a zoomed screen */
.app .a-pz{z-index:20}
/* the arrow turns into the site cursor's hand over what it taps */
.app .a-pz .pz-h{position:absolute;left:-5px;top:-2px;width:34px;height:34px;opacity:0;transform:scale(.4);transform-origin:5px 2px;transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .2s}
.app .a-pz .pz-h svg{display:block;width:100%;height:100%;overflow:visible}
.app .a-pz .pz-h path{fill:var(--lime);stroke:var(--bg);stroke-width:1.4px;stroke-linejoin:round}
.app .a-pz .pz-a{transition:opacity .2s,transform .3s}
.app .a-pz.pz-on .pz-a{opacity:0;transform:scale(.6)}
.app .a-pz.pz-on .pz-h{opacity:1;transform:scale(1)}
.app.desk .a-pz .pz-h{width:42px;height:42px}
.app .a-pz .pz-a{width:32px;height:32px}
.app .a-pz .pz-n{left:22px;top:26px;gap:7px;padding:4px 12px 4px 4px;font-size:15px}
.app .a-pz .pz-n img{width:26px;height:26px;object-fit:cover}
.app .a-pz .pz-n em{font-size:12px}
.app.desk .a-pz .pz-a{width:40px;height:40px}
.app.desk .a-pz .pz-n{left:28px;top:32px;padding:5px 14px 5px 5px;font-size:19px}
.app.desk .a-pz .pz-n img{width:32px;height:32px}
.app.desk .a-pz .pz-n em{font-size:15px}
.app.desk .a-pz .pz-r{left:-26px;top:-26px;width:52px;height:52px}

/* ---------- the Figma fidelity pass (2026-10-26, measured against Figma's own exports; the deck session's
   deck-ref/FIGMA-FIDELITY-ONBOARDING.md): Tailwind-neutral greys, Figma's type steps and geometry. The p reset above is
   :where(p), so it no longer wipes these margins; the site's .tag/.ic are out of reach (a-team, a-ic) ---------- */
.app{--ln:#2A2A2A;--ln2:#404040;--mu:#A3A3A3;--mu2:#A3A3A3;--ph:#737373}
/* status bars, chips, badges */
.app .a-st{padding:0 15px 4px 33px;font-size:16px}
.app .a-bat{width:22px}
.app.pad .a-st{padding:2px 12.5px 0 56px}
.app .chip.prog{box-shadow:inset 0 0 0 1px #1E40AF;color:#93C5FD}
.app .chip.off{box-shadow:inset 0 0 0 1px #991B1B}
.app .chip.rec,.app .chip.go{background:#1B310A;box-shadow:inset 0 0 0 1px #366215;color:#B7F884}
.app .chip.done{color:#D4D4D4}
.app .a-job .chip,.app .d-jh .chip{height:22px;padding:0 7px;gap:6px;font-size:12px}
.app .a-job .chip svg{width:12px;height:12px}
.app .a-job .chips,.app .d-jh .chips{gap:4px}
.app .badge{min-width:22px}
/* sheets and panels: radius 16, a hairline on top and both sides */
.app .a-sheet,.app .a-panel{border-radius:16px 16px 0 0;box-shadow:inset 0 0 0 1px var(--ln)}
/* the job header */
.app .a-jh .back{left:16.5px;top:9.5px;width:25px;height:25px}
.app .a-jh .dn{right:18px;top:11px;width:22px;height:22px;color:#D4D4D4}
.app .a-jh .chips{gap:4px}
.app .a-jh .chip.off{padding-left:9px;gap:8px}
.app .a-jh h4{max-width:262px;margin-top:4.5px}
.app .a-jh .a-sub{font-size:14px}
.app .a-rec-btn{height:36px;border-radius:8px;gap:6px;color:#000;font:600 14px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-rec-btn svg{width:20px;height:20px}
/* messages */
.app .a-msgs{gap:16.5px}
.app .a-msg{grid-template-columns:40px minmax(0,1fr);gap:12px}
.app .a-msg .a-av{width:40px;height:40px}
.app .a-msg b{font:600 16px/24px "Google Sans Flex",system-ui,sans-serif}
.app .a-msg p{margin-top:1.5px;font-size:16px}
/* the phone composer */
.app .a-comp{height:128px;padding:14px 21px 0 13px;border-radius:8px 8px 0 0;box-shadow:inset 0 0 0 1px var(--ln2)}
.app .a-comp p{color:var(--ph)}
.app .a-comp div{margin:19.6px 0 0 6.5px;gap:15.5px;color:var(--mu)}
.app .a-comp div i{margin:0 -2px}
.app .a-comp div .snd{display:grid;color:#525252}
.app .a-comp div .snd svg{width:17px;height:17px}
/* the jobs list (phone; the iPad follows below) */
.app .a-ws{height:57px;padding:0 16px 5px 17px;gap:8px}
.app .a-ws .lg{width:40px;height:40px}
.app .a-me{width:42px;height:42px}
.app .a-me img{margin:1px;box-shadow:0 0 0 1px #272727}
.app .a-me::after{right:1px;bottom:1px;width:10px;height:10px;background:var(--lime)}
.app .a-panel{top:107px;padding:17px 17px 0}
.app .a-nav,.app .a-sec{padding:0 7px;gap:7px;color:var(--mu);font-weight:500}
.app .a-nav svg,.app .a-sec svg,.app .a-sec .chev{width:22px;height:22px;color:var(--mu)}
.app .a-sec{margin-top:0}
.app .a-div{margin:11px 0 12px}
.app .a-srch{margin-bottom:12px}
.app .a-srch p{padding-left:10.5px;gap:6.5px;color:var(--ph)}
.app .a-srch p svg{width:23px;height:23px;color:var(--mu)}
.app .a-job{height:92px;padding:12px 8px 0}
.app .a-job+.a-job{margin-top:0}
.app .a-job b{margin-top:3.5px}
.app .a-job i{margin-top:6px;font-size:12px;color:var(--mu)}
.app .a-job.read b{color:var(--mu)}
.app .a-job .badge{right:8px;top:38px}
.app .a-more{margin-top:0;font:700 14px/1 "Google Sans Flex",system-ui,sans-serif}
.app .a-more .badge{height:16px}
.app .a-more+.a-sec{margin-top:17px}
.app .a-ch{height:36px;padding:0 7px;gap:7px;font-size:16px;font-weight:500;color:var(--mu)}
.app .a-ch svg{width:22px;height:22px;color:var(--mu)}
.app .a-ch.new{color:#F7F7F7;font-weight:700}
.app .a-ch .add{gap:4px}
.app .a-ch .badge{min-width:26px}
.app .a-sec+.a-div{margin:7px 0 10px}
/* the iPad's own geometry */
.app.pad .a-ws{height:63px;padding:1px 16px 0 15px;gap:7.5px}
.app.pad .a-ws .lg{width:42px;height:42px}
.app.pad .a-panel{top:107px;padding:17px 16px 0}
.app.pad .a-div{margin-top:7px}
/* recordings */
.app .a-recs{gap:16px}
.app .a-rc{padding:13.5px 16px 14px;border-radius:16px}
.app .a-ctl{margin-top:10.5px}
.app .a-ctl span{height:36px;padding:0 14px;border-radius:8px;font-weight:600}
.app .a-ctl span:first-child{padding:0}
.app .a-ctl span svg{width:16px;height:16px}
.app .a-ctl em{font-weight:600}
.app .a-tl{margin-top:10px}
.app .a-tl .a-tm{font-weight:600;font-variant-numeric:normal}
.app.playing .a-tl .a-tm{font-variant-numeric:tabular-nums}
.app .a-tl .dd{height:36px;border-radius:8px}
.app .a-tl .dd svg{width:21px;height:21px}
.app .a-wave{gap:2px;height:28px}
.app .a-wave i{width:2px;border-radius:1px;background:#737373}
.app .a-wave i.on{background:#FFFFFF}
.app .a-state{margin-top:10.5px;border-radius:12px}
.app .a-state.pa{background:#422006}
.app .a-state.go{background:#1B310A;box-shadow:inset 0 0 0 1px #366213;color:#9FF65A}
.app .a-state.ld{background:#27282A;color:var(--mu)}
.app .a-state.ld svg{width:15px;height:15px}
.app.playing .a-state.ld::before{content:none}
.app.playing .a-state.ld svg{animation:aSpin 1.2s linear infinite}
/* the recording sheet */
.app .a-dim{height:43px;background:#141414}
.app .a-rsheet{top:43px;box-shadow:inset 0 0 0 1px var(--ln)}
.app .a-rsheet::before{width:44px;height:4px;margin-left:-22px;background:#454545}
.app .a-rsheet h5{margin-top:31px;font-size:16px}
.app .a-rsheet .a-sub,.app .a-rsheet .hint{font-size:14px}
.app .a-rsheet .t{font-size:48px}
.app .a-rbtns{gap:24px}
.app .a-rbtns span svg{width:24px;height:24px}
.app .a-rbtns .del{color:#EF4444}
.app .a-rbtns .mic{width:72px;height:72px;color:#000;box-shadow:inset 0 0 0 1.5px #9BF552}
.app .a-rbtns .mic svg{width:28px;height:28px}
/* the desktop chrome */
.app .d-top{height:64px;padding:0 16px 0 15px}
.app .d-top .lk{width:76px;height:36px}
.app .d-tabs{padding:2px;background:#27282A;box-shadow:inset 0 0 0 1px var(--ln)}
.app .d-tabs span{height:36px;font-weight:600;color:var(--mu)}
.app .d-tabs span.on{background:var(--bg);box-shadow:inset 0 0 0 1px var(--ln);color:#D4D4D4}
.app .d-cnt{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:999px;background:#1B310A;box-shadow:inset 0 0 0 1px #366214;color:#B7F884;font:600 12px/1 "Google Sans Flex",system-ui,sans-serif;font-style:normal}
.app .d-cnt b{width:6px;height:6px;border-radius:50%;background:var(--lime)}
.app .d-ask{background:#27282A;box-shadow:inset 0 0 0 1px var(--ln)}
.app .d-ask svg{width:22px;height:22px;color:#9FF65B}
.app .d-search{width:480px;background:var(--sh);box-shadow:inset 0 0 0 1px var(--ln2);color:var(--ph)}
.app .d-search svg{width:22px;height:22px;color:var(--mu)}
.app .d-me,.app .d-me img{width:40px;height:40px}
.app .d-me img{box-shadow:0 0 0 1px #262626}
.app .d-me::after{width:10px;height:10px;background:var(--lime)}
.app .d-rail{top:64px;width:72px;gap:12px;padding-top:2px}
.app .d-rail .ws img{box-shadow:0 0 0 2px #9FF65B}
.app .d-rail .gh{width:36px;height:36px;background:linear-gradient(180deg,#2A74F8,#0A2DE9)}
.app .d-rail .add{box-shadow:none;border:1px dashed var(--ln2);color:var(--ph)}
.app .d-win{left:72px;right:16px;top:64px;grid-template-columns:320px minmax(0,1fr);border-radius:22px 22px 0 0}
.app .d-side{padding:16px 8px 0}
.app .d-side .a-ws{padding:0 8px;gap:8.5px}
.app .d-side .a-ws .lg{width:40px;height:40px}
.app .d-side .a-nav,.app .d-side .a-sec{padding:0 8px}
.app .d-side .a-srch>span{width:36px}
.app .d-side .a-srch p{padding-left:13px;gap:9.5px}
.app .d-side .a-job.sel b{color:#F7F7F7}
.app .d-jh h4{gap:9px}
.app .d-jh .a-ic{position:absolute;right:8px;top:16px;display:flex;align-items:center;gap:7px;color:var(--mu)}
.app .d-jh .a-ic svg{width:18px;height:18px}
.app .d-more{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#27282A;color:var(--tx)}
.app .d-cu{gap:9px;font-size:14px;color:var(--mu)}
.app .d-cu img{width:24px;height:24px}
.app .d-day{position:relative;margin:10px 24px 0;height:18px;text-align:center}
.app .d-day::before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--ln)}
.app .d-day span{position:relative;padding:0 14px;background:var(--sh);color:var(--mu);font-size:14px}
.app .d-main .a-msgs{padding-top:12px;gap:20px}
.app .d-main .a-msg{grid-template-columns:48px minmax(0,1fr);gap:12px}
.app .d-main .a-msg .a-av{width:48px;height:48px}
.app .d-comp{left:24px;right:16px;padding:16.5px 13px 0;border-radius:8px 8px 0 0;box-shadow:inset 0 0 0 1px var(--ln2)}
.app .d-comp div{align-items:center;gap:14px;padding-left:5px}
.app .d-comp div svg{width:20px;height:20px}
.app .d-comp div i{width:1px;height:18px;background:var(--ln2)}
.app .d-comp p{color:var(--ph)}
.app .d-tb{gap:22px;padding:0 20px 0 24px}
.app .d-tb span,.app .d-tb span.on{font-weight:500}
.app .d-tb span.on{box-shadow:inset 0 -2px 0 #fff;color:#fff}
.app .d-tb .op svg{width:18px;height:18px;transform:none}
.app .d-main .a-recs{padding:16px 36px 0;gap:17px}
.app .d-main .a-rc{padding:16px 16px 14px;border-radius:16px}
.app .d-main .a-rc .a-team{position:absolute;right:16px;top:16px;height:22px;padding:0 8px;border-radius:6px;box-shadow:inset 0 0 0 1px var(--ln2);font:400 14px/22px "Google Sans Flex",system-ui,sans-serif;color:#D4D4D4}
.app .d-main .a-ctl{gap:4px}
.app .d-main .a-ctl span{height:32px;min-width:32px}
.app .d-main .a-row .a-wave{max-width:378px}
.app .d-main .a-row .dd{width:32px;height:32px;margin-left:4px}
.app .d-main .a-state{width:854px}

/* ---------- played, v2 (js/app-play.js): layers and sheets, bottom-anchored chats, rolling numbers, the moving
   selection, the person's tag flipping near the edges; and the pieces the stories show (a file, a recording's details
   and transcript). The static markup stays the end state, so /sales reads right without the script ---------- */
.app .a-scr{position:absolute;inset:0;background:var(--bg)}
.app .a-off{display:none!important}
.app [data-feed]{display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}
.app .a-sheet{overflow:hidden}
.app .a-sheet>.a-msgs[data-feed]{position:absolute;left:0;right:0;top:0;bottom:128px;padding-bottom:16px}
.app .d-main>.a-msgs[data-feed]{flex:1;min-height:0;padding-bottom:118px}
.app .a-dg{display:inline-block} /* not .a-d: the site has its own (css/site.css) and it painted the digits lime on a dark box */
.app .a-rsheet .t{overflow:hidden}
.app .a-dn{position:absolute;left:0;right:0;text-align:center}
.app .a-cv{display:inline-flex;align-items:center;gap:inherit}
.app .a-job{z-index:1}
.app .a-selbg{position:absolute;z-index:0;border-radius:10px;background:#27282A;pointer-events:none}
.app .a-pz.pz-up .pz-n{top:-38px}
.app .a-pz.pz-left .pz-n{left:auto;right:16px}
.app.desk .a-pz.pz-up .pz-n{top:-46px}
.app .a-typ .a-ty{font-size:15px}
.app.desk .a-typ .a-ty{font-size:16px}
/* a file in a message */
.app .a-file{display:inline-flex;align-items:center;gap:10px;margin-top:8px;padding:8px 14px 8px 10px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--ln2);background:#1F1F21}
.app .a-file svg{width:24px;height:24px;color:var(--mu)}
.app .a-file span{display:flex;flex-direction:column;gap:3px}
.app .a-file b{font:600 15px/1.2 "Google Sans Flex",system-ui,sans-serif}
.app .a-file i{font:400 13px/1.2 "Google Sans Flex",system-ui,sans-serif;font-style:normal;color:var(--mu)}
/* a recording opened: its details and transcript (Figma's Recording 7) */
.app .a-tl .dd svg{transition:transform .3s cubic-bezier(.16,1,.3,1)}
.app .a-tl .dd.up svg{transform:rotate(180deg)}
.app .a-meta{margin:14px 0 0;display:flex;flex-direction:column;gap:10px}
.app .a-meta div{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.app .a-meta dt{color:var(--tx)}
.app .a-meta dd{margin:0;color:var(--tx);text-align:right}
.app .a-trh{margin-top:18px;font:700 16px/1.25 "Google Sans Flex",system-ui,sans-serif}
.app .a-trn{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.app .a-trn li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;font-size:15px;line-height:1.45}
.app .a-trn span{color:var(--mu);font-variant-numeric:tabular-nums}
.app .a-trn p{color:var(--tx)}

