/* v23.40 — one real block cursor for streaming and guest-shell mode. No second native caret. */
.xman-storyboard .claw-term-block-cursor{
  display:inline-block!important;flex:0 0 auto!important;vertical-align:-.14em!important;
  width:.74ch!important;min-width:.74ch!important;height:1.14em!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:#77e7a0!important;box-shadow:0 0 5px #77e7a033!important;
  animation:claw-unix-block-blink 1.05s steps(1,end) infinite!important;
  pointer-events:none!important;opacity:1;
}
@keyframes claw-unix-block-blink{0%,48%{opacity:1}50%,100%{opacity:0}}
html body .xman-storyboard .claw-term-entry[data-prompt-state="shell"]{
  position:relative!important;display:flex!important;align-items:baseline!important;
  flex-wrap:wrap!important;gap:0!important;width:100%!important;min-height:1.65em!important;
  margin:0!important;padding:0!important;white-space:normal!important;overflow:visible!important;
  font:600 clamp(12px,.82vw,14px)/1.58 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;
}
html body .xman-storyboard .claw-term-entry[data-prompt-state="shell"] .claw-term-label{
  display:inline!important;flex:0 0 auto!important;letter-spacing:0!important;
  color:#72e69d!important;-webkit-text-fill-color:#72e69d!important;
  font:inherit!important;white-space:pre!important;margin-right:.65ch!important;
}
html body .xman-storyboard .claw-term-entry[data-prompt-state="shell"] .claw-term-mirror{
  display:inline!important;flex:0 1 auto!important;white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;min-width:0!important;color:#f1f1f1!important;
  -webkit-text-fill-color:#f1f1f1!important;font:inherit!important;
}
html body .xman-storyboard .claw-term-entry[data-prompt-state="shell"] input.claw-term-input{
  position:absolute!important;inset:0!important;z-index:2!important;display:block!important;
  width:100%!important;height:100%!important;min-height:100%!important;
  margin:0!important;padding:0!important;flex:none!important;
  background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent!important;
  caret-color:transparent!important;opacity:.02!important;cursor:text!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  font-size:16px!important;line-height:1.6!important;
}
html body .xman-storyboard .claw-term-entry[data-prompt-state="running"] .claw-term-mirror{display:none!important}
html body .xman-storyboard .claw-term-entry[data-prompt-state="running"] .claw-term-block-cursor{display:none!important}
html body .xman-storyboard .claw-term-guest-display{color:#f1f1f1!important}
html body .xman-storyboard .claw-term-guest-display .xman-s-visitor{color:#74dfa0!important}
@media(prefers-reduced-motion:reduce){.xman-storyboard .claw-term-block-cursor{animation:none!important;opacity:1!important}}

/* Final v23.40 fix: caret stays aligned with real shell selection point. */
.xman-storyboard .claw-term-entry .claw-term-mirror-after{
 display:inline!important;flex:0 1 auto!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;
 color:#ededed!important;-webkit-text-fill-color:#ededed!important;font:inherit!important;
}
.xman-storyboard .claw-term-entry[data-prompt-state="running"] .claw-term-mirror-after{display:none!important}
