/* What this page changes in the MCP chat (../mcp-chat/screen.css): the chat is Claude Code's, so
   it is drawn as Claude Code draws itself, as screens/mcp-tools/ draws its pane: a warm dark
   terminal in a monospace face, the orange mark, the question after a ">", the tool's call after
   a dot with its result hanging from a rule, the orange spinner line and the boxed prompt. The
   connectors' marks are the app's (kit/marks/). The shape of the website's door picture, 34 by 25. */

@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../../kit/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../../kit/fonts/ibm-plex-mono-500.woff2) format("woff2"); }

:root {
	--background: #1f1e1d;
	--foreground: #e8e6e1;
	--muted-foreground: #a8a49c;
	--faint: #77736b;
	--orange: #d97757;
	--line: 28px;
}

/* (body.framed and html.embed, to outrank the kit's own in frame.css, which is linked after this.) */
body.framed { --window-width: 680px; --window-height: 500px; --window-zoom: 1; }
body.framed .window { border-radius: 14px; background: var(--background); }
html.embed body.framed .window { border-radius: 0; }
body { font-family: "IBM Plex Mono", ui-monospace, monospace; }

/* The terminal's own bar: three dots and the tab's title. */
.term-bar { display: flex; flex: none; align-items: center; height: 36px; padding: 0 16px; border-bottom: 1px solid #2c2b29; background: #191817; }
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 11px; height: 11px; border-radius: 9999px; background: #3a3936; }
.term-title { flex: 1; margin-right: 54px; text-align: center; font-size: 13px; color: var(--faint); }

.chat { padding: 16px 28px 0; font-size: 16px; line-height: var(--line); }

/* Who is answering, as Claude Code's header names itself. */
.cc-head { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.cc-head svg { width: 20px; height: 20px; }
.cc-head b { font-weight: 500; }
.cc-head span { color: var(--faint); }

/* The question: no bubble here, a prompt and its line. */
.chat-ask { width: auto; max-width: none; margin: 10px 0 0; padding: 0; border-radius: 0; background: none; color: var(--muted-foreground); }
.chat-ask b { font-weight: 500; }

/* The tool at work: a green dot, and Infograph named, as the MCP chat names it. */
.tool { margin-top: 10px; }
.tool-head { gap: 10px; }
.tool-head i { width: 10px; height: 10px; border-radius: 9999px; background: #4eba65; }

/* Its result hangs under the call, indented past the dot, as Claude Code's ⎿ does. (No rule: the
   list starts short and grows, and a rule would run down past it.) */
.activity { margin: 2px 0 0 20px; }
.query { gap: 9px; }
.query img { width: 18px; height: 18px; }
.query img[src*="github"] { filter: invert(0.9); }
.query small { font-size: 13.5px; color: var(--faint); }
.older, .totals { color: var(--faint); }
.totals { font-size: 14.5px; }

/* A query still running shimmers, from light to the terminal's ground and back. */
.query.is-running span, .tool-head.is-running .tool-name {
	background-image: linear-gradient(100deg, var(--foreground) 35%, color-mix(in oklab, var(--foreground) 35%, var(--background)) 50%, var(--foreground) 65%);
}

/* The foot: the orange spinner line, the boxed prompt and its hint. */
.cc-foot { flex: none; padding: 0 22px 14px; font-size: 16px; line-height: 28px; }
.cc-think { margin: 0 0 8px 6px; color: var(--orange); white-space: nowrap; }
.cc-think span { color: var(--faint); }
.cc-box { display: flex; gap: 12px; padding: 7px 16px; border: 1.5px solid #5c5952; border-radius: 10px; }
.cc-box b { font-weight: 400; color: var(--muted-foreground); }
.cc-box span { width: 10px; height: 20px; margin-top: 4px; background: var(--foreground); }
.cc-hint { margin-top: 4px; padding-left: 6px; font-size: 13.5px; line-height: 20px; color: var(--faint); }
