/* ---------- The AI at hand (section 26f) ----------
   The selection's chip: a small round key in the dock's look, the AI's glyph in it, floating over the selection's top
   right; it comes as the arrow dot does, a moment late and from just smaller. No colour of its own. */
#aichip {
  position: fixed; left: 0; top: 0; z-index: 10; display: grid; place-items: center; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer; color: var(--ink-2);
  background: var(--glass); box-shadow: var(--glass-sh);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity 180ms ease-out 80ms, scale 240ms cubic-bezier(.2, .8, .2, 1) 80ms, visibility 0s, color 140ms ease-out;
}
#aichip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4px; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { #aichip:hover { color: var(--ink); box-shadow: var(--raise), var(--edge); } }
#aichip:active { background: var(--press-bg); box-shadow: var(--press); }
#aichip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
#aichip.off { opacity: 0; scale: .8; visibility: hidden; pointer-events: none; transition: opacity 100ms ease-in, scale 100ms ease-in, visibility 0s linear 100ms; }
@media (pointer: coarse) { #aichip { width: 34px; height: 34px; } #aichip svg { width: 16px; height: 16px; } }

/* The empty canvas's Start with AI (a button as Start with a template is, canvas.css), "or" over it. */
#empty .e-ai { margin-top: 0; }
#empty .e-mk span { display: inline; margin: 0; font: inherit; color: inherit; }
#empty .e-mk svg { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--ink-3); stroke-width: 1.4px; stroke-linecap: round; stroke-linejoin: round; }
@media (pointer: coarse) { #empty .e-start { height: 38px; } }
@media (prefers-reduced-motion: reduce) { #aichip { transition: none; } }
