/* Site Builder — the canvas Claude panel (public/canvasask.js)
   The Updates panel's own window and skin (.upc, updates.css) — paper, clay,
   the chat's composer — pinned bottom-right where that panel sits, beside it
   when both are up. Above the box, the areas dragged out on the page: each a
   card with its picture and its number, violet as its outline on the page. */
.cva { z-index: 902; }

.cva-refs { display: flex; flex-direction: column; gap: 6px; max-height: 32vh; overflow-y: auto; }
.cva-refs:empty { display: none; }
.upc .cva-ref.has-shot { animation: view-in .26s var(--ease-out); }
.upc .cva-ref .upd-rep-shot-meta { gap: 2px; }
.upc .cva-ref .upd-rep-shot-meta b { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.cva-n {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px; background: #7C5CFF; color: #fff; font: 700 10.5px/1 var(--sans); font-style: normal;
}
.cva-what { font-size: 12px; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.upc .cva-ref .upd-rep-shot-acts { margin-top: 0; position: absolute; top: 5px; right: 5px; }
.upc .cva-ref { position: relative; padding-right: 40px; }
.upc .cva-ref .upd-rep-shot-acts .btn.icon { width: 28px; height: 28px; padding: 0; color: var(--cl-muted); }
.upc .cva-ref .upd-rep-shot-acts .btn.icon:hover { background: var(--cl-sand); color: var(--cl-ink); }
.upc .cva-ref .upd-rep-shot-acts svg { width: 14px; height: 14px; }
.cva-thumb-wait { display: grid !important; place-items: center; cursor: default !important; color: var(--cl-muted); background: var(--cl-sand) !important; }
.cva-thumb-wait svg { width: 18px; height: 18px; color: #7C5CFF; }
.cva-thumb-wait .upd-spin { width: 14px; height: 14px; color: var(--clay); }

.upc #cva-msg { min-height: 44px; max-height: 30vh; }
.cva .upd-chip.cva-up { opacity: .65; }
.cva .upd-chip i .upd-spin { width: 12px; height: 12px; }

/* the chat open in the Claude panel */
.upc .upc-item.cva-on { border-color: rgba(217, 119, 87, .5); }
.cva .upc-list .upc-row { grid-template-columns: 26px 1fr 18px; }

@media (max-width: 720px) { .cva { height: auto; } }
