/* CODER'S SCREEN (2026-11-05): its own file, apart from styles.css. A chat,
   like a code editor's agent panel: the person's messages as bubbles, the AI's
   words as plain text, every command a quiet row that opens to its output. */
.cd { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #faf9f7; color: #0d1b2a; font: 14px/1.55 Inter, -apple-system, system-ui, sans-serif; }
.cd code, .cd pre { font-family: "Geist Mono", ui-monospace, Menlo, monospace; }

/* The bar on top: the repository, its branch, the pull request. */
.cd-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 96px; padding: 10px 20px; border-bottom: 1px solid #ece8e1; flex-wrap: wrap; }
.cd-proj { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e6e2db; background: #fff; border-radius: 9px; padding: 5px 10px; }
.cd-proj select { border: 0; background: transparent; font: 600 13px Inter, system-ui, sans-serif; color: #0d1b2a; outline: none; max-width: 260px; cursor: pointer; }
.cd-branch { display: inline-flex; align-items: center; gap: 5px; color: #6b7280; font: 12px "Geist Mono", ui-monospace, Menlo, monospace; }
.cd-pr { font-size: 12.5px; font-weight: 600; color: #0f766e; text-decoration: none; border: 1px solid #b7e0d9; background: #effaf7; border-radius: 999px; padding: 4px 11px; }
.cd-pr:hover { background: #e0f5f0; }

/* The conversation. */
.cd-log { flex: 1; min-height: 0; overflow-y: auto; padding: 22px 20px 8px; }
/* NOTHING IN THE CHAT SCROLLS IT SIDEWAYS (owner, 2026-11-12: "fix the sideways scroll too"; found live: a long unbroken
   string in an answer, a security key's 140-character code, was wider than the chat): a long word wraps wherever it has to;
   code blocks and tables scroll inside themselves. */
.cd-thread { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; overflow-wrap: anywhere; }
.cd-user { display: flex; justify-content: flex-end; margin-top: 8px; }
.cd-bubble { background: #0d1b2a; color: #fff; border-radius: 16px 16px 4px 16px; padding: 9px 14px; max-width: 78%; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-ai p { margin: 0 0 8px; }
.cd-ai p:last-child { margin-bottom: 0; }
.cd-ai code, .cd-done code { background: #f0ede7; border-radius: 5px; padding: 1px 5px; font-size: 12.5px; }
.cd-ai a, .cd-done a, .cd-gh a { color: #0f766e; }
.cd-pre { background: #0f1720; color: #e6edf3; border-radius: 10px; padding: 12px 14px; overflow-x: auto; font-size: 12.5px; line-height: 1.5; margin: 6px 0; }

/* A command: one row, its output under it when opened. */
.cd-step { border: 1px solid #ebe7e0; background: #fff; border-radius: 10px; overflow: hidden; }
.cd-step-row { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 7px 11px; cursor: pointer; color: #6b7280; text-align: left; font: inherit; }
.cd-step-row:disabled { cursor: default; }
.cd-step-row:hover:not(:disabled) { background: #faf8f5; }
.cd-step-chev { width: 12px; display: inline-grid; place-items: center; transition: transform .15s; }
.cd-step.is-open .cd-step-chev { transform: rotate(90deg); }
.cd-step-cmd { flex: 1; min-width: 0; color: #0d1b2a; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-ok { color: #11845b; font-weight: 700; font-size: 13px; }
.cd-bad { color: #b42318; background: #fdecea; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cd-out { margin: 0; border-top: 1px solid #ebe7e0; background: #0f1720; color: #d1d9e0; padding: 10px 14px; max-height: 320px; overflow: auto; font-size: 12px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }

.cd-start { border: 1px solid #d9d4cb; background: #fff; border-radius: 999px; padding: 6px 13px; font: 13px Inter, system-ui, sans-serif; color: #0d1b2a; cursor: pointer; }
.cd-start:hover { border-color: #0d1b2a; }

/* The end of a piece of work, and what went to GitHub. */
.cd-done { display: flex; gap: 10px; align-items: flex-start; border-left: 3px solid #11845b; padding: 4px 0 4px 12px; }
.cd-done p { margin: 0 0 6px; }
.cd-done-dot { display: none; }
.cd-gh { display: flex; gap: 8px; align-items: center; color: #374151; font-size: 13px; background: #f3f1ed; border-radius: 10px; padding: 8px 12px; overflow-wrap: anywhere; }
.cd-err, .cd-errbar { color: #b42318; background: #fdecea; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.cd-errbar { max-width: 760px; margin: 0 auto 6px; width: calc(100% - 40px); box-sizing: border-box; }
.cd-note { color: #9ca3af; font-size: 12.5px; text-align: center; }

/* Working. */
.cd-thinking { display: flex; gap: 4px; padding: 6px 2px; }
/* What Gloopy is doing now, under its chat while it works (2026-11-12, Grok Bot's status line). */
.cd-status { display: flex; align-items: center; gap: 8px; padding: 6px 2px 10px; color: #6b6660; font-size: 13.5px; }
.cd-status .cd-spin { flex: none; }
.cd-status-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cd-thinking span { width: 6px; height: 6px; border-radius: 50%; background: #b5b1aa; animation: cd-blink 1.2s infinite ease-in-out; }
.cd-thinking span:nth-child(2) { animation-delay: .15s; }
.cd-thinking span:nth-child(3) { animation-delay: .3s; }
@keyframes cd-blink { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.cd-spin { width: 12px; height: 12px; border: 2px solid #ddd8cf; border-top-color: #0d1b2a; border-radius: 50%; animation: cd-turn .8s linear infinite; flex: none; }
.cd-spin-lg { width: 22px; height: 22px; }
@keyframes cd-turn { to { transform: rotate(360deg); } }

/* The box to write in. */
.cd-compose { display: flex; flex-direction: column; gap: 4px; max-width: 760px; width: calc(100% - 40px); margin: 6px auto 18px; box-sizing: border-box; background: #fff; border: 1px solid #e0dbd2; border-radius: 16px; padding: 10px 8px 8px 14px; box-shadow: 0 1px 2px rgba(13,27,42,.04), 0 4px 16px rgba(13,27,42,.04); }
.cd-compose:focus-within { border-color: #0d1b2a; }
.cd-compose textarea { border: 0; outline: none; resize: none; background: transparent; font: 14px/1.5 Inter, system-ui, sans-serif; color: #0d1b2a; padding: 2px 0; max-height: 200px; }
.cd-compose textarea::placeholder { color: #a8a39b; }
/* The model and its effort, under the text, like a code editor's chat box. */
.cd-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cd-picks { display: flex; gap: 4px; margin-left: -6px; min-width: 0; }
.cd-pick select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center; border-radius: 8px; padding: 4px 22px 4px 8px; font: 500 12.5px Inter, system-ui, sans-serif; color: #4b5563; cursor: pointer; }
.cd-pick select:hover { background-color: #f3f1ed; color: #0d1b2a; }
.cd-send { width: 32px; height: 32px; border-radius: 10px; border: 0; background: #0d1b2a; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.cd-send:disabled { opacity: .4; cursor: default; }
.cd-stop { background: #fff; color: #0d1b2a; border: 1px solid #d9d4cb; }

/* Empty chat, sign-in and picking a repository. */
.cd-empty { max-width: 560px; margin: 8vh auto 20px; text-align: center; }
.cd-empty b { font-size: 19px; }
.cd-empty p { color: #6b7280; margin: 8px 0 18px; }
.cd-starts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cd-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; overflow-y: auto; }
.cd-mark { color: #0d1b2a; }
.cd-title { font-size: 21px; }
.cd-sub { color: #6b7280; max-width: 440px; margin: 0; }
.cd-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #0d1b2a; color: #fff; border-radius: 999px; padding: 10px 20px; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; margin-top: 6px; }
.cd-btn-2 { border: 1px solid #d9d4cb; background: #fff; color: #0d1b2a; border-radius: 999px; padding: 7px 16px; font: 13px Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.cd-link { border: 0; background: none; color: #6b7280; text-decoration: underline; cursor: pointer; font: 13px Inter, system-ui, sans-serif; }
.cd-errline { color: #b42318; margin: 0; font-size: 13px; }
.cd-repos { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 420px; max-height: 46vh; overflow-y: auto; margin: 6px 0; }
.cd-repo { display: flex; align-items: center; gap: 9px; border: 1px solid #e6e2db; background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; text-align: left; font: 14px Inter, system-ui, sans-serif; color: #0d1b2a; }
.cd-repo:hover { border-color: #0d1b2a; }
.cd-repo span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-repo em { font-style: normal; font-size: 11px; color: #6b7280; border: 1px solid #e6e2db; border-radius: 999px; padding: 1px 7px; }

@media (max-width: 760px) { .cd-head { margin-top: 0; } }
@media (max-width: 640px) {
  .cd-head { padding: 8px 14px; }
  .cd-log { padding: 16px 14px 6px; }
  .cd-compose { width: calc(100% - 28px); margin-bottom: 12px; }
  .cd-bubble { max-width: 88%; }
  .cd-pr { margin-left: 0; }
}

/* THE CLAUDE-APP LOOK (owner, 2026-11-05: "look at the frontend of this"):
   light grey bubbles, commands as quiet "Ran …" lines, several in a row in one
   box, the answer as plain text, the model and effort under the box. */
.cd-bubble { background: #efece7; color: #0d1b2a; border-radius: 18px; padding: 10px 16px; }
.cd-thread { gap: 12px; }
.cd-ai { line-height: 1.6; }
.cd-cmd-row { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 4px 0; font: 14px Inter, system-ui, sans-serif; color: #8a857d; cursor: pointer; text-align: left; min-width: 0; }
.cd-cmd-row:disabled { cursor: default; }
.cd-cmd-row:hover:not(:disabled) { color: #4b5563; }
/* A long one ends in "…" and leaves room for the step's ✓ (live test at phone size, 2026-11-13: a helper's "“Rome population” · Searched the web for" pushed it off the screen, and the chat scrolled sideways). */
.cd-cmd-verb { flex: none; max-width: calc(100% - 80px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-cmd-text { font: 14px Inter, system-ui, sans-serif; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cd-caret { flex: none; font-size: 10px; }
/* The picture a Read step opened, small, under the step (the owner, 2026-11-08: "Fix those 3"; like Claude Code's). */
.cd-cmd-pics { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 8px 21px; }
.cd-cmd-pics img { display: block; max-width: min(260px, 100%); max-height: 180px; border: 1px solid #ebe7e0; border-radius: 8px; background: #fff; }
/* WHAT A WRITE CHANGED, under its step (the owner, 2026-11-09): numbered lines, folded after the first few. */
.cd-wcount { display: inline-flex; align-items: center; margin-left: 2px; }
.cd-wcount .cd-add, .cd-wcount .cd-del { margin-left: 6px; font-size: 12.5px; }
.cd-wchg { margin: 0 0 8px 21px; border: 1px solid #ebe7e0; border-radius: 8px; background: #fbfaf8; overflow: hidden; }
.cd-wchg pre { margin: 0; padding: 6px 0; font: 12px/1.55 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; overflow-x: auto; tab-size: 4; } /* tab-indented code at its usual width (Claude Code 2.1.181 fixed its Write preview's tabs) */
.cd-wchg pre span { display: block; padding: 0 12px 0 0; white-space: pre; }
.cd-wchg .cd-dl-hunk { padding-left: 12px; }
.cd-wl i { display: inline-block; min-width: 3.4em; padding-right: 12px; text-align: right; color: #a19c94; font-style: normal; user-select: none; }
.cd-wchg-more { display: block; width: 100%; border: 0; border-top: 1px solid #efece7; background: #fff; padding: 6px 12px; font: 500 12.5px Inter, system-ui, sans-serif; color: #0f766e; cursor: pointer; text-align: left; }
.cd-wchg-more:hover { background: #f7f5f1; }
.cd-wchg-note { margin: 0; padding: 6px 12px; border-top: 1px solid #efece7; font-size: 12.5px; color: #6b7280; }
/* THE FILES A COMMAND CHANGED (Claude Code's "Updated path (+N -M)" after the command), each with its lines below. */
.cd-files { margin: 0 0 8px 21px; }
.cd-fchg-head { margin: 2px 0 4px; font-size: 13px; color: #374151; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.cd-fchg-head b { font-weight: 600; color: #1f2937; }
.cd-fchg-head code { font: 12.5px "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #1f2937; overflow-wrap: anywhere; }
.cd-fchg-bin { margin-left: 6px; font-size: 12px; color: #6b7280; }
.cd-files .cd-wchg { margin-left: 0; }
.cd-fchg-note { margin: 2px 0 6px; font-size: 12.5px; color: #6b7280; }
.cd-fchg-note code { font: 12px "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #374151; }
/* THE NEW PROBLEMS A WRITE MADE (the owner, 2026-11-09): one line under the step, the list a tap away. */
.cd-probs { margin: -2px 0 8px 21px; }
.cd-probs-row { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #f3d9a4; background: #fffaf0; color: #92400e; border-radius: 999px; padding: 3px 12px; font: 500 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-probs-row span { color: #0f766e; }
.cd-probs-list { margin: 6px 0 0; padding: 8px 12px; border: 1px solid #f3d9a4; border-radius: 8px; background: #fffdf7; color: #7c2d12; font: 12px/1.55 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-x: auto; }
/* The pages Gloopy's browser ended on, under its answer (2026-11-12, Grok Bot's result screenshots). */
.cd-result-pics { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.cd-result-pics img { display: block; width: min(320px, 100%); height: auto; border: 1px solid #ebe7e0; border-radius: 10px; background: #fff; }
.cd-cmd .cd-out { margin: 4px 0 8px; border: 1px solid #ebe7e0; border-radius: 10px; background: #fff; color: #4b5563; max-height: 260px; }
/* AN ENVIRONMENT LOOKUP'S ANSWER AS A TABLE (CL3 of recheck 3, 2026-11-14; Claude Code 2.1.314: "repository and environment
   lists show as a table instead of one line of JSON"), where its output was: the fields' own names, an empty one as "—", a list
   of rows inside as a table of its own under its name, a long text in its own box. Words are never cut in two (the chat's own
   rule cuts anywhere) but a long host or id; what is still too wide scrolls sideways inside its box. */
.cd-envt { margin: 4px 0 8px; border: 1px solid #ebe7e0; border-radius: 10px; background: #fff; overflow-x: auto; }
.cd-envt table { border-collapse: collapse; width: 100%; font: 13px/1.45 Inter, system-ui, sans-serif; color: #1f1e1d; }
.cd-envt th, .cd-envt td { padding: 6px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid #efece7; overflow-wrap: normal; }
.cd-envt tbody > tr:last-child > th, .cd-envt tbody > tr:last-child > td { border-bottom: 0; }
.cd-envt th { font: 500 12px/1.5 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #6b6a66; }
.cd-envt thead th { background: #f7f5f1; color: #4b4a46; }
/* get_environment's fields: the names in a column of their own, each value beside its name. */
.cd-envt-pairs { table-layout: fixed; }
.cd-envt-pairs .cd-envt-kcol { width: 220px; }
.cd-envt-pairs > tbody > tr > th { background: #faf9f7; }
.cd-envt-pairs > tbody > tr > td { overflow-wrap: anywhere; }
.cd-envt-pairs > tbody > tr.cd-envt-caprow > th { border-bottom: 0; padding-bottom: 2px; }
.cd-envt-pairs > tbody > tr.cd-envt-widerow > td { background: #faf9f7; padding-top: 2px; padding-bottom: 8px; overflow-wrap: normal; }
.cd-envt-none { color: #a19c94; }
.cd-envt-pre { margin: 0; max-height: 180px; overflow: auto; padding: 6px 8px; border-radius: 6px; background: #faf9f7; font: 12px/1.5 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-envt-sub { border: 1px solid #efece7; border-radius: 8px; background: #fff; overflow-x: auto; }
.cd-envt-sub table { font-size: 12.5px; }
.cd-envt-sub th, .cd-envt-sub td { padding: 5px 8px; }
.cd-envt-sub td { overflow-wrap: anywhere; }
/* On a phone: each field's name over its value, and each row of a list inside as its own small block of "name: value" lines. */
@media (max-width: 640px) {
  .cd-envt-pairs, .cd-envt-pairs > tbody, .cd-envt-pairs > tbody > tr, .cd-envt-pairs > tbody > tr > th, .cd-envt-pairs > tbody > tr > td { display: block; width: auto; }
  .cd-envt-pairs > colgroup { display: none; }
  .cd-envt-pairs > tbody > tr { border-bottom: 1px solid #efece7; }
  .cd-envt-pairs > tbody > tr:last-child, .cd-envt-pairs > tbody > tr.cd-envt-caprow { border-bottom: 0; }
  .cd-envt-pairs > tbody > tr > th { border: 0; padding: 7px 10px 0; background: none; }
  .cd-envt-pairs > tbody > tr > td, .cd-envt-pairs > tbody > tr.cd-envt-widerow > td { border: 0; padding: 1px 10px 8px; background: none; }
  .cd-envt-sub thead { display: none; }
  .cd-envt-sub table, .cd-envt-sub tbody, .cd-envt-sub tr, .cd-envt-sub td { display: block; width: auto; }
  .cd-envt-sub tr { padding: 5px 0; border-bottom: 1px solid #efece7; }
  .cd-envt-sub tr:last-child { border-bottom: 0; }
  .cd-envt-sub td { border: 0; padding: 1px 9px; }
  .cd-envt-sub td::before { content: attr(data-k) ": "; font: 500 11.5px/1.5 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #8a857d; }
}
.cd-group-head { display: flex; align-items: center; gap: 6px; border: 0; background: none; padding: 4px 0; font: 14px Inter, system-ui, sans-serif; color: #8a857d; cursor: pointer; }
.cd-group-head:hover { color: #4b5563; }
.cd-group-box { border: 1px solid #e6e2db; border-radius: 12px; background: #fff; margin-top: 6px; }
.cd-group-box .cd-cmd { padding: 0 16px; }
.cd-group-box .cd-cmd + .cd-cmd { border-top: 1px solid #efece7; }
.cd-group-box .cd-cmd-row { padding: 12px 0; }
.cd-bad { margin-left: 6px; color: #b42318; background: #fdecea; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; flex: none; }
/* The box: rounded, the model and effort under it on the right. */
.cd-composewrap { max-width: 760px; width: calc(100% - 40px); margin: 6px auto 14px; }
.cd-compose { flex-direction: row; align-items: center; width: 100%; margin: 0; border-radius: 22px; padding: 10px 10px 10px 18px; }
.cd-compose textarea { padding: 4px 0; }
.cd-send { border-radius: 50%; }
.cd-picks { display: flex; justify-content: flex-end; gap: 2px; margin: 6px 4px 0 0; }
.cd-pick select { background-color: transparent; color: #6b7280; font-size: 12.5px; }
@media (max-width: 640px) { .cd-composewrap { width: calc(100% - 28px); margin-bottom: 10px; } }
.cd-compose textarea { flex: 1; min-width: 0; }
.cd .cd-cmd-text { font-family: Inter, -apple-system, system-ui, sans-serif; }

/* The two buttons in the top bar, and the changes panel under it. */
.cd-hbtn { border: 1px solid #e0dbd2; background: #fff; color: #0d1b2a; border-radius: 999px; padding: 4px 12px; font: 600 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-hbtn:hover { border-color: #0d1b2a; }
.cd-hbtn[aria-pressed="true"] { background: #0d1b2a; color: #fff; border-color: #0d1b2a; }
.cd-changes { max-width: 760px; margin: 12px auto 0; width: calc(100% - 40px); border: 1px solid #e6e2db; border-radius: 12px; background: #fff; max-height: 42vh; overflow: auto; }
.cd-changes-sum { padding: 10px 16px; font-size: 13px; color: #4b5563; border-bottom: 1px solid #efece7; }
.cd-compare { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid #efece7; font-size: 13px; color: #4b5563; }
.cd-compare select { font: inherit; font-size: 13px; padding: 4px 8px; border: 1px solid #ddd8d0; border-radius: 8px; background: #fff; color: #1f2937; max-width: 60%; }
.cd-compare-vs { color: #6b7280; margin-left: 6px; }
.cd-changes-none { margin: 0; padding: 14px 16px; color: #6b7280; }
.cd-changes-note { margin: 0; padding: 8px 16px 0; color: #6b7280; font-size: 13px; }
.cd-add { color: #11845b; font-weight: 600; margin-left: 6px; font-size: 12.5px; }
.cd-del { color: #b42318; font-weight: 600; margin-left: 4px; font-size: 12.5px; }
.cd-file + .cd-file { border-top: 1px solid #efece7; }
.cd-file summary { display: flex; align-items: center; gap: 4px; padding: 9px 16px; cursor: pointer; list-style: none; }
.cd-file summary code { flex: 1; min-width: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-diff { margin: 0; padding: 8px 0; background: #fbfaf8; border-top: 1px solid #efece7; font-size: 12px; line-height: 1.55; overflow-x: auto; }
.cd-diff span { display: block; padding: 0 16px; white-space: pre; }
.cd-dl-add { background: #e9f7ef; color: #0f5132; }
/* An edit's change on the card for a protected file (edit, tool 3): one line each, coloured edge to edge. */
.cd-writeask .cd-envchange-pre .cd-wl { display: block; margin: 0 -12px; padding: 0 12px; white-space: pre-wrap; }
/* A LONG LINE ON THE CARD WRAPS, so the "…" that shows it was cut is in view (live test, 2026-11-09: a 380-character line
   ran past the card's right edge and its "…" was seen only by scrolling sideways; the owner: "Yes fix"). */
.cd-writeask .cd-envchange-pre { overflow-wrap: anywhere; }
.cd-dl-del { background: #fdecea; color: #842029; }
.cd-dl-hunk { color: #8a857d; }

/* THE CHAT'S BAR (title, repository, branch, pull request, See changes). */
.gf-app .cd-head { justify-content: flex-start; padding: 12px 24px; }
.cd-title-bar { font-size: 14.5px; font-weight: 600; max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-repo-bar { display: inline-flex; align-items: center; gap: 5px; color: #6b7280; font-size: 13px; }
.cd-head .cd-pr { margin-left: auto; }
.cd-menu { display: none; border: 1px solid #e0dbd2; background: #fff; border-radius: 9px; width: 34px; height: 32px; font-size: 16px; cursor: pointer; color: #0d1b2a; }
.cd-head-min { display: none; border-bottom: 0; }
/* ONE LINE ON A COMPUTER (owner, 2026-11-06): a long branch or title is
   shortened with "…" (the whole name shows on hover) instead of pushing the
   buttons onto a second line. The branch gives way first, then the title; the
   repository stays whole unless the window is narrow. */
.cd-ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (min-width: 761px) {
  .gf-app .cd-head { flex-wrap: nowrap; }
  .gf-app .cd-head > * { flex: none; }
  .gf-app .cd-head > .cd-branch { flex: 0 3 auto; min-width: 7ch; }
  .gf-app .cd-head > .cd-title-bar { flex: 0 2 auto; min-width: 8ch; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .gf-app .cd-head > .cd-repo-bar { flex: 0 1 auto; min-width: 8ch; }
}
@media (max-width: 760px) {
  .cd-menu { display: inline-block; }
  .cd-head-min { display: flex; }
  .gf-app .cd-head { padding: 10px 14px; }
  .cd-head .cd-pr { margin-left: 0; }
  .cd-title-bar { max-width: 60vw; }
}

/* A long command still running, in the background. */
.cd-bgchip { margin-left: 6px; color: #6b7280; background: #efece7; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; flex: none; }
.cd-cmd.is-bg .cd-cmd-verb { color: #b07a1a; }
/* Comments on the changes: tap a line, write, it goes with the next message. */
.cd-dl { cursor: pointer; }
.cd-dl:hover { outline: 1px solid #cfc8bd; outline-offset: -1px; }
.cd-cbox { display: flex !important; gap: 6px; padding: 6px 16px 8px !important; background: #fff; white-space: normal !important; }
.cd-cbox input { flex: 1; border: 1px solid #d9d4cb; border-radius: 8px; padding: 6px 10px; font: 13px Inter, system-ui, sans-serif; outline: none; }
.cd-cbox input:focus { border-color: #0d1b2a; }
.cd-cbox button { border: 1px solid #d9d4cb; background: #fff; border-radius: 8px; padding: 4px 10px; font: 600 12.5px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-cbox button:first-of-type { background: #0d1b2a; color: #fff; border-color: #0d1b2a; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.cd-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e0dbd2; border-radius: 999px; padding: 3px 6px 3px 10px; font-size: 12.5px; color: #374151; max-width: 100%; }
.cd-chip button { border: 0; background: none; color: #8a857d; cursor: pointer; font-size: 15px; line-height: 1; }
/* Slash commands: the menu above the box. */
.cd-composewrap { position: relative; }
.cd-localnote { color: #6b7280; font-size: 13px; background: #f3f1ed; border-radius: 10px; padding: 8px 12px; white-space: pre-wrap; }
/* A hook that ended the turn (Claude Code: "the reason appears in the chat as a warning line"), and a hook's statusMessage. */
.cd-localnote.cd-note-warn { color: #92400e; background: #fef3c7; }
.cd-localnote.cd-note-status { background: transparent; padding: 2px 12px; font-style: italic; }
.cd-localnote.cd-note-status::before { content: "⋯ "; font-style: normal; }
/* A monitor's event (Claude Code's Monitor, 2026-11-10): its watch's name, then the lines it printed. */
.cd-monev { border: 1px solid #ebe7e0; border-radius: 10px; background: #fbfaf8; padding: 8px 12px; font-size: 13px; color: #4b5563; }
.cd-monev-head { display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.cd-monev-head b { color: #1f1e1d; font-weight: 600; }
.cd-monev-lines { margin: 6px 0 0; max-height: 220px; overflow: auto; font: 12px/1.5 "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #1f1e1d; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Coder's own "are you sure?" */
.cd-sure{position:fixed;inset:0;z-index:100;background:rgba(20,20,19,.35);display:flex;align-items:center;justify-content:center;padding:16px}
.cd-sure-box{background:#fff;border-radius:16px;box-shadow:0 12px 40px rgba(0,0,0,.18);width:100%;max-width:400px;padding:20px 20px 16px}
.cd-sure-title{font-size:16px;font-weight:600;color:#1f1e1d;margin-bottom:6px;overflow-wrap:anywhere}
.cd-sure-text{font-size:14px;color:#6b6a68;line-height:1.45}
.cd-sure-row{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.cd-sure-row button{font:inherit;font-size:14px;border-radius:10px;padding:8px 14px;cursor:pointer;border:1px solid #e5e3dd;background:#fff;color:#1f1e1d}
.cd-sure-row .cd-sure-yes{background:#b3261e;border-color:#b3261e;color:#fff}
.cd-sure-row button:hover{filter:brightness(.96)}

/* Coder's checklist (the todo tool), only the latest one is shown. */
.cd-todo{border:1px solid #e5e3dd;border-radius:12px;padding:10px 14px;margin:8px 0;background:#fff;font-size:14px}
.cd-todo b{display:block;font-size:12px;color:#6b6a68;font-weight:600;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.cd-todo-n{font-weight:400;text-transform:none;letter-spacing:0}
.cd-todo-i{display:flex;gap:8px;align-items:flex-start;padding:3px 0;color:#1f1e1d}
.cd-todo-box{flex:none;width:16px;height:16px;border:1.5px solid #c9c6bf;border-radius:4px;display:grid;place-items:center;font-size:11px;line-height:1;margin-top:2px}
.cd-todo-i.is-done{color:#8a8884;text-decoration:line-through}
.cd-todo-i.is-done .cd-todo-box{background:#1f6f5c;border-color:#1f6f5c;color:#fff}
.cd-todo-i.is-in_progress .cd-todo-box{border-color:#1f1e1d;font-weight:700}

/* Coder's question (ask_user): the options are buttons. */
/* CODER'S QUESTION, LIKE CLAUDE CODE'S (owner, 2026-11-06, "2"): the question on
   top, each choice with its explanation, Other with a box to type, Skip and Submit. */
.cd-ask{border:1px solid #e5e3dd;border-radius:14px;margin:8px 0;background:#fff;overflow:hidden;max-width:480px}
.cd-ask-q{font-size:14.5px;font-weight:600;color:#1f1e1d;line-height:1.45;padding:12px 16px;background:#f7f6f2;border-bottom:1px solid #ece9e2;overflow-wrap:anywhere}
.cd-ask.is-many{max-width:520px}
.cd-ask-one+.cd-ask-one .cd-ask-q{border-top:1px solid #ece9e2}
.cd-ask-h{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.02em;color:#5b4a2e;background:#f1e7d3;border-radius:999px;padding:2px 9px;margin:0 8px 0 0;vertical-align:1px;max-width:100%;box-sizing:border-box}
.cd-ask-multi{display:inline-block;font-size:11.5px;font-weight:500;color:#6b6a66;margin-left:8px}
.cd-ask-list{display:flex;flex-direction:column}
.cd-ask-row{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-bottom:1px solid #f0eee8;cursor:pointer}
.cd-ask-row:last-child{border-bottom:0}
.cd-ask-row input[type="radio"],.cd-ask-row input[type="checkbox"]{margin:2px 0 0;width:17px;height:17px;flex:none;accent-color:#1f1e1d;cursor:pointer}
.cd-ask-t{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;overflow-wrap:anywhere}
.cd-ask-t b{font-size:14.5px;font-weight:600;color:#1f1e1d}
.cd-ask-t small{font-size:13px;color:#6b6a66;line-height:1.45}
.cd-ask-in{font:inherit;font-size:14px;color:#1f1e1d;border:1px solid #d9d6cf;border-radius:8px;padding:7px 10px;margin-top:6px;width:100%;box-sizing:border-box;background:#fff}
.cd-ask-in:focus{outline:none;border-color:#1f1e1d}
/* Claude Code's previews and notes field on a single-select question with previews (2026-11-14). */
.cd-ask-pv{margin:0 16px 10px;padding:10px 12px;border:1px solid #e5e3dd;border-radius:8px;background:#faf9f6;font:12.5px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;color:#1f1e1d}
.cd-ask-pv-none{color:#8a8884;font-style:italic}
.cd-ask-notes{display:flex;gap:8px;align-items:center;margin:0 16px 12px;font-size:13px;color:#6b6a68}
.cd-ask-note{flex:1;font:inherit;font-size:14px;color:#1f1e1d;border:1px solid #d9d6cf;border-radius:8px;padding:6px 10px;background:#fff;min-width:0}
.cd-ask-note:focus{outline:none;border-color:#1f1e1d}
.cd-ask-notes-said{margin:0 16px 12px;font-size:13px;color:#6b6a68}
.cd-ask-btns{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #ece9e2}
.cd-ask-btns button{font:inherit;font-size:14px;font-weight:600;border-radius:999px;padding:8px 16px;cursor:pointer}
.cd-ask-skip{border:1px solid #d9d6cf;background:#fff;color:#1f1e1d}
.cd-ask-go{border:1px solid #1f1e1d;background:#1f1e1d;color:#fff}
.cd-ask-go kbd{font:inherit;font-size:11px;font-weight:500;opacity:.7;margin-left:6px}
.cd-ask:not(.is-live) .cd-ask-row{cursor:default;opacity:.6}
.cd-ask-wait{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:600;color:#9a5b00;background:#fdf1d8;border-radius:999px;padding:3px 10px;margin:0 0 10px}
.cd-ask-wait::before{content:"";width:8px;height:8px;border-radius:50%;background:#e8a10c}
/* THE SECRET CARD (owner, 2026-11-06): Claude Code's network-secret card, in Coder's colours. */
.cd-secret{border:1px solid #e5e3dd;border-radius:18px;padding:22px 20px 18px;margin:10px 0;background:#faf9f5;text-align:center}
.cd-secret-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:12px;background:#1f1e1d;color:#fff;display:flex;align-items:center;justify-content:center}
.cd-secret-t{display:block;font-size:16px;color:#1f1e1d;margin-bottom:8px;overflow-wrap:anywhere}
.cd-secret-why{font-size:14px;color:#1f1e1d;margin:0 0 6px;line-height:1.45}
.cd-secret-how{font-size:12.5px;color:#6b6a66;margin:0 0 8px}.cd-secret-how code{background:#f0ede7;border-radius:5px;padding:1px 6px}
.cd-secret-p{font-size:13.5px;color:#6b6a66;margin:0 0 14px;line-height:1.5;text-align:left}
.cd-secret-l{display:block;text-align:left;font-size:13px;color:#6b6a66;margin:0 0 6px 4px}
.cd-secret-in{width:100%;box-sizing:border-box;font:inherit;font-size:15px;border:1px solid #d9d6cf;border-radius:999px;padding:11px 16px;background:#fff;color:#1f1e1d;outline:none}
.cd-secret-in:focus{border-color:#1f1e1d}
/* A field your own browser leaves alone (2026-11-12): typed text drawn as dots, with an eye to show it (Grok Bot's form). */
.cd-secret-pw{position:relative;display:block}
.cd-secret-pw .cd-secret-in{padding-right:46px}
.cd-secret-in.is-masked{-webkit-text-security:disc}
.cd-secret-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:999px;background:none;color:#8a8984;cursor:pointer}
.cd-secret-eye:hover{background:#f1efea;color:#1f1e1d}
.cd-secret-eye[aria-pressed="true"]{color:#1f1e1d}
.cd-sign-saved small{display:block;font-size:12px;font-weight:400;opacity:.75;margin-top:2px}
.cd-secret-err{color:#b3261e;font-size:13px;text-align:left;margin:8px 4px 0}
/* THE KEY CARD'S FIELDS, AS CLAUDE CODE'S request_credential FORM (2026-11-14): one under the other; the header and the word before the key side by side. */
.cd-secret-field{margin:0 0 10px}
.cd-secret-row{display:flex;gap:8px}.cd-secret-row>.cd-secret-field{flex:1;min-width:0}.cd-secret-row>.cd-secret-field:first-child{flex:1.6}
.cd-secret-btns{display:flex;gap:10px;margin-top:16px}
/* The live screen in a hand-off card (2026-11-12, Grok Bot's card shows its screen). */
.cd-ho-screen{margin:14px 0 4px;border:1px solid #ebe7e0;border-radius:12px;overflow:hidden;background:#0f0f10;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}
.cd-ho-screen img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.cd-ho-screen.is-empty{background:#f6f4f0;color:#78716c;font-size:13.5px;padding:0 16px;text-align:center}
.cd-ho-screen.is-empty button{flex:none;padding:9px 18px}
.cd-secret-btns button{flex:1;font:inherit;font-size:15px;font-weight:600;border-radius:999px;padding:11px 0;cursor:pointer}
.cd-secret-no,.cd-card-no{border:1px solid #d9d6cf;background:#fff;color:#1f1e1d}
.cd-secret-save,.cd-card-yes{border:1px solid #1f1e1d;background:#1f1e1d;color:#fff}
.cd-secret-save:disabled,.cd-card-yes:disabled{background:#a9a7a1;border-color:#a9a7a1;cursor:default}
.cd-card-no:disabled{opacity:.5;cursor:default}
/* GLOOPY'S BROWSER, LIVE (2026-11-09): the view under Gloopy's bar; an orange edge while you have control. */
.cd-web-btn { display: inline-flex; align-items: center; gap: 6px; }
/* The panel scrolls in itself rather than cut off its own foot (Hand it back) on a short window (live test, 2026-11-10). */
.cd-web { max-width: 900px; margin: 12px auto 0; width: calc(100% - 40px); border: 1px solid #e6e2db; border-radius: 14px; background: #fff; overflow-x: hidden; overflow-y: auto; }
.cd-web-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-bottom: 1px solid #efece7; font-size: 13px; }
.cd-web-st { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #1f1e1d; white-space: nowrap; }
.cd-web-st i { width: 8px; height: 8px; border-radius: 50%; background: #a9a7a1; }
.cd-web-st.is-work i { background: #2f9e44; box-shadow: 0 0 0 3px rgba(47,158,68,.18); }
.cd-web-st.is-you i { background: #e8590c; box-shadow: 0 0 0 3px rgba(232,89,12,.18); }
.cd-web-addr { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #6b7280; }
.cd-web-mini { border: 1px solid #d9d6cf; background: #fff; border-radius: 999px; padding: 3px 10px; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-web-x { border: 0; background: none; font-size: 22px; line-height: 1; padding: 0 4px; color: #6b7280; cursor: pointer; }
.cd-web-screen { display: flex; justify-content: center; background: #f4f2ee; outline: none; }
/* The picture leaves room in the window for the panel's bar and foot, the chat's first line and your message box. */
.cd-web-screen img { display: block; max-width: 100%; max-height: max(160px, min(52vh, calc(100vh - 410px))); width: auto; height: auto; user-select: none; -webkit-user-select: none; }
.cd-web-screen.is-you { box-shadow: inset 0 0 0 3px #e8590c; }
.cd-web-screen.is-you img { cursor: pointer; }
/* With control, two rows of tools join it: the picture leaves them, the foot and your message box room in the window. */
.cd-web-screen.is-you img { max-height: max(160px, min(52vh, calc(100vh - 428px))); }
.cd-web-screen.is-you:focus-visible { box-shadow: inset 0 0 0 4px #e8590c; }
.cd-web-empty { margin: 0; padding: 44px 20px; text-align: center; color: #6b7280; font-size: 14px; }
.cd-web-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid #efece7; }
.cd-web-in { flex: 1 1 200px; min-width: 0; font: inherit; font-size: 14px; border: 1px solid #d9d6cf; border-radius: 999px; padding: 7px 12px; outline: none; }
.cd-web-in:focus { border-color: #1f1e1d; }
.cd-web-tools button { border: 1px solid #d9d6cf; background: #fff; color: #1f1e1d; border-radius: 999px; padding: 6px 11px; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
/* Where Gloopy just acted (a mark over the picture), your own way around (Back, Forward, Reload, an address), and a file the page asks you for. */
.cd-web-pic { position: relative; display: inline-block; line-height: 0; max-width: 100%; }
.cd-web-mark { position: absolute; border: 2px solid #e8590c; border-radius: 6px; box-shadow: 0 0 0 3px rgba(232,89,12,.18); pointer-events: none; }
.cd-web-mark[hidden] { display: none; }
.cd-web-nav { border-top: 0; padding-top: 0; }
.cd-web-file { align-items: center; font-size: 13px; color: #1f1e1d; }
.cd-web-file span { flex: 1 1 auto; }
.cd-web-pick { border: 1px solid #1f1e1d; background: #1f1e1d; color: #fff; border-radius: 999px; padding: 6px 12px; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
/* Marking a part of the page for Gloopy, and your note about it; naming a task you taught. */
.cd-web-screen.is-marking img { cursor: crosshair; touch-action: none; }
.cd-web-sel { position: absolute; border: 2px dashed #1f6feb; background: rgba(31,111,235,.10); border-radius: 4px; pointer-events: none; }
.cd-web-sel[hidden] { display: none; }
.cd-web-note { align-items: center; font-size: 13px; color: #1f1e1d; }
.cd-web-note span { flex: 1 1 auto; color: #6b7280; }
.cd-web-tools button.cd-web-go { background: #1f1e1d; border-color: #1f1e1d; color: #fff; }
.cd-web-foot .cd-card-no { border: 1px solid #d9d6cf; background: #fff; color: #1f1e1d; }
.cd-web-foot { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-top: 1px solid #efece7; }
.cd-web-foot p { flex: 1; margin: 0; font-size: 13px; color: #6b7280; }
.cd-web-foot .cd-web-err { color: #b42318; }
.cd-web-foot button { border-radius: 999px; padding: 9px 18px; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
/* On a phone the foot's words take the whole line and its buttons go under them (live test, 2026-11-10: squeezed beside
   Teach Gloopy and Hand it back, the words stood one to a line). */
@media (max-width: 640px) { .cd-web { width: calc(100% - 20px); margin-top: 8px; } .cd-web-screen img { max-height: 40vh; } .cd-web-foot { flex-wrap: wrap; } .cd-web-foot p { flex-basis: 100%; } .cd-web-foot button { flex: 1; } }
/* While you have control (and on a phone, while the view is open), the view takes the chat's place, so no cut-off strip of
   the chat shows under it; the message box stays at the bottom. Closing the view (×) brings the chat back. */
.cd:has(.cd-web-screen.is-you) > .cd-log { display: none; }
.cd:has(.cd-web-screen.is-you) > .cd-composewrap { margin-top: auto; }
@media (max-width: 640px) { .cd:has(.cd-web) > .cd-log { display: none; } .cd:has(.cd-web) > .cd-composewrap { margin-top: auto; } .cd:has(.cd-web) .cd-web-screen img { max-height: 46vh; } }
.cd-sign-save { display: flex; align-items: flex-start; gap: 8px; text-align: left; font-size: 13px; color: #4b5563; margin: 12px 4px 0; cursor: pointer; }
/* Gloopy's card form (2026-11-09): saved cards to pick from, and the expiry next to the security code. */
.cd-pay-pick { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; text-align: left; }
.cd-pay-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #e5e2dc; border-radius: 12px; background: #fff; font-size: 14px; cursor: pointer; }
.cd-pay-opt small { margin-left: auto; color: #6b7280; }
.cd-pay-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cd-pay-two > div { min-width: 0; }
/* Gloopy's webhook card (2026-11-09): its address and key, to copy. */
.cd-hook-v { display: block; text-align: left; word-break: break-all; user-select: all; background: #fff; border: 1px solid #e5e2dc; border-radius: 10px; padding: 9px 12px; margin: 4px 0 6px; font-size: 12.5px; }
.cd-hook-show { display: block; width: 100%; margin: 4px 0 6px; font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 10px 0; cursor: pointer; }
.cd-hook-how { text-align: left; font-size: 12.5px; color: #6b7280; margin: 8px 4px 0; }
.cd-hook-how code { font-size: 12px; }
/* Gloopy's files (2026-11-09): chips for files attached to a message, and a card for a file Gloopy made. */
.cd-attach-list, .cd-user-files { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.cd-user-files { justify-content: flex-end; }
.cd-file-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 280px; padding: 6px 10px; border: 1px solid #e5e2dc; border-radius: 12px; background: #fff; color: #1f1e1d; font: inherit; font-size: 13px; cursor: pointer; }
.cd-file-chip.is-up { opacity: .6; cursor: default; }
.cd-file-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-file-chip small { color: #6b7280; flex: none; }
.cd-file-chip button { border: 0; background: none; font-size: 16px; line-height: 1; padding: 0 0 0 2px; color: #6b7280; cursor: pointer; }
.cd-filecard { display: flex; align-items: center; gap: 12px; max-width: 460px; margin: 8px 0; padding: 12px 14px; border: 1px solid #e5e2dc; border-radius: 16px; background: #fff; }
.cd-filecard-icon { position: relative; flex: none; width: 40px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #f3f1ec; color: #4b5563; }
.cd-filecard-icon svg { width: 22px; height: 22px; }
.cd-filecard-icon b { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: .03em; background: #1f1e1d; color: #fff; border-radius: 4px; padding: 1px 4px; }
.cd-filecard-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cd-filecard-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.cd-filecard-t small { color: #6b7280; font-size: 12.5px; }
.cd-filecard-get { flex: none; font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.cd-sign-save input { margin-top: 2px; }
/* GLOOPY'S PAGES (2026-11-09): the card in the chat, and the page opened over the chat. */
.cd-pagecard { display: flex; align-items: center; gap: 12px; border: 1px solid #e5e3dd; border-radius: 14px; background: #fff; padding: 12px 14px; margin: 10px 0; }
.cd-pagecard-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #f4f2ee; color: #1f1e1d; flex: none; }
.cd-pagecard-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cd-pagecard-txt b { font-size: 15px; color: #1f1e1d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-pagecard-txt span { font-size: 13px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-pagecard-open { border-radius: 999px; padding: 8px 18px; font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-pageview { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: #fff; }
.cd-pageview-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #ece8e1; background: #faf9f7; font: 14px Inter, system-ui, sans-serif; }
.cd-pageview-ic { display: inline-flex; color: #1f1e1d; }
.cd-pageview-t { font-size: 15px; color: #1f1e1d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-pageview-v { color: #6b7280; font-size: 13px; white-space: nowrap; }
.cd-pageview-x { margin-left: auto; border: 0; background: none; font-size: 26px; line-height: 1; color: #6b7280; cursor: pointer; padding: 0 4px; }
.cd-pageview-frame { flex: 1; width: 100%; border: 0; background: #fff; }
/* Three answers on a phone (Gloopy's approval card): a little more room for each word. */
@media (max-width: 640px) { .cd-approve .cd-secret-btns { gap: 8px; } .cd-approve .cd-secret-btns button { font-size: 14px; padding: 11px 4px; } }

/* Pictures in the chat box and in your messages; @ file suggestions. */
.cd-compose{position:relative}
.cd-attach{position:absolute;left:8px;bottom:8px;border:0;background:transparent;color:#6b6a68;cursor:pointer;padding:6px;border-radius:8px}
.cd-attach:hover{background:#f3f1ec;color:#1f1e1d}
.cd-compose textarea{margin-bottom:30px}
.cd-pics{display:flex;gap:8px;max-width:760px;width:calc(100% - 40px);margin:6px auto 0;flex-wrap:wrap}
.cd-pic{position:relative;width:64px;height:64px;border-radius:10px;overflow:hidden;border:1px solid #e0dbd2;background:#fff}
.cd-pic img{width:100%;height:100%;object-fit:cover}
.cd-pic button{position:absolute;top:2px;right:2px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;font-size:13px;line-height:20px;padding:0;cursor:pointer}
.cd-user{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cd-thumbs{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.cd-thumbs img{max-width:180px;max-height:140px;border-radius:12px;border:1px solid #e0dbd2}
.cd-imgnote{font-size:12px;color:#8a8884}
.cd-mention{max-width:760px;width:calc(100% - 40px);margin:6px auto 0;background:#fff;border:1px solid #e0dbd2;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.cd-mention-i{display:block;width:100%;text-align:left;border:0;background:#fff;padding:8px 14px;font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#1f1e1d;cursor:pointer}
.cd-mention-i.on,.cd-mention-i:hover{background:#f3f1ec}

/* Review menu */
.cd-revwrap{position:relative;display:inline-block}
.cd-revmenu{position:absolute;top:calc(100% + 6px);right:0;z-index:20;background:#fff;border:1px solid #e0dbd2;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.12);padding:6px;min-width:240px;display:flex;flex-direction:column}
.cd-revmenu button{border:0;background:#fff;text-align:left;padding:8px 10px;border-radius:8px;cursor:pointer;font:inherit;display:flex;flex-direction:column;gap:2px}
.cd-revmenu button:hover{background:#f3f1ec}
.cd-revmenu b{font-size:14px;color:#1f1e1d;font-weight:600}
.cd-revmenu small{font-size:12px;color:#6b6a68}

/* The repo's environment panel */
.cd-envp{max-width:760px;width:calc(100% - 40px);margin:12px auto;background:#fff;border:1px solid #e0dbd2;border-radius:14px;padding:16px 18px;box-sizing:border-box}
.cd-envp h3{margin:0 0 10px;font-size:15px;color:#1f1e1d}
.cd-envl{display:block;font-size:13px;font-weight:600;color:#1f1e1d;margin:12px 0 6px}
.cd-envl small{display:block;font-weight:400;color:#6b6a68;margin-top:2px}
.cd-envp textarea{width:100%;box-sizing:border-box;font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid #e0dbd2;border-radius:10px;padding:8px 10px;resize:vertical}
.cd-envrow{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #f0eee8;font-size:13px}
.cd-envrow code{font-weight:600}.cd-envrow span{color:#6b6a68;flex:1}
.cd-envrow button{border:0;background:transparent;color:#b3261e;font-size:16px;cursor:pointer}
.cd-envadd{display:flex;gap:8px;margin-top:8px}
.cd-envadd input{flex:1;min-width:0;border:1px solid #e0dbd2;border-radius:10px;padding:7px 10px;font:13px ui-monospace,SFMono-Regular,Menlo,monospace}
.cd-envfoot{display:flex;align-items:center;gap:12px;margin-top:14px}
.cd-muted{color:#6b6a68;font-size:13px;margin:0}

.cd-autofix.on{background:#e8f5ef;border-color:#a7d7c2;color:#145a43}

/* STEPS, option A without colours (owner, 2026-11-05): grey icon tile, dark verb, code-type target, status on the right. */
.cd-sic{flex:none;width:26px;height:26px;border-radius:8px;background:#f1efea;color:#57534e;display:grid;place-items:center;margin-right:4px}
.cd .cd-cmd-row{gap:8px;color:#1f1e1d}
.cd .cd-cmd-verb{font-weight:600;color:#1f1e1d}
.cd .cd-cmd-text{font:13px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#44403c}
/* A COMMAND'S DESCRIPTION as its step's title (tool 4, like Claude Code's app), and the command itself, as typed at a
   terminal, above its output when the step is opened. */
.cd .cd-cmd-desc{font:14px/1.4 Inter,system-ui,sans-serif;color:#1f1e1d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cd-cmd .cd-cmd-in{margin:4px 0 0;padding:8px 12px;border:1px solid #ebe7e0;border-radius:10px;background:#faf9f7;color:#1f1e1d;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto}
.cd-st{margin-left:auto;flex:none;font-size:12px;color:#8a8884;display:inline-flex;align-items:center;gap:5px;padding-left:10px}
.cd-st-ok{color:#57534e;font-size:13px}
.cd-st-bad{color:#b3261e;font-weight:600}
.cd-st-bg i{width:8px;height:8px;border-radius:50%;background:#a8a29e;display:inline-block}
.cd-group-box .cd-cmd-row{padding:9px 0}

.cd .cd-cmd.is-bg .cd-cmd-row, .cd .cd-cmd.is-bg .cd-cmd-verb { color: #1f1e1d; }

/* ENVIRONMENT CHANGE CARD and the network switch (owner, 2026-11-06). */
.cd-envchange-pre{text-align:left;background:#fff;border:1px solid #e5e3dd;border-radius:10px;padding:10px 12px;font-size:12.5px;line-height:1.5;max-height:240px;overflow:auto;white-space:pre-wrap;margin:0 0 4px}
.cd-envnet{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;color:#1f1e1d;margin:2px 0 8px;line-height:1.4}
.cd-envnet input{margin-top:3px}
.cd-secret-icon svg{width:26px;height:26px}
/* ANSWERS, formatted (owner, 2026-11-06). */
.cd-ai ul, .cd-ai ol { margin: 4px 0 10px; padding-left: 22px; }
.cd-ai li { margin: 3px 0; }
.cd-ai h4 { font-size: 15px; margin: 12px 0 6px; }
.cd-ai .cd-cite { display: inline-block; font-size: 11px; line-height: 16px; min-width: 16px; padding: 0 4px; margin: 0 1px; text-align: center; border-radius: 8px; background: #f0ede7; color: #4a4945; text-decoration: none; vertical-align: 1px; }
.cd-ai .cd-cite:hover { background: #e5e1d8; }
/* THE ENVIRONMENT WINDOW (owner, 2026-11-06: like Claude Code's "Edit cloud environment"). */
.cd-em{position:fixed;inset:0;z-index:90;background:rgba(20,20,19,.35);display:flex;align-items:center;justify-content:center;padding:16px}
.cd-em-box{background:#fff;border-radius:18px;box-shadow:0 12px 40px rgba(0,0,0,.18);width:100%;max-width:640px;max-height:calc(100vh - 32px);overflow:auto;padding:20px 22px 18px;text-align:left}
.cd-em-head{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.cd-em-head b{flex:1;font-size:17px;color:#1f1e1d;font-weight:600}
.cd-em-x{border:0;background:none;font-size:24px;line-height:1;color:#1f1e1d;cursor:pointer;padding:2px 6px;border-radius:8px}
.cd-em-x:hover{background:#f0eee8}
.cd-em-rows{display:flex;flex-direction:column;gap:12px}
.cd-em-row{display:flex;align-items:center;justify-content:space-between;text-align:left;font:inherit;border:1px solid #e5e3dd;border-radius:14px;background:#fff;padding:16px 18px;cursor:pointer;color:#1f1e1d}
.cd-em-row:hover{background:#faf9f5}
.cd-em-row span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.cd-em-row b{font-size:15px;font-weight:500}
.cd-em-row small{font-size:13.5px;color:#6b6a66;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-em-row span:last-child{font-size:22px;color:#6b6a66}
.cd-em-opts{display:flex;flex-direction:column;border:1px solid #e5e3dd;border-radius:14px;overflow:hidden}
.cd-em-opt{position:relative;display:flex;flex-direction:column;gap:3px;text-align:left;font:inherit;border:0;border-bottom:1px solid #f0eee8;background:#fff;padding:12px 44px 12px 16px;cursor:pointer;color:#1f1e1d}
.cd-em-opt:last-child{border-bottom:0}
.cd-em-opt.on{background:#f0eee8}
.cd-em-opt b{font-size:15px;font-weight:500}
.cd-em-opt small{font-size:13.5px;color:#6b6a66}
.cd-em-opt span{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:#2563eb;font-size:18px}
.cd-em-l{display:block;font-size:14px;font-weight:500;color:#1f1e1d;margin:16px 0 6px}
.cd-em-in{width:100%;box-sizing:border-box;font:inherit;font-size:14.5px;border:1px solid #e5e3dd;border-radius:10px;padding:10px 12px;background:#fff;color:#1f1e1d}
.cd-em-help{font-size:13px;color:#6b6a66;line-height:1.45;margin:6px 0 0}
.cd-em-list{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}
.cd-em-li{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e5e3dd;border-radius:10px;padding:8px 12px}
.cd-em-li span{display:flex;flex-direction:column;min-width:0}
.cd-em-li small{font-size:12.5px;color:#6b6a66;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-em-li button{border:0;background:none;font-size:18px;color:#6b6a66;cursor:pointer}
.cd-em-notsent{font-style:normal;font-size:11.5px;font-weight:600;color:#9a3412;background:#fdeee4;border-radius:6px;padding:1px 7px;margin-left:6px;vertical-align:1px}
.cd-em-li small.cd-em-why{white-space:normal;color:#7a4a12;line-height:1.4;margin-top:4px}
.cd-em-help.cd-em-warnnote{color:#7a4a12}
.cd-em-addrow{display:flex;gap:8px}
.cd-em-addrow input{flex:1;font:inherit;font-size:14px;border:1px solid #e5e3dd;border-radius:10px;padding:9px 12px}
.cd-em-hdrs{display:grid;grid-template-columns:1.3fr 1fr 1.4fr 28px;gap:6px 8px;align-items:center;margin-top:8px}
.cd-em-hdrs>span{font-size:12.5px;color:#6b6a66}
.cd-em-hdrs input,.cd-em-hdrs select{min-width:0;font:inherit;font-size:14px;border:1px solid #e5e3dd;border-radius:10px;padding:8px 10px;background:#fff}
.cd-em-hdrs button{border:0;background:none;font-size:18px;color:#6b6a66;cursor:pointer}
.cd-em-hdrs button:disabled{opacity:.3}
.cd-em-plus{margin-top:10px}
.cd-em-curl{margin-top:12px;font-size:13.5px;color:#1f1e1d}
.cd-em-curl pre{background:#faf9f5;border:1px solid #e5e3dd;border-radius:10px;padding:10px;font-size:12.5px;white-space:pre-wrap;margin-top:6px}
.cd-em-code{border:1px solid #e5e3dd;border-radius:14px;overflow:hidden}
.cd-em-codebar{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #f0eee8}
.cd-em-tag{font-size:12.5px;border:1px solid #e5e3dd;border-radius:999px;padding:2px 10px;margin-right:auto}
.cd-em-file{font-size:13.5px;cursor:pointer}
.cd-em-codebar button{border:0;background:none;cursor:pointer;font-size:15px;color:#6b6a66}
.cd-em-code textarea{display:block;width:100%;box-sizing:border-box;min-height:220px;border:0;outline:none;resize:vertical;font:13.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;padding:12px 14px;color:#1f1e1d}
.cd-em-codefoot{font-size:12.5px;color:#6b6a66;border-top:1px solid #f0eee8;padding:6px 12px;background:#faf9f5}
.cd-em-vars{display:block;width:100%;box-sizing:border-box;min-height:170px;font:13.5px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid #e5e3dd;border-radius:12px;padding:12px 14px;resize:vertical;color:#1f1e1d}
.cd-em-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:20px}
.cd-em-err{margin-right:auto;font-size:13px;color:#b3261e}
.cd-em-cancel,.cd-em-yes{font:inherit;font-size:14.5px;border-radius:10px;padding:9px 16px;cursor:pointer;border:1px solid #e5e3dd;background:#f5f4f0;color:#1f1e1d}
.cd-em-yes{background:#1f1e1d;border-color:#1f1e1d;color:#fff}
.cd-em-yes:disabled{opacity:.5}
.cd-em-area{min-height:120px;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}

/* ENVIRONMENTS LIKE CLAUDE CODE'S (owner, 2026-11-06): the picker under the box
   (before the first message), the name box, Archive, and the new-environment card. */
.cd-picks .cd-pick-env { display: inline-flex; align-items: center; gap: 3px; margin-right: auto; padding-left: 8px; color: #6b7280; }
.cd-picks .cd-pick-env svg { flex: none; }
.cd-pick-env select { max-width: 200px; text-overflow: ellipsis; }
/* The starting branch (2026-11-06, like Claude Code), before the environment. */
.cd-picks .cd-pick-branch { display: inline-flex; align-items: center; gap: 3px; padding-left: 8px; color: #6b7280; }
.cd-picks .cd-pick-branch svg { flex: none; }
.cd-pick-branch select { max-width: 160px; text-overflow: ellipsis; }
.cd-em-top { margin: -4px 0 12px; }
.cd-em-archive { display: block; margin: 14px auto 0; border: 0; background: none; color: #b3261e; font: inherit; font-size: 13.5px; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.cd-em-archive:hover { background: #fbeeed; }
.cd-sure-in { display: block; width: 100%; box-sizing: border-box; margin-top: 12px; font: inherit; font-size: 14px; border: 1px solid #d9d6cf; border-radius: 10px; padding: 9px 12px; color: #1f1e1d; }
.cd-sure-in:focus { outline: none; border-color: #1f1e1d; }
.cd-sure-box.is-text .cd-sure-row .cd-sure-yes { background: #1f1e1d; border-color: #1f1e1d; }
.cd-ne { text-align: left; border: 1px solid #e5e3dd; border-radius: 12px; background: #fff; padding: 12px 14px; margin: 10px 0 8px; }
.cd-ne-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #f0eee8; }
.cd-ne-head b { font-size: 14.5px; color: #1f1e1d; }
.cd-ne-head span { font-size: 12.5px; color: #6b6a66; }
.cd-ne-sec { padding-top: 10px; }
.cd-ne-sec small { display: block; font-size: 12.5px; color: #6b6a66; margin-bottom: 4px; }
.cd-ne-sec > div { font-size: 13.5px; color: #1f1e1d; }
.cd-ne-plus { color: #1a7f37; font-weight: 700; margin-right: 8px; }
.cd-ne-minus { color: #cf222e; font-weight: 700; margin-right: 8px; } /* a host, variable or key that stops (Claude Code's environment tools' cards, 2026-11-14) */
.cd-ne-n { display: inline-block; width: 1.8em; color: #a9a7a1; user-select: none; }

/* REWIND (2026-11-06, like Claude Code): a small button on your messages, and its three choices. */
.cd-user{position:relative}
.cd-rewind{display:block;margin:0 0 4px auto;font:inherit;font-size:12px;color:#6b7280;background:none;border:0;padding:2px 4px;cursor:pointer;opacity:.75}
.cd-rewind:hover,.cd-rewind:focus{opacity:1;text-decoration:underline}
.cd-pick-col{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.cd-pick-col button{font:inherit;font-size:14px;border-radius:10px;padding:9px 14px;cursor:pointer;border:1px solid #e5e3dd;background:#fff;color:#1f1e1d;text-align:left}
.cd-pick-col button:hover{filter:brightness(.96)}
.cd-pick-col .cd-sure-no{text-align:center;color:#6b7280}

/* SEVERAL REPOSITORIES IN ONE CHAT (2026-11-06, like Claude Code): the menu to add one, and a tag for each. */
.cd-picks .cd-pick-repo { display: inline-flex; align-items: center; gap: 3px; padding-left: 8px; color: #6b7280; }
.cd-picks .cd-pick-repo svg { flex: none; }
.cd-pick-repo select { max-width: 150px; text-overflow: ellipsis; }
.cd-repo-chip { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; padding: 2px 4px 2px 9px; border: 1px solid #e5e3dd; border-radius: 999px; font-size: 12px; color: #4b5563; background: #fff; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-repo-chip button { font: inherit; border: 0; background: none; color: #6b7280; cursor: pointer; padding: 0 4px; }
/* A READ-ONLY REPOSITORY (owner item 5): its label, the box to open any public repository, the patch download. */
.cd-ro { display: inline-flex; align-items: center; font-size: 11px; color: #92400e; background: #fef3c7; border: 1px solid #fde68a; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.cd-open { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 440px; margin: 4px 0 2px; text-align: left; }
.cd-open label { font-size: 13px; color: #4b5563; }
.cd-open-row { display: flex; gap: 8px; }
.cd-open-row input { flex: 1; min-width: 0; border: 1px solid #ddd8d0; border-radius: 10px; padding: 9px 12px; font: 14px Inter, system-ui, sans-serif; color: #0d1b2a; background: #fff; }
.cd-open-row input:focus { outline: none; border-color: #0d1b2a; }
.cd-open-note { margin: 0; font-size: 12px; color: #6b7280; }
.cd-patch { margin-left: 8px; }
/* CODE REVIEW, PER REPOSITORY (owner item 11): on the Repositories screen. */
.cd-repo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cd-repo-row .cd-repo { flex: 1 1 260px; min-width: 0; }
.cd-review { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #4b5563; }
.cd-review label { display: flex; align-items: center; gap: 6px; }
.cd-review select { font: inherit; font-size: 12px; padding: 4px 6px; border: 1px solid #ddd8d0; border-radius: 8px; background: #fff; color: #1f2937; }
.cd-review-note code { font-size: 12px; background: #f1eee9; border-radius: 4px; padding: 1px 4px; }
/* NOTIFICATIONS (owner item 8): the panel from the account menu. */
.cd-notify { max-width: 440px; }
/* Settings (the gear's menu, 2026-11-10): a heading per part, and a row with its words and its picker. */
.cd-settings { max-width: 480px; max-height: calc(100vh - 32px); overflow-y: auto; }
.cd-set-head { margin: 16px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #8a8782; }
.cd-set-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 13px; color: #6b6a68; line-height: 1.4; }
.cd-set-row b { color: #1f1e1d; font-weight: 600; }
.cd-set-row select { flex: none; font: inherit; font-size: 13px; border: 1px solid #e0dbd2; border-radius: 8px; padding: 6px 8px; background: #fff; color: #1f1e1d; }
.cd-notify-device { margin: 14px 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #4b5563; }
.cd-notify-device button { font: inherit; font-size: 14px; border-radius: 10px; padding: 8px 14px; cursor: pointer; border: 1px solid #e5e3dd; background: #fff; color: #1f1e1d; }
.cd-notify-device .cd-notify-go { background: #1f1e1d; border-color: #1f1e1d; color: #fff; }
.cd-notify-on { color: #166534; font-weight: 600; }
.cd-notify-sw { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: #6b6a68; line-height: 1.4; cursor: pointer; }
.cd-notify-sw b { color: #1f1e1d; font-weight: 600; }
.cd-notify-sw input { margin-top: 3px; }
.cd-notify-note { margin-top: 10px; font-size: 13px; color: #1f1e1d; }
.cd-sure-row .cd-notify-done { background: #1f1e1d; border-color: #1f1e1d; color: #fff; }
.cd-notify-hint { flex-basis: 100%; font-size: 12px; color: #6b7280; }

/* CONNECTORS (MCP, 2026-11-10; the look of Claude's connectors page, 2026-11-11): a page over the app. */
.cx { position: fixed; inset: 0; z-index: 90; background: #faf9f7; overflow-y: auto; font-family: Inter, system-ui, sans-serif; color: #1f1e1d; }
.cx-in { max-width: 860px; margin: 0 auto; padding: 28px 24px 60px; }
.cx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cx-h { font-size: 22px; font-weight: 600; }
.cx-x { border: 0; background: none; color: #6b6a68; cursor: pointer; padding: 6px; border-radius: 8px; display: flex; }
.cx-x:hover, .cx-backb:hover { background: #efede8; }
.cx-sub, .cx-desc { font-size: 14px; color: #6b6a68; line-height: 1.5; margin: 8px 0 0; }
.cx-bar { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; flex-wrap: wrap; }
.cx-seg { display: flex; background: #efede8; border-radius: 10px; padding: 3px; }
.cx-seg button { font: inherit; font-size: 14px; border: 0; background: none; padding: 6px 14px; border-radius: 8px; cursor: pointer; color: #6b6a68; }
.cx-seg button.on { background: #fff; color: #1f1e1d; box-shadow: 0 1px 2px rgba(0,0,0,.08); font-weight: 500; }
.cx-search { flex: 1 1 200px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e5e3dd; border-radius: 10px; padding: 0 12px; color: #8b8a86; min-width: 0; }
.cx-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14px; padding: 8px 0; background: none; color: #1f1e1d; min-width: 0; }
.cx-btn { font: inherit; font-size: 13px; border-radius: 9px; padding: 6px 12px; cursor: pointer; border: 1px solid #e5e3dd; background: #fff; color: #1f1e1d; white-space: nowrap; }
.cx-btn:hover { background: #f4f2ee; }
.cx-btn[disabled] { opacity: .6; cursor: default; }
.cx-btn-dark, .cx-add { background: #1f1e1d; border-color: #1f1e1d; color: #fff; }
.cx-btn-dark:hover, .cx-add:hover { background: #33322f; }
.cx-note { margin: 0 0 12px; font-size: 13px; background: #f1eee9; border-radius: 9px; padding: 8px 12px; }
.cx-table { border-top: 1px solid #e5e3dd; }
.cx-row { display: grid; grid-template-columns: 1fr 140px 150px; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid #e5e3dd; }
.cx-head { font-size: 13px; color: #8b8a86; font-weight: 500; padding: 10px 6px; }
.cx-click { cursor: pointer; border-radius: 0; }
.cx-click:hover, .cx-click:focus-visible { background: #f4f2ee; outline: none; }
.cx-name { display: flex; align-items: center; gap: 12px; font-size: 15px; min-width: 0; }
.cx-name > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.cx-about { font-size: 12.5px; color: #8b8a86; margin-top: 2px; }
.cx-badge { flex: none; width: 30px; height: 30px; border-radius: 8px; display: inline-flex !important; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; flex-direction: row !important; }
.cx-tcol { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6b6a68; }
.cx-pill { font-size: 11px; border: 1px solid #d9d6cf; border-radius: 999px; padding: 1px 7px; color: #6b6a68; }
.cx-scol { display: flex; align-items: center; gap: 8px; justify-content: flex-start; }
.cx-ok { color: #1f1e1d; display: flex; }
.cx-warn { display: flex; }
.cx-group-h { font-size: 12px; font-weight: 600; color: #8b8a86; text-transform: uppercase; letter-spacing: .04em; padding: 16px 6px 6px; border-bottom: 1px solid #e5e3dd; }
.cx-soon { opacity: .6; }
.cx-empty { padding: 24px 6px; font-size: 14px; color: #8b8a86; }
.cx-backb { font: inherit; font-size: 14px; font-weight: 500; border: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin-left: -8px; border-radius: 8px; color: #1f1e1d; }
.cx-dhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cx-dname { font-size: 20px; font-weight: 600; }
.cx-dacts { display: flex; gap: 8px; }
.cx-url { font-size: 12.5px; color: #8b8a86; margin: 6px 0 0; overflow-wrap: anywhere; }
.cx-bad { color: #b42318; }
.cx-ph { font-size: 16px; font-weight: 600; margin-top: 26px; }
.cx-group { margin-top: 16px; }
.cx-ghead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.cx-gtoggle { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 0; color: #1f1e1d; }
.cx-chev { display: flex; transition: transform .15s; }
.cx-chev.shut { transform: rotate(-90deg); }
.cx-count { font-size: 12px; font-weight: 500; border: 1px solid #d9d6cf; border-radius: 999px; padding: 0 7px; color: #6b6a68; }
.cx-gsel { font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid #e5e3dd; border-radius: 9px; background: #fff; color: #1f1e1d; }
.cx-tool { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 10px 22px; border-bottom: 1px solid #efede8; }
.cx-tname { font-size: 14px; display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.cx-info { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #b9b6af; color: #8b8a86; font-size: 10px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; cursor: help; }
.cx-perms { flex: none; display: flex; background: #efede8; border-radius: 10px; padding: 2px; }
.cx-perms button { border: 0; background: none; color: #8b8a86; width: 32px; height: 28px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cx-perms button.on { background: #fff; color: #1f1e1d; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.cx-alloff { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: #6b6a68; line-height: 1.4; cursor: pointer; }
.cx-alloff b { color: #1f1e1d; font-weight: 600; }
.cx-alloff input { margin-top: 3px; }
.cx-pill-warn { border-color: #f0c36d; color: #92400e; background: #fff8e6; margin-left: 6px; }
.cx-warnbox { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: #78350f; background: #fff8e6; border: 1px solid #f3dca5; border-radius: 10px; padding: 10px 12px; }
.cx-warnbox code { font-size: 12px; background: #fdecc4; border-radius: 4px; padding: 0 4px; }
.cx-warnbox .cx-btn { margin-top: 8px; }
.cx-ph-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cx-when { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; color: #1f1e1d; }
.cx-when label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cx-chat { max-width: 460px; max-height: 86vh; overflow-y: auto; }
.cx-chatlist { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.cx-chatrow { border: 1px solid #e5e3dd; border-radius: 12px; padding: 8px 10px; }
.cx-chathead { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.cx-chathead b { font-weight: 600; color: #1f1e1d; }
.cx-chatwhy { font-size: 12px; color: #92400e; }
.cx-chattools { margin-left: auto; font: inherit; font-size: 12px; border: 0; background: none; color: #6b6a68; cursor: pointer; text-decoration: underline; }
.cx-chathead .cx-switch { margin-left: auto; }
.cx-chattools + .cx-switch { margin-left: 8px; }
.cx-switch { position: relative; width: 36px; height: 20px; flex: none; }
.cx-switch input { opacity: 0; width: 0; height: 0; }
.cx-switch span { position: absolute; inset: 0; background: #d9d6cf; border-radius: 999px; cursor: pointer; transition: background .15s; }
.cx-switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cx-switch input:checked + span { background: #1f1e1d; }
.cx-switch input:checked + span::after { transform: translateX(16px); }
.cx-switch input:disabled + span { opacity: .5; cursor: default; }
.cx-chattoollist { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 2px 40px; font-size: 13px; color: #1f1e1d; }
.cx-chattoollist label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cd-connchip { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; border-radius: 8px; padding: 4px 8px; font: 500 12.5px Inter, system-ui, sans-serif; color: #4b5563; cursor: pointer; }
.cd-connchip:hover { background: #f3f1ed; color: #0d1b2a; }
.cx-adv { margin-top: 12px; font-size: 13px; color: #4b5563; }
.cx-adv summary { cursor: pointer; color: #1f1e1d; font-weight: 500; }
.cx-adv p { margin: 8px 0 6px; line-height: 1.45; }
.cx-cb { display: block; font-size: 12px; background: #f1eee9; border-radius: 6px; padding: 6px 8px; overflow-wrap: anywhere; color: #1f1e1d; }
.cx-plist { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: #4b5563; }
.cx-plist li { margin-bottom: 6px; overflow-wrap: anywhere; }
.cx-plist code { font-size: 12.5px; background: #f1eee9; border-radius: 4px; padding: 1px 5px; color: #1f1e1d; }
.cx-addbox .cx-addnote { margin-top: 8px; font-size: 13px; color: #b42318; }
@media (max-width: 600px) {
  .cx-in { padding: 18px 16px 48px; }
  .cx-row { grid-template-columns: 1fr auto; }
  .cx-tcol { display: none; }
  .cx-head .cx-tcol { display: none; }
  .cx-scol { justify-content: flex-end; }
  .cx-about { display: none; }
}

/* ITS BACKGROUND COMMANDS STILL RUNNING (tool 4, part 2), above the message box, each with a Stop. */
.cd-bg { border: 1px solid #e6e2db; border-radius: 12px; background: #fff; margin: 0 0 8px; padding: 6px 12px; font: 13px Inter, system-ui, sans-serif; color: #374151; }
.cd-bg-head { font-size: 11.5px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; padding: 2px 0 4px; }
.cd-bg-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; min-width: 0; }
.cd-bg-row + .cd-bg-row { border-top: 1px solid #f1eee9; }
.cd-bg-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; flex: none; animation: cd-bg-pulse 1.6s ease-in-out infinite; }
@keyframes cd-bg-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .cd-bg-dot { animation: none; } }
.cd-bg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1f2937; }
.cd-bg-time { color: #6b7280; font-size: 12px; flex: none; font-variant-numeric: tabular-nums; }
.cd-bg-stop { border: 1px solid #e0dbd2; background: #fff; color: #0d1b2a; border-radius: 999px; padding: 2px 10px; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; flex: none; }
.cd-bg-stop:hover { border-color: #b42318; color: #b42318; }
.cd-bg-stop:disabled { opacity: .6; cursor: default; }
.cd-st-stopped { color: #6b7280; font-size: 12px; }
.cd-bg-outbtn:hover { border-color: #0d1b2a; color: #0d1b2a; }
.cd-bg-out { margin: 2px 0 6px 15px; min-width: 0; }
.cd-bg-outlines { margin: 0; max-height: 220px; overflow: auto; background: #0d1b2a; color: #e5e7eb; border-radius: 8px; padding: 8px 10px; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-bg-outnote { color: #6b7280; font-size: 12.5px; padding: 2px 0; }
.cd-bg-file { color: #6b7280; font-size: 12px; padding-top: 4px; overflow-wrap: anywhere; }
.cd-bg-file code { font: 11.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: #374151; }

/* SHELL MODE (tool 4, part 3, like Claude Code's "!"): the box, the hint under it, and the owner's command in the chat. */
.cd-compose.is-shell { border-color: #b45309; box-shadow: 0 0 0 1px #b45309 inset; }
.cd-compose.is-shell textarea { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }
.cd-shellhint { display: none; margin: 6px 6px 0; font: 12px Inter, system-ui, sans-serif; color: #b45309; }
.cd-compose.is-shell + .cd-shellhint { display: block; }
.cd-bubble.cd-bubble-shell { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; white-space: pre-wrap; }
.cd-bgmove { margin: -4px 0 10px 30px; border: 1px solid #e0dbd2; background: #fff; color: #0d1b2a; border-radius: 999px; padding: 2px 10px; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; }
.cd-bgmove:hover { border-color: #0d1b2a; }
.cd-bgmove:disabled { opacity: .6; cursor: default; }
.cd-run-info { margin: -4px 0 6px 30px; font: 12px Inter, system-ui, sans-serif; color: #6b7280; font-variant-numeric: tabular-nums; }
/* A step auto mode's checker blocked (like Claude Code's "Blocked by auto mode" and "Auto mode: <reason>" under the call). */
.cd-autoblock { margin: -2px 0 8px 30px; font: 13px/1.45 Inter, system-ui, sans-serif; }
.cd-autoblock-head { color: #b3261e; font-weight: 600; }
.cd-autoblock-why { color: #6b7280; overflow-wrap: anywhere; }
/* A hook's own words keep their lines, in a fixed-width font, so a table in them stays a table (2026-11-13). */
.cd-hookblock-why { white-space: pre-wrap; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* A step auto mode's check gave no usable answer for: a dim row, not an error (Claude Code's "Not run"). */
.cd-notrun { margin: -2px 0 8px 30px; font: 13px/1.45 Inter, system-ui, sans-serif; color: #9ca3af; }
.cd-st-notrun { color: #9ca3af; font-weight: 500; }
.cd-progress { margin: 0 0 8px 30px; padding: 6px 10px; background: #f7f5f1; border: 1px solid #eee9e1; border-radius: 8px; font: 12px "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #374151; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 8.5em; overflow: hidden; }

/* MESSAGES WAITING FOR CODER (Claude Code's queue): grey, at the end of the chat, each with ✕ to take it back. */
.cd-queued .cd-bubble { background: #f1efeb; color: #6b7280; border: 1px dashed #d8d3ca; }
.cd-queued-label { display: flex; justify-content: flex-end; align-items: center; gap: 6px; font: 12px Inter, system-ui, sans-serif; color: #6b7280; margin-bottom: 4px; }
.cd-queued-x { border: 0; background: transparent; color: #6b7280; font-size: 13px; line-height: 1; padding: 2px 4px; border-radius: 6px; cursor: pointer; }
.cd-queued-x:hover { background: #ece8e1; color: #0d1b2a; }
.cd-queue-send { margin-right: 6px; }

/* THE PERMISSION MODE (the owner, 2026-11-09, the Claude app's menu): the mode's chip beside the model and effort, and its
   menu above it: each mode with its line, a check on the one in use, its number key. */
.cd-mode-wrap { position: relative; display: inline-flex; }
.cd-mode-btn { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; border-radius: 8px; padding: 4px 8px; font: 500 12.5px Inter, system-ui, sans-serif; color: #6b7280; cursor: pointer; white-space: nowrap; }
.cd-mode-btn:hover, .cd-mode-btn[aria-expanded="true"] { background: #f3f1ed; color: #0d1b2a; }
.cd-mode-btn svg { flex: none; }
.cd-mode-btn svg:last-child { opacity: .7; transform: rotate(90deg); }
.cd-mode-btn.is-plan { color: #2f5d8a; }
.cd-mode-btn.is-acceptEdits { color: #6b4fa0; }
.cd-modes { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; width: 320px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e5e3dd; border-radius: 14px; box-shadow: 0 10px 32px rgba(0,0,0,.14); padding: 6px; }
.cd-mode-row { display: flex; align-items: flex-start; gap: 10px; width: 100%; border: 0; background: transparent; border-radius: 10px; padding: 9px 10px; text-align: left; cursor: pointer; font: inherit; color: #1f1e1d; }
.cd-mode-row:hover, .cd-mode-row:focus-visible { background: #f5f3ee; outline: none; }
.cd-mode-ic { flex: none; width: 18px; display: inline-flex; justify-content: center; padding-top: 2px; color: #57534e; }
.cd-mode-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cd-mode-t b { font-size: 14px; font-weight: 600; }
.cd-mode-t small { font-size: 12.5px; color: #6b6a66; line-height: 1.35; }
.cd-mode-ck { flex: none; width: 14px; font-size: 13px; color: #1f1e1d; padding-top: 1px; }
.cd-mode-row kbd, .cd-perm-opt kbd { flex: none; font: 500 11px Inter, system-ui, sans-serif; color: #8a8884; border: 1px solid #e5e3dd; border-radius: 5px; min-width: 18px; text-align: center; padding: 1px 4px; background: #faf9f6; }
.cd-modes-sep { height: 1px; background: #ece9e2; margin: 4px 6px; }
.cd-mode-rules { display: block; width: 100%; border: 0; background: transparent; border-radius: 10px; padding: 8px 10px 8px 38px; text-align: left; font: 500 13px Inter, system-ui, sans-serif; color: #57534e; cursor: pointer; }
.cd-mode-rules:hover { background: #f5f3ee; color: #1f1e1d; }

/* A STEP WAITING ON THE OWNER (Claude Code's permission prompt): what Coder wants to do, why it asks, the numbered choices, a
   note; once answered, the answer in one line. A plan's card shows the plan itself. */
.cd-perm { border: 1px solid #e5e3dd; border-radius: 14px; background: #fff; margin: 8px 0; padding: 14px 16px; max-width: 560px; outline: none; }
.cd-perm.is-live { border-color: #d6c9a8; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 0 0 3px #fbf3e2; }
.cd-perm-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #1f1e1d; margin-bottom: 8px; }
.cd-perm-ic { display: inline-flex; width: 26px; height: 26px; border-radius: 7px; background: #1f1e1d; color: #fff; align-items: center; justify-content: center; flex: none; }
/* A display name at the heading's end: a connector tool's (Claude Code's display_name), a question's (its permissionDisplay). */
.cd-perm-dn { margin-left: auto; flex: none; max-width: 45%; font-size: 12px; font-weight: 500; color: #57534e; background: #f5f3ee; border: 1px solid #ece9e2; border-radius: 999px; padding: 2px 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-perm-desc { font-size: 13.5px; color: #1f1e1d; margin: 0 0 6px; overflow-wrap: anywhere; }
.cd-perm-pre { background: #faf9f6; border: 1px solid #ece9e2; border-radius: 10px; padding: 9px 12px; font: 12.5px/1.5 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; margin: 0 0 8px; color: #1f1e1d; }
.cd-perm-pre .cd-wl { display: block; margin: 0 -12px; padding: 0 12px; white-space: pre-wrap; }
.cd-perm-why { font-size: 12.5px; color: #6b6a66; margin: 0 0 8px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-perm-q { font-size: 13.5px; font-weight: 600; color: #1f1e1d; margin: 10px 0 6px; }
.cd-perm-opts { display: flex; flex-direction: column; gap: 4px; }
.cd-perm-opt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid #ece9e2; background: #fff; border-radius: 10px; padding: 8px 10px; font: 500 13.5px Inter, system-ui, sans-serif; color: #1f1e1d; cursor: pointer; }
.cd-perm-opt:hover:not(:disabled), .cd-perm-opt:focus-visible { background: #f5f3ee; border-color: #d9d6cf; outline: none; }
.cd-perm-opt code, .cd-perm-done code { background: #f0ede7; border-radius: 5px; padding: 1px 6px; font-size: 12.5px; }
.cd-perm-opt.is-sent { background: #1f1e1d; border-color: #1f1e1d; color: #fff; }
.cd-perm-opt.is-sent kbd { background: transparent; color: #d6d3cc; border-color: #57534e; }
.cd-perm-opt:disabled { cursor: default; }
.cd-perm-opt:disabled:not(.is-sent) { opacity: .55; }
.cd-perm-note { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; font: inherit; font-size: 13.5px; color: #1f1e1d; border: 1px solid #d9d6cf; border-radius: 10px; padding: 8px 10px; background: #fff; }
.cd-perm-note:focus { outline: none; border-color: #1f1e1d; }
.cd-perm-done { font-size: 13px; color: #57534e; margin-top: 4px; overflow-wrap: anywhere; }
/* Auto's 2-minute question for a dangerous removal: its countdown, in the rules list's warning colours. */
.cd-perm-timer { font-size: 12.5px; line-height: 1.45; color: #7a4800; background: #fff6e5; border: 1px solid #f1d9a8; border-radius: 8px; padding: 6px 10px; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.cd-perm-ok { color: #1d6b3a; font-weight: 600; }
.cd-perm-no { color: #b3261e; font-weight: 600; }
.cd-plan .cd-perm-ic { background: #2f5d8a; }
.cd-plan-body { border: 1px solid #ece9e2; border-radius: 10px; padding: 4px 14px; background: #fdfcfa; max-height: 420px; overflow: auto; font-size: 14px; }
/* The plan edited on its card before it is approved (Claude Code's "edit it directly before Claude proceeds", 2026-11-14). */
.cd-plan-edit { border: 0; background: none; padding: 6px 0 0; font: 500 12.5px Inter, system-ui, sans-serif; color: #2f5d8a; cursor: pointer; }
.cd-plan-edit:hover, .cd-plan-edit:focus-visible { text-decoration: underline; outline: none; }
.cd-plan-text { margin-top: 0; font: 12.5px/1.5 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; min-height: 160px; max-height: 420px; }
.cd-st-wait { color: #9a5b00; font-weight: 600; }

/* THE OWNER'S RULES FOR A REPOSITORY (Claude Code's /permissions). */
.cd-rules { max-width: 520px; }
.cd-rules-k { margin-top: 14px; }
.cd-rules-h { font-size: 13.5px; color: #1f1e1d; }
.cd-rules-h span { color: #6b6a66; font-size: 12.5px; }
.cd-rules-trust { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 12.5px; color: #6b6a66; line-height: 1.45; cursor: pointer; }
.cd-rules-trust input { margin: 2px 0 0; flex: none; }
.cd-rules-trust b { display: block; font-size: 13.5px; color: #1f1e1d; font-weight: 600; margin-bottom: 2px; }
.cd-rules-k ul { list-style: none; margin: 6px 0 0; padding: 0; }
.cd-rules-k li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; border: 1px solid #ece9e2; border-radius: 8px; margin-bottom: 4px; font-size: 13px; overflow-wrap: anywhere; }
.cd-rules-k li button { border: 0; background: transparent; color: #6b6a66; font-size: 16px; line-height: 1; cursor: pointer; border-radius: 6px; padding: 2px 6px; }
.cd-rules-k li button:hover { background: #f3f1ed; color: #b3261e; }
.cd-rules-none { font-size: 12.5px; color: #a19c94; margin: 4px 0 0; }
/* A rule Claude Code keeps but warns about: its short row under the rule, and its full warning once it is added (Bash docs pass 5). */
.cd-rules-r { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cd-rules-note { font-size: 12px; color: #9a5b00; }
.cd-rules-warn { font-size: 12.5px; line-height: 1.45; color: #7a4800; background: #fff6e5; border: 1px solid #f1d9a8; border-radius: 8px; padding: 8px 10px; margin: 10px 0 0; overflow-wrap: anywhere; }
.cd-rules-add { display: flex; gap: 6px; margin-top: 16px; }
.cd-rules-add select, .cd-rules-add input { font: inherit; font-size: 13.5px; border: 1px solid #d9d6cf; border-radius: 8px; padding: 7px 9px; background: #fff; color: #1f1e1d; }
.cd-rules-add input { flex: 1; min-width: 0; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.cd-rules-add button { font: inherit; font-size: 13.5px; font-weight: 600; border: 1px solid #1f1e1d; background: #1f1e1d; color: #fff; border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.cd-rules .cd-sure-row .cd-sure-yes { background: #1f1e1d; border-color: #1f1e1d; }
.cd-sure-text code { background: #f0ede7; border-radius: 5px; padding: 1px 5px; font-size: 12.5px; }

/* Settings: the owner's hooks (JSON, as in Claude Code's settings). */
.cd-set-hint { font-size: 12.5px; line-height: 1.45; color: #6b6a68; margin: 4px 0 8px; }
.cd-set-hint code { font-size: 12px; }
.cd-set-hooks { width: 100%; box-sizing: border-box; min-height: 130px; resize: vertical; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 8px 10px; border: 1px solid #e0dbd2; border-radius: 8px; background: #fff; color: #1f1e1d; }
.cd-set-hooks-row { margin-top: 6px; justify-content: flex-start; }
/* GLOOPY'S CHAT (owner, 2026-11-09): its figure beside its name on top, and bigger in its welcome. */
.cd-gl-av { display: inline-flex; align-items: center; height: 26px; }
.cd-gl-fig { display: flex; justify-content: center; margin-bottom: 10px; }
.cd-gl-empty p { max-width: 460px; margin-left: auto; margin-right: auto; }
/* A browser step's sentence ("Clicked “Go”", Gloopy, 2026-11-09): plain words, not code. */
.cd-cmd-said { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* A step's long words (a handoff's whole task) end in "…" on its one line, not past the chat's edge (live test, 2026-11-10). */
.cd-cmd-verb:has(> .cd-cmd-said) { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Gloopy's cards from a run the owner did not start wait 30 minutes; one not answered in time says so (the audit, 2026-11-10). */
.cd-card-until{font-size:12.5px;color:#8a6a00;margin:0 0 10px;text-align:left}
.cd-card-expired{font-size:13px;color:#6b6a66;background:#f1efe9;border-radius:8px;padding:6px 10px;margin:4px 0 0;text-align:left}
/* What a request held for the owner's OK sends. */
.cd-approve-body{margin:2px 0 12px;max-height:200px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
/* The sign-in card's other ways (the audit, 2026-11-10): the login you saved, and a warning when the page may be fake. */
.cd-sign-saved{display:block;width:100%;margin:2px 0 4px;font:inherit;font-size:15px;font-weight:600;border-radius:999px;padding:11px 12px;cursor:pointer;overflow-wrap:anywhere}
.cd-sign-saved:disabled{opacity:.6;cursor:default}
/* Three buttons on the sign-in card (Not now, Take over, Sign in) fit a phone. */
@media (max-width: 640px) { .cd-signin .cd-secret-btns { gap: 8px; } .cd-signin .cd-secret-btns button { font-size: 14px; padding: 11px 4px; } }
.cd-sign-or{font-size:12.5px;color:#8a8984;margin:6px 0 2px;text-align:center}
.cd-sign-warn{font-size:13.5px;line-height:1.45;text-align:left;border-radius:10px;padding:8px 12px;margin:0 0 10px}
.cd-sign-warn.is-danger{color:#8c1d18;background:#fdecea;border:1px solid #f5c2bd}
.cd-sign-warn.is-caution{color:#7a5a00;background:#fdf6e3;border:1px solid #f0dfaa}
.cd-sign-code{letter-spacing:.2em;font-size:18px;text-align:center}
/* Your schedules, from /schedules (the audit, 2026-11-10): each with Run now and Pause, Pause all, and the recent runs. */
.cd-sched{border:1px solid #e5e3dd;border-radius:18px;padding:16px 18px;margin:10px 0;background:#faf9f5}
.cd-sched-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.cd-sched-head b{font-size:16px;color:#1f1e1d}
.cd-sched-paused{font-size:13.5px;color:#7a5a00;background:#fdf6e3;border:1px solid #f0dfaa;border-radius:10px;padding:7px 11px;margin:0 0 8px}
.cd-sched-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #ecebe6}
.cd-sched-row.is-paused .cd-sched-t{opacity:.6}
.cd-sched-t{display:flex;flex-direction:column;min-width:0}
.cd-sched-t b{font-size:14.5px;color:#1f1e1d;overflow-wrap:anywhere}
.cd-sched-t small{font-size:12.5px;color:#6b6a66;margin-top:2px;overflow-wrap:anywhere}
.cd-sched-btns{display:flex;gap:6px;flex-shrink:0}
.cd-sched-btn{font:inherit;font-size:13px;font-weight:600;border-radius:999px;padding:6px 12px;cursor:pointer}
.cd-sched-btn:disabled{opacity:.5;cursor:default}
.cd-sched-none{font-size:13.5px;color:#6b6a66;margin:4px 0}
.cd-sched-log{border-top:1px solid #ecebe6;margin-top:6px;padding-top:8px;font-size:12.5px;color:#6b6a66;line-height:1.6}
.cd-sched-log small{display:block;font-weight:600;color:#4b4a46;margin-bottom:2px}
@media (max-width: 640px) { .cd-sched-row { flex-direction: column; align-items: stretch; } .cd-sched-btns { justify-content: flex-start; } }
/* Tables in answers (the audit, 2026-11-10): scrolled sideways when wide. */
.cd-table{overflow-x:auto;margin:8px 0 10px;border:1px solid #e5e3dd;border-radius:10px}
.cd-table table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.45}
.cd-table th,.cd-table td{padding:7px 11px;text-align:left;vertical-align:top;border-bottom:1px solid #ecebe6}
.cd-table th{background:#f4f3ef;font-weight:600;color:#1f1e1d;white-space:nowrap}
.cd-table tr:last-child td{border-bottom:0}
/* A file's preview over the chat, and where Gloopy is signed in (the audit, 2026-11-10). */
.cd-filecard-view{margin-right:6px}
.cd-view{position:fixed;inset:0;z-index:60;background:rgba(20,20,18,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.cd-view-box{background:#fff;border-radius:16px;width:min(980px,100%);height:min(88vh,1100px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.cd-view-bar{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-bottom:1px solid #ecebe6}
.cd-view-bar b{flex:1;min-width:0;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cd-view-x{font:inherit;font-size:22px;line-height:1;width:34px;height:34px;border:0;border-radius:999px;background:transparent;cursor:pointer;color:#4b4a46}
.cd-view-x:hover{background:#f1efe9}
.cd-view-body{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#f4f3ef}
.cd-view-body iframe{width:100%;height:100%;border:0;background:#fff}
.cd-view-body img{max-width:100%;max-height:100%;object-fit:contain}
.cd-signins-saved{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0}
/* A card's warning, and a card one of the owner's rules asked for (the docs, 2026-11-10). */
.cd-card-warn{display:inline-block;font-size:12.5px;font-weight:600;color:#8c1d18;background:#fdecea;border-radius:999px;padding:3px 10px;margin:0 0 8px}
.cd-card-rule{font-size:12.5px;color:#6b6a66;margin:0 0 8px}
/* A schedule's task, and how each run went (the docs, 2026-11-10). */
.cd-sched-task{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12.5px;color:#6b6a66;margin-top:2px;white-space:pre-wrap}
.cd-sched-del{color:#8c1d18}
.cd-run-ok{color:#1d6b3a;font-weight:600}
.cd-run-bad{color:#8c1d18;font-weight:600}
.cd-run-wait{color:#8a5a00;font-weight:600}
.cd-sched-btns{flex-wrap:wrap;justify-content:flex-end;max-width:56%}
@media (max-width: 640px) { .cd-sched-btns { max-width: none; justify-content: flex-start; } }
.cd-note .cd-resume{font:inherit;font-size:13px;font-weight:600;border-radius:999px;padding:5px 14px;margin-left:8px;cursor:pointer;vertical-align:middle}

/* GLOOPY'S SETTINGS (2026-11-10), laid out as Grok Bot's (2026-11-12): a menu down the left (each page an icon and its
   name, the open one on a grey pill), the page on the right (its title, small grey labels over white cards, each row a
   name and a line about it with its control on the right), and × in the top corner. Grok Bot's own greys and blue. */
.cd-sure-box.cd-gset{position:relative;max-width:800px;height:min(624px,88vh);padding:0;display:flex;overflow:hidden;border-radius:14px;background:#fcfcfc;color:#1f1f1f}
.cd-gset-nav{flex:none;width:176px;box-sizing:border-box;display:flex;flex-direction:column;gap:2px;padding:14px 11px 14px 12px;border-right:1px solid #f0f0f0;overflow-y:auto}
.cd-gset-navb{display:flex;align-items:center;gap:9px;font:inherit;font-size:13px;color:#1f1f1f;text-align:left;border:0;background:none;border-radius:7px;padding:6px 8px;cursor:pointer;white-space:nowrap}
.cd-gset-navb svg{flex:none;width:15px;height:15px;color:#3d3d3d}
.cd-gset-navb:hover{background:#f3f3f3}
.cd-gset-navb.is-on{background:#eaeaea}
.cd-gset-navb:focus-visible,.cd-gset-x:focus-visible,.cd-gset-dd:focus-visible{outline:2px solid #1f1f1f;outline-offset:1px}
.cd-gset-main{flex:1;min-width:0;display:flex;flex-direction:column}
.cd-gset-body{flex:1;overflow-y:auto;padding:28px 30px 24px}
.cd-gset-body,.cd-gset-nav{scrollbar-width:thin;scrollbar-color:#d6d6d6 transparent}
.cd-gset-pt{margin:4px 0 22px 6px;font-size:16px;font-weight:500;color:#1f1f1f}
.cd-gset-x{position:absolute;top:9px;right:11px;z-index:3;display:grid;place-items:center;width:28px;height:28px;border:0;background:none;border-radius:7px;color:#747474;cursor:pointer}
.cd-gset-x:hover{background:#efefef;color:#1f1f1f}
.cd-gset section{margin:0 0 24px}
.cd-gset h3.cd-gset-sl{margin:0 0 8px 11px;font-size:11.5px;font-weight:400;color:#8b8b8b}
.cd-gset-card{background:#fff;border:1px solid #f0f0f0;border-radius:11px;padding:2px 13px}
.cd-gset-cardnote{margin:11px 0 3px;font-size:12px;line-height:1.45;color:#8b8b8b}
.cd-gset-hint{margin:0 0 10px;font-size:12.5px;line-height:1.45;color:#6b6b6b}
.cd-gset-row{display:flex;align-items:center;gap:14px;padding:11px 0}
label.cd-gset-row{cursor:pointer}
.cd-gset-what{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.cd-gset-what b{font-size:13px;font-weight:400;color:#1f1f1f}
.cd-gset-what small{font-size:12px;line-height:1.4;color:#8b8b8b}
.cd-gset-kind+.cd-gset-kind{border-top:1px solid #f4f4f4}
.cd-gset-kind .cd-gset-list{margin:0 0 6px 14px}
/* Grok Bot's drop-down (its "Follow System ⌄"): no box, the choice and a small arrow. */
.cd-gset-dd{flex:none;field-sizing:content;max-width:170px;font:inherit;font-size:12.5px;color:#1f1f1f;border:0;border-radius:7px;padding:5px 22px 5px 8px;cursor:pointer;-webkit-appearance:none;appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 7px center}
.cd-gset-dd:hover{background-color:#f3f3f3}
.cd-gset-dd.m-deny{color:#b3261e}
.cd-gset-dd:disabled{cursor:default;opacity:.6}
/* Grok Bot's switch (its "Check Spelling While Typing"). */
.cd-gset-tog{flex:none;-webkit-appearance:none;appearance:none;position:relative;width:30px;height:18px;margin:0;border-radius:999px;background:#d9d9d9;cursor:pointer;transition:background .15s}
.cd-gset-tog::before{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.cd-gset-tog:checked{background:#1680f3}
.cd-gset-tog:checked::before{transform:translateX(12px)}
.cd-gset-tog:focus-visible{outline:2px solid #1680f3;outline-offset:2px}
.cd-gset-tog:disabled{cursor:default;opacity:.6}
/* Grok Bot's grey buttons (its "Add Rule"), and black for the one that saves. */
.cd-gset .cd-gset-pill,.cd-gset-btns button,.cd-gset-add button,.cd-vault-btns button{flex:none;font:inherit;font-size:12.5px;font-weight:500;border:0;background:#efefef;color:#1f1f1f;border-radius:999px;padding:5px 11px;cursor:pointer;white-space:nowrap}
.cd-gset .cd-gset-pill:hover,.cd-gset-btns button:hover,.cd-gset-add button:hover,.cd-vault-btns button:hover{background:#e6e6e6}
.cd-gset button.cd-gset-go{background:#1f1f1f;color:#fff}
.cd-gset button.cd-gset-go:hover{background:#000}
.cd-gset button:disabled{cursor:default;opacity:.6}
.cd-gset-add{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}
.cd-gset-l{font-size:12px;font-weight:500;color:#5d5d5d}
.cd-gset-in{font:inherit;font-size:13px;border:1px solid #e3e3e3;border-radius:9px;padding:7px 10px;color:#1f1f1f;background:#fff;box-sizing:border-box;width:100%;resize:vertical}
.cd-gset-in:focus{outline:none;border-color:#1f1f1f}
.cd-gset-addrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cd-gset-siteadd{flex-direction:row;align-items:center;flex-wrap:wrap}
.cd-gset-siteadd .cd-gset-in{flex:1;min-width:140px;width:auto}
.cd-gset-list{list-style:none;margin:0 0 6px;padding:0}
.cd-gset-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #f4f4f4}
.cd-gset-item.is-edit form{display:flex;flex-direction:column;gap:6px;width:100%}
.cd-gset-text{flex:1;min-width:0;font-size:13px;color:#1f1f1f;overflow-wrap:anywhere}
.cd-gset-host{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}
/* The browser's sign-ins (2026-11-11): the site, then how and when it was signed in, under it. */
.cd-gset-text small{display:block;margin-top:2px;font-size:12px;color:#8b8b8b}
.cd-gset-text b.cd-gset-host{font-weight:500}
/* Through your own computer (2026-11-11): how the link is doing, and the live view's tag while it carries the browser. */
.cd-gset-route{margin:-4px 0 12px;font-size:12px;color:#5d5d5d}
.cd-web-route{flex:none;font-size:11.5px;font-weight:600;color:#1f6f43;background:#e7f4ec;border-radius:999px;padding:2px 8px;white-space:nowrap}
.cd-gset-btns{display:inline-flex;gap:6px;flex:none}
.cd-gset-none{margin:0 0 12px;font-size:12.5px;color:#8b8b8b}
.cd-gset-foot{margin:-12px 6px 16px;font-size:11.5px;line-height:1.5;color:#8b8b8b}
.cd-gset-note{padding:10px 30px;border-top:1px solid #f0f0f0;font-size:12.5px;color:#4b4b4b;background:#fff}
/* On a phone: a sheet from the bottom, the menu a row of tabs along its top. */
@media (max-width:640px){
  .cd-gset-wrap{padding:0;align-items:flex-end}
  .cd-sure-box.cd-gset{flex-direction:column;max-width:none;height:92vh;height:92dvh;border-radius:16px 16px 0 0}
  .cd-gset-nav{width:auto;flex-direction:row;gap:4px;margin-right:44px;padding:10px 0 10px 12px;border-right:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .cd-gset-main{border-top:1px solid #f0f0f0}
  .cd-gset-nav::-webkit-scrollbar{display:none}
  .cd-gset-navb{flex:none;padding:6px 10px}
  .cd-gset-navb svg{display:none}
  .cd-vault-new{margin-right:0}
  .cd-gset-body{padding:18px 16px 20px}
  .cd-gset-pt{margin:0 0 16px 4px}
  .cd-gset-x{top:10px;right:10px}
  .cd-gset-note{padding:10px 16px}
  .cd-gset-item,.cd-vault-item{flex-wrap:wrap}
}
/* ITS MONITOR PAUSED THE RUN (2026-11-10). */
.cd-paused{max-width:720px;margin:10px auto;border:1px solid #f0d9a8;background:#fdf6e7;border-radius:12px;padding:12px 14px;color:#5c4400}
.cd-paused b{font-size:14px}
.cd-paused p{margin:4px 0 0;font-size:14px;line-height:1.45}
.cd-paused .cd-paused-how{font-size:12.5px;color:#7a6224}
/* ITS HELPERS' OWN TABS (2026-11-10). */
.cd-web-lanes{display:inline-flex;gap:2px;border:1px solid #e1ded7;border-radius:999px;padding:2px;background:#f7f6f2;flex:none}
.cd-web-lane{font:600 12px Inter,system-ui,sans-serif;border:0;background:transparent;color:#4b4a46;border-radius:999px;padding:3px 9px;cursor:pointer;white-space:nowrap}
.cd-web-lane[aria-pressed="true"]{background:#1f1e1d;color:#fff}
/* THE WHOLE COMPUTER in Gloopy's live view (2026-11-12, Grok Bot's): its tabs and terminal as a browser's tab strip, the
   address row above the page, and the terminal in the page's place. */
.cd-web-tabs{display:flex;align-items:flex-end;gap:2px;padding:6px 8px 0;background:#f1efea;border-bottom:1px solid #e3dfd7;overflow-x:auto;scrollbar-width:none}
.cd-web-tabs::-webkit-scrollbar{display:none}
.cd-web-tabwrap{display:inline-flex;align-items:center;min-width:0;max-width:220px;flex:0 1 auto;border-radius:9px 9px 0 0;background:transparent}
.cd-web-tabwrap.is-on{background:#fff;box-shadow:0 -1px 0 #e3dfd7,1px 0 0 #e3dfd7,-1px 0 0 #e3dfd7}
.cd-web-tab{display:inline-flex;align-items:center;gap:7px;min-width:0;border:0;background:transparent;color:#57534e;font:500 12.5px Inter,system-ui,sans-serif;padding:7px 10px 8px;border-radius:9px 9px 0 0;cursor:pointer;white-space:nowrap}
.cd-web-tab span{overflow:hidden;text-overflow:ellipsis;min-width:0}
.cd-web-tab i{flex:none;width:16px;height:16px;border-radius:4px;background:#e7e4dd;color:#57534e;font:700 10px/16px Inter,system-ui,sans-serif;font-style:normal;text-align:center}
.cd-web-tabwrap.is-on .cd-web-tab{color:#1f1e1d}
.cd-web-tab[aria-selected="true"]{color:#1f1e1d}
.cd-web-tabx{flex:none;border:0;background:transparent;color:#78716c;font-size:15px;line-height:1;width:22px;height:22px;border-radius:6px;margin-right:4px;cursor:pointer}
.cd-web-tabx:hover{background:#ece9e3;color:#1f1e1d}
.cd-web-tabnew{flex:none;border:0;background:transparent;color:#57534e;font:500 18px/1 Inter,system-ui,sans-serif;width:28px;height:28px;border-radius:8px;margin:0 2px 3px;cursor:pointer}
.cd-web-tabnew:hover{background:#e7e4dd}
.cd-web-termtab{margin-left:auto;border-radius:9px 9px 0 0}
.cd-web-termtab[aria-selected="true"]{background:#111827;color:#e5e7eb}
.cd-web-termtab i{background:#1f2937;color:#a7f3d0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.cd-web-nav{border-top:0;padding-top:8px;border-bottom:1px solid #efece7;align-items:center}
.cd-web-ro{align-items:center;gap:8px;color:#57534e;font-size:13px}
.cd-web-lock{flex:none;font-size:12px}
.cd-web-full{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f6f4f0;border-radius:999px;padding:6px 12px;color:#44403c;font-size:13px}
.cd-web-term{background:#0f172a;color:#e2e8f0;font:12.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:12px 14px;height:max(160px,min(52vh,calc(100vh - 470px)));overflow:auto}
.cd-web-nav .cd-web-in::placeholder{color:#44403c}
.cd-term-cmd{white-space:pre-wrap;word-break:break-word;color:#f8fafc}
.cd-term-who{display:inline-block;min-width:52px;color:#94a3b8}
.cd-term-p{color:#34d399;font-weight:700}
.cd-term-out{margin:2px 0 10px 56px;white-space:pre-wrap;word-break:break-word;color:#cbd5e1;font:inherit}
.cd-term-out.is-bad{color:#fca5a5}
.cd-term-out.is-run{color:#64748b}
.cd-term-none{color:#94a3b8;margin:0}
.cd-web-cmd{align-items:center;background:#0b1220;border-top:1px solid #1e293b}
.cd-web-cmd .cd-web-in{background:#0f172a;color:#e2e8f0;border-color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.cd-web-cmd .cd-web-in:focus{border-color:#34d399}

/* THE VAULT (2026-11-12, owner: "do all 5 make sure you do similar frontend compare to grok bot"; Grok Bot's Settings →
   Vault): its title with a dark "New item" button and its menu, a tab row with Search Vault, the logins, a form to add
   or change one, an export's review, and the note under it. */
.cd-vault-head{display:flex;align-items:center;gap:10px;margin:0 0 18px}
.cd-vault-head .cd-gset-pt{margin:0 0 0 6px}
.cd-vault-new{position:relative;margin:0 20px 0 auto}
.cd-gset button.cd-vault-newbtn{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:12.5px;font-weight:500;border:0;background:#1f1e1d;color:#fff;border-radius:999px;padding:6px 12px;cursor:pointer}
.cd-vault-newbtn svg{transform:rotate(90deg)}
.cd-vault-newbtn:disabled{opacity:.6;cursor:default}
.cd-vault-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:5;display:flex;flex-direction:column;min-width:240px;padding:6px;background:#fff;border:1px solid #e6e2db;border-radius:12px;box-shadow:0 10px 30px rgba(15,23,32,.12)}
.cd-gset .cd-vault-menu button{display:flex;align-items:center;gap:9px;font:inherit;font-size:13.5px;font-weight:500;text-align:left;border:0;background:none;color:#1f1e1d;border-radius:8px;padding:8px 10px;cursor:pointer}
.cd-gset .cd-vault-menu button:hover{background:#f4f2ee}
.cd-vault-menu svg{color:#6b6a68;flex:none}
.cd-vault-bar{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.cd-vault-tab{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#4b4a46;border-radius:999px;padding:5px 11px}
.cd-vault-tab.is-on{background:#efefef;color:#1f1f1f;font-weight:500}
.cd-vault-tab i{font-style:normal;color:#8a857d;font-weight:500}
.cd-vault-q{margin-left:auto;width:min(220px,50%);box-sizing:border-box;font:inherit;font-size:13px;border:1px solid #f3f3f3;border-radius:999px;padding:7px 12px 7px 32px;color:#1f1f1f;background:#f3f3f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a857d' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px 50%}
.cd-vault-q:focus{outline:none;border-color:#1f1e1d;background-color:#fff}
/* Each login one row: its key, its names, Edit and Remove (found live, 2026-11-12: without it they stacked). */
.cd-vault-item{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #f4f4f4}
.cd-vault-card{padding:0 13px;margin:0 0 14px}
.cd-vault-card .cd-vault-list{margin:0}
.cd-vault-item:first-child{border-top:0}
.cd-vault-ic{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#f3f3f3;color:#4b4b4b}
.cd-vault-hint{font-style:italic}
.cd-vault-made{color:#0f766e}
.cd-vault-item.is-open{display:block}
.cd-vault-form{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;padding:13px;border:1px solid #f0f0f0;border-radius:11px;background:#fff}
.cd-vault-form .cd-gset-l small{font-weight:400;color:#8a857d}
.cd-vault-form .cd-secret-pw .cd-secret-in{font-size:14px;border-radius:10px;padding:8px 46px 8px 11px}
.cd-vault-btns{margin-top:6px}
.cd-vault-sp{flex:1}
.cd-gset .cd-vault-btns button.cd-gset-go{margin-left:0}
.cd-gset .cd-vault-btns .cd-vault-rm{color:#b42318;border-color:#f1c7c2}
.cd-vault-impt{font-size:14px;color:#1f1e1d}
.cd-vault-imp .cd-gset-hint{margin:0 0 6px}
.cd-gset .cd-vault-file{position:relative;align-self:flex-start;display:inline-flex;align-items:center;font-size:13px;font-weight:600;background:#1f1e1d;color:#fff;border-radius:999px;padding:7px 14px;cursor:pointer}
.cd-vault-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.cd-vault-sum{margin:2px 0 6px;font-size:13px;color:#4b4a46;overflow-wrap:anywhere}
.cd-vault-review{list-style:none;margin:0;padding:0;max-height:220px;overflow:auto;border:1px solid #ece9e3;border-radius:10px;background:#fff}
.cd-vault-review li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-top:1px solid #f4f2ee;font-size:13px}
.cd-vault-review li:first-child{border-top:0}
.cd-vault-review li span{flex:1;min-width:0;overflow-wrap:anywhere}
.cd-vault-review li b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:500;font-size:12.5px}
.cd-vault-review li small{display:block;color:#8a857d}
.cd-vault-review li em{flex:none;font-style:normal;font-size:12px;color:#8a857d}
.cd-vault-review li.is-ok em{color:#11845b;font-weight:600}
.cd-vault-review li.is-skip{opacity:.75}
.cd-vault-empty{text-align:center;padding:14px 0}
.cd-vault-foot{margin:4px 6px 12px;font-size:11.5px;line-height:1.5;color:#8b8b8b}
.cd-vault-nick{font-weight:600;font-size:14px;color:#1f1e1d}
.cd-gset-text small .cd-gset-host{font-size:12px}

/* THE VAULT'S CARDS AND CONTACT INFO, AND PAYING (owner, 2026-11-13: "yes if dots and bot have it do it pls"; Grok Bot's Vault
   tabs, its "Filled into the page" line, its order card with the pay button that shows the total, and "Paid with"). */
.cd-vault-tabs{display:inline-flex;gap:2px;flex-wrap:wrap}
button.cd-vault-tab{border:0;background:transparent;font:inherit;font-size:13px;cursor:pointer}
button.cd-vault-tab:hover:not(.is-on){background:#f6f6f6}
.cd-vault-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.cd-vault-tag{font-size:11.5px;font-style:normal;color:#4b4a46;background:#f1efe9;border-radius:999px;padding:2px 8px;white-space:nowrap}
.cd-vault-tag.is-def{color:#0b57d0;background:#e8f0fe;font-weight:600}
/* At phone size (live test, 2026-11-13): the search on its own row, so the three tabs stay on one line. */
@media (max-width:640px){.cd-vault-bar{flex-wrap:wrap}.cd-vault-tabs{flex-wrap:nowrap}.cd-vault-q{margin-left:0;width:100%}}
.cd-vault-cardt{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 6px;font-size:14px;color:#1f1e1d}
.cd-vault-cardt small{flex-basis:100%;font-size:12px;color:#8a857d}
.cd-pay-opt em{font-style:normal;font-size:11.5px;font-weight:600;color:#0b57d0;background:#e8f0fe;border-radius:999px;padding:1px 7px}
.cd-filled{display:flex;align-items:flex-start;gap:6px;font-size:13px;line-height:1.45;text-align:left;border-radius:10px;padding:8px 10px;margin:4px 0 0}
.cd-filled svg{flex:none;margin-top:1px}
.cd-filled.is-ok{color:#14532d;background:#ecfdf3}
.cd-filled.is-no{color:#7a2e0e;background:#fff4ed}
.cd-pay.is-filled .cd-secret-p{margin-bottom:8px}
.cd-order-items{list-style:none;margin:6px 0 4px;padding:0;text-align:left;border-top:1px solid #ece9e2}
.cd-order-items li{display:flex;gap:12px;justify-content:space-between;font-size:13.5px;color:#1f1e1d;padding:8px 2px;border-bottom:1px solid #ece9e2}
.cd-order-items li b{font-weight:500;white-space:nowrap}
.cd-order-row{display:flex;gap:12px;justify-content:space-between;font-size:13.5px;margin:0;padding:8px 2px;border-bottom:1px solid #ece9e2;text-align:left}
.cd-order-row span{color:#6b6a66;flex:none}
.cd-order-row b{font-weight:500;color:#1f1e1d;text-align:right;overflow-wrap:anywhere}
.cd-order-row.is-total{border-bottom:0;margin-bottom:10px}
.cd-order-row.is-total b{font-size:16px;font-weight:700}
.cd-order .cd-secret-btns .cd-card-yes{font-weight:700}
.cd-order .cd-order-check{font-size:13px;color:#6b6a66;margin-top:-2px}
.cd-receipt{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.45;border-radius:12px;padding:10px 12px;margin:8px 0}
.cd-receipt svg{flex:none;margin-top:2px;width:16px;height:16px}
.cd-receipt span{display:flex;flex-direction:column}
.cd-receipt small{font-size:12.5px;color:#6b6a66;margin-top:2px}
.cd-receipt.is-ok{color:#14532d;background:#ecfdf3}
.cd-receipt.is-no{color:#7a2e0e;background:#fff4ed}
.cd-vault-scan{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
.cd-vault-scan .cd-vault-file{cursor:pointer}
.cd-gset .cd-vault-scan .cd-vault-file{background:#efefef;color:#1f1f1f;font-weight:500}
.cd-gset .cd-vault-scan .cd-vault-file:hover{background:#e6e6e6}

/* A CONNECTOR'S QUESTION FOR YOU (MCP elicitation, coder.js elicitHTML): Claude Code's cloud card, in the permission card's look. */
.cd-elicit .cd-perm-head b { overflow-wrap: anywhere; }
.cd-el-from { font-size: 12.5px; color: #6b6a66; margin: -2px 0 8px; overflow-wrap: anywhere; }
/* (Its server's own subtitle, under its own title: the question's _meta["anthropic/permissionDisplay"]. Round 5.) */
.cd-el-sub { font-size: 13px; color: #57534e; margin: -2px 0 8px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 160px; overflow: auto; }
.cd-el-msg { font-size: 13.5px; color: #1f1e1d; margin: 0 0 10px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 320px; overflow: auto; }
.cd-el-form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 4px; }
.cd-el-f { display: flex; flex-direction: column; gap: 4px; }
.cd-el-l { font-size: 13px; font-weight: 600; color: #1f1e1d; overflow-wrap: anywhere; }
.cd-el-req { color: #b3261e; margin-left: 3px; }
.cd-el-desc { font-size: 12.5px; color: #6b6a66; line-height: 1.4; overflow-wrap: anywhere; }
.cd-el-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; color: #1f1e1d; border: 1px solid #d9d6cf; border-radius: 10px; padding: 8px 10px; background: #fff; }
.cd-el-in:focus { outline: none; border-color: #1f1e1d; }
.cd-el-f.is-bad .cd-el-in { border-color: #b3261e; }
.cd-el-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-el-pick { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ece9e2; border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 13px; color: #1f1e1d; cursor: pointer; background: #fff; }
.cd-el-pick:has(input:checked) { border-color: #1f1e1d; background: #f5f3ee; }
.cd-el-pick input { margin: 0; accent-color: #1f1e1d; }
.cd-el-err { color: #b3261e; font-size: 12.5px; margin: 0; }
.cd-el-url { background: #faf9f6; border: 1px solid #ece9e2; border-radius: 10px; padding: 9px 12px; font: 12.5px/1.5 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; color: #57534e; overflow-wrap: anywhere; word-break: break-all; max-height: 160px; overflow: auto; margin: 0 0 8px; }
.cd-el-url b { color: #1f1e1d; }
.cd-el-warn { font-size: 12.5px; color: #7a4800; background: #fff6e5; border: 1px solid #f1d9a8; border-radius: 8px; padding: 6px 10px; margin: 0 0 8px; }
.cd-el-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cd-el-btns > * { flex: 1 1 auto; min-width: 120px; box-sizing: border-box; font: inherit; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 9px 14px; cursor: pointer; text-align: center; text-decoration: none; }
.cd-el-open { border: 1px solid #1f1e1d; background: #fff; color: #1f1e1d; }
.cd-elicit.is-opened .cd-el-open { background: #f5f3ee; }
.cd-el-btns .cd-secret-save:disabled, .cd-el-btns .cd-secret-no:disabled { opacity: .55; cursor: default; }

/* CODER'S CLEANER LOOK, LIKE CLAUDE CODE (the owner, 2026-11-15: "the frontend looks confusing and weird … compare it to
   claude code"; Coder in the browser first, Gloopy later): steps are light rows, not boxes; the top bar is quiet, with
   Create PR the one strong button; the menus under the message box are only as wide as their words. Coder only (#gfApp). */
#gfApp .cd-group-box { border: 0; background: transparent; margin-top: 2px; }
#gfApp .cd-group-box .cd-cmd { padding: 0 0 0 4px; }
#gfApp .cd-group-box .cd-cmd + .cd-cmd { border-top: 0; }
#gfApp .cd-group-box .cd-cmd-row { padding: 3px 0; }
#gfApp .cd-group-box .cd-cmd-row svg { opacity: .7; }
#gfApp .cd-group-head { font-size: 13.5px; }
#gfApp .cd-cmd-row { font-size: 13.5px; }
#gfApp .cd-cmd-text { font-size: 13.5px; }
#gfApp .cd-head { gap: 8px; }
#gfApp .cd-head .cd-hbtn { border-color: transparent; background: transparent; color: #4b5563; font-weight: 500; }
#gfApp .cd-head .cd-hbtn:hover { background: #f1eee8; color: #0d1b2a; }
#gfApp .cd-head .cd-hbtn[aria-pressed="true"] { background: #ebe7e0; color: #0d1b2a; border-color: transparent; }
#gfApp .cd-head #cdMakePr { background: #0d1b2a; color: #fff; font-weight: 600; margin-left: 4px; }
#gfApp .cd-head #cdMakePr:hover { background: #24364a; }
#gfApp .cd-head .cd-branch { color: #8a857d; }
#gfApp .cd-pick select { field-sizing: content; }
#gfApp .cd-sic { background: transparent; border: 0; width: 18px; color: #9a958c; }

/* UNDER THE MESSAGE BOX, LIKE CLAUDE CODE (the owner, 2026-11-15: "look under the chatbox"): one quiet row of plain grey
   words, model, effort, mode, connectors; no arrows, no icons, no colours. Coder only. */
#gfApp .cd-picks { gap: 0; align-items: center; }
#gfApp .cd-pick select { background-image: none; padding: 4px 8px; color: #6b7280; font-weight: 400; font-size: 13px; }
#gfApp .cd-mode-btn, #gfApp .cd-connchip { color: #6b7280 !important; font-weight: 400; font-size: 13px; padding: 4px 8px; }
#gfApp .cd-mode-btn svg, #gfApp .cd-connchip svg { display: none; }
#gfApp .cd-pick select:hover, #gfApp .cd-mode-btn:hover, #gfApp .cd-connchip:hover { color: #0d1b2a !important; }

/* THE MODE MENU, LIKE CLAUDE CODE'S (the owner, 2026-11-15, with both side by side): a small "Mode" title, no icons, plain
   grey numbers, tighter rows, a blue tick. Coder only. */
#gfApp .cd-modes { padding: 10px 6px 6px; width: 380px; }
#gfApp .cd-modes::before { content: "Mode"; display: block; padding: 0 12px 6px; font: 400 13px Inter, system-ui, sans-serif; color: #8a8884; }
#gfApp .cd-mode-ic { display: none; }
#gfApp .cd-mode-row { padding: 7px 12px; gap: 8px; align-items: center; }
#gfApp .cd-mode-t { gap: 1px; }
#gfApp .cd-mode-t b { font-weight: 400; font-size: 14.5px; }
#gfApp .cd-mode-t small { font-size: 13px; color: #8a8884; }
#gfApp .cd-mode-ck { color: #2f6fdc; font-size: 15px; width: 18px; }
#gfApp .cd-mode-row kbd { border: 0; background: transparent; color: #8a8884; font-size: 13px; }
#gfApp .cd-mode-rules { padding-left: 12px; font-weight: 400; color: #8a8884; }
.cx-badge.cx-logo { background: #fff; border: 1px solid #ebe7e0; }
.cx-badge.cx-logo img { display: block; width: 18px; height: 18px; }

/* SETTINGS, PLAIN (the owner, 2026-11-15: "settings lol, look at them, ewwwww"): roomy rows, a title with one short line,
   the control on the right; section names small and grey; the code-written parts closed under Advanced. */
.cd-set-head { margin: 22px 0 4px; font: 500 12.5px Inter, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: #8a8884; }
.cd-set-row, .cd-sure .cd-notify-sw { padding: 12px 0; border-bottom: 1px solid #f0ede7; }
.cd-set-row span, .cd-sure .cd-notify-sw span { font-size: 13px; color: #8a8884; line-height: 1.45; }
.cd-set-row b, .cd-sure .cd-notify-sw b { font-size: 14.5px; font-weight: 500; color: #1f1e1d; }
.cd-set-adv { margin-top: 22px; border-top: 1px solid #f0ede7; padding-top: 10px; }
.cd-set-adv > summary { cursor: pointer; font: 500 14.5px Inter, system-ui, sans-serif; color: #1f1e1d; padding: 6px 0; }
.cd-set-adv > summary::after { content: " · hooks and Auto mode rules, written as code"; font-weight: 400; font-size: 13px; color: #8a8884; }
.cd-slash .cd-mention-i { display: flex; gap: 12px; align-items: baseline; }
.cd-slash .cd-mention-i b { font-weight: 500; min-width: 110px; }
.cd-slash .cd-mention-i span { color: #8a8884; font-size: 13px; }
.cd-slash .cd-mention-i span { font-family: Inter, system-ui, sans-serif; }

/* THE TYPEWRITER PLAYING on the new-chat page (owner, 2026-11-15: "a bit more animated … doing funny stuff"): it types
   all the time (a line every 2.5 s), says "ding!" at each return, and on a 10-second loop hops with a squash, wiggles,
   and tosses a crumpled page over its shoulder. A hover makes it jump. Nothing moves with reduced motion. */
.cd-cl-play { position: relative; width: 140px; height: 132px; margin: 0 auto 6px; }
.cd-cl-hop { position: absolute; left: 12px; bottom: 6px; transform-origin: 50% 100%; animation: cl-play 10s ease-in-out infinite; }
.cd-cl-play:hover .cd-cl-hop { animation: cl-jump .7s ease-out 1; }
.cd-cl-shadow { position: absolute; left: 30px; bottom: 2px; width: 80px; height: 8px; border-radius: 50%; background: #0d1b2a; opacity: .08; animation: cl-shadow 10s ease-in-out infinite; }
.cd-cl-ding { position: absolute; right: -14px; top: 10px; font: 700 13px/1 ui-monospace, monospace; color: #c0392b; opacity: 0; animation: cl-ding 2500ms linear infinite; }
.cd-cl-ball { position: absolute; left: 62px; top: 30px; width: 12px; height: 12px; border-radius: 45% 55% 40% 60%; background: #fff; border: 1.5px solid #d5cec3; opacity: 0; animation: cl-ball 10s ease-in infinite; }
@keyframes cl-ding { 0%, 47% { opacity: 0; transform: translateY(4px) scale(.6) rotate(-8deg); } 50% { opacity: 1; transform: translateY(0) scale(1.15) rotate(6deg); } 62% { opacity: 1; transform: translateY(-6px) scale(1) rotate(0); } 70%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes cl-play {
  0%, 20% { transform: none; }
  23% { transform: scale(1.08, .88); }
  28% { transform: translateY(-26px) scale(.95, 1.06) rotate(-6deg); }
  33% { transform: translateY(0) scale(1.1, .86); }
  36%, 50% { transform: none; }
  53% { transform: rotate(-7deg); } 56% { transform: rotate(7deg); } 59% { transform: rotate(-6deg); } 62% { transform: rotate(5deg); } 65%, 76% { transform: none; }
  79% { transform: rotate(-10deg) translateX(-4px); } 84% { transform: rotate(4deg); } 88%, 100% { transform: none; }
}
@keyframes cl-shadow { 0%, 23% { transform: none; opacity: .08; } 28% { transform: scale(.6); opacity: .04; } 33%, 100% { transform: none; opacity: .08; } }
@keyframes cl-ball { 0%, 79% { opacity: 0; transform: none; } 80% { opacity: 1; transform: none; } 86% { opacity: 1; transform: translate(-40px, -46px) rotate(-200deg); } 93% { opacity: 1; transform: translate(-72px, 70px) rotate(-420deg); } 96%, 100% { opacity: 0; transform: translate(-76px, 70px); } }
@keyframes cl-jump { 0% { transform: none; } 20% { transform: scale(1.1, .85); } 50% { transform: translateY(-30px) rotate(8deg); } 80% { transform: scale(1.08, .9); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .cd-cl-play * { animation: none !important; } }
/* THE CHAT TITLE'S ▾ MENU (2026-11-15, like Claude Code's): Rename, as an inline edit. Coder only (#gfApp). */
#gfApp .cd-title-wrap { position: relative; display: inline-flex; margin-left: -6px; }
#gfApp .cd-title-more { border: 0; background: transparent; color: inherit; opacity: .6; cursor: pointer; padding: 2px 4px; font-size: 12px; border-radius: 4px; }
#gfApp .cd-title-more:hover, #gfApp .cd-title-more[aria-expanded="true"] { opacity: 1; background: rgba(127,127,127,.15); }
#gfApp .cd-title-menu { position: absolute; top: 100%; left: 0; z-index: 30; margin-top: 4px; min-width: 120px; padding: 4px; border-radius: 8px; border: 1px solid #e0dbd2; background: #fff; color: #0d1b2a; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
#gfApp .cd-title-menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: inherit; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 13.5px; }
#gfApp .cd-title-menu button:hover { background: #f3f0ea; }
#gfApp .cd-title-in { font: inherit; font-size: 14.5px; font-weight: 600; max-width: 34ch; padding: 2px 6px; border-radius: 6px; border: 1px solid #e0dbd2; background: #fff; color: #0d1b2a; }
#gfApp .cd-head:has(> .cd-title-in) > .cd-title-bar { display: none; }
/* LIKE CLAUDE CODE ON THE WEB (the owner's recording, 2026-11-15), Coder only (#gfApp): the grey "Working… 3s" line; the small
   grey row under each message (✓ Just now, copy, rewind; under an answer copy, thumbs up and down, the time); the panel on
   the right on a desktop. */
#gfApp .cd-working { color: #8a8f98; font-size: 13px; padding: 4px 2px; display: flex; gap: 6px; align-items: baseline; }
#gfApp .cd-working-w { animation: cd-pulse 1.8s infinite ease-in-out; }
@keyframes cd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { #gfApp .cd-working-w { animation: none; } }
#gfApp .cd-working-s { font-variant-numeric: tabular-nums; }
#gfApp .cd-meta { display: flex; align-items: center; gap: 2px; color: #9aa0a8; font-size: 12px; margin-top: -2px; }
#gfApp .cd-meta-a { margin-top: 2px; margin-left: -5px; }
#gfApp .cd-meta-t { padding: 0 5px; white-space: nowrap; }
#gfApp .cd-meta-b { border: 0; background: transparent; color: inherit; width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
#gfApp .cd-meta-b:hover { background: #efece6; color: #0d1b2a; }
#gfApp .cd-meta-b[aria-pressed="true"] { color: #0d1b2a; background: #ebe7e0; }
#gfApp .cd-meta-b.is-done { color: #0f766e; }
#gfApp .cd-meta-u { opacity: .85; }
#gfApp .cd-rp-tog { border: 0; background: transparent; color: #6b7280; width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-left: 2px; }
#gfApp .cd-rp-tog:hover, #gfApp .cd-rp-tog[aria-pressed="true"] { background: #efece6; color: #0d1b2a; }
#gfApp .cd-rpanel { display: none; }
@media (max-width: 1099px) { #gfApp .cd-rp-tog { display: none; } }
@media (min-width: 1100px) {
  #gfApp .cd.rp-open { position: relative; padding-right: 280px; }
  #gfApp .cd.rp-open > .cd-head { margin-right: -280px; }
  #gfApp .cd-rpanel { display: flex; flex-direction: column; gap: 4px; position: absolute; right: 0; bottom: 0; top: 0; width: 280px; box-sizing: border-box; border-left: 1px solid #ece8e1; padding: 14px 12px; overflow-y: auto; background: #faf9f7; }
  #gfApp .cd-rp-sec { display: flex; flex-direction: column; gap: 5px; text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 10px 12px; font: inherit; color: #0d1b2a; min-width: 0; }
  #gfApp button.cd-rp-sec { cursor: pointer; }
  #gfApp button.cd-rp-sec:hover { background: #f1eee8; }
  #gfApp .cd-rp-h { font: 600 12px Inter, system-ui, sans-serif; color: #6b7280; }
  #gfApp .cd-rp-row { display: flex; align-items: center; gap: 7px; font-size: 13px; min-width: 0; color: #374151; }
  #gfApp .cd-rp-row svg { flex: none; color: #8a8f98; }
  #gfApp .cd-rp-dim { color: #9aa0a8; font-size: 12.5px; }
  #gfApp .cd-rp-bar { height: 4px; border-radius: 4px; background: #ebe7e0; overflow: hidden; }
  #gfApp .cd-rp-bar i { display: block; height: 100%; background: #0f766e; }
}
/* THE START-UP LINE, LIKE CLAUDE CODE ON THE WEB (2026-11-16): "Setting up a cloud container ›", "Cloning repository 2s ›",
   "Initialized session ›" folded, dots and seconds while Coder thinks, "Ran a command ›". Coder's chat only (#gfApp). */
#gfApp .cd-boot { color: #8a8f98; font-size: 13px; padding: 4px 2px; display: flex; gap: 6px; align-items: baseline; }
#gfApp .cd-boot-w { animation: cd-pulse 1.8s infinite ease-in-out; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 80%; }
#gfApp .cd-boot-s, #gfApp .cd-wait .cd-boot-s { font-variant-numeric: tabular-nums; }
#gfApp .cd-chev { color: #a3a7ae; font-size: 14px; line-height: 1; }
#gfApp .cd-wait { color: #8a8f98; font-size: 13px; padding: 4px 2px; display: flex; gap: 8px; align-items: center; }
#gfApp .cd-wait-dots { display: inline-flex; gap: 3px; }
#gfApp .cd-wait-dots i { width: 5px; height: 5px; border-radius: 50%; background: #b5b1aa; animation: cd-blink 1.2s infinite ease-in-out; }
#gfApp .cd-wait-dots i:nth-child(2) { animation-delay: .15s; }
#gfApp .cd-wait-dots i:nth-child(3) { animation-delay: .3s; }
#gfApp .cd-init { margin: 2px 0; }
#gfApp .cd-init-head, #gfApp .cd-fold1 > .cd-group-head { background: none; border: 0; padding: 4px 2px; color: #8a8f98; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; }
#gfApp .cd-init-head:hover, #gfApp .cd-fold1 > .cd-group-head:hover { color: #5f646b; }
#gfApp .cd-init.is-open .cd-chev, #gfApp .cd-fold1.is-open .cd-chev { display: inline-block; transform: rotate(90deg); }
#gfApp .cd-init-list { list-style: none; margin: 2px 0 6px; padding: 0 0 0 12px; border-left: 2px solid #e6e3de; color: #8a8f98; font-size: 12.5px; }
#gfApp .cd-init-list li { display: flex; gap: 10px; padding: 2px 0; }
#gfApp .cd-init-list b { font-weight: 500; font-variant-numeric: tabular-nums; color: #a3a7ae; }
@media (prefers-reduced-motion: reduce) { #gfApp .cd-boot-w, #gfApp .cd-wait-dots i { animation: none; } }

/* THE CHANGED-FILES BOX UNDER CODER'S ANSWER, LIKE CLAUDE CODE ON THE WEB (2026-11-16). */
#gfApp .cd-fbox { margin: 8px 0 4px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; overflow: hidden; max-width: 520px; font-size: 13.5px; }
#gfApp .cd-fbox-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-weight: 600; }
#gfApp .cd-fbox-undo { border: 1px solid rgba(0,0,0,.15); background: transparent; border-radius: 7px; padding: 3px 10px; font: inherit; font-weight: 500; font-size: 12.5px; cursor: pointer; color: inherit; }
#gfApp .cd-fbox-undo:hover { background: rgba(0,0,0,.05); }
#gfApp .cd-fbox-row { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-top: 1px solid rgba(0,0,0,.08); }
#gfApp .cd-fbox-row svg { flex: none; opacity: .65; width: 15px; height: 15px; }
#gfApp .cd-fbox-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gfApp .cd-fbox-all { display: block; width: 100%; text-align: left; padding: 7px 12px; border: 0; border-top: 1px solid rgba(0,0,0,.08); background: transparent; font: inherit; color: inherit; opacity: .75; cursor: pointer; }
#gfApp .cd-fbox-all:hover { opacity: 1; background: rgba(0,0,0,.03); }
/* Claude Code's "Suggested connectors" card (2026-11-16) */
#gfApp .cd-sg { border: 1px solid #e5e3dd; border-radius: 14px; background: #fff; margin: 8px 0; padding: 6px 0; max-width: 560px; }
#gfApp .cd-sg-head { display: flex; align-items: center; gap: 8px; padding: 8px 16px 6px; font-size: 14px; }
#gfApp .cd-sg-beta { font-size: 11px; color: #6b6760; border: 1px solid #e0ddd6; border-radius: 6px; padding: 0 6px; line-height: 18px; }
#gfApp .cd-sg-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px; }
#gfApp .cd-sg-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
#gfApp .cd-sg-name b { font-weight: 500; }
#gfApp .cd-sg-err { color: #c4362b; font-size: 12.5px; }
#gfApp .cd-sg-btn { flex: none; border: 1px solid #dcd8d0; background: #fff; border-radius: 8px; padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; color: #1f1e1c; }
#gfApp .cd-sg-btn:hover { background: #f5f3ef; }
#gfApp .cd-sg-on { flex: none; font-size: 13px; color: #6b6760; padding: 5px 4px; }
#gfApp .cd-sg-wait, #gfApp .cd-sg-note { padding: 8px 16px; font-size: 13px; color: #6b6760; }
#gfApp .cd-sg-more { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid #efece6; margin-top: 4px; background: none; padding: 10px 16px 6px; font: inherit; font-size: 13.5px; color: #6b6760; cursor: pointer; }
#gfApp .cd-sg-more:hover { color: #1f1e1c; }
@media (prefers-color-scheme: dark) {
  #gfApp .cd-sg { background: #262624; border-color: #3a3936; }
  #gfApp .cd-sg-btn { background: #2f2e2b; border-color: #45433f; color: #eeece6; }
  #gfApp .cd-sg-more { border-top-color: #3a3936; }
}
