.bt-cli {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    line-height: 1.4;
}
.bt-cli-stage,
.bt-cli-measure {
    display: grid;
    min-width: 0;
}
.bt-cli-measure,
.bt-cli-line,
.bt-cli-measure-line {
    grid-area: 1 / 1;
    min-width: 0;
    white-space: pre-wrap;
    white-space: break-spaces;
    overflow-wrap: anywhere;
}
.bt-cli-line { align-self: start; }
.bt-cli-measure { visibility: hidden; pointer-events: none; }
.bt-cli-tail { white-space: pre; }
.bt-cli-cursor { animation: none; }
.bt-cli[data-bt-ready="true"] .bt-cli-line .bt-cli-cursor {
    animation: bt-cli-blink var(--bt-cli-blink-duration, 1000ms) step-end infinite;
}
.bt-cli[data-bt-paused="true"] .bt-cli-line .bt-cli-cursor { animation-play-state: paused; }
.bt-cli[data-bt-static="true"] .bt-cli-line .bt-cli-cursor,
.bt-cli[data-bt-steady="true"] .bt-cli-line .bt-cli-cursor { animation: none; opacity: 1; }
.bt-cli-accessible {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@keyframes bt-cli-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .bt-cli[data-bt-ready="true"] .bt-cli-line .bt-cli-cursor { animation: none; opacity: 1; }
}
