#bpf-root{display:grid;gap:20px}#bpf-root [hidden]{display:none!important}#bpf-root h2{font-size:1.1rem;font-weight:650;line-height:1.5;margin:0 0 12px}#bpf-root .bpf-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#bpf-root .tool-drop-zone{min-width:0;min-height:145px}#bpf-root .bpf-name{overflow-wrap:anywhere;margin-top:8px}#bpf-root .bpf-settings{margin:0}#bpf-root .tool-input,#bpf-root .tool-select{min-width:0;min-height:46px;height:auto}#bpf-root .tool-select{appearance:none;padding-inline-end:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}html[dir=rtl] #bpf-root .tool-select{background-position:left 12px center}#bpf-root input[type=file].tool-input{padding:8px;overflow-wrap:anywhere}#bpf-root .bpf-mapping{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#bpf-root .bpf-field{display:grid;grid-template-rows:subgrid;grid-row:span 3;gap:6px;min-width:0;padding:14px;border:1px solid var(--site-border);border-radius:8px}#bpf-root .bpf-field label{overflow-wrap:anywhere}#bpf-root .bpf-field small{font-weight:400;display:block;color:var(--site-muted)}#bpf-root .bpf-field .tool-help{overflow-wrap:anywhere}#bpf-root .bpf-preview-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}#bpf-root .bpf-preview-actions input{width:100px}#bpf-root .bpf-preview{background:#e5e7eb;border:1px solid var(--site-border);overflow:auto;max-height:75vh;padding:12px;text-align:center}#bpf-root canvas{display:block;max-width:100%;height:auto;margin:auto;background:white}#bpf-root .bpf-results{display:grid;gap:12px}#bpf-root .bpf-result{border:1px solid var(--site-border);border-radius:8px;padding:14px;min-width:0}#bpf-root .bpf-result-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}#bpf-root .bpf-result-name{overflow-wrap:anywhere;min-width:0}#bpf-root .bpf-result .tool-status{margin:4px 0}#bpf-root progress{width:100%;height:12px}#bpf-root .bpf-record-values{overflow:auto;max-height:220px;border:1px solid var(--site-border);border-radius:8px;padding:12px}#bpf-root .bpf-record-values p{margin:4px 0;overflow-wrap:anywhere}#bpf-root details>summary{cursor:pointer;min-height:46px;display:flex;align-items:center;font-weight:600}#bpf-root details>.tool-form-grid{margin-top:12px}#bpf-root .tool-help{margin-top:8px}#bpf-root .tool-actions+.tool-help{margin-top:12px}#bpf-root .tool-actions{margin:0}#bpf-root button{white-space:normal;overflow-wrap:anywhere;max-width:100%}@media(max-width:640px){#bpf-root .bpf-inputs,#bpf-root .bpf-mapping{grid-template-columns:minmax(0,1fr)}#bpf-root .bpf-field{grid-template-rows:auto;grid-row:auto}#bpf-root .bpf-preview-actions input{width:88px}}
#bpf-root input[type=file].tool-input{background:var(--site-surface);color:var(--site-text);border-color:var(--site-border);color-scheme:light}html[data-theme=dark] #bpf-root input[type=file].tool-input{color-scheme:dark}#bpf-root input[type=file].tool-input::file-selector-button{background:var(--site-bg);color:var(--site-text);border:1px solid var(--site-border);border-radius:4px;padding:4px 8px;margin-inline-end:8px}
