/* chat-chrome.css — the chat screen's one-row header, its composer controls and their sheets (task-hub-composer-header-2026-11-22,
   cl-hub-composer-header-2026-11-22). Paired with deploy/chat-chrome.js; built on the KIT block in styles.css (sheet, tabs, segment, ring,
   the .t-label / .t-prose / .t-ui / .t-data type sheet). Tokens only: the lamp is Jenny's accent pick. Crimson (var(--alert)) is only for
   what waits on Jenny: the ring's dot, the Waiting tab's dot, KB edits waiting. Motion is transform / opacity only. Loads after styles.css. */

/* ── Header: one row ─────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.cc-head { --kit-surface: var(--bg); }
.cc-row { display: flex; align-items: center; gap: 4px; width: 100%; box-sizing: border-box; min-height: 52px; padding: 8px 8px 6px; min-width: 0; }
.cc-ib { width: 36px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: none; border: 0; border-radius: var(--radius-control); color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-ib:focus-visible, .cc-persona:focus-visible, .cc-ring-btn:focus-visible { outline: 1px solid var(--lamp); outline-offset: 1px; }
.cc-ib.cc-hold { visibility: hidden; }   /* in a call the back arrow keeps its place, so nothing in the row moves */
.cc-row .fp-back { margin: 0; width: 36px; height: 40px; }   /* the front page's own back-arrow rule pulled it out of the row's grid */
.cc-persona { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 0 1 auto; height: 40px; padding: 0 4px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.cc-name { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cc-name-chev { display: inline-flex; color: var(--ink-3); flex-shrink: 0; }
.cc-warm { display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; font-size: 11px; color: var(--ink-3); white-space: nowrap; margin-left: 2px; }
.cc-warm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); }
.cc-warm--warm .cc-warm-dot { background: var(--lamp); }
.cc-warm--warming .cc-warm-dot { background: var(--lamp); animation: cc-pulse 1.4s ease-in-out infinite; }
.cc-warm--none { display: none; }
.cc-flex { flex: 1 1 0; min-width: 0; }
.cc-lab { flex-shrink: 0; font-size: 11px; color: var(--ink-3); margin-right: 4px; }
.cc-ring-btn { position: relative; flex-shrink: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-recalled { position: absolute; right: 100%; top: 50%; margin-right: 2px; transform: translateY(-50%); font-size: 10.5px; color: var(--lamp); white-space: nowrap; pointer-events: none; animation: cc-recalled 2s ease-out both; }
@keyframes cc-recalled { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cc-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* The call strip: under the row, never in it. */
.cc-strip { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; min-width: 0; padding: 7px 14px; border-top: 1px solid var(--hair); background: color-mix(in oklch, var(--bg-elevated) 70%, var(--bg)); font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; animation: cc-strip-in .2s var(--ease-out) both; }
.cc-strip .t-data { font-size: 11px; }
.cc-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-hot); flex-shrink: 0; }
.cc-live { font-size: 12px; color: var(--ink); }
.cc-strip-word { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cc-strip-cam { color: var(--lamp); }
@keyframes cc-strip-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── Composer: the field on top, the controls row below ─────────────────────────────────────────────────────────────────────── */
.v9-composer-row.cc-comp { flex-direction: column; align-items: stretch; gap: 8px; }
.cc-comp .cc-field { flex: none; width: 100%; }
.cc-comp .v9-textarea { width: 100%; box-sizing: border-box; }
.cc-listen { display: none; align-items: center; gap: 10px; min-height: 40px; padding: 0 4px; color: var(--lamp); font-size: 13px; }
.v9-composer.recording .cc-listen { display: flex; }
.cc-lvl { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.cc-lvl i { display: block; width: 3px; height: 16px; border-radius: 2px; background: var(--lamp); transform-origin: center; animation: cc-lvl 1s ease-in-out infinite; }
.cc-lvl i:nth-child(2) { animation-delay: -.2s; } .cc-lvl i:nth-child(3) { animation-delay: -.45s; } .cc-lvl i:nth-child(4) { animation-delay: -.1s; } .cc-lvl i:nth-child(5) { animation-delay: -.6s; }
@keyframes cc-lvl { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }

.cc-ctrls { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cc-rb { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: transparent; border: 1px solid var(--hair-hi); border-radius: var(--radius-control); color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-rb:focus-visible, .cc-chip:focus-visible, .cc-vb:focus-visible, .cc-cb:focus-visible { outline: 1px solid var(--lamp); outline-offset: 2px; }
.cc-mic.on { border-color: var(--lamp); color: var(--lamp); }
.v9-composer.recording .cc-ctrls .cc-rb:first-child { color: var(--red-hot); border-color: var(--red-deep); }
.cc-chip { display: inline-flex; align-items: center; gap: 5px; height: 38px; flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 0 10px; overflow: hidden; background: transparent; border: 1px solid var(--hair-hi); border-radius: var(--radius-control); color: var(--ink-2); font-family: var(--mono); font-size: 11px; white-space: nowrap; cursor: pointer; }
.cc-chip-el { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cc-chip-sep { color: var(--ink-4); }
.cc-chip-eff { color: var(--lamp); }
.cc-chip-chev { display: inline-flex; flex-shrink: 0; color: var(--ink-3); }
.cc-vb { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: var(--lamp); border: 0; border-radius: var(--radius-control); color: var(--void); cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.cc-vb[disabled] { opacity: .5; cursor: not-allowed; }
.cc-vb > span { display: none; align-items: center; justify-content: center; }
.cc-vb .cc-vb-wave { display: inline-flex; }
.v9-composer.has-text .cc-vb .cc-vb-wave, .v9-composer.recording .cc-vb .cc-vb-wave { display: none; }
.v9-composer.has-text .cc-vb .cc-vb-up, .v9-composer.recording .cc-vb .cc-vb-up { display: inline-flex; }
.v9-composer.is-busy .cc-vb .cc-vb-wave, .v9-composer.is-busy .cc-vb .cc-vb-up { display: none; }
.v9-composer.is-busy .cc-vb .cc-vb-stop { display: inline-flex; }
/* The voice button and the mic never leave the screen: at 320 px and with large text the chip gives way first. */
@media (max-width: 360px) { .v9-composer { padding-left: 10px; padding-right: 10px; } .cc-ctrls { gap: 5px; } .cc-chip { padding: 0 8px; } }

/* During a call: "Type into the call" + Mute, Camera, End. */
.cc-comp.cc-call .cc-field { position: relative; }
.cc-comp.cc-call .v9-textarea { padding-right: 42px; }
.cc-call-send { position: absolute; right: 2px; bottom: 4px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: var(--lamp); border: 0; border-radius: var(--radius-control); color: var(--void); cursor: pointer; }
.v9-composer:not(.has-text) .cc-call-send { display: none; }
.cc-call-btns { display: flex; gap: 8px; min-width: 0; }
.cc-cb { flex: 1 1 0; min-width: 0; height: 48px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; background: transparent; border: 1px solid var(--hair-hi); border-radius: var(--radius-control); color: var(--ink-2); cursor: pointer; }
.cc-cb .t-label { font-size: 11px; }
.cc-cb.on { border-color: var(--lamp); color: var(--lamp); }
.cc-cb[disabled] { opacity: .45; cursor: default; }
.cc-cb-end { border-color: transparent; color: var(--void); background: var(--ink); }
/* The camera preview: above the composer at the bottom right, never over the header or the strip (voice.js gptLiveCamMountPreview). */
.gl-cam-pip { top: auto; bottom: calc(var(--cc-comp-h, 150px) + 12px); right: 12px; width: 96px; }

/* "/" and "@": the small list above the composer. */
.cc-pop { position: absolute; left: 12px; right: 12px; bottom: 100%; margin-bottom: 6px; z-index: 40; padding: 4px 0; background: var(--bg-elevated); border: 1px solid var(--hair-hi); border-radius: var(--radius-control); }
.cc-pop-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 14px; background: none; border: 0; text-align: left; color: var(--ink); cursor: pointer; }
.cc-pop-item:focus-visible { outline: 1px solid var(--lamp); outline-offset: -1px; }
.cc-pop-c { flex: 0 0 76px; font-size: 12px; color: var(--lamp); }
.cc-pop-d { font-size: 13px; color: var(--ink-3); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── One thinking light, in Cove's pending slot; tool chips coalesce ────────────────────────────────────────────────────────── */
.msg-thinking-dots { display: flex; align-items: center; gap: 10px; }
.msg-thinking-dots .thinking-blob { display: inline-flex !important; align-items: center; }
.msg-thinking-dots .msg-thinking-label { font: 400 11px/1.4 var(--mono); letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.msg-thinking-dots .msg-thinking-label.fail { color: var(--red); animation: none; }
.msg-thinking-tool { color: var(--ink-2); }
.hand-rc-n { color: var(--lamp); }
.hand-rc.live .thinking-blob { display: inline-flex; align-items: center; gap: 3px; }
.hand-rc.live .thinking-blob .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lamp); animation: thinkDot 1.3s ease-in-out infinite; }
.hand-rc.live .thinking-blob .dot:nth-child(2) { animation-delay: .2s; }
.hand-rc.live .thinking-blob .dot:nth-child(3) { animation-delay: .4s; }

/* ── Sheets ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.kit-sheet .cc-sec { margin: 14px 0 4px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lamp-deep); }
.kit-sheet .cc-sec-danger { color: var(--red-hot); }
.kit-sheet .cc-danger, .kit-sheet .cc-danger .kit-sheet-ico { color: var(--red-hot); }
.kit-sheet .kit-sheet-item.cc-on .kit-sheet-label { color: var(--lamp); }
.kit-sheet .cc-sec + .kit-sheet-item { border-top: 0; }
.cc-foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 11px; line-height: 1.6; color: var(--ink-3); }
.cc-empty { padding: 12px 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.cc-ctx-tabs { margin: 0 -16px 6px; border-bottom: 1px solid var(--hair); }
.cc-ctx-tabs .kit-tabs-row { padding: 0 16px; }
.cc-iv-line { margin: 6px 0 8px; font-size: 11px; line-height: 1.9; color: var(--ink-3); }
.cc-tok { display: inline; padding: 2px 0; background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hair-hi); text-underline-offset: 3px; }
.cc-tok.on { color: var(--lamp); text-decoration-color: var(--lamp); }
.cc-tok-wait { color: var(--alert); }
.cc-sep, .cc-tok-plain { color: var(--ink-3); }
.cc-trace { margin: 4px 0 10px; padding: 8px 12px; border: 1px solid var(--hair); font-size: 13px; color: var(--ink-2); }
.cc-trace-title { margin-bottom: 4px; font-size: 12px; color: var(--ink-3); }
/* The KB count's two groups (chair addendum 2026-11-22 20:47 PT): Matched (with a "reused" mark) and Read by Cove. */
.cc-kb-file { padding: 4px 0; font-size: 11.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.cc-kb-none { font-size: 12.5px; color: var(--ink-3); }
.cc-kb-g2 { margin-top: 10px; }
.cc-kb-reused { margin-left: 6px; font-size: 10.5px; letter-spacing: 0; text-transform: none; color: var(--lamp); }
.cc-kb-note { margin: 2px 0 4px; font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.cc-iv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; box-sizing: border-box; padding: 11px 0; border-top: 1px solid var(--hair); }
.cc-iv-row[data-other] { cursor: pointer; }
.cc-iv-row.dim .cc-iv-name { color: var(--ink-3); }
.cc-iv-name { font-size: 14px; color: var(--ink); min-width: 0; }
.cc-iv-meta { font-size: 11px; color: var(--ink-3); text-align: right; flex-shrink: 0; max-width: 55%; }
.cc-subs { padding: 0 0 6px 12px; }
.cc-sub { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 12.5px; color: var(--ink-2); }
.cc-wait, .cc-trace { --wc-hair: var(--hair); --wc-ink: var(--ink); --wc-ink-2: var(--ink-2); --wc-ink-3: var(--ink-3); --wc-muted: var(--ink-3); --wc-lamp: var(--lamp); }
.cc-wait .wc-row { padding: 12px 0; }
/* task-hub-waiting-show-all-2026-11-24: "+N more" and "Show fewer" are real text buttons (44 px, mono like the row times, no pill);
   the not-yet-deployed line is quiet ink-3, never crimson. */
.cc-wait-btn { appearance: none; -webkit-appearance: none; background: none; border: 0; border-radius: 0; margin: 0; padding: 0; min-height: 44px; min-width: 44px; display: flex; align-items: center; font-size: 11px; letter-spacing: 0.04em; color: var(--ink-2); cursor: pointer; text-align: left; }
.cc-wait-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-wait-btn[disabled] { opacity: 0.55; cursor: default; }
.cc-wait-note { padding: 12px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.cc-wait-order { padding: 4px 0 8px; }
.cc-bar { height: 4px; background: var(--hair); }
.cc-bar > div { height: 4px; background: var(--lamp); }
.cc-win { margin-top: 12px; font-size: 11px; line-height: 1.9; color: var(--ink-3); }
.cc-cost { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--hair); }
.cc-core { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 11px; color: var(--ink-2); cursor: pointer; }
.cc-core.open { flex-direction: column; align-items: flex-start; cursor: default; }
.cc-core-show { color: var(--lamp); }
.cc-core-text { font-size: 14px; line-height: 1.5; color: var(--ink); }
.cc-pr { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border-top: 1px solid var(--hair); cursor: pointer; }
.cc-pr-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cc-pr-name { font-size: 15px; color: var(--ink); }
.cc-pr.on .cc-pr-name { color: var(--lamp); }
.cc-pr-model { font-size: 11px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-pr-edit { width: 40px; height: 40px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--ink-3); cursor: pointer; }
.cc-md { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-top: 1px solid var(--hair); cursor: pointer; }
.cc-md-name { font-size: 15px; color: var(--ink); }
.cc-md.on .cc-md-name { color: var(--lamp); }
.cc-md-desc { font-size: 12.5px; line-height: 1.45; color: var(--ink-3); }
.cc-pr:focus-visible, .cc-md:focus-visible, .cc-core:focus-visible, .cc-iv-row:focus-visible { outline: 1px solid var(--lamp); outline-offset: -1px; }
.kit-sheet .cc-seg { margin-top: 2px; }
.cc-confirm { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.cc-confirm-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.cc-btn { min-height: 40px; padding: 8px 14px; background: transparent; border: 1px solid var(--hair-hi); border-radius: var(--radius-control); color: var(--ink); font-size: 13px; cursor: pointer; }
.cc-btn-danger { border-color: var(--red-deep); color: var(--red-hot); }

@media (prefers-reduced-motion: reduce) {
  .cc-strip, .cc-recalled, .cc-lvl i, .cc-warm--warming .cc-warm-dot { animation: none; }
  .cc-recalled { opacity: 1; }
}

/* ══ APP FEEL (task-hub-chat-app-feel-2026-11-29; the chat prototype and boards AppChat / AppAttach) ═══════════════════════════════════ */
/* Header: a round back button, Cove's photo + name + one sub line (tap = new chat), the context ring and Chat options. */
.cc-head .cc-row { gap: 10px; padding: 10px 12px; min-height: 64px; border-bottom: 1px solid rgba(255,255,255,.05); }
.cc-ib.cc-rnd, .cc-row .fp-back.cc-rnd { width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--hair); background: var(--bg-elevated); color: var(--ink-2); flex: 0 0 44px; }
.cc-who { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-who[disabled] { cursor: default; }
.cc-av { width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; color: var(--ink-3); background: var(--bg-warm);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--lamp) 70%, transparent), 0 0 12px color-mix(in srgb, var(--lamp) 22%, transparent); }
.cc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-head.is-busy .cc-av { animation: ccBreathe 1.6s ease-in-out infinite; }
/* TIMER RING (task-hub-held-chip-follows-release-2026-11-30 Part 2, chair go 15:27 PT): the ring on his photo IS the timer. An amber arc on
   a faint amber track drains from full to empty over the timer's length (stroke-dashoffset, linear, 1 s steps). No timer: no svg. When it
   goes off the photo pulses twice (1 to 1.08, amber glow, ease-out, about 1.2 s each), then the arc clears. Reduced motion: no pulse. */
.cc-av-wrap { position: relative; flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.cc-tring { position: absolute; inset: -5px; width: 48px; height: 48px; transform: rotate(-90deg); pointer-events: none; overflow: visible; }
.cc-tring-track { fill: none; stroke: color-mix(in srgb, var(--lamp) 18%, transparent); stroke-width: 2.5; }
.cc-tring-arc { fill: none; stroke: var(--lamp); stroke-width: 2.5; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.cc-av-wrap.has-timer .cc-av { box-shadow: none; }
.cc-av-wrap.is-ring { animation: ccTimerPulse 1.2s cubic-bezier(.22,1,.36,1) 2; }
@keyframes ccTimerPulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } 40% { transform: scale(1.08); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lamp) 30%, transparent), 0 0 22px color-mix(in srgb, var(--lamp) 55%, transparent); } 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .cc-av-wrap.is-ring { animation: none; } .cc-tring-arc { transition: none; } }
@keyframes ccBreathe { 50% { box-shadow: 0 0 0 1.5px var(--lamp), 0 0 0 6px color-mix(in srgb, var(--lamp) 14%, transparent), 0 0 22px color-mix(in srgb, var(--lamp) 45%, transparent); } }
.cc-who-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-who-nm { font-family: var(--body, system-ui, sans-serif); font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.cc-who-sub { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.cc-who-p, .cc-who-m { overflow: hidden; text-overflow: ellipsis; }
.cc-who-sep { margin: 0 -3px; color: var(--ink-4); }
.cc-who-dot { width: 6px; height: 6px; border-radius: 3px; background: var(--lamp); flex: none; }

/* Composer: one pill, 56px, radius 28: +, the field, the mic, the 44px amber call / send button. */
.v9-composer-row.cc-pillrow { display: block; }
.cc-pill { position: relative; display: flex; align-items: flex-end; gap: 2px; min-height: 56px; box-sizing: border-box; padding: 5px; border-radius: 28px; background: var(--bg-elevated); border: 1px solid var(--hair); }
.cc-pill:focus-within { border-color: color-mix(in srgb, var(--lamp) 40%, var(--hair)); }
.cc-pb { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 22px; border: 0; background: none; color: var(--ink-2); display: grid; place-items: center; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-pill .cc-field { flex: 1 1 0; min-width: 0; align-self: center; }
.cc-pill .v9-textarea { display: block; border-bottom: 0; padding: 10px 4px; font-family: var(--body, system-ui, sans-serif); font-size: 16px; line-height: 1.4; }
.cc-pill .cc-vb { position: relative; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 22px; border: 0; background: var(--lamp); color: var(--bg-obsidian); clip-path: none; }
.cc-pill .cc-vb > span { position: absolute; inset: 0; display: grid !important; place-items: center; opacity: 0; transform: scale(.6);
  transition: transform 200ms var(--e-out, cubic-bezier(.23,1,.32,1)), opacity 160ms ease; }
.v9-composer:not(.has-text):not(.is-busy) .cc-pill .cc-vb .cc-vb-wave,
.v9-composer.has-text:not(.is-busy) .cc-pill .cc-vb .cc-vb-up,
.v9-composer.is-busy .cc-pill .cc-vb .cc-vb-stop { opacity: 1; transform: none; }
.v9-composer.mode-generate .cc-pill { border-color: color-mix(in srgb, var(--lamp) 45%, transparent); }
/* Attachments: 64px thumbnails with a remove x, above the pill. */
.v9-composer-staged .csi-thumb-wrap { width: 64px; height: 64px; border-radius: 14px; }
.v9-composer-staged .csi-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 1px solid var(--hair); }
.v9-composer-staged .csi-remove { width: 24px; height: 24px; border-radius: 12px; top: -6px; right: -6px; }

/* Plus sheet "Add to chat": the kit sheet on the near-black ground, 30px top corners, 56px rows in two groups. */
.kit-sheet.cc-plus { background: var(--bg-obsidian); border-radius: 30px 30px 0 0; border-top: 1px solid rgba(255,255,255,.07); }
.kit-sheet.cc-plus .kit-sheet-brk { display: none; }
.cc-plus-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.cc-plus-t { font-size: 17px; font-weight: 600; color: var(--ink); }
.cc-plus-sp { width: 44px; }
.cc-plus-link { min-height: 44px; min-width: 44px; padding: 0 4px; background: none; border: 0; color: var(--lamp); font-family: var(--body, system-ui, sans-serif); font-size: 15.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }   /* the Photos link (task-hub-front-chrome-app-feel-2026-11-30) */
.cc-plus-link:focus-visible { outline: 1px solid var(--lamp); outline-offset: 2px; border-radius: 8px; }
.cc-pgrp { background: var(--bg-elevated); border: 1px solid rgba(255,255,255,.06); border-radius: 22px; overflow: hidden; margin-bottom: 12px; }
.cc-prow { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 16px; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.05);
  color: var(--ink); font: inherit; font-size: 16px; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-prow:first-child { border-top: 0; }
.cc-prow-ico { display: grid; place-items: center; color: var(--ink-2); flex: none; }
.cc-prow-amber .cc-prow-ico { color: var(--lamp); }
.cc-prow-l { flex: 1 1 auto; min-width: 0; }
.cc-prow-v { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--ink-3); white-space: nowrap; }
.cc-prow-v .cc-pr-chev { color: var(--ink-4); }

/* The turn's thought line(s) and action chips, between the speaker line and the text. */
.cc-turn { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 2px 0 4px 1rem; max-width: 90%; }
.cc-turn:empty { display: none; }

/* Long-press menu on a message. */
.msg-a, .msg-u { transition: transform 160ms var(--e-out, cubic-bezier(.23,1,.32,1)); -webkit-touch-callout: none; }
.msg-a.cc-held, .msg-u.cc-held { transform: scale(.98); }
/* On a touch screen a hold opens the menu, not iOS's text selection (it selected the whole screen, 2026-11-29 23:14 PT); Copy is in the menu. */
@media (hover: none) { #chat, #chat * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; } }
.kit-chip.cc-chip-static { animation: none; }
.cc-mm-scrim, .cc-mm, .cc-mm * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.cc-mm-scrim { position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity 180ms ease; }
.cc-mm-scrim.on { opacity: 1; }
.cc-mm { position: fixed; z-index: 901; width: 236px; box-sizing: border-box; padding: 6px; border-radius: 20px; background: rgba(30,32,34,.92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 50px rgba(0,0,0,.6); transform: scale(.94); opacity: 0; transition: transform 200ms var(--e-out, cubic-bezier(.23,1,.32,1)), opacity 150ms ease; }
.cc-mm.on { transform: none; opacity: 1; }
.cc-mm-rx { display: flex; justify-content: space-between; padding: 2px 4px 6px; border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 2px; }
.cc-mm-r { width: 36px; height: 36px; border: 0; border-radius: 18px; background: none; font-size: 19px; cursor: pointer; padding: 0; }
.cc-mm-i { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 12px; border: 0; border-radius: 14px; background: none;
  font: inherit; font-size: 15.5px; color: var(--ink); text-align: left; cursor: pointer; }
.cc-mm-i:active { background: rgba(255,255,255,.07); }
.cc-mm-i + .cc-mm-i { border-top: 1px solid rgba(255,255,255,.05); }
.cc-mm-i.kit-copy { flex-direction: row-reverse; }
.cc-mm-i svg { color: var(--ink-2); flex: none; }

/* Empty chat: his photo, one line of greeting, the composer. */
.cc-empty-chat { gap: 14px; }
.cc-empty-av { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: var(--ink-3); background: var(--bg-warm);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--lamp) 70%, transparent), 0 0 24px color-mix(in srgb, var(--lamp) 22%, transparent); }
.cc-empty-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .cc-head.is-busy .cc-av { animation: none; } .cc-pill .cc-vb > span, .cc-mm, .msg-a, .msg-u { transition: none; } }
/* Back to chat: the strip comes back here. The chat's End is ink now, not a red box (task-hub-live-call-orb-2026-11-30). */
.cc-strip[role="button"] { cursor: pointer; }
.cc-strip-back { font-size: 11px; color: var(--lamp-text); }
