.bi-bar { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-end; }
.bi-bar .field { margin: 6px 0; }
.bi-bar .seg button { min-height: 40px; }
#bi-faces { min-height: 44px; margin: 6px 0; }
.bi-hint { font-size: 14px; margin: 6px 0 10px; }
.bi-stage { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; line-height: 0; border-radius: 10px; overflow: hidden; background: var(--bg); }
#bi-view { display: block; max-width: 100%; max-height: 66vh; width: auto; height: auto; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.bi-bar2 { margin-top: 8px; }
.bi-grow { flex: 1 1 200px; }
.bi-tight { margin-top: 4px; }
.bi-tight .btn { min-height: 42px; padding: 8px 14px; }
.bi-small { font-size: 13px; margin: 8px 0 0; }
.bi-progress { margin: 8px 0; }
