.left-container>.tool-page-intro{margin:12px 0 18px;line-height:1.65;color:var(--site-muted)}
.bm-file-fields,.bm-option-fields,.bm-manual-fields{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}
.bm-drop-zone{min-height:118px;padding:18px}
.bm-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.bm-actions .tool-label{margin:0}
.bm-actions .tool-select{width:auto;max-width:100%;min-height:46px}
.bm-secondary{min-height:44px;padding:9px 13px;border:1px solid var(--site-border);border-radius:6px;background:var(--site-surface);color:var(--site-text);font-weight:600;overflow-wrap:anywhere}
.bm-secondary:disabled{opacity:.45;cursor:not-allowed}
.bm-advanced{margin:12px 0;min-width:0}
.bm-advanced>summary{font-weight:600;padding:10px 0;cursor:pointer;overflow-wrap:anywhere}
#bm-workspace .tool-field-control{min-height:46px;box-sizing:border-box;max-width:100%}
#bm-workspace select{appearance:none;padding-right:28px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.bm-checkbox-control{display:flex;gap:10px;align-items:center;border:1px solid var(--site-border);border-radius:6px;padding:10px 12px;background:var(--site-surface);line-height:1.45}
.bm-checkbox-control input{flex:0 0 auto;width:18px;height:18px;accent-color:#2563eb}
.bm-checkbox-control span{min-width:0;overflow-wrap:anywhere}
.bm-source-excerpt{max-height:120px;overflow-y:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.bm-preview-card{padding:12px;border:1px solid var(--site-border);border-radius:8px;margin:12px 0;background:var(--site-surface);min-width:0}
.bm-preview-card h3{font-weight:600;margin-bottom:6px;overflow-wrap:anywhere}
.bm-preview-card pre{font:inherit;white-space:pre-wrap;line-height:1.65;overflow-wrap:anywhere;max-height:240px;overflow-y:auto;margin:8px 0}
.bm-preview-card .bm-actions{margin:8px 0 0}
.bm-manual-rule{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--site-border)}
#bm-result{border-top:1px solid var(--site-border);padding-top:18px;margin-top:18px}
#bm-workspace [hidden]{display:none}
#bm-workspace .error{color:var(--site-danger,#dc2626)}
.bm-input-issue{display:block;margin-top:4px;overflow-wrap:anywhere}
#bm-source-side{height:46px;min-height:46px;max-width:100%}
@media(max-width:760px){.bm-file-fields,.bm-option-fields,.bm-manual-fields{grid-template-columns:minmax(0,1fr)}.bm-actions>*{max-width:100%}}
