/* zaaz-overrides.css — hides LibreChat UI that creators must not see (board 78).
   Served by the edge at /zaaz-overrides.css and injected into LibreChat's HTML pages by Caddy
   (`replace`, chatdemo.zaaz.co first; chat.zaaz.co after the beta check). Selectors use the stable
   element ids LibreChat renders (v0.8.8-rc1) — re-check them on every LibreChat upgrade.
   CSS hides, it does not disable: anything dangerous must ALSO be off server-side
   (account deletion: ALLOW_ACCOUNT_DELETION=false, 2026-10-19). */

/* Settings → Data & Privacy → API KEYS · "Revoke all provider API keys": no one stores provider keys
   (the model runs on the server's Bedrock role), so the control is noise. The whole section goes. */
section:has(#revoke-info-label) { display: none !important; }

/* Settings → Data & Privacy → Danger zone · "Delete TTS cache storage" (speech is not used). The row
   is the direct child of the section's bordered list; the second rule covers the settings search. */
section > div > *:has(#delete-cache-label),
:is(div, li):has(> div > #delete-cache-label) { display: none !important; }

/* Same for the revoke row in the settings search results (the section rule above covers the tab). */
:is(div, li):has(> div > #revoke-info-label) { display: none !important; }

/* Settings → Data & Privacy · "Import conversations from a JSON file": lets a user plant a
   fabricated conversation (fake assistant turns) in their own history — a jailbreak vector.
   ALSO blocked server-side at the edge (POST /api/convos/import → 403). */
section > div > *:has(#import-conversation-label),
:is(div, li):has(> div > #import-conversation-label) { display: none !important; }

/* Settings → Data & Privacy · "Shared chats": sharing is disabled (librechat.yaml sharedLinks),
   the list is always empty. */
section > div > *:has(#shared-links-label),
:is(div, li):has(> div > #shared-links-label) { display: none !important; }

/* Settings → Chat · "Auto-expand tools": would open the tool-call blocks that show internal tool
   names (guardrail C2). */
section > div > *:has(#autoExpandTools) { display: none !important; }

/* Account button (sidebar, "nav-user") · hidden in PRODUCTION only (board 99/100/102). In production
   login/logout belong to the site (SSO embed) and nothing in the menu is needed. The beta keeps it
   (2026-10-23): password logins — the menu shows WHO is logged in (e-mail) and offers Log out to
   switch test accounts (a stale session of another tester's account was mistaken for the operator's
   own on 10-23). Was every-host in edge-v3. */
body[data-zaaz-host="prod"] [data-testid="nav-user"] { display: none !important; }

/* Sidebar · "MCP Settings" button removed on every host (board 101). Per-user MCP configuration is
   never needed here: the agents' tools run server-side from the agent definition. Production also
   stubs GET /api/mcp/servers to {} at the edge (2026-10-14); the beta keeps the real list for the
   admin agent builder, so on the beta only the button goes (CSS), the API stays. */
[data-testid="nav-panel-mcp-builder"] { display: none !important; }

/* Guardrail C2 · internal activity hidden on every host (board 78). The specialist hand-off block
   (specialist name, tool list; a click opened the specialist's internal thread), the main agent's
   tool-call rows + their expandable input/output, grouped tool calls, and the screen-reader echo
   of each running tool ("Running whoami"). Creators see only the answer. Stable LibreChat
   attributes (v0.8.8-rc1): data-subagent-tool-call, data-testid tool-call / tool-call-group-panel,
   data-tool-call-output-id — re-check on every upgrade. */
[data-testid="tool-call"],
[data-tool-call-output-id],
span.sr-only:has(+ [data-testid="tool-call"]),
div:has(> [data-testid="tool-call-group-panel"]),
button[data-subagent-tool-call] { display: none !important; }

/* ===== LAYOUT (board 63) — styling only. chatdemo since 2026-10-23 (edge-v7); BOTH hosts since the agent-v8
   release 2026-11-03 (board 106): every selector is `body[data-zaaz-host]` (= prod and beta; same specificity
   as the old beta-only selector (host value "beta"), so the beta renders exactly as before).
   Rule for this block: colors, font, background, borders, radius, shadows, spacing, alignment and
   card arrangement ONLY — no display/visibility/pointer-events/position changes, no text replaced,
   no control removed or moved out of reach (verified: same visible + clickable controls before and
   after, landing and conversation). Each step is its own section; drop a section to undo it. */

/* STEP 1 — font (the site's Outfit) + text color */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/outfit/v15/QGYvz_MVcBeNP4NJtEtqUYLknw.woff2) format('woff2'); }
body[data-zaaz-host], body[data-zaaz-host] *:not(code):not(pre):not(pre *):not(.font-mono) { font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif !important; }
body[data-zaaz-host] main { color: #1F1B2D; }

/* STEP 2 — light lavender background in the chat area (side bar keeps its own color) */
body[data-zaaz-host] main, body[data-zaaz-host] main > div, body[data-zaaz-host] [data-testid="screenshot-target"] { background-color: #F8F7FB !important; }

/* STEP 3 — agent buttons as cards: 2×2 grid on wide screens, one column on narrow ones */
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; align-items: stretch !important; width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl { width: 100% !important; min-width: 0; max-width: none !important; justify-content: flex-start !important; text-align: left !important; gap: 0 !important; padding: 16px 18px !important; border: 1px solid #E4E1EE !important; border-radius: 16px !important; background-color: #FFFFFF !important; box-shadow: none !important; color: #1F1B2D !important; font-size: 15px !important; }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl:hover { background-color: #F3F1F9 !important; }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl::before { content: ""; flex: 0 0 auto; width: 24px; height: 24px; box-sizing: content-box; padding-right: 14px; margin-right: 14px; border-right: 1px solid #E4E1EE; background: center left / 24px 24px no-repeat; }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl:nth-of-type(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a7 7 0 0 1 16 0v1'/%3E%3C/svg%3E"); }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl:nth-of-type(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl:nth-of-type(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.2c-.6-.9-1.7-1.4-3-1.4-1.7 0-3 .9-3 2.2 0 3 6 1.6 6 4.4 0 1.3-1.3 2.2-3 2.2-1.4 0-2.6-.6-3.1-1.6M12 6v1.8M12 16.6V18'/%3E%3C/svg%3E"); }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl:nth-of-type(4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M8 14h2M14 14h2M8 17.5h2'/%3E%3C/svg%3E"); }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl[data-zaaz-locked] { position: relative; padding-right: 64px !important; }
body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl[data-zaaz-locked]::after { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); margin: 0; }
@media (max-width: 640px) {
  body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) { grid-template-columns: minmax(0, 1fr); }
  body[data-zaaz-host] div.flex-wrap:has(> button.rounded-2xl) > button.rounded-2xl { padding: 12px 14px !important; font-size: 14px !important; }
}

/* STEP 4 — message box: white, thin border, rounded corners (all its buttons unchanged) */
body[data-zaaz-host] form .relative.flex.w-full.flex-grow.flex-col.overflow-hidden { border: 1px solid #E4E1EE !important; border-radius: 16px !important; background-color: #FFFFFF !important; box-shadow: 0 1px 2px rgba(31,27,45,.04) !important; }

/* STEP 5 — the creator's message as a purple bubble (not while editing it). Kept at #4A2E6E, NOT the brand
   purple #9862FC: white text on #9862FC is 3.83:1 (fails WCAG AA 4.5:1 for normal text); on #4A2E6E it is
   11.0:1. Nearest same-hue shade that passes: #8B4EFC (4.57:1) — design's call. */
body[data-zaaz-host] .user-turn [data-testid="message-body"]:not(:has(textarea)) { background-color: #4A2E6E !important; border-radius: 16px !important; padding: 14px 18px !important; box-shadow: 0 6px 18px rgba(74,46,110,.16); }
body[data-zaaz-host] .user-turn [data-testid="message-body"]:not(:has(textarea)) .markdown,
body[data-zaaz-host] .user-turn [data-testid="message-body"]:not(:has(textarea)) .markdown * { color: #FFFFFF !important; }

/* ===== UI DECISIONS (product call 2026-10-27, board 103/104/106) — chatdemo since 2026-10-29 (edge-v9), BOTH
   hosts since the agent-v8 release 2026-11-03. Not layout: these two remove controls on purpose, as decided
   with product. */
/* Light mode only: the edge forces LibreChat's own `color-theme` = light before the app loads
   (Caddyfile, chatdemo block + chat.zaaz.co @prodUiPage); the Settings › General › Theme row goes, so it
   cannot be switched back. */
body[data-zaaz-host] div:has(> div > #theme-selector-label) { display: none !important; }
/* Agent selector at the top hidden: one orchestrator agent (enforced server-side); the agent buttons
   route the workflows. */
body[data-zaaz-host] [data-testid="model-selector-button"] { display: none !important; }

/* SPEED/PERSONAL (2026-11-16, beta first): the hand-off row ("Transferred to Zaaz Growth Coach") shows
   internal plumbing to the creator. Replace it with what Zaaz is doing for THEM; the creator only ever
   talks to Zaaz. LibreChat renders it as button.tool-status-text[aria-label="Transferred to <agent>"]
   (avatar div + 2 spans); hide the children and write one line instead. English only (UI rule). */
body[data-zaaz-host] button.tool-status-text[aria-label^="Transferred to"] > * { display: none !important; }
body[data-zaaz-host] button.tool-status-text[aria-label^="Transferred to"]::after {
  content: "Zaaz is on it: pulling your numbers…"; font-style: italic; color: #6B6880;
}
/* …per workflow: the page script writes the current step into data-zaaz-wait-text. */
body[data-zaaz-host] button.tool-status-text[aria-label^="Transferred to"][data-zaaz-wait-text]::after {
  content: attr(data-zaaz-wait-text);
}
/* …and an icon per workflow (same icons as the start buttons), pulsing while Zaaz works. */
@keyframes zaazWaitPulse { 0%, 100% { opacity: .35; transform: scale(.92); } 50% { opacity: 1; transform: scale(1); } }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow]::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-right: 10px;
  background: center / contain no-repeat; animation: zaazWaitPulse 1.6s ease-in-out infinite;
}
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-done]::before { animation: none; opacity: 1; transform: none; }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="coach"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="money"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.2c-.6-.9-1.7-1.4-3-1.4-1.7 0-3 .9-3 2.2 0 3 6 1.6 6 4.4 0 1.3-1.3 2.2-3 2.2-1.4 0-2.6-.6-3.1-1.6M12 6v1.8M12 16.6V18'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="plan"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4M8 14h2M14 14h2M8 17.5h2'/%3E%3C/svg%3E"); }
/* …and the image follows the step: the page script writes data-zaaz-wait-step (0-3) next to the text. */
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4'/%3E%3Cpath d='M12 13v4M9 21h6M10 17h4v4h-4z'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="money"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="money"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="money"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.2c-.5-1-1.6-1.6-3-1.6-1.7 0-3 .9-3 2.2 0 3 6 1.6 6 4.6 0 1.3-1.3 2.2-3 2.2-1.4 0-2.6-.6-3.1-1.7M12 6v1.6M12 16.6V18'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="money"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
body[data-zaaz-host] button.tool-status-text[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='M9 13l2 2 4-4'/%3E%3C/svg%3E"); }
/* ANY question: the floating "what Zaaz is doing" line above the composer (page script). */
#zaaz-wait-global { position: fixed; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E4E1EE; box-shadow: 0 4px 14px rgba(40,20,90,.08); font-style: italic; color: #6B6880; font-size: 14px; white-space: nowrap; }
#zaaz-wait-global[hidden] { display: none; }
#zaaz-wait-global::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: center / contain no-repeat; animation: zaazWaitPulse 1.6s ease-in-out infinite; }
#zaaz-wait-global[data-zaaz-wait-icon="check"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='M9 13l2 2 4-4'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-icon="users"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-icon="trend"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-icon="grid"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-icon="search"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-icon="chat"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239862FC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
/* ONE place for every wait line: the floating pill. Workflow steps + images move into it, and the
   in-chat hand-off row is hidden entirely (2026-11-17). */
body[data-zaaz-host] button.tool-status-text[aria-label^="Transferred to"] { display: none !important; }
#zaaz-wait-global[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3.3 2.7-6 6-6s6 2.7 6 6'/%3E%3Ccircle cx='17' cy='9' r='2.6'/%3E%3Cpath d='M16 14.2c2.9.3 5 2.6 5 5.8'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4'/%3E%3Cpath d='M12 13v4M9 21h6M10 17h4v4h-4z'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="coach"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="money"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="money"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1'/%3E%3Cpath d='M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="money"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M15 9.2c-.5-1-1.6-1.6-3-1.6-1.7 0-3 .9-3 2.2 0 3 6 1.6 6 4.6 0 1.3-1.3 2.2-3 2.2-1.4 0-2.6-.6-3.1-1.7M12 6v1.6M12 16.6V18'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="money"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="0"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="1"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1.5'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1.5'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="2"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E"); }
#zaaz-wait-global[data-zaaz-wait-flow="plan"][data-zaaz-wait-step="3"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='18' rx='2'/%3E%3Cpath d='M9 4V3h6v1'/%3E%3Cpath d='M9 13l2 2 4-4'/%3E%3C/svg%3E"); }
