[data-bead-root] .tool-panel { min-width:0; }
[data-bead-root] fieldset { margin:18px 0; border:1px solid var(--line); padding:12px; }
[data-bead-root] legend { font-weight:700; font-size:14px; }
[data-bead-root] input[type=file] { max-width:100%; min-height:44px; }
[data-bead-source] { width:100%; max-height:300px; object-fit:contain; background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 0/16px 16px; }
[data-bead-source][hidden] { display:none; }
.bead-note { font-size:13px; line-height:1.8; color:var(--muted); overflow-wrap:anywhere; }
.bead-check { display:flex; align-items:center; gap:9px; min-height:44px; font-size:13px; }
.bead-actions { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0; }
.bead-actions button { min-height:44px; padding:9px 12px; border:1px solid var(--line); color:var(--ink); background:var(--canvas); cursor:pointer; max-width:100%; white-space:normal; }
.bead-actions button:not(:disabled):hover { border-color:var(--site-accent); }
.bead-actions button:disabled { opacity:.45; cursor:default; }
.bead-scroll { overflow:auto; max-height:650px; border:1px solid var(--line); background:#fff; }
[data-bead-grid] { display:block; max-width:none; touch-action:manipulation; }
.bead-legend-row { display:flex; align-items:center; gap:10px; font-size:13px; min-height:34px; overflow-wrap:anywhere; }
.bead-legend-row i { width:20px; height:20px; border:1px solid #777; flex-shrink:0; }
