airband 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/airband-mcp.js CHANGED
@@ -44998,7 +44998,7 @@ var INSTRUCTIONS = [
44998
44998
  "- When the person refers to earlier work or another chat (what was done, which chat changed something, what happened while they were away, a ticket like ENG-142, a PR like #128), call airband_flightlog: with query to search every chat, or with chat to read one.",
44999
44999
  "- airband_notes holds notes chats left for this project; read them before working in an unfamiliar area, and save one when you learn something the next chat should know."
45000
45000
  ].join("\n");
45001
- var server = new McpServer({ name: "airband", version: "0.0.5" }, { instructions: INSTRUCTIONS });
45001
+ var server = new McpServer({ name: "airband", version: "0.0.6" }, { instructions: INSTRUCTIONS });
45002
45002
  var text = (t, isError = false) => ({ content: [{ type: "text", text: t }], ...isError ? { isError } : {} });
45003
45003
  var maps = /* @__PURE__ */ new Map();
45004
45004
  async function freshMap(folder = root) {
package/airband.js CHANGED
@@ -5684,7 +5684,7 @@ function installSkills(agents) {
5684
5684
  const dir2 = path14.join(skillsDir(a), s.name);
5685
5685
  if (fs16.existsSync(dir2) && !fs16.existsSync(path14.join(dir2, MARK2))) continue;
5686
5686
  writeFileAtomic(path14.join(dir2, "SKILL.md"), s.text);
5687
- writeFileAtomic(path14.join(dir2, MARK2), `Written by Airband ${"0.0.5"}. "airband remove" takes it away.
5687
+ writeFileAtomic(path14.join(dir2, MARK2), `Written by Airband ${"0.0.6"}. "airband remove" takes it away.
5688
5688
  `);
5689
5689
  n++;
5690
5690
  }
@@ -6007,7 +6007,7 @@ var init_setup = __esm({
6007
6007
  init_hooks();
6008
6008
  init_toolkit();
6009
6009
  init_skills();
6010
- VERSION = "0.0.5";
6010
+ VERSION = "0.0.6";
6011
6011
  NPM_PACKAGE = "airband";
6012
6012
  OLD_PACKAGES = ["crosstalk-ai"];
6013
6013
  FILES = ["airband-mcp.js", "airband-hook.js", "airband.js"];
@@ -34576,6 +34576,16 @@ var init_record = __esm({
34576
34576
  });
34577
34577
 
34578
34578
  // src/core/worklog.ts
34579
+ var worklog_exports = {};
34580
+ __export(worklog_exports, {
34581
+ fmtTokens: () => fmtTokens,
34582
+ renderSpend: () => renderSpend,
34583
+ renderWork: () => renderWork,
34584
+ sinceDays: () => sinceDays,
34585
+ spendSince: () => spendSince,
34586
+ totalOf: () => totalOf,
34587
+ workSince: () => workSince
34588
+ });
34579
34589
  function sinceDays(days, now = Date.now()) {
34580
34590
  const d = new Date(now);
34581
34591
  d.setHours(0, 0, 0, 0);
@@ -34800,11 +34810,12 @@ function cachedLastAsk(h3) {
34800
34810
  lastAsk.set(h3.id, { size, ask: ask2 });
34801
34811
  return ask2;
34802
34812
  }
34803
- function renamedTitle(file, size) {
34813
+ function renamedTitle(file, size, from = 0) {
34814
+ if (from > 0 && from >= size) return void 0;
34804
34815
  let fd2;
34805
34816
  try {
34806
34817
  fd2 = fs28.openSync(file, "r");
34807
- const start2 = Math.max(0, size - TAIL_BYTES);
34818
+ const start2 = Math.max(0, size - TAIL_BYTES, from > 0 && from < size ? from - 1024 : 0);
34808
34819
  const buf = Buffer.alloc(size - start2);
34809
34820
  fs28.readSync(fd2, buf, 0, buf.length, start2);
34810
34821
  const text2 = buf.toString("utf8");
@@ -34834,7 +34845,7 @@ function liveName(h3) {
34834
34845
  }
34835
34846
  const hit = names.get(h3.id);
34836
34847
  if (hit && hit.size === size) return hit.name;
34837
- const name2 = renamedTitle(h3.file, size) ?? hit?.name;
34848
+ const name2 = renamedTitle(h3.file, size, hit && hit.size < size ? hit.size : 0) ?? hit?.name;
34838
34849
  names.set(h3.id, { size, name: name2 });
34839
34850
  if (name2 && name2 !== h3.title) {
34840
34851
  try {
@@ -35649,8 +35660,9 @@ function whatsHappening(chats, pending, now = Date.now()) {
35649
35660
  for (const c of done.slice(0, 2)) lines.push(`${c.title} finished${c.lastDid ? `: ${c.lastDid.slice(0, 120)}` : "."}`);
35650
35661
  return lines.join("\n");
35651
35662
  }
35652
- function today2(now = Date.now()) {
35653
- const work = workSince(sinceDays(1, now));
35663
+ async function today2(now = Date.now()) {
35664
+ const { sinceDays: sinceDays2, workSince: workSince2 } = await Promise.resolve().then(() => (init_worklog(), worklog_exports));
35665
+ const work = workSince2(sinceDays2(1, now));
35654
35666
  if (!work.length) return "Nothing yet today.";
35655
35667
  const asks = work.reduce((n, w) => n + w.asks.length, 0);
35656
35668
  const byProject = /* @__PURE__ */ new Map();
@@ -35703,7 +35715,7 @@ async function ask(question, ctx) {
35703
35715
  }
35704
35716
  const known = knowledge(q3, { name: name2, version: ctx.version ?? "", headline: headline(ctx.chats, ctx.pending, now) });
35705
35717
  if (known) return known;
35706
- if (TODAY.test(q3)) return { text: today2(now), via: "records" };
35718
+ if (TODAY.test(q3)) return { text: await today2(now), via: "records" };
35707
35719
  if (!ctx.lookups) return { text: `I can answer that with Claude Code. Turn on "Look things up" in my settings if that's OK.`, action: "settings", via: "records" };
35708
35720
  const claude = ctx.claude === void 0 ? findClaude() : ctx.claude;
35709
35721
  if (!claude) return { text: "For questions like that I need Claude Code on this computer.", via: "records" };
@@ -35784,7 +35796,6 @@ var init_manager = __esm({
35784
35796
  fs30 = __toESM(require("node:fs"));
35785
35797
  init_paths();
35786
35798
  init_hooks();
35787
- init_worklog();
35788
35799
  init_chats();
35789
35800
  init_companion();
35790
35801
  init_knowledge();
@@ -39989,7 +40000,7 @@ init_updates();
39989
40000
  init_define_AIRBAND_GRAMMARS();
39990
40001
 
39991
40002
  // CHANGELOG.md
39992
- var CHANGELOG_default = "# Changelog\n\n## 0.0.5\n- **A desktop companion (Mac, Windows build on GitHub).** Roger floats in a corner of your screen. He\n shows each permission request and question from Claude Code and Codex, and you answer with a click.\n He cheers when a chat finishes, opens chats, passes your messages to them, and answers \"what's\n happening?\" from Airband's records. Drag him anywhere, tuck him away, or rename him: his name and\n look are settings. `npm run desktop:install` builds and installs the app, and on first start it sets\n up every agent.\n- **Private by design.** The companion sees only your chats' records, and never reads your files or\n folders. **Look things up** (a setting, on at first) passes a question to Claude Code: a question\n about your chats gets only Airband's read-only flightlog, and any other question gets only web\n search. Neither gets file or shell tools, and nothing is saved as a chat.\n- **Your iPhone, from anywhere (Mac and iPhone only).** In Roger's settings, choose **Link** next to\n **Your phone** and scan the code with your iPhone. Add Airband to the Home Screen (iOS 16.4 or\n later) and it links by itself. Your iPhone shows what needs you, with big Allow, Always and Deny\n buttons, what is working, and what finished today with a short summary. Alerts reach the Lock\n Screen for every request and finished chat (**Alert my phone always**, on at first; off, only when\n your Mac is locked or idle). **Test** sends a pretend request and says what happened.\n- **One Mac, one iPhone, nobody else.** The code works once, for 10 minutes. The first iPhone to use\n it gets a secret of its own, and the code is deleted at once, so a photo of it is worth nothing.\n To change iPhones, unlink and link again. Only a Mac offers the link, alerts go only through\n Apple's push service, and other phones and computers are turned away.\n- **Locked end to end.** Messages pass through Airband's relay on Cloudflare locked with that\n secret, so the relay can't read them. Alerts go from your Mac to Apple, locked for your iPhone.\n Your iPhone gets no folder paths, and it can answer requests and nothing else: it can't ask,\n message a chat or change settings. **Unlink**, on either side, ends it on both at once.\n- **Free, with limits of its own.** The relay runs on Cloudflare's free plan, which never charges:\n past its daily limit it stops until the next day. Your Mac sends its state only while the iPhone\n app is open, at most once a second and 3,000 times a day.\n- **No Node needed.** On a computer without Node, the app runs Airband's hook and tools itself.\n- **Claude Code's permission requests** now pass through Airband's hook, which waits up to 110 s for\n the app and otherwise lets the terminal ask at once.\n\n## 0.0.4\n- **A simpler Writing page.** It is now only the switches, in two groups: how agents write, and\n what happens before anything goes out. \"Hide AI credit lines\" is one of them. The page uses\n Airband's own orange. The team-file section, \"What the agent gets\", \"Check a file\" and the list\n of past checks are gone. A project's `.airband.json` still works, and the page says when it\n overrides a switch. `airband writing check <file>` still checks a doc from a terminal or CI.\n Airband no longer keeps `~/.airband/writing-log.jsonl`.\n\n## 0.0.3\n- **Review pull requests from the map.** `airband_map` with `diff` (and `airband diff`) takes a\n branch, `main..feature` or a PR number. A number like `#128` is fetched from origin, and nothing\n is checked out. It lists every function, class and type the change added, changed, moved or\n removed. Each one comes with its callers and the tests that reach it. Removed code that something\n still calls is flagged.\n- **Ask another project.** `in: \"my-api\"` (or `--in my-api`) sends any map question to\n another project you have mapped, by its folder's name.\n- **Tickets, issues and designs are remembered.** Chat records keep Linear and Jira ids\n (`ENG-142`), GitHub PRs and issues (`#128`, links) and Figma links. They come from the person's\n words and the replies. So \"what did we do for ENG-142\" finds the chats that worked on it, in any\n agent.\n- **Four new skills** agents use by themselves: `airband-review`, `airband-impact`,\n `airband-handoff` and `airband-ticket`.\n- **A line after each Airband answer** (Claude Code). It says what Airband found and the tokens it\n saved against reading the files it points to, measured from their real size. It shows only when\n the saving is real. `airband notices off` hides it with the others.\n- **Skills for every role, 15 in all.** The new ones:\n - `airband-onboard` explains a codebase to someone new.\n - `airband-debug` first checks whether an earlier chat saw the error.\n - `airband-test-plan` starts with the changes no test reaches.\n - `airband-progress` says where a ticket, feature or PR stands.\n - `airband-standup` and `airband-spend` write a standup and a spend report.\n - `airband-write-docs` and `airband-write-messages` hold the writing rules.\n \n `airband-review` is now a full review. It has three modes (your changes, your PR, someone else's\n PR), a sweep for what the diff leaves behind, and severity tags. It posts nothing without a yes.\n A person's own skill for the same job comes first.\n- **Writing rules that switch on by themselves.** A chat asked for a doc (a PRD, a spec, a README)\n gets a few lines of docs rules, once. A chat asked for a message (Slack, email, a PR comment)\n gets the message rules. After an agent writes a doc file, Airband checks the new text (Claude\n Code and Gemini CLI). It names long sentences, semicolons, hype words, two-word verbs and filler. It also names lines that credit an AI tool\n (\"Generated with \u2026\", \"Co-Authored-By: Claude\"), so what agents write reads as the person's.\n Short replies for every chat are one switch away (`airband writing replies on`). A team commits\n `.airband.json` to give everyone the same rules, with its own added.\n- **Checked before it goes out.** An agent may be about to send a Slack message, an email, a PR\n description, a comment or a commit. Airband reads the words first (Claude Code and Gemini CLI). If\n they break the rules, the send is held once, with what to fix. A commit is held only for a line\n crediting an AI tool. The same words sent again go through. `airband writing before-send off`\n turns it off.\n- **`airband writing ai-credit off`** stops Claude Code adding \"Co-Authored-By: Claude\" to commits\n and \"Generated with Claude Code\" to PRs. It sets Claude Code's own `attribution` setting after a\n backup, and `on` puts back what was there. The Writing page has the same switch.\n- **A Writing page** in the VS Code extension (`E`, or \"Airband: Open writing rules\"). It has the\n switches and each open project's team file. It checks a file on the spot, and it lists what the\n checks found lately, with a click to the line.\n- **`airband writing check <file>`** checks docs from a terminal or CI, and exits with 1 on findings.\n- **`airband standup`**: what your chats did since yesterday, per project, in every agent.\n- **`airband spend`**: tokens by project, agent, ticket and chat, for the last 7 days or any span.\n- **Code left with no caller.** A PR's diff now lists code that only the removed code used.\n- The VS Code extension no longer drops settings it doesn't know when it saves its own.\n\n## 0.0.2\n- **Airband says what it's doing.** When a chat starts, one line in the agent's window: Airband\n is on, the map of the folder is ready, who the chat shares with, and which other chats worked\n there in the last 12 hours, with what to say to catch up. When another chat's work is added to\n your message, a line names it. Shown to you only, so they cost no tokens (Claude Code; Gemini\n CLI at the start). Turn them off with `airband notices off` or the `airband.notices` setting.\n\n## 0.0.1 (first release)\n\nAirband was called Crosstalk. Installing Airband moves a Crosstalk setup over by itself: its data\n(`~/.crosstalk`), each agent's tools, hooks, skills and commands, Tab completion, and the old\n`crosstalk` command, which `airband` replaces.\n\n- **Tower**: every Claude Code, Codex and Gemini CLI chat as a card; connect chats so one gets the\n other's updates with its next message (Ping, Brief or Full).\n- **Flightlog**: a short record of each chat (asks, what was done, files, commits, PRs).\n- **Fuel**: plan limits as each agent reports them, and tokens per chat.\n- **Map**: a board of your project's parts and files, built by a parser on your computer (TypeScript,\n JavaScript, Python, Go, Rust, Java, C#, Ruby, PHP). Agents query it through `airband_map`.\n- **Commands**: ready-made commands for all three agents (plan, build, review, pr, tests and more),\n plus your own in `~/.airband/library/`.\n- **Agent tools**: `airband_map`, `airband_flightlog` and `airband_notes` over MCP, with\n instructions agents read at the start of a session, and three skills they use by themselves\n (`airband-find-code`, `airband-recall`, `airband-catchup`).\n- **One command to set up**: `npx airband` (or `npm i -g airband`) sets up every agent found and\n adds the `airband` command; `airband doctor`, `airband update`, `airband remove`. The same on\n macOS, Windows and Linux, with npm, pnpm, Yarn or Bun.\n- **Agents don't stop to ask**: setup allows Airband's tools in Claude Code, Codex and Gemini CLI.\n- **A full command line**: grouped help, `airband help <command>` with examples, `version`,\n `about`, `changelog`, `docs`, `bug`, `--json` for scripts, Tab completion for bash, zsh, fish and\n PowerShell, and \"did you mean\" for typos.\n- **Light**: the parsers for Go, Rust, Java, C#, Ruby and PHP are fetched the first time a project\n needs them, checked against fingerprints built into Airband.\n- **Claude Code plugin** and **Gemini CLI extension**, kept current by the agent itself.\n- **Safe by default**: secrets are removed before anything is recorded or shared; what one chat\n sends another is fenced and marked as information, never instructions; settings files keep their\n permissions and are backed up; `~/.airband` is readable only by you.\n";
40003
+ var CHANGELOG_default = "# Changelog\n\n## 0.0.6\n- **Roger falls asleep when nothing is for you.** After two quiet minutes he sleeps, even while chats\n work. A request, a finished chat, or your pointer on him wakes him. Before, his clock stood still\n in a quiet hour, so he almost never slept.\n- **Asleep, he breathes.** Now and then he takes a slow breath, three \"z\"s float up over his head,\n and a sleep bubble swells at his mouth.\n- **Working, he is on air.** When a chat works, his antenna glows and radio waves ripple out from it.\n- **Light on your Mac.** Asleep, Roger uses about 3.5% of one core and about 120 MB in all,\n against 17% if his sleep moves never stopped. His moves play as short scenes, so nothing runs all\n day. Asleep, he stops following the pointer and skips updates that change nothing he shows.\n Hidden for a minute, his screen is released, about 135 MB, and made again when he comes back.\n While your Mac is locked or asleep, every animation pauses.\n- **Less work in the background.** The Mac app no longer loads Claude's SDK at start (it is loaded\n only for \"what did I do today?\"). A working chat's file is read only where it grew.\n\n## 0.0.5\n- **A desktop companion (Mac, Windows build on GitHub).** Roger floats in a corner of your screen. He\n shows each permission request and question from Claude Code and Codex, and you answer with a click.\n He cheers when a chat finishes, opens chats, passes your messages to them, and answers \"what's\n happening?\" from Airband's records. Drag him anywhere, tuck him away, or rename him: his name and\n look are settings. `npm run desktop:install` builds and installs the app, and on first start it sets\n up every agent.\n- **Private by design.** The companion sees only your chats' records, and never reads your files or\n folders. **Look things up** (a setting, on at first) passes a question to Claude Code: a question\n about your chats gets only Airband's read-only flightlog, and any other question gets only web\n search. Neither gets file or shell tools, and nothing is saved as a chat.\n- **Your iPhone, from anywhere (Mac and iPhone only).** In Roger's settings, choose **Link** next to\n **Your phone** and scan the code with your iPhone. Add Airband to the Home Screen (iOS 16.4 or\n later) and it links by itself. Your iPhone shows what needs you, with big Allow, Always and Deny\n buttons, what is working, and what finished today with a short summary. Alerts reach the Lock\n Screen for every request and finished chat. That is **Alert my phone always**, on at first. Turned\n off, alerts come only when your Mac is locked or idle. **Test** sends a pretend request and says\n what happened.\n- **One Mac, one iPhone, nobody else.** The code works once, for 10 minutes. The first iPhone to use\n it gets a secret of its own, and the code is deleted at once, so a photo of it is worth nothing.\n To change iPhones, unlink and link again. Only a Mac offers the link, alerts go only through\n Apple's push service, and other phones and computers are turned away.\n- **Locked end to end.** Messages pass through Airband's relay on Cloudflare locked with that\n secret, so the relay can't read them. Alerts go from your Mac to Apple, locked for your iPhone.\n Your iPhone gets no folder paths, and it can answer requests and nothing else: it can't ask,\n message a chat or change settings. **Unlink**, on either side, ends it on both at once.\n- **Free, with limits of its own.** The relay runs on Cloudflare's free plan, which never charges:\n past its daily limit it stops until the next day. Your Mac sends its state only while the iPhone\n app is open, at most once a second and 3,000 times a day.\n- **No Node needed.** On a computer without Node, the app runs Airband's hook and tools itself.\n- **Claude Code's permission requests** now pass through Airband's hook, which waits up to 110 s for\n the app and otherwise lets the terminal ask at once.\n\n## 0.0.4\n- **A simpler Writing page.** It is now only the switches, in two groups: how agents write, and\n what happens before anything goes out. \"Hide AI credit lines\" is one of them. The page uses\n Airband's own orange. The team-file section, \"What the agent gets\", \"Check a file\" and the list\n of past checks are gone. A project's `.airband.json` still works, and the page says when it\n overrides a switch. `airband writing check <file>` still checks a doc from a terminal or CI.\n Airband no longer keeps `~/.airband/writing-log.jsonl`.\n\n## 0.0.3\n- **Review pull requests from the map.** `airband_map` with `diff` (and `airband diff`) takes a\n branch, `main..feature` or a PR number. A number like `#128` is fetched from origin, and nothing\n is checked out. It lists every function, class and type the change added, changed, moved or\n removed. Each one comes with its callers and the tests that reach it. Removed code that something\n still calls is flagged.\n- **Ask another project.** `in: \"my-api\"` (or `--in my-api`) sends any map question to\n another project you have mapped, by its folder's name.\n- **Tickets, issues and designs are remembered.** Chat records keep Linear and Jira ids\n (`ENG-142`), GitHub PRs and issues (`#128`, links) and Figma links. They come from the person's\n words and the replies. So \"what did we do for ENG-142\" finds the chats that worked on it, in any\n agent.\n- **Four new skills** agents use by themselves: `airband-review`, `airband-impact`,\n `airband-handoff` and `airband-ticket`.\n- **A line after each Airband answer** (Claude Code). It says what Airband found and the tokens it\n saved against reading the files it points to, measured from their real size. It shows only when\n the saving is real. `airband notices off` hides it with the others.\n- **Skills for every role, 15 in all.** The new ones:\n - `airband-onboard` explains a codebase to someone new.\n - `airband-debug` first checks whether an earlier chat saw the error.\n - `airband-test-plan` starts with the changes no test reaches.\n - `airband-progress` says where a ticket, feature or PR stands.\n - `airband-standup` and `airband-spend` write a standup and a spend report.\n - `airband-write-docs` and `airband-write-messages` hold the writing rules.\n \n `airband-review` is now a full review. It has three modes (your changes, your PR, someone else's\n PR), a sweep for what the diff leaves behind, and severity tags. It posts nothing without a yes.\n A person's own skill for the same job comes first.\n- **Writing rules that switch on by themselves.** A chat asked for a doc (a PRD, a spec, a README)\n gets a few lines of docs rules, once. A chat asked for a message (Slack, email, a PR comment)\n gets the message rules. After an agent writes a doc file, Airband checks the new text (Claude\n Code and Gemini CLI). It names long sentences, semicolons, hype words, two-word verbs and filler. It also names lines that credit an AI tool\n (\"Generated with \u2026\", \"Co-Authored-By: Claude\"), so what agents write reads as the person's.\n Short replies for every chat are one switch away (`airband writing replies on`). A team commits\n `.airband.json` to give everyone the same rules, with its own added.\n- **Checked before it goes out.** An agent may be about to send a Slack message, an email, a PR\n description, a comment or a commit. Airband reads the words first (Claude Code and Gemini CLI). If\n they break the rules, the send is held once, with what to fix. A commit is held only for a line\n crediting an AI tool. The same words sent again go through. `airband writing before-send off`\n turns it off.\n- **`airband writing ai-credit off`** stops Claude Code adding \"Co-Authored-By: Claude\" to commits\n and \"Generated with Claude Code\" to PRs. It sets Claude Code's own `attribution` setting after a\n backup, and `on` puts back what was there. The Writing page has the same switch.\n- **A Writing page** in the VS Code extension (`E`, or \"Airband: Open writing rules\"). It has the\n switches and each open project's team file. It checks a file on the spot, and it lists what the\n checks found lately, with a click to the line.\n- **`airband writing check <file>`** checks docs from a terminal or CI, and exits with 1 on findings.\n- **`airband standup`**: what your chats did since yesterday, per project, in every agent.\n- **`airband spend`**: tokens by project, agent, ticket and chat, for the last 7 days or any span.\n- **Code left with no caller.** A PR's diff now lists code that only the removed code used.\n- The VS Code extension no longer drops settings it doesn't know when it saves its own.\n\n## 0.0.2\n- **Airband says what it's doing.** When a chat starts, one line in the agent's window: Airband\n is on, the map of the folder is ready, who the chat shares with, and which other chats worked\n there in the last 12 hours, with what to say to catch up. When another chat's work is added to\n your message, a line names it. Shown to you only, so they cost no tokens (Claude Code; Gemini\n CLI at the start). Turn them off with `airband notices off` or the `airband.notices` setting.\n\n## 0.0.1 (first release)\n\nAirband was called Crosstalk. Installing Airband moves a Crosstalk setup over by itself: its data\n(`~/.crosstalk`), each agent's tools, hooks, skills and commands, Tab completion, and the old\n`crosstalk` command, which `airband` replaces.\n\n- **Tower**: every Claude Code, Codex and Gemini CLI chat as a card; connect chats so one gets the\n other's updates with its next message (Ping, Brief or Full).\n- **Flightlog**: a short record of each chat (asks, what was done, files, commits, PRs).\n- **Fuel**: plan limits as each agent reports them, and tokens per chat.\n- **Map**: a board of your project's parts and files, built by a parser on your computer (TypeScript,\n JavaScript, Python, Go, Rust, Java, C#, Ruby, PHP). Agents query it through `airband_map`.\n- **Commands**: ready-made commands for all three agents (plan, build, review, pr, tests and more),\n plus your own in `~/.airband/library/`.\n- **Agent tools**: `airband_map`, `airband_flightlog` and `airband_notes` over MCP, with\n instructions agents read at the start of a session, and three skills they use by themselves\n (`airband-find-code`, `airband-recall`, `airband-catchup`).\n- **One command to set up**: `npx airband` (or `npm i -g airband`) sets up every agent found and\n adds the `airband` command; `airband doctor`, `airband update`, `airband remove`. The same on\n macOS, Windows and Linux, with npm, pnpm, Yarn or Bun.\n- **Agents don't stop to ask**: setup allows Airband's tools in Claude Code, Codex and Gemini CLI.\n- **A full command line**: grouped help, `airband help <command>` with examples, `version`,\n `about`, `changelog`, `docs`, `bug`, `--json` for scripts, Tab completion for bash, zsh, fish and\n PowerShell, and \"did you mean\" for typos.\n- **Light**: the parsers for Go, Rust, Java, C#, Ruby and PHP are fetched the first time a project\n needs them, checked against fingerprints built into Airband.\n- **Claude Code plugin** and **Gemini CLI extension**, kept current by the agent itself.\n- **Safe by default**: secrets are removed before anything is recorded or shared; what one chat\n sends another is fenced and marked as information, never instructions; settings files keep their\n permissions and are backed up; `~/.airband` is readable only by you.\n";
39993
40004
 
39994
40005
  // src/cli/changes.ts
39995
40006
  init_setup();
package/companion/ui.css CHANGED
@@ -1 +1 @@
1
- .design-headset{overflow:visible;display:block}.design-headset .fig-on,.design-headset .fig-off{transition:opacity .35s ease}.design-headset .fig-on{opacity:1}.design-headset .fig-off{opacity:0}.design-headset .fig-body{transform-box:view-box;transform-origin:100px 196px}.design-headset .fig-eyes{transform-box:fill-box;transform-origin:center;transition:opacity .35s ease}.design-headset .fig-eyes.fig-blink{animation:headset-blink .26s ease-in-out}.design-headset .fig-pupils{transition:transform .25s ease-out}.design-headset .fig-face,.design-headset .fig-headset{transition:transform .35s ease-out}.design-headset .fig-cheek{opacity:.75;transition:opacity .4s ease,fill .4s ease}.design-headset .fig-cheek.fig-blush{opacity:1;fill:#f59a85}.design-headset .fig-light{transition:fill .5s ease}.design-headset .fig-badge{transform-box:fill-box;transform-origin:20% 100%;transition:opacity .25s ease,transform .35s cubic-bezier(.2,1.6,.4,1);transform:scale(.4)}.design-headset .fig-badge.fig-on{transform:scale(1)}.design-headset .fig-arm-left{transform-box:fill-box;transform-origin:70% 10%}.design-headset .fig-arm-right{transform-box:fill-box;transform-origin:30% 10%}.design-headset .fig-mouth-talk{transform-box:fill-box;transform-origin:50% 0%}.design-headset .fig-sparkle,.design-headset .fig-spin{transform-box:fill-box;transform-origin:center}.design-headset.mood-needs .fig-arm-right{animation:headset-wave 1s ease-in-out 3}.design-headset.mood-done .fig-arm-left{animation:headset-cheer-l .65s ease-in-out 3}.design-headset.mood-done .fig-arm-right{animation:headset-cheer-r .65s ease-in-out 3}.design-headset.mood-hello .fig-arm-right{animation:headset-wave .8s ease-in-out 3}.design-headset.mood-done .fig-sparkle,.design-headset.mood-hello .fig-sparkle{animation:headset-twinkle 1.6s ease-in-out 2 both}.design-headset .fig-sparkle2{animation-delay:.5s!important}.design-headset .fig-sparkle3{animation-delay:1s!important}.design-headset.mood-talking .fig-mouth-talk{animation:headset-talk .42s ease-in-out infinite}.design-headset.mood-thinking .fig-dot{animation:headset-dot 1.2s ease-in-out infinite}.design-headset.mood-thinking .fig-dot2{animation-delay:.2s}.design-headset.mood-thinking .fig-dot3{animation-delay:.4s}.design-headset.mood-dizzy .fig-spin{animation:headset-spin .9s linear infinite}.design-headset.mood-resting .fig-z{animation:headset-floatz 3.4s ease-out 4 both}.design-headset.mood-resting .fig-z2{animation-delay:1.1s}.design-headset.mood-resting .fig-z3{animation-delay:2.2s}.design-headset.mood-resting .fig-light{opacity:.6}.design-headset.gesture-turn .fig-face{animation:headset-face-turn 1.6s ease-in-out}.design-headset.gesture-turn .fig-headset{animation:headset-band-turn 1.6s ease-in-out}.design-headset .fig-yawn{transform-box:fill-box;transform-origin:50% 20%;transform:scaleY(0)}.design-headset.phase-dozing .fig-eyes{animation:headset-droop 2.6s ease-in-out both}.design-headset.phase-dozing .fig-yawn{animation:headset-yawn 2.6s ease-in-out both}.design-headset.phase-waking .fig-eyes{animation:headset-pop .6s cubic-bezier(.3,1.8,.5,1) both}.design-headset.phase-waking .fig-light{animation:headset-flash .7s ease-out}.design-headset .fig-startle path{transform-box:fill-box;transform-origin:center}.design-headset.phase-waking .fig-startle path{animation:headset-startle .9s ease-out both}@keyframes headset-droop{0%{transform:scaleY(1)}25%{transform:scaleY(.45)}40%{transform:scaleY(.85)}70%{transform:scaleY(.3)}to{transform:scaleY(.05)}}@keyframes headset-yawn{0%,10%{transform:scaleY(0)}30%,45%{transform:scaleY(1)}65%,to{transform:scaleY(0)}}@keyframes headset-pop{0%{transform:scale(.2,.1)}55%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes headset-flash{0%{opacity:1}30%{opacity:.2}60%{opacity:1}}@keyframes headset-startle{0%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1.1)}to{opacity:0;transform:scale(1.3)}}@keyframes headset-blink{0%{transform:scaleY(1)}35%{transform:scaleY(.08)}50%{transform:scaleY(.08)}to{transform:scaleY(1)}}@keyframes headset-wave{0%,to{transform:rotate(0)}50%{transform:rotate(-38deg) translateY(-4px)}}@keyframes headset-cheer-l{0%,to{transform:rotate(0)}50%{transform:rotate(40deg) translateY(-6px)}}@keyframes headset-cheer-r{0%,to{transform:rotate(0)}50%{transform:rotate(-40deg) translateY(-6px)}}@keyframes headset-face-turn{0%,to{transform:translate(0)}30%{transform:translate(-13px)}70%{transform:translate(13px)}}@keyframes headset-band-turn{0%,to{transform:translate(0)}30%{transform:translate(-5px)}70%{transform:translate(5px)}}@keyframes headset-spin{to{transform:rotate(360deg)}}@keyframes headset-talk{0%,to{transform:scaleY(.4)}50%{transform:scaleY(1)}}@keyframes headset-floatz{0%{transform:translate(0);opacity:0}20%{opacity:1}to{transform:translate(10px,-24px);opacity:0}}@keyframes headset-twinkle{0%,to{transform:scale(.3);opacity:0}50%{transform:scale(1);opacity:1}}@keyframes headset-dot{0%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.design-headset *,.design-headset{animation:none!important}}.companion-figure{position:relative;display:block}.figure-motion{position:relative;will-change:transform;transform-origin:50% 90%;animation:figure-float 4.6s ease-in-out infinite}.figure-shadow{position:absolute;left:50%;bottom:0;width:46%;height:6%;margin-left:-23%;border-radius:50%;background:radial-gradient(closest-side,#0000006b,#0000);will-change:transform,opacity;animation:figure-shadow 4.6s ease-in-out infinite}.companion-figure.mood-working .figure-motion,.companion-figure.mood-working .figure-shadow{animation-duration:3.6s}.companion-figure.mood-thinking .figure-motion,.companion-figure.mood-thinking .figure-shadow{animation-duration:5.4s}.companion-figure.mood-needs .figure-motion{animation:figure-hop 1.6s cubic-bezier(.3,.6,.4,1) infinite}.companion-figure.mood-needs .figure-shadow{animation:figure-shadow-hop 1.6s cubic-bezier(.3,.6,.4,1) infinite}.companion-figure.mood-done .figure-motion{animation:figure-jump 1.3s cubic-bezier(.3,.7,.4,1) 2,figure-float 4.6s ease-in-out 2.6s infinite}.companion-figure.mood-hello .figure-motion{animation:figure-arrive-hop .9s cubic-bezier(.3,.7,.4,1) 1,figure-float 4.6s ease-in-out .9s infinite}.companion-figure.mood-talking .figure-motion{animation:figure-nod 1.3s ease-in-out infinite}.companion-figure.mood-dizzy .figure-motion{animation:figure-wobble .5s ease-in-out infinite}.companion-figure.mood-resting .figure-motion{animation:none;transform:translateY(6%) scale(1.03,.96);transition:transform .9s cubic-bezier(.3,.7,.3,1)}.companion-figure.mood-resting .figure-shadow{animation:none;opacity:.55;transform:scale(1.15)}.companion-figure.gesture-wiggle .figure-motion{animation:figure-wiggle .9s ease-in-out}.companion-figure.gesture-hop .figure-motion{animation:figure-arrive-hop .8s cubic-bezier(.3,.7,.4,1)}.companion-figure.phase-dozing .figure-motion{animation:figure-doze 2.6s ease-in-out both}.companion-figure.phase-waking .figure-motion{animation:figure-wake 1.2s cubic-bezier(.3,1.4,.5,1) both}.companion-figure.phase-waking .figure-shadow{animation:figure-shadow-hop 1.2s ease-out}.companion-figure.still .figure-motion,.companion-figure.still .figure-shadow{animation-play-state:paused}@keyframes figure-doze{0%{transform:translateY(0) rotate(0)}30%{transform:translateY(2%) rotate(3deg)}45%{transform:translateY(0) rotate(-1deg)}75%{transform:translateY(4%) rotate(4deg)}to{transform:translateY(6%) scale(1.03,.96)}}@keyframes figure-wake{0%{transform:translateY(6%) scale(1.03,.96)}30%{transform:translateY(-12%) scale(.95,1.06)}50%{transform:translateY(0) rotate(-3deg)}65%{transform:rotate(3deg)}80%{transform:rotate(-1.5deg)}to{transform:none}}@keyframes figure-float{0%,to{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-6%) rotate(1.2deg)}}@keyframes figure-shadow{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.8);opacity:.6}}@keyframes figure-hop{0%,to,70%{transform:translateY(0) scale(1)}12%{transform:translateY(0) scale(1.05,.95)}35%{transform:translateY(-11%) scale(.97,1.03)}55%{transform:translateY(0) scale(1.03,.97)}}@keyframes figure-shadow-hop{0%,to,70%{transform:scale(1);opacity:1}35%{transform:scale(.75);opacity:.5}}@keyframes figure-jump{0%,to,78%{transform:translateY(0) scale(1)}14%{transform:translateY(0) scale(1.07,.92)}40%{transform:translateY(-20%) scale(.95,1.05) rotate(-4deg)}62%{transform:translateY(0) scale(1.05,.95)}}@keyframes figure-arrive-hop{0%,to{transform:translateY(0)}40%{transform:translateY(-8%)}70%{transform:translateY(0) scale(1.03,.97)}}@keyframes figure-nod{0%,to{transform:rotate(0)}30%{transform:rotate(-2.5deg)}65%{transform:rotate(2deg)}}@keyframes figure-wobble{0%,to{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}@keyframes figure-wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-6deg)}50%{transform:rotate(5deg)}75%{transform:rotate(-3deg)}}@media(prefers-reduced-motion:reduce){.figure-motion,.figure-shadow{animation:none!important}}:root{--brand: #e07a4f;--ink: #f2f2f4;--muted: #a1a1aa;--surface: rgba(24, 24, 28, .97);--surface2: #26262b;--line: #34343c;--needs: #e0a22c;--working: #4f94f0;--done: #3fb57d;--idle: #6b6b75;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;font:13px/1.45 -apple-system,BlinkMacSystemFont,Inter,Segoe UI,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}body.desktop,body.desktop html{background:transparent;overflow:hidden;user-select:none}body.phone{background:#141416}button{font:inherit;color:inherit}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.grow{flex:1}.ellipsis{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dock{position:fixed;display:flex;flex-direction:column;gap:10px;padding:10px;max-width:420px}.dock.right{right:0;align-items:flex-end}.dock.left{left:0;align-items:flex-start}.dock.bottom{bottom:0}.dock.top{top:0;flex-direction:column-reverse}.dock.top .stack{flex-direction:column-reverse}.stack{display:flex;flex-direction:column;gap:8px;width:384px;max-height:calc(100vh - 150px);overflow-y:auto;overflow-x:hidden;padding:16px 16px 14px;margin:-16px -16px 0;box-sizing:content-box;scrollbar-width:none}.stack::-webkit-scrollbar{display:none}.dock.bottom .stack{justify-content:flex-end}.stack:empty{display:none}.companion{position:relative;width:104px;height:125px;cursor:grab;touch-action:none;will-change:transform;transition:transform .42s cubic-bezier(.22,1,.36,1),opacity .3s ease}.dock.right .companion{transform-origin:100% 100%}.dock.left .companion{transform-origin:0% 100%}.dock.top.right .companion{transform-origin:100% 0%}.dock.top.left .companion{transform-origin:0% 0%}.companion.tucked{transform:scale(.52);opacity:.94}.dock{transform-origin:100% 100%}.dock.left{transform-origin:0% 100%}.dock.top.right{transform-origin:100% 0%}.dock.top.left{transform-origin:0% 0%}.dock.leaving{animation:dock-leave .26s cubic-bezier(.4,0,1,1) forwards;pointer-events:none}.dock.arriving{animation:dock-arrive .52s cubic-bezier(.22,1,.36,1) both}@keyframes dock-leave{to{opacity:0;transform:translateY(14px) scale(.92)}}@keyframes dock-arrive{0%{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.dock.leaving,.dock.arriving{animation-duration:.01s}}.companion.entering{animation:arrive 1.1s cubic-bezier(.34,1.56,.64,1) both}.companion .companion-figure{position:absolute;bottom:0}.poof{position:absolute;left:50%;top:55%;width:90px;height:90px;margin:-45px 0 0 -45px;border-radius:50%;border:2px solid rgba(224,122,79,.55);pointer-events:none;animation:poof .55s ease-out both}@keyframes arrive{0%{opacity:0;transform:translateY(60px) scale(.4)}55%{opacity:1;transform:translateY(-10px) scale(1.06)}75%{transform:translateY(3px) scale(.98)}to{transform:none}}@keyframes poof{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.5)}}.dock.right .companion .companion-figure{right:0}.dock.left .companion .companion-figure{left:0}.companion-controls{position:absolute;top:2px;display:flex;gap:4px;opacity:0;transition:opacity .2s ease;z-index:2}.dock.right .companion-controls{left:-6px}.dock.left .companion-controls{right:-6px}.companion:hover .companion-controls{opacity:1}.companion-controls button{width:24px;height:24px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 2px 8px #00000059}.companion-controls button:hover{background:var(--surface2)}.companion.tucked .companion-controls{display:none}.companion:active{cursor:grabbing}.linkpill{position:absolute;bottom:calc(100% + 4px);display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:12px;white-space:nowrap;animation:slidein .3s ease-out both}.dock.right .linkpill{right:8px}.dock.left .linkpill{left:8px}.linkpill:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--needs);animation:softblink 1.2s ease-in-out infinite}@keyframes softblink{0%,to{opacity:1}50%{opacity:.35}}.hello{position:absolute;bottom:calc(100% + 8px);width:230px;padding:10px 13px;border-radius:14px;background:#221d1a;border:1px solid #4a3428;font-size:13px;line-height:1.45;color:var(--ink);box-shadow:0 10px 26px #00000059;pointer-events:none;animation:hellolife 7s ease both}.dock.right .hello{right:4px}.dock.left .hello{left:4px}.dock.top .hello{bottom:auto;top:calc(100% + 8px)}.hello b{color:var(--brand)}.hello.short{width:auto;white-space:nowrap;animation:hellolife 2.2s ease both}@keyframes hellolife{0%{opacity:0;transform:translateY(8px) scale(.95)}6%{opacity:1;transform:none}90%{opacity:1;transform:none}to{opacity:0;transform:translateY(4px)}}.toast{display:flex;align-items:center;gap:8px;height:46px;padding:0 8px 0 12px;border-radius:14px;background:var(--surface);border:1px solid #1f3d2d;box-shadow:0 10px 26px #00000059;animation:toastlife 12s ease both;min-width:0}.toasticon{color:var(--done);flex:none}.toasttext{flex:1;font-size:13px;color:#c8c8cf}.toasttext b{color:var(--ink);font-weight:600}.btn.small{height:28px;padding:0 10px;font-size:12.5px}@keyframes toastlife{0%{opacity:0;transform:translateY(8px)}3%{opacity:1;transform:none}92%{opacity:1;transform:none}to{opacity:0;transform:translateY(4px)}}.more{align-self:stretch;height:34px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--needs);cursor:pointer;font-weight:600}.card{position:relative;display:flex;flex-direction:column;gap:9px;padding:13px 14px 12px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px #0006;animation:slidein .35s ease-out both;overflow:hidden}.card.needs{border-color:#4a3d1e}.card.done{border-color:#1f3d2d}.card.say{gap:8px;background:#221d1a;border-color:#4a3428;overflow:visible}.card.say:after{content:"";position:absolute;bottom:-7px;width:12px;height:12px;background:#221d1a;border-right:1px solid #4a3428;border-bottom:1px solid #4a3428;transform:rotate(45deg)}.dock.right .card.say:after{right:46px}.dock.left .card.say:after{left:46px}.dock.top .card.say:after{display:none}.saytext.clamp{max-height:7.6em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}.asked{align-self:flex-end;max-width:85%;padding:6px 11px;border-radius:12px 12px 4px;background:var(--brand);color:#141416;font-size:12.5px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.card.thinking{gap:10px}.card.thinking .step{font-size:13px;color:#c8c8cf;display:inline-flex;align-items:center;gap:6px}.dots{display:inline-flex;gap:3px}.dots i{width:4px;height:4px;border-radius:50%;background:var(--brand);animation:thinkdot 1.1s ease-in-out infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes thinkdot{0%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.bar{position:relative;height:3px;border-radius:2px;background:#ffffff12;overflow:hidden}.bar span{position:absolute;top:0;bottom:0;width:38%;border-radius:2px;background:linear-gradient(90deg,transparent,var(--brand),transparent);animation:barslide 1.3s ease-in-out infinite}@keyframes barslide{0%{left:-40%}to{left:100%}}.linkbtn{align-self:flex-start;padding:0;border:0;background:none;color:var(--brand);font-size:12.5px;font-weight:600;cursor:pointer}.sayrow{display:flex;align-items:flex-start;gap:8px}.saychoices{display:flex;flex-wrap:wrap;gap:6px}.choice.light{font-size:12.5px}.saytext{flex:1;display:flex;flex-direction:column;gap:6px;font-size:13.5px;line-height:1.45;user-select:text;min-width:0}.saytext p{margin:0}.saytext p:first-child{color:var(--ink);font-weight:600}.saytext p+p{color:#c8c8cf}.saytext b{color:var(--ink);font-weight:600}.card.say .close{color:var(--muted)}.cardhead{display:flex;align-items:center;gap:7px;font-size:12px;min-width:0}.cardhead b{font-size:12.5px}.dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--idle)}.dot.needs,.dot.waiting{background:var(--needs)}.dot.done{background:var(--done)}.dot.working{background:var(--working);animation:pulse 1.6s ease-in-out infinite}.agentmark{display:inline-flex;flex:none}.agentmark svg{width:100%;height:100%}.qtext{font-size:14px;font-weight:500}.qhead{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.question{display:flex;flex-direction:column;gap:6px}.detail{margin:0;padding:9px 11px;border-radius:10px;background:#111114;font:12px/1.5 ui-monospace,SF Mono,Menlo,monospace;white-space:pre-wrap;word-break:break-word;max-height:140px;overflow:auto;user-select:text}.detail.plan{font-family:inherit;font-size:12.5px;max-height:200px}.did{font-size:12.5px;color:#c8c8cf;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.did.open{color:var(--needs)}.actions,.choices{display:flex;flex-wrap:wrap;gap:6px}.btn,.choice{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 11px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);cursor:pointer;font-size:13px;font-weight:500;transition:transform .1s ease,filter .1s ease}.btn:hover:not(:disabled),.choice:hover:not(:disabled){filter:brightness(1.15)}.btn:active:not(:disabled),.choice:active:not(:disabled){transform:scale(.96)}.btn:disabled,.choice:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--brand);border-color:var(--brand);color:#141416;font-weight:600}.btn.done{background:var(--done);border-color:var(--done);color:#0d1f16;font-weight:600}.btn.ghost{background:transparent;color:var(--muted)}.choice{border-color:#6b4a36;background:#2a201b;height:auto;min-height:32px;padding:6px 12px;text-align:left}.choice.on{border-color:var(--brand);background:#3a261c}.tick{width:14px;height:14px;border-radius:4px;border:1px solid var(--brand);display:grid;place-items:center}.iconbtn{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;flex:none}.iconbtn:hover{background:var(--surface2);color:var(--ink)}.iconbtn.term{width:32px;height:32px;margin-left:auto;border:1px solid var(--line)}.timeleft{position:absolute;left:0;right:0;bottom:0;height:2px;background:#ffffff0d}.timeleft span{display:block;height:100%;background:var(--needs);transition:width .5s linear}:focus-visible{outline:1px solid var(--brand);outline-offset:2px}.panel{display:flex;flex-direction:column;gap:10px;width:100%;max-height:min(560px,calc(100vh - 160px));overflow:hidden;padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 40px #00000073;animation:panelin .22s cubic-bezier(.2,.8,.2,1) both;user-select:none}.panelwrap{display:flex;flex-direction:column}.panelwrap.closing .panel{animation:panelout .16s ease-in both;pointer-events:none}.dock.right .panel{transform-origin:bottom right}.dock.left .panel{transform-origin:bottom left}.dock.top.right .panel{transform-origin:top right}.dock.top.left .panel{transform-origin:top left}.panel::-webkit-scrollbar{width:6px}.panel::-webkit-scrollbar-thumb{background:#3a3a42;border-radius:3px}.panel>*{flex-shrink:0}.stack>*{flex-shrink:0}.panel .card{box-shadow:none;animation:none;background:#1d1d21}.panel .card.say{background:#221d1a}.panel .card.say:after{display:none}.phonepage .panel{max-height:none;overflow:visible}.phonepage .panelscroll{overflow:visible}.phonepage .requests{max-height:none}.panelhead{display:flex;align-items:center;gap:8px}.iconbtn.on{color:var(--brand);background:var(--surface2)}.panelhead-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.panelhead-text b{font-size:15px}.ask,.tell{display:flex;gap:6px}.ask input,.tell input{flex:1;min-width:0;height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:#111114;color:var(--ink);font:inherit;font-size:13.5px;user-select:text}.ask input:focus,.tell input:focus{outline:none;border-color:var(--brand)}.ask .btn,.tell .btn{height:36px}.group h3,.settings h3{margin:4px 0 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.chats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.chat{border-radius:12px;transition:background .18s ease}.chat:hover,.chat.open{background:#ffffff0b}.chatline{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px}.chatavatar{position:relative;width:30px;height:30px;border-radius:9px;background:#26262b;display:grid;place-items:center}.statusdot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:var(--idle);box-shadow:0 0 0 2px var(--surface)}.statusdot.waiting{background:var(--needs)}.statusdot.working{background:var(--working)}.statusdot.done{background:var(--done)}.chattext{display:flex;flex-direction:column;gap:1px;min-width:0}.chattext b{font-weight:600;font-size:13px}.chatmeta{font-size:12px;color:var(--muted)}.chatmeta.waiting{color:var(--needs)}.rowactions{display:flex;gap:2px;opacity:0;transform:translate(6px);transition:opacity .18s ease,transform .22s ease}.chat:hover .rowactions,.chat:focus-within .rowactions,.chat.open .rowactions{opacity:1;transform:none}.tell{padding:0 8px 8px 48px}.settings{display:flex;flex-direction:column;gap:2px}.setrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 2px;font-size:13px}.setlabel{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:1px!important}.setlabel small{font-size:11.5px;line-height:1.35}.nameinput,.setrow select{width:150px;height:30px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:#111114;color:var(--ink);font:inherit;text-align:right;user-select:text}.nameinput:focus{outline:none;border-color:var(--brand)}.privacy{margin:6px 2px 0;font-size:11.5px;line-height:1.4}.phonepage .rowactions{opacity:1;transform:none}.setrow span{display:inline-flex;align-items:center;gap:6px}.toggle{position:relative;width:34px;height:20px;flex:none;padding:0;border:0;border-radius:999px;background:#ffffff2e;cursor:pointer;transition:background .25s ease}.toggle>span{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .28s cubic-bezier(.34,1.56,.64,1);box-shadow:0 1px 3px #0000004d}.toggle.on{background:var(--brand)}.toggle.on>span{transform:translate(14px)}.toggle:active>span{width:20px}.toggle.on:active>span{transform:translate(10px)}.phonelink{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease,opacity .3s ease;opacity:0}.phonelink.open{grid-template-rows:1fr;opacity:1}.phoneinner{overflow:hidden;display:flex;gap:12px;align-items:center;font-size:12px}.phonelink.open .phoneinner{padding:6px 2px 4px}.phonelink img{border-radius:10px;background:#fff;padding:6px;flex:none}.togglewrap{display:inline-flex!important;align-items:center;gap:8px!important}.saved{color:var(--done);opacity:0;transform:scale(.6);transition:opacity .2s ease,transform .25s cubic-bezier(.34,1.56,.64,1);display:inline-flex}.saved.show{opacity:1;transform:none}.toggle.busy>span{animation:knobpulse .6s ease-in-out infinite}@keyframes knobpulse{0%,to{box-shadow:0 0 #ffffff80}50%{box-shadow:0 0 0 4px #fff0}}.panelbody{display:flex;flex-direction:column;gap:10px;animation:viewin .22s cubic-bezier(.2,.8,.2,1) both}.panelscroll{flex:1 1 auto;flex-shrink:1!important;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px;scrollbar-width:thin}.panelscroll::-webkit-scrollbar{width:6px}.panelscroll::-webkit-scrollbar-thumb{background:#3a3a42;border-radius:3px}.requests{display:flex;flex-direction:column;gap:8px;max-height:46%;overflow-y:auto;flex-shrink:1!important;min-height:0}.requests.compact{gap:6px}.card.row{flex-direction:row;align-items:center;gap:6px;padding:8px 8px 8px 10px}.rowopen{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:0;border:0;background:none;text-align:left;cursor:pointer}.rowtext{display:flex;flex-direction:column;min-width:0;font-size:12.5px}.card.row .btn.small{width:32px;padding:0;justify-content:center}.card.row .btn.small:not(.primary){width:auto;padding:0 10px}.card.row .btn.small[aria-label]{width:32px;padding:0}.tabs{display:flex;gap:4px;padding:3px;border-radius:11px;background:#111114}.tab{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:12.5px;font-weight:500;cursor:pointer;transition:background .2s ease,color .2s ease}.tab.on{background:var(--surface2);color:var(--ink)}.tab .count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ffffff14;font-size:11px;display:inline-grid;place-items:center}.tab.on .count{background:var(--brand);color:#141416}.panelbody>*{flex-shrink:0}@keyframes viewin{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:none}}.empty{margin:4px 0}.foot{margin:2px 0 0;font-size:11px;text-align:right}.phonepage{display:flex;flex-direction:column;gap:12px;padding:max(16px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));max-width:640px;margin:0 auto}.phonehead{display:flex;align-items:center;gap:12px}.phonehead div{display:flex;flex-direction:column}.phonehead b{font-size:20px}.phonepage .panel{max-height:none;border:0;padding:0;background:transparent;box-shadow:none}.phonepage .panel>.panelhead{display:none}.phonepage .btn,.phonepage .choice{height:44px;padding:0 16px;font-size:15px}.phonepage .ask input{height:44px;font-size:16px}.phonepage .qtext{font-size:16px}.offline{margin:0;padding:10px 12px;border-radius:12px;background:#3a2a14;color:var(--needs)}@keyframes slidein{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes panelin{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}@keyframes panelout{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(10px) scale(.96)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.phonepage .card{box-shadow:none;padding:16px;gap:12px;border-radius:18px}.phonepage .cardhead{font-size:14px}.phonepage .cardhead b{font-size:15px}.phonepage .card.needs .qtext{font-size:19px;font-weight:600;line-height:1.3}.phonepage .detail{font-size:14px;padding:12px 14px;max-height:38vh}.phonepage .card.needs .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.phonepage .card.needs .actions .btn{height:50px;justify-content:center;font-size:16px;border-radius:14px}.phonepage .card.needs .actions .btn.primary{grid-column:1 / -1;height:56px;font-size:18px;font-weight:600}.phonepage .card.needs .actions:not(:has(>:nth-child(3)))>.btn{grid-column:1 / -1}.phonepage .choices{display:grid;gap:10px}.phonepage .choice{height:auto;min-height:50px;padding:12px 16px;font-size:16px;border-radius:14px;justify-content:flex-start;text-align:left;white-space:normal}.phonepage .card.row{padding:10px 12px}.phonepage .card.row .btn.small{width:48px;height:44px;justify-content:center;border-radius:12px}.phonepage .rowopen{min-height:44px}.phonepage .tab{min-height:44px;font-size:15px}.phonepage .chat{min-height:56px}.phonepage .iconbtn{width:44px;height:44px}.btn.wide{width:100%;height:52px;justify-content:center;font-size:17px;font-weight:600;border-radius:14px}.card.hint{border-color:#3a3a44;gap:10px}.card.hint b{display:inline-flex;align-items:center;gap:8px;font-size:16px}.steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.4}.steps svg{vertical-align:-2px}.linkscreen{align-items:center;text-align:center;justify-content:center;min-height:100dvh;gap:18px}.linkscreen h1{margin:0;font-size:26px}.linkscreen .steps{text-align:left;align-self:stretch;max-width:360px;margin:0 auto}.linkscreen .btn.wide{max-width:360px}.phonefoot{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;padding:18px 0 8px}.linkbtn{background:none;border:0;color:var(--muted);font-size:14px;padding:10px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.scanner{position:fixed;inset:0;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:14px;padding:0 16px max(28px,env(safe-area-inset-bottom));z-index:10}.scanner video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scanframe{position:absolute;top:50%;left:50%;width:min(70vw,280px);aspect-ratio:1;transform:translate(-50%,-60%);border:3px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 0 0 100vmax #00000073}.scanner p,.scanner .btn{position:relative}.scanner p{color:#fff;font-size:16px;text-align:center;margin:0}.scanner .btn{height:50px;min-width:160px;justify-content:center;font-size:16px}.linksteps{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:4px;font-size:12px}.linkurl{font-size:10px;word-break:break-all;max-width:150px}.rowbtns{display:inline-flex;gap:6px}.testline{margin:-4px 0 2px;font-size:12px;line-height:1.4;color:var(--muted)}.testline.ok{color:#6fd39a}.testline.bad{color:var(--needs)}body.phone .figure-motion,body.phone .figure-shadow{will-change:auto}.phonepage.home{gap:22px;padding:calc(env(safe-area-inset-top) + 14px) 18px calc(env(safe-area-inset-bottom) + 24px)}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:32px}.brand{font-size:17px;font-weight:700;letter-spacing:-.01em}.macpill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:13px;color:var(--muted)}.macpill .dot{width:8px;height:8px;border-radius:50%;background:#6b6b75}.macpill.on .dot{background:#3fb57d;box-shadow:0 0 0 3px #3fb57d2e}.hero{display:flex;align-items:center;gap:16px;padding:18px;border-radius:22px;background:linear-gradient(160deg,#1f1f24,#18181c);border:1px solid var(--line)}.hero.needs{border-color:#4a3d1e;background:linear-gradient(160deg,#26211a,#1a1816)}.hero .companion-figure{flex:none}.herotext{display:flex;flex-direction:column;gap:4px;min-width:0}.herotext h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.015em}.herotext p{margin:0;font-size:15px}.psection{display:flex;flex-direction:column;gap:10px}.psection h2{margin:0 2px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.psection h2 .count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--surface2);color:var(--ink);font-size:12px;display:inline-grid;place-items:center;letter-spacing:0}.plist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-radius:18px;background:var(--surface);border:1px solid var(--line);overflow:hidden}.pitem{display:flex;gap:12px;padding:14px 16px;align-items:flex-start}.pitem+.pitem{border-top:1px solid var(--line)}.pmark{position:relative;flex:none;width:34px;height:34px;border-radius:10px;background:var(--surface2);display:grid;place-items:center}.pulse{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:var(--needs);border:2px solid var(--surface);animation:softblink 1.6s ease-in-out infinite}.ptext{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.ptop{display:flex;align-items:baseline;gap:10px;min-width:0}.ptop b{flex:1;min-width:0;font-size:16px}.ptop .muted{flex:none;font-size:13px}.pproj{font-size:13px}.psum{font-size:15px;line-height:1.45;color:#d4d4da;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.psum.open{-webkit-line-clamp:unset;display:block}.pempty{margin:0 2px;font-size:15px}.phonepage .cardhead{flex-wrap:wrap;row-gap:2px}.phonepage .cardhead>.muted.ellipsis{order:9;flex-basis:100%;padding-left:30px;font-size:13px}.linkscreen .lead{margin:0 auto;max-width:360px;font-size:15px;line-height:1.5}
1
+ .design-headset{overflow:visible;display:block}.design-headset .fig-on,.design-headset .fig-off{transition:opacity .35s ease}.design-headset .fig-on{opacity:1}.design-headset .fig-off{opacity:0}.design-headset .fig-body{transform-box:view-box;transform-origin:100px 196px}.design-headset .fig-eyes{transform-box:fill-box;transform-origin:center;transition:opacity .35s ease}.design-headset .fig-eyes.fig-blink{animation:headset-blink .26s ease-in-out}.design-headset .fig-pupils{transition:transform .25s ease-out}.design-headset .fig-face,.design-headset .fig-headset{transition:transform .35s ease-out}.design-headset .fig-cheek{opacity:.75;transition:opacity .4s ease,fill .4s ease}.design-headset .fig-cheek.fig-blush{opacity:1;fill:#f59a85}.design-headset .fig-light{transition:fill .5s ease}.design-headset .fig-badge{transform-box:fill-box;transform-origin:20% 100%;transition:opacity .25s ease,transform .35s cubic-bezier(.2,1.6,.4,1);transform:scale(.4)}.design-headset .fig-badge.fig-on{transform:scale(1)}.design-headset .fig-arm-left{transform-box:fill-box;transform-origin:70% 10%}.design-headset .fig-arm-right{transform-box:fill-box;transform-origin:30% 10%}.design-headset .fig-mouth-talk{transform-box:fill-box;transform-origin:50% 0%}.design-headset .fig-sparkle,.design-headset .fig-spin{transform-box:fill-box;transform-origin:center}.design-headset.mood-needs .fig-arm-right{animation:headset-wave 1s ease-in-out 3}.design-headset.mood-done .fig-arm-left{animation:headset-cheer-l .65s ease-in-out 3}.design-headset.mood-done .fig-arm-right{animation:headset-cheer-r .65s ease-in-out 3}.design-headset.mood-hello .fig-arm-right{animation:headset-wave .8s ease-in-out 3}.design-headset.mood-done .fig-sparkle,.design-headset.mood-hello .fig-sparkle{animation:headset-twinkle 1.6s ease-in-out 2 both}.design-headset .fig-sparkle2{animation-delay:.5s!important}.design-headset .fig-sparkle3{animation-delay:1s!important}.design-headset.mood-talking .fig-mouth-talk{animation:headset-talk .42s ease-in-out infinite}.design-headset.mood-thinking .fig-dot{animation:headset-dot 1.2s ease-in-out infinite}.design-headset.mood-thinking .fig-dot2{animation-delay:.2s}.design-headset.mood-thinking .fig-dot3{animation-delay:.4s}.design-headset.mood-dizzy .fig-spin{animation:headset-spin .9s linear infinite}.design-headset .fig-z{display:none}.design-headset.mood-resting .fig-light{opacity:.6}.design-headset.gesture-turn .fig-face{animation:headset-face-turn 1.6s ease-in-out}.design-headset.gesture-turn .fig-headset{animation:headset-band-turn 1.6s ease-in-out}.design-headset .fig-yawn{transform-box:fill-box;transform-origin:50% 20%;transform:scaleY(0)}.design-headset.phase-dozing .fig-eyes{animation:headset-droop 2.6s ease-in-out both}.design-headset.phase-dozing .fig-yawn{animation:headset-yawn 2.6s ease-in-out both}.design-headset.phase-waking .fig-eyes{animation:headset-pop .6s cubic-bezier(.3,1.8,.5,1) both}.design-headset.phase-waking .fig-light{animation:headset-flash .7s ease-out}.design-headset .fig-startle path{transform-box:fill-box;transform-origin:center}.design-headset.phase-waking .fig-startle path{animation:headset-startle .9s ease-out both}@keyframes headset-droop{0%{transform:scaleY(1)}25%{transform:scaleY(.45)}40%{transform:scaleY(.85)}70%{transform:scaleY(.3)}to{transform:scaleY(.05)}}@keyframes headset-yawn{0%,10%{transform:scaleY(0)}30%,45%{transform:scaleY(1)}65%,to{transform:scaleY(0)}}@keyframes headset-pop{0%{transform:scale(.2,.1)}55%{transform:scale(1.25)}to{transform:scale(1)}}@keyframes headset-flash{0%{opacity:1}30%{opacity:.2}60%{opacity:1}}@keyframes headset-startle{0%{opacity:0;transform:scale(.3)}30%{opacity:1;transform:scale(1.1)}to{opacity:0;transform:scale(1.3)}}@keyframes headset-blink{0%{transform:scaleY(1)}35%{transform:scaleY(.08)}50%{transform:scaleY(.08)}to{transform:scaleY(1)}}@keyframes headset-wave{0%,to{transform:rotate(0)}50%{transform:rotate(-38deg) translateY(-4px)}}@keyframes headset-cheer-l{0%,to{transform:rotate(0)}50%{transform:rotate(40deg) translateY(-6px)}}@keyframes headset-cheer-r{0%,to{transform:rotate(0)}50%{transform:rotate(-40deg) translateY(-6px)}}@keyframes headset-face-turn{0%,to{transform:translate(0)}30%{transform:translate(-13px)}70%{transform:translate(13px)}}@keyframes headset-band-turn{0%,to{transform:translate(0)}30%{transform:translate(-5px)}70%{transform:translate(5px)}}@keyframes headset-spin{to{transform:rotate(360deg)}}@keyframes headset-talk{0%,to{transform:scaleY(.4)}50%{transform:scaleY(1)}}@keyframes headset-floatz{0%{transform:translate(0);opacity:0}20%{opacity:1}to{transform:translate(10px,-24px);opacity:0}}@keyframes headset-twinkle{0%,to{transform:scale(.3);opacity:0}50%{transform:scale(1);opacity:1}}@keyframes headset-dot{0%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.design-headset *,.design-headset{animation:none!important}}.companion-figure{position:relative;display:block}.figure-motion{position:relative;will-change:transform;transform-origin:50% 90%;animation:figure-float 4.6s ease-in-out infinite}.figure-shadow{position:absolute;left:50%;bottom:0;width:46%;height:6%;margin-left:-23%;border-radius:50%;background:radial-gradient(closest-side,#0000006b,#0000);will-change:transform,opacity;animation:figure-shadow 4.6s ease-in-out infinite}.companion-figure.mood-working .figure-motion,.companion-figure.mood-working .figure-shadow{animation-duration:3.6s}.companion-figure.mood-thinking .figure-motion,.companion-figure.mood-thinking .figure-shadow{animation-duration:5.4s}.companion-figure.mood-needs .figure-motion{animation:figure-hop 1.6s cubic-bezier(.3,.6,.4,1) infinite}.companion-figure.mood-needs .figure-shadow{animation:figure-shadow-hop 1.6s cubic-bezier(.3,.6,.4,1) infinite}.companion-figure.mood-done .figure-motion{animation:figure-jump 1.3s cubic-bezier(.3,.7,.4,1) 2,figure-float 4.6s ease-in-out 2.6s infinite}.companion-figure.mood-hello .figure-motion{animation:figure-arrive-hop .9s cubic-bezier(.3,.7,.4,1) 1,figure-float 4.6s ease-in-out .9s infinite}.companion-figure.mood-talking .figure-motion{animation:figure-nod 1.3s ease-in-out infinite}.companion-figure.mood-dizzy .figure-motion{animation:figure-wobble .5s ease-in-out infinite}.companion-figure.mood-resting .figure-motion{animation:none;transform:translateY(6%) scale(1.03,.96);transition:transform .9s cubic-bezier(.3,.7,.3,1)}.companion-figure.mood-resting .figure-shadow{animation:none;opacity:.55;transform:scale(1.15)}.companion-figure.mood-resting.scene .figure-motion{animation:figure-breathe 5.2s ease-in-out 1}.companion-figure.mood-resting.scene .figure-shadow{animation:figure-shadow-breathe 5.2s ease-in-out 1}.companion-figure.gesture-wiggle .figure-motion{animation:figure-wiggle .9s ease-in-out}.companion-figure.gesture-hop .figure-motion{animation:figure-arrive-hop .8s cubic-bezier(.3,.7,.4,1)}.companion-figure.phase-dozing .figure-motion{animation:figure-doze 2.6s ease-in-out both}.companion-figure.phase-waking .figure-motion{animation:figure-wake 1.2s cubic-bezier(.3,1.4,.5,1) both}.companion-figure.phase-waking .figure-shadow{animation:figure-shadow-hop 1.2s ease-out}.companion-figure.still:not(.scene) .figure-motion,.companion-figure.still:not(.scene) .figure-shadow{animation-play-state:paused}@keyframes figure-breathe{0%,to{transform:translateY(6%) scale(1.03,.96)}50%{transform:translateY(4.6%) scale(1.005,.99)}}@keyframes figure-shadow-breathe{0%,to{opacity:.55;transform:scale(1.15)}50%{opacity:.45;transform:scale(1.08)}}@keyframes figure-doze{0%{transform:translateY(0) rotate(0)}30%{transform:translateY(2%) rotate(3deg)}45%{transform:translateY(0) rotate(-1deg)}75%{transform:translateY(4%) rotate(4deg)}to{transform:translateY(6%) scale(1.03,.96)}}@keyframes figure-wake{0%{transform:translateY(6%) scale(1.03,.96)}30%{transform:translateY(-12%) scale(.95,1.06)}50%{transform:translateY(0) rotate(-3deg)}65%{transform:rotate(3deg)}80%{transform:rotate(-1.5deg)}to{transform:none}}@keyframes figure-float{0%,to{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-6%) rotate(1.2deg)}}@keyframes figure-shadow{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.8);opacity:.6}}@keyframes figure-hop{0%,to,70%{transform:translateY(0) scale(1)}12%{transform:translateY(0) scale(1.05,.95)}35%{transform:translateY(-11%) scale(.97,1.03)}55%{transform:translateY(0) scale(1.03,.97)}}@keyframes figure-shadow-hop{0%,to,70%{transform:scale(1);opacity:1}35%{transform:scale(.75);opacity:.5}}@keyframes figure-jump{0%,to,78%{transform:translateY(0) scale(1)}14%{transform:translateY(0) scale(1.07,.92)}40%{transform:translateY(-20%) scale(.95,1.05) rotate(-4deg)}62%{transform:translateY(0) scale(1.05,.95)}}@keyframes figure-arrive-hop{0%,to{transform:translateY(0)}40%{transform:translateY(-8%)}70%{transform:translateY(0) scale(1.03,.97)}}@keyframes figure-nod{0%,to{transform:rotate(0)}30%{transform:rotate(-2.5deg)}65%{transform:rotate(2deg)}}@keyframes figure-wobble{0%,to{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}@keyframes figure-wiggle{0%,to{transform:rotate(0)}25%{transform:rotate(-6deg)}50%{transform:rotate(5deg)}75%{transform:rotate(-3deg)}}.fx{position:absolute;inset:0;pointer-events:none}.fx>span{position:absolute;display:none}.fx-antenna,.fx-zzz{width:0;height:0}.companion-figure.mood-working.scene .fx-antenna{display:block}.fx-antenna b,.fx-antenna i{position:absolute;border-radius:50%;will-change:transform,opacity}.fx-antenna b{width:2em;height:2em;margin:-1em 0 0 -1em;background:radial-gradient(closest-side,#6eaffff2,#6eafff00);animation:fx-glow 2s ease-in-out 2 both}.fx-antenna i{width:1.4em;height:1.4em;margin:-.7em 0 0 -.7em;border:.14em solid rgba(110,175,255,.8);animation:fx-wave 2.4s ease-out 1 both}.fx-antenna i:last-child{animation-delay:1.4s}@keyframes fx-glow{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}@keyframes fx-wave{0%{opacity:.9;transform:scale(.5)}to{opacity:0;transform:scale(2.8)}}.companion-figure.mood-resting.scene .fx-zzz,.companion-figure.mood-resting.scene .fx-bubble{display:block}.fx-zzz i{position:absolute;left:0;top:0;font:700 1.5em/1 ui-rounded,-apple-system,SF Pro Rounded,system-ui,sans-serif;font-style:normal;color:#cfd8ff;text-shadow:0 .05em .2em rgba(0,0,0,.35);opacity:0;will-change:transform,opacity;animation:fx-z 3.6s ease-out 1 both}.fx-zzz i:nth-child(2){font-size:1.2em;animation-delay:.8s}.fx-zzz i:nth-child(3){font-size:.95em;animation-delay:1.6s}@keyframes fx-z{0%{opacity:0;transform:translate(0) scale(.6) rotate(-8deg)}18%{opacity:.95}55%{transform:translate(.7em,-2em) scale(.95) rotate(6deg)}to{opacity:0;transform:translate(.2em,-3.6em) scale(1.15) rotate(-4deg)}}.fx-bubble{width:2.1em;height:2.1em;margin:-1.05em 0 0;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffffe6,#c8e4ff66 42%,#c8e4ff1f 72%);box-shadow:inset 0 0 0 .06em #ffffff80;transform-origin:0% 50%;will-change:transform,opacity;animation:fx-bubble 5.2s ease-in-out 1 both}@keyframes fx-bubble{0%,to{opacity:.5;transform:scale(.3)}50%{opacity:.95;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.figure-motion,.figure-shadow,.fx *{animation:none!important}}:root{--brand: #e07a4f;--ink: #f2f2f4;--muted: #a1a1aa;--surface: rgba(24, 24, 28, .97);--surface2: #26262b;--line: #34343c;--needs: #e0a22c;--working: #4f94f0;--done: #3fb57d;--idle: #6b6b75;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;font:13px/1.45 -apple-system,BlinkMacSystemFont,Inter,Segoe UI,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}body.desktop,body.desktop html{background:transparent;overflow:hidden;user-select:none}body.phone{background:#141416}button{font:inherit;color:inherit}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.muted{color:var(--muted)}.grow{flex:1}.ellipsis{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dock{position:fixed;display:flex;flex-direction:column;gap:10px;padding:10px;max-width:420px}.dock.right{right:0;align-items:flex-end}.dock.left{left:0;align-items:flex-start}.dock.bottom{bottom:0}.dock.top{top:0;flex-direction:column-reverse}.dock.top .stack{flex-direction:column-reverse}.stack{display:flex;flex-direction:column;gap:8px;width:384px;max-height:calc(100vh - 150px);overflow-y:auto;overflow-x:hidden;padding:16px 16px 14px;margin:-16px -16px 0;box-sizing:content-box;scrollbar-width:none}.stack::-webkit-scrollbar{display:none}.dock.bottom .stack{justify-content:flex-end}.stack:empty{display:none}.companion{position:relative;width:104px;height:125px;cursor:grab;touch-action:none;will-change:transform;transition:transform .42s cubic-bezier(.22,1,.36,1),opacity .3s ease}.dock.right .companion{transform-origin:100% 100%}.dock.left .companion{transform-origin:0% 100%}.dock.top.right .companion{transform-origin:100% 0%}.dock.top.left .companion{transform-origin:0% 0%}.companion.tucked{transform:scale(.52);opacity:.94}.dock{transform-origin:100% 100%}.dock.left{transform-origin:0% 100%}.dock.top.right{transform-origin:100% 0%}.dock.top.left{transform-origin:0% 0%}.dock.leaving{animation:dock-leave .26s cubic-bezier(.4,0,1,1) forwards;pointer-events:none}.dock.arriving{animation:dock-arrive .52s cubic-bezier(.22,1,.36,1) both}@keyframes dock-leave{to{opacity:0;transform:translateY(14px) scale(.92)}}@keyframes dock-arrive{0%{opacity:0;transform:translateY(18px) scale(.92)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.dock.leaving,.dock.arriving{animation-duration:.01s}}.companion.entering{animation:arrive 1.1s cubic-bezier(.34,1.56,.64,1) both}.companion .companion-figure{position:absolute;bottom:0}.poof{position:absolute;left:50%;top:55%;width:90px;height:90px;margin:-45px 0 0 -45px;border-radius:50%;border:2px solid rgba(224,122,79,.55);pointer-events:none;animation:poof .55s ease-out both}@keyframes arrive{0%{opacity:0;transform:translateY(60px) scale(.4)}55%{opacity:1;transform:translateY(-10px) scale(1.06)}75%{transform:translateY(3px) scale(.98)}to{transform:none}}@keyframes poof{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(1.5)}}.dock.right .companion .companion-figure{right:0}.dock.left .companion .companion-figure{left:0}.companion-controls{position:absolute;top:2px;display:flex;gap:4px;opacity:0;transition:opacity .2s ease;z-index:2}.dock.right .companion-controls{left:-6px}.dock.left .companion-controls{right:-6px}.companion:hover .companion-controls{opacity:1}.companion-controls button{width:24px;height:24px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 2px 8px #00000059}.companion-controls button:hover{background:var(--surface2)}.companion.tucked .companion-controls{display:none}.companion:active{cursor:grabbing}.linkpill{position:absolute;bottom:calc(100% + 4px);display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:13px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:12px;white-space:nowrap;animation:slidein .3s ease-out both}.dock.right .linkpill{right:8px}.dock.left .linkpill{left:8px}.linkpill:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--needs);animation:softblink 1.2s ease-in-out infinite}@keyframes softblink{0%,to{opacity:1}50%{opacity:.35}}.hello{position:absolute;bottom:calc(100% + 8px);width:230px;padding:10px 13px;border-radius:14px;background:#221d1a;border:1px solid #4a3428;font-size:13px;line-height:1.45;color:var(--ink);box-shadow:0 10px 26px #00000059;pointer-events:none;animation:hellolife 7s ease both}.dock.right .hello{right:4px}.dock.left .hello{left:4px}.dock.top .hello{bottom:auto;top:calc(100% + 8px)}.hello b{color:var(--brand)}.hello.short{width:auto;white-space:nowrap;animation:hellolife 2.2s ease both}@keyframes hellolife{0%{opacity:0;transform:translateY(8px) scale(.95)}6%{opacity:1;transform:none}90%{opacity:1;transform:none}to{opacity:0;transform:translateY(4px)}}.toast{display:flex;align-items:center;gap:8px;height:46px;padding:0 8px 0 12px;border-radius:14px;background:var(--surface);border:1px solid #1f3d2d;box-shadow:0 10px 26px #00000059;animation:toastlife 12s ease both;min-width:0}.toasticon{color:var(--done);flex:none}.toasttext{flex:1;font-size:13px;color:#c8c8cf}.toasttext b{color:var(--ink);font-weight:600}.btn.small{height:28px;padding:0 10px;font-size:12.5px}@keyframes toastlife{0%{opacity:0;transform:translateY(8px)}3%{opacity:1;transform:none}92%{opacity:1;transform:none}to{opacity:0;transform:translateY(4px)}}.more{align-self:stretch;height:34px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--needs);cursor:pointer;font-weight:600}.card{position:relative;display:flex;flex-direction:column;gap:9px;padding:13px 14px 12px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px #0006;animation:slidein .35s ease-out both;overflow:hidden}.card.needs{border-color:#4a3d1e}.card.done{border-color:#1f3d2d}.card.say{gap:8px;background:#221d1a;border-color:#4a3428;overflow:visible}.card.say:after{content:"";position:absolute;bottom:-7px;width:12px;height:12px;background:#221d1a;border-right:1px solid #4a3428;border-bottom:1px solid #4a3428;transform:rotate(45deg)}.dock.right .card.say:after{right:46px}.dock.left .card.say:after{left:46px}.dock.top .card.say:after{display:none}.saytext.clamp{max-height:7.6em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}.asked{align-self:flex-end;max-width:85%;padding:6px 11px;border-radius:12px 12px 4px;background:var(--brand);color:#141416;font-size:12.5px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.card.thinking{gap:10px}.card.thinking .step{font-size:13px;color:#c8c8cf;display:inline-flex;align-items:center;gap:6px}.dots{display:inline-flex;gap:3px}.dots i{width:4px;height:4px;border-radius:50%;background:var(--brand);animation:thinkdot 1.1s ease-in-out infinite}.dots i:nth-child(2){animation-delay:.15s}.dots i:nth-child(3){animation-delay:.3s}@keyframes thinkdot{0%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.bar{position:relative;height:3px;border-radius:2px;background:#ffffff12;overflow:hidden}.bar span{position:absolute;top:0;bottom:0;width:38%;border-radius:2px;background:linear-gradient(90deg,transparent,var(--brand),transparent);animation:barslide 1.3s ease-in-out infinite}@keyframes barslide{0%{left:-40%}to{left:100%}}.linkbtn{align-self:flex-start;padding:0;border:0;background:none;color:var(--brand);font-size:12.5px;font-weight:600;cursor:pointer}.sayrow{display:flex;align-items:flex-start;gap:8px}.saychoices{display:flex;flex-wrap:wrap;gap:6px}.choice.light{font-size:12.5px}.saytext{flex:1;display:flex;flex-direction:column;gap:6px;font-size:13.5px;line-height:1.45;user-select:text;min-width:0}.saytext p{margin:0}.saytext p:first-child{color:var(--ink);font-weight:600}.saytext p+p{color:#c8c8cf}.saytext b{color:var(--ink);font-weight:600}.card.say .close{color:var(--muted)}.cardhead{display:flex;align-items:center;gap:7px;font-size:12px;min-width:0}.cardhead b{font-size:12.5px}.dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--idle)}.dot.needs,.dot.waiting{background:var(--needs)}.dot.done{background:var(--done)}.dot.working{background:var(--working);animation:pulse 1.6s ease-in-out infinite}.agentmark{display:inline-flex;flex:none}.agentmark svg{width:100%;height:100%}.qtext{font-size:14px;font-weight:500}.qhead{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.question{display:flex;flex-direction:column;gap:6px}.detail{margin:0;padding:9px 11px;border-radius:10px;background:#111114;font:12px/1.5 ui-monospace,SF Mono,Menlo,monospace;white-space:pre-wrap;word-break:break-word;max-height:140px;overflow:auto;user-select:text}.detail.plan{font-family:inherit;font-size:12.5px;max-height:200px}.did{font-size:12.5px;color:#c8c8cf;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.did.open{color:var(--needs)}.actions,.choices{display:flex;flex-wrap:wrap;gap:6px}.btn,.choice{display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 11px;border-radius:10px;border:1px solid var(--line);background:var(--surface2);cursor:pointer;font-size:13px;font-weight:500;transition:transform .1s ease,filter .1s ease}.btn:hover:not(:disabled),.choice:hover:not(:disabled){filter:brightness(1.15)}.btn:active:not(:disabled),.choice:active:not(:disabled){transform:scale(.96)}.btn:disabled,.choice:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--brand);border-color:var(--brand);color:#141416;font-weight:600}.btn.done{background:var(--done);border-color:var(--done);color:#0d1f16;font-weight:600}.btn.ghost{background:transparent;color:var(--muted)}.choice{border-color:#6b4a36;background:#2a201b;height:auto;min-height:32px;padding:6px 12px;text-align:left}.choice.on{border-color:var(--brand);background:#3a261c}.tick{width:14px;height:14px;border-radius:4px;border:1px solid var(--brand);display:grid;place-items:center}.iconbtn{display:inline-grid;place-items:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;flex:none}.iconbtn:hover{background:var(--surface2);color:var(--ink)}.iconbtn.term{width:32px;height:32px;margin-left:auto;border:1px solid var(--line)}.timeleft{position:absolute;left:0;right:0;bottom:0;height:2px;background:#ffffff0d}.timeleft span{display:block;height:100%;background:var(--needs);transition:width .5s linear}:focus-visible{outline:1px solid var(--brand);outline-offset:2px}.panel{display:flex;flex-direction:column;gap:10px;width:100%;max-height:min(560px,calc(100vh - 160px));overflow:hidden;padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 16px 40px #00000073;animation:panelin .22s cubic-bezier(.2,.8,.2,1) both;user-select:none}.panelwrap{display:flex;flex-direction:column}.panelwrap.closing .panel{animation:panelout .16s ease-in both;pointer-events:none}.dock.right .panel{transform-origin:bottom right}.dock.left .panel{transform-origin:bottom left}.dock.top.right .panel{transform-origin:top right}.dock.top.left .panel{transform-origin:top left}.panel::-webkit-scrollbar{width:6px}.panel::-webkit-scrollbar-thumb{background:#3a3a42;border-radius:3px}.panel>*{flex-shrink:0}.stack>*{flex-shrink:0}.panel .card{box-shadow:none;animation:none;background:#1d1d21}.panel .card.say{background:#221d1a}.panel .card.say:after{display:none}.phonepage .panel{max-height:none;overflow:visible}.phonepage .panelscroll{overflow:visible}.phonepage .requests{max-height:none}.panelhead{display:flex;align-items:center;gap:8px}.iconbtn.on{color:var(--brand);background:var(--surface2)}.panelhead-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.panelhead-text b{font-size:15px}.ask,.tell{display:flex;gap:6px}.ask input,.tell input{flex:1;min-width:0;height:36px;padding:0 12px;border-radius:10px;border:1px solid var(--line);background:#111114;color:var(--ink);font:inherit;font-size:13.5px;user-select:text}.ask input:focus,.tell input:focus{outline:none;border-color:var(--brand)}.ask .btn,.tell .btn{height:36px}.group h3,.settings h3{margin:4px 0 6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.chats{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.chat{border-radius:12px;transition:background .18s ease}.chat:hover,.chat.open{background:#ffffff0b}.chatline{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px}.chatavatar{position:relative;width:30px;height:30px;border-radius:9px;background:#26262b;display:grid;place-items:center}.statusdot{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:var(--idle);box-shadow:0 0 0 2px var(--surface)}.statusdot.waiting{background:var(--needs)}.statusdot.working{background:var(--working)}.statusdot.done{background:var(--done)}.chattext{display:flex;flex-direction:column;gap:1px;min-width:0}.chattext b{font-weight:600;font-size:13px}.chatmeta{font-size:12px;color:var(--muted)}.chatmeta.waiting{color:var(--needs)}.rowactions{display:flex;gap:2px;opacity:0;transform:translate(6px);transition:opacity .18s ease,transform .22s ease}.chat:hover .rowactions,.chat:focus-within .rowactions,.chat.open .rowactions{opacity:1;transform:none}.tell{padding:0 8px 8px 48px}.settings{display:flex;flex-direction:column;gap:2px}.setrow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 2px;font-size:13px}.setlabel{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:1px!important}.setlabel small{font-size:11.5px;line-height:1.35}.nameinput,.setrow select{width:150px;height:30px;padding:0 10px;border-radius:8px;border:1px solid var(--line);background:#111114;color:var(--ink);font:inherit;text-align:right;user-select:text}.nameinput:focus{outline:none;border-color:var(--brand)}.privacy{margin:6px 2px 0;font-size:11.5px;line-height:1.4}.phonepage .rowactions{opacity:1;transform:none}.setrow span{display:inline-flex;align-items:center;gap:6px}.toggle{position:relative;width:34px;height:20px;flex:none;padding:0;border:0;border-radius:999px;background:#ffffff2e;cursor:pointer;transition:background .25s ease}.toggle>span{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .28s cubic-bezier(.34,1.56,.64,1);box-shadow:0 1px 3px #0000004d}.toggle.on{background:var(--brand)}.toggle.on>span{transform:translate(14px)}.toggle:active>span{width:20px}.toggle.on:active>span{transform:translate(10px)}.phonelink{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease,opacity .3s ease;opacity:0}.phonelink.open{grid-template-rows:1fr;opacity:1}.phoneinner{overflow:hidden;display:flex;gap:12px;align-items:center;font-size:12px}.phonelink.open .phoneinner{padding:6px 2px 4px}.phonelink img{border-radius:10px;background:#fff;padding:6px;flex:none}.togglewrap{display:inline-flex!important;align-items:center;gap:8px!important}.saved{color:var(--done);opacity:0;transform:scale(.6);transition:opacity .2s ease,transform .25s cubic-bezier(.34,1.56,.64,1);display:inline-flex}.saved.show{opacity:1;transform:none}.toggle.busy>span{animation:knobpulse .6s ease-in-out infinite}@keyframes knobpulse{0%,to{box-shadow:0 0 #ffffff80}50%{box-shadow:0 0 0 4px #fff0}}.panelbody{display:flex;flex-direction:column;gap:10px;animation:viewin .22s cubic-bezier(.2,.8,.2,1) both}.panelscroll{flex:1 1 auto;flex-shrink:1!important;min-height:0;overflow-y:auto;margin:0 -6px;padding:0 6px;scrollbar-width:thin}.panelscroll::-webkit-scrollbar{width:6px}.panelscroll::-webkit-scrollbar-thumb{background:#3a3a42;border-radius:3px}.requests{display:flex;flex-direction:column;gap:8px;max-height:46%;overflow-y:auto;flex-shrink:1!important;min-height:0}.requests.compact{gap:6px}.card.row{flex-direction:row;align-items:center;gap:6px;padding:8px 8px 8px 10px}.rowopen{flex:1;min-width:0;display:flex;align-items:center;gap:8px;padding:0;border:0;background:none;text-align:left;cursor:pointer}.rowtext{display:flex;flex-direction:column;min-width:0;font-size:12.5px}.card.row .btn.small{width:32px;padding:0;justify-content:center}.card.row .btn.small:not(.primary){width:auto;padding:0 10px}.card.row .btn.small[aria-label]{width:32px;padding:0}.tabs{display:flex;gap:4px;padding:3px;border-radius:11px;background:#111114}.tab{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:12.5px;font-weight:500;cursor:pointer;transition:background .2s ease,color .2s ease}.tab.on{background:var(--surface2);color:var(--ink)}.tab .count{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ffffff14;font-size:11px;display:inline-grid;place-items:center}.tab.on .count{background:var(--brand);color:#141416}.panelbody>*{flex-shrink:0}@keyframes viewin{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:none}}.empty{margin:4px 0}.foot{margin:2px 0 0;font-size:11px;text-align:right}.phonepage{display:flex;flex-direction:column;gap:12px;padding:max(16px,env(safe-area-inset-top)) 16px max(24px,env(safe-area-inset-bottom));max-width:640px;margin:0 auto}.phonehead{display:flex;align-items:center;gap:12px}.phonehead div{display:flex;flex-direction:column}.phonehead b{font-size:20px}.phonepage .panel{max-height:none;border:0;padding:0;background:transparent;box-shadow:none}.phonepage .panel>.panelhead{display:none}.phonepage .btn,.phonepage .choice{height:44px;padding:0 16px;font-size:15px}.phonepage .ask input{height:44px;font-size:16px}.phonepage .qtext{font-size:16px}.offline{margin:0;padding:10px 12px;border-radius:12px;background:#3a2a14;color:var(--needs)}@keyframes slidein{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}@keyframes panelin{0%{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}@keyframes panelout{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(10px) scale(.96)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.phonepage .card{box-shadow:none;padding:16px;gap:12px;border-radius:18px}.phonepage .cardhead{font-size:14px}.phonepage .cardhead b{font-size:15px}.phonepage .card.needs .qtext{font-size:19px;font-weight:600;line-height:1.3}.phonepage .detail{font-size:14px;padding:12px 14px;max-height:38vh}.phonepage .card.needs .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.phonepage .card.needs .actions .btn{height:50px;justify-content:center;font-size:16px;border-radius:14px}.phonepage .card.needs .actions .btn.primary{grid-column:1 / -1;height:56px;font-size:18px;font-weight:600}.phonepage .card.needs .actions:not(:has(>:nth-child(3)))>.btn{grid-column:1 / -1}.phonepage .choices{display:grid;gap:10px}.phonepage .choice{height:auto;min-height:50px;padding:12px 16px;font-size:16px;border-radius:14px;justify-content:flex-start;text-align:left;white-space:normal}.phonepage .card.row{padding:10px 12px}.phonepage .card.row .btn.small{width:48px;height:44px;justify-content:center;border-radius:12px}.phonepage .rowopen{min-height:44px}.phonepage .tab{min-height:44px;font-size:15px}.phonepage .chat{min-height:56px}.phonepage .iconbtn{width:44px;height:44px}.btn.wide{width:100%;height:52px;justify-content:center;font-size:17px;font-weight:600;border-radius:14px}.card.hint{border-color:#3a3a44;gap:10px}.card.hint b{display:inline-flex;align-items:center;gap:8px;font-size:16px}.steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.4}.steps svg{vertical-align:-2px}.linkscreen{align-items:center;text-align:center;justify-content:center;min-height:100dvh;gap:18px}.linkscreen h1{margin:0;font-size:26px}.linkscreen .steps{text-align:left;align-self:stretch;max-width:360px;margin:0 auto}.linkscreen .btn.wide{max-width:360px}.phonefoot{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;padding:18px 0 8px}.linkbtn{background:none;border:0;color:var(--muted);font-size:14px;padding:10px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.scanner{position:fixed;inset:0;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:14px;padding:0 16px max(28px,env(safe-area-inset-bottom));z-index:10}.scanner video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.scanframe{position:absolute;top:50%;left:50%;width:min(70vw,280px);aspect-ratio:1;transform:translate(-50%,-60%);border:3px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 0 0 100vmax #00000073}.scanner p,.scanner .btn{position:relative}.scanner p{color:#fff;font-size:16px;text-align:center;margin:0}.scanner .btn{height:50px;min-width:160px;justify-content:center;font-size:16px}.linksteps{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:4px;font-size:12px}.linkurl{font-size:10px;word-break:break-all;max-width:150px}.rowbtns{display:inline-flex;gap:6px}.testline{margin:-4px 0 2px;font-size:12px;line-height:1.4;color:var(--muted)}.testline.ok{color:#6fd39a}.testline.bad{color:var(--needs)}body.phone .figure-motion,body.phone .figure-shadow{will-change:auto}.phonepage.home{gap:22px;padding:calc(env(safe-area-inset-top) + 14px) 18px calc(env(safe-area-inset-bottom) + 24px)}.topbar{display:flex;align-items:center;justify-content:space-between;min-height:32px}.brand{font-size:17px;font-weight:700;letter-spacing:-.01em}.macpill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:14px;background:var(--surface);border:1px solid var(--line);font-size:13px;color:var(--muted)}.macpill .dot{width:8px;height:8px;border-radius:50%;background:#6b6b75}.macpill.on .dot{background:#3fb57d;box-shadow:0 0 0 3px #3fb57d2e}.hero{display:flex;align-items:center;gap:16px;padding:18px;border-radius:22px;background:linear-gradient(160deg,#1f1f24,#18181c);border:1px solid var(--line)}.hero.needs{border-color:#4a3d1e;background:linear-gradient(160deg,#26211a,#1a1816)}.hero .companion-figure{flex:none}.herotext{display:flex;flex-direction:column;gap:4px;min-width:0}.herotext h1{margin:0;font-size:24px;line-height:1.2;letter-spacing:-.015em}.herotext p{margin:0;font-size:15px}.psection{display:flex;flex-direction:column;gap:10px}.psection h2{margin:0 2px;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.psection h2 .count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--surface2);color:var(--ink);font-size:12px;display:inline-grid;place-items:center;letter-spacing:0}.plist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border-radius:18px;background:var(--surface);border:1px solid var(--line);overflow:hidden}.pitem{display:flex;gap:12px;padding:14px 16px;align-items:flex-start}.pitem+.pitem{border-top:1px solid var(--line)}.pmark{position:relative;flex:none;width:34px;height:34px;border-radius:10px;background:var(--surface2);display:grid;place-items:center}.pulse{position:absolute;right:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:var(--needs);border:2px solid var(--surface);animation:softblink 1.6s ease-in-out infinite}.ptext{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.ptop{display:flex;align-items:baseline;gap:10px;min-width:0}.ptop b{flex:1;min-width:0;font-size:16px}.ptop .muted{flex:none;font-size:13px}.pproj{font-size:13px}.psum{font-size:15px;line-height:1.45;color:#d4d4da;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.psum.open{-webkit-line-clamp:unset;display:block}.pempty{margin:0 2px;font-size:15px}.phonepage .cardhead{flex-wrap:wrap;row-gap:2px}.phonepage .cardhead>.muted.ellipsis{order:9;flex-basis:100%;padding-left:30px;font-size:13px}.linkscreen .lead{margin:0 auto;max-width:360px;font-size:15px;line-height:1.5}.dock.unseen,.dock.unseen *{animation-play-state:paused!important}