/* Composer modules on the chat page: assistant chip and Knowledge picker rows. Tokens from glacier.css only. */

/* ---- tinted tiles (shared with the Assistants pages) ---- */
.asst-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 600 15px/1 var(--sans); flex: none; letter-spacing: -.01em; }
.asst-tile.c-blue { background: var(--tint-blue); color: var(--ink-blue); }
.asst-tile.c-purple { background: var(--tint-purple); color: var(--ink-purple); }
.asst-tile.c-green { background: var(--tint-green); color: var(--ink-green); }
.asst-tile.c-orange { background: var(--tint-orange); color: var(--ink-orange); }

/* ---- assistant chip above the composer ---- */
.asst-chip { width: 100%; max-width: 1090px; margin: 28px auto -22px; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border: 1px solid var(--l1); border-radius: 999px; background: var(--s1); box-shadow: var(--shadow); font-size: 13.5px; color: var(--t2); }
.asst-chip .asst-tile { width: 30px; height: 30px; border-radius: 9px; font-size: 12.5px; }
.asst-chip .asst-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asst-chip .asst-txt b { color: var(--t1); font-weight: 600; }
.asst-chip .asst-x { margin-left: auto; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--t3); flex: none; }
.asst-chip .asst-x:hover, .asst-chip .asst-x:focus-visible { background: var(--s2); color: var(--t1); outline: none; }
.asst-chip .asst-x .i { width: 16px; height: 16px; }
.chat-page:not(.is-empty) .asst-chip { max-width: 820px; margin: 0 auto 8px; box-shadow: none; }
@media (max-width: 899px) { .asst-chip { margin-top: 18px; } .asst-chip .asst-desc { display: none; } }

/* ---- knowledge picker rows (inside .pop) ---- */
.kp-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 6px; cursor: pointer; color: var(--t1); font-size: 13px; }
.kp-row:hover { background: var(--s2); }
.kp-row input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); flex: none; }
.kp-row .kp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-row small { color: var(--t3); font-size: 11px; white-space: nowrap; }
.kp-row:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--focus); }
.pop .kp-foot { display: flex; align-items: center; gap: 8px; padding: 7px 8px; color: var(--t2); font-size: 12.5px; text-decoration: none; border-radius: 6px; }
.pop .kp-foot:hover { background: var(--s2); color: var(--t1); text-decoration: none; }
.pop .kp-foot .i { width: 16px; height: 16px; }
.pop .kp-foot small { margin-left: auto; color: var(--t3); }
.pop-empty a { color: var(--link); }
