/* The fold button sits above the chat, outside the pill and the card (Eddy 2026-11-16: "keep it out of the pill"). */
/* The conversation can be minimized into a small work pill (Eddy 2026-11-16: "allow me to minimize the chat ... the work pill should be down
   with three lines max of text, the text super reduced, and only when I click on the text it opens like now"). The fold button sits in the open
   chat's corner; minimized, DAVINCI's replies no longer force the chat open (v7-shell.js); the pill shows the step being worked on and the
   latest words in three small lines, and a click on it opens the conversation as before. */
/* Eddy 2026-11-16: "minimize button should be same line as pill centered and only show arrow no bg circle": the bare arrow stands just
   outside the pill's right end, centred on its line (the pill is 44px high, 6px inside the open chat's top edge). */
.davinci-dock.open .davinci-dock-fold{display:grid;place-items:center;position:absolute;top:15px;right:-34px;width:26px;height:26px;padding:0;border:0;border-radius:0;
  background:none;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;color:#fff;font-size:20px;line-height:1;cursor:pointer;z-index:2;opacity:.8;text-shadow:0 1px 3px #0008}
.davinci-dock.open .davinci-dock-fold:hover{background:none;opacity:1}
@media (max-width:640px){.davinci-dock.open .davinci-dock-fold{top:-30px;right:6px}}      /* a phone: the chat spans the screen, so the arrow stays above it */
#v8-work-pill{position:fixed;left:50%;transform:translateX(-50%);z-index:15;box-sizing:border-box;width:min(520px,calc(100vw - 40px));margin:0;padding:6px 14px 7px;
  border:1px solid var(--v7-edge,#ffffff2e);border-radius:14px;background:var(--v7-pane,#0e1218cc);color:#ffffffc7;text-align:left;cursor:pointer;
  backdrop-filter:blur(24px) saturate(1.5);-webkit-backdrop-filter:blur(24px) saturate(1.5);box-shadow:var(--v7-shadow,0 8px 30px #0006);display:none;font:inherit}
#v8-work-pill.on{display:block}
#v8-work-pill:hover{background:var(--v7-pane,#141a22e6);color:#fff}
#v8-work-pill .wp-doing{display:block;font-size:10px;line-height:1.35;letter-spacing:.02em;color:#f1d48d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#v8-work-pill .wp-said{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:10px;line-height:1.35;color:#ffffffb8}
#v8-work-pill .wp-doing::before{content:"";display:inline-block;width:5px;height:5px;margin-right:6px;border-radius:50%;background:#f1d48d;vertical-align:middle;animation:wpdot 1.4s ease-in-out infinite}
#v8-work-pill.idle .wp-doing::before{animation:none;opacity:.4}
@keyframes wpdot{0%,100%{opacity:.3}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){#v8-work-pill .wp-doing::before{animation:none}}
