.bh-tool{flex-direction:column;gap:1rem;display:flex}.bh-tool .bh-row{flex-wrap:wrap;align-items:flex-end;gap:.6rem 1rem;display:flex}.bh-tool .bh-field{flex-direction:column;gap:.25rem;min-width:0;display:flex}.bh-tool .bh-keys{flex:16rem}.bh-tool .bh-label{color:var(--text-dim);font-size:.82rem;font-weight:600}.bh-tool .bh-seg,.bh-tool .bh-btns{flex-wrap:wrap;gap:.3rem;display:flex}.bh-tool .bh-field input,.bh-tool .bh-insert input{min-height:2.1rem;color:var(--text);background:var(--bg-surface);border:1px solid var(--border);border-radius:0;padding:0 .55rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.95rem}.bh-tool .bh-field input{box-sizing:border-box;width:100%}.bh-tool .bh-insert{gap:.3rem;display:inline-flex}.bh-tool .bh-insert input{width:4.6rem}.bh-tool .bh-cap{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;display:flex}.bh-tool .bh-ctl-row{flex-wrap:wrap;gap:.3rem;display:flex}.bh-tool .bh-ctl{min-height:2.1rem;color:var(--text);background:var(--bg-surface);border:1px solid var(--border);cursor:pointer;border-radius:0;padding:0 .8rem;font-size:.9rem}.bh-tool .bh-ctl:disabled{opacity:.45;cursor:default}.bh-tool .bh-msg{border-left:3px solid var(--border);background:var(--bg-hover);flex-direction:column;gap:.2rem;min-height:3.6em;margin:.4rem 0 0;padding:.4rem .7rem;font-size:.92rem;line-height:1.45;display:flex}.bh-tool .bh-msg-swap{border-left-color:#7c3aed}.bh-tool .bh-tally{color:var(--text-dim);font-variant-numeric:tabular-nums;font-size:.82rem}.bh-tool .bh-log-wrap{overflow-x:auto}.bh-tool .bh-log{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}.bh-tool .bh-log caption{text-align:left;padding-bottom:.35rem;font-weight:600}.bh-tool .bh-log th,.bh-tool .bh-log td{border-bottom:1px solid var(--border);text-align:right;padding:.3rem .6rem}.bh-tool .bh-log th:first-child,.bh-tool .bh-log td:first-child{text-align:left}.bh-tool .bh-log th{color:var(--text-dim);font-weight:600}.bh-tool .bh-log tfoot th,.bh-tool .bh-log tfoot td{color:var(--text);border-top:2px solid var(--border);border-bottom:none;font-weight:700}.bh-tool .bh-log tr.bh-now td{background:var(--bg-hover);font-weight:600}
