.bcg{gap:var(--space-6);min-width:0;display:grid}.bcg>.tool-toolbar{margin-bottom:0}.bcg-panel:focus,.bcg-results:focus{outline:none}.bcg-note{align-items:flex-start;gap:var(--space-2);max-width:72ch;color:var(--color-text-secondary);font-size:var(--text-sm);display:flex}.bcg-note svg{width:16px;height:16px;color:var(--color-text-tertiary);flex-shrink:0;margin-top:3px}.bcg .field{align-content:start}.bcg .field__label.tool-step{font-size:var(--text-md)}.bcg-mono{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.bcg-field-error{justify-items:start;gap:var(--space-2);display:grid}.bcg-fixes{gap:var(--space-2);flex-wrap:wrap;display:flex}.bcg-warn{color:var(--color-warning)}.bcg-cue{margin-right:var(--space-1)}.bcg-link{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.bcg-link:focus-visible{border-radius:var(--radius-xs);box-shadow:var(--shadow-focus);outline:none}.bcg-types label:last-child{margin-left:var(--space-2)}.bcg-types label:last-child:before{content:"";top:var(--space-2);bottom:var(--space-2);left:calc(var(--space-2) * -1 - 1px);background:var(--color-border-strong);width:1px;position:absolute}.bcg-check .badge{min-width:28px;font-family:var(--font-mono);font-variant-numeric:tabular-nums;justify-content:center}.bcg-check svg{width:14px;height:14px}.bcg-preview{padding:var(--space-5) var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);place-items:center;display:grid}.bcg-preview__svg{width:100%;height:auto;display:block}.bcg-preview-empty{justify-items:center;gap:var(--space-2);display:grid}.bcg-preview-empty svg{width:24px;height:24px;color:var(--color-text-tertiary)}.bcg-status{color:var(--color-text);font-size:var(--text-sm);overflow-wrap:anywhere}.bcg-stats,.bcg-stats dd{margin:0}.bcg-actions{gap:var(--space-3);display:grid}.bcg-export{align-items:flex-start;gap:var(--space-3) var(--space-5);flex-wrap:wrap;display:flex}.bcg-format{border:0;min-width:0;margin:0;padding:0}.bcg-format>legend{float:left;width:100%;margin-bottom:var(--space-2);padding:0}.bcg-dpi{max-width:22rem}.bcg-export .bcg-dpi{flex:10rem;min-width:0}.bcg-dpi .select--sm{justify-self:start}.bcg-callout-more summary{justify-content:space-between;align-items:flex-start;gap:var(--space-2);color:var(--color-text-heading);cursor:pointer;font-weight:550;list-style:none;display:flex}.bcg-callout-more summary::-webkit-details-marker{display:none}.bcg-callout-more summary:focus-visible{border-radius:var(--radius-xs);box-shadow:var(--shadow-focus);outline:none}.bcg-callout-more summary svg{width:16px;height:16px;color:var(--color-text-secondary);transition:transform var(--duration-base) var(--ease-out);flex-shrink:0;margin-top:2px}.bcg-callout-more[open] summary svg{transform:rotate(180deg)}.bcg-callout-more p{margin-top:var(--space-2)}.bcg-numbers .tool-table--scroll{max-height:340px}.bcg-text-critical{color:var(--color-critical)}.bcg-dropzone{position:relative}.bcg-file{align-items:center;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-sm);background:var(--color-surface);flex-wrap:wrap;display:flex}.bcg-file__body{flex:12rem;min-width:0}.bcg-file__name{color:var(--color-text-heading);font-size:var(--text-sm);overflow-wrap:anywhere;font-weight:600}.bcg-file__meta{color:var(--color-text-secondary);font-size:var(--text-sm)}.bcg-labels{gap:var(--space-6);min-width:0;display:grid}.bcg-count{gap:var(--space-3);min-width:0;display:grid}.bcg-count>.btn{justify-self:start}.bcg-preview-sheet{gap:var(--space-2);min-width:0;margin:0;display:grid}.bcg-preview-sheet .bcg-sheet{max-height:min(45vh,400px);padding:var(--space-3);border-radius:var(--radius-sm);background:var(--color-bg-muted);overflow:hidden auto}.bcg-checks>legend{font-size:var(--text-sm);font-weight:550}.bcg-sheet{align-items:stretch;gap:var(--bcg-gap,2mm);flex-wrap:wrap;display:flex}.bcg-label{flex:0 0 calc((100% - (var(--bcg-columns,3) - 1) * var(--bcg-gap,2mm)) / var(--bcg-columns,3));min-width:0;padding:var(--bcg-pad,2mm);background:var(--color-surface);color:var(--color-text-heading);text-align:center;break-inside:avoid;flex-direction:column;justify-content:safe center;align-items:center;gap:1mm;display:flex;overflow:hidden}.bcg-sheet--cut .bcg-label{outline:1px dashed var(--color-border-strong);outline-offset:0}.bcg-sheet[data-paper=roll] .bcg-label{width:var(--bcg-roll-width,50.8mm);max-width:100%;height:var(--bcg-roll-height,25.4mm);flex:none}.bcg-label>p{flex-shrink:0}.bcg-label__barcode{flex-shrink:1;max-width:100%;height:auto;min-height:0;display:block}.bcg-label__title,.bcg-label__meta{max-width:100%;font-size:var(--text-xs);overflow-wrap:anywhere;line-height:1.25}.bcg-label__title{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-weight:600;display:-webkit-box;overflow:hidden}.bcg-label__meta{color:var(--color-text-secondary)}.bcg-sheet[data-paper=roll] .bcg-label__title,.bcg-print-root--roll .bcg-label__title{-webkit-line-clamp:1;line-clamp:1}.bcg-problems{gap:var(--space-1);padding-left:var(--space-5);display:grid}.bcg-row-actions{gap:var(--space-2);display:inline-flex}.bcg-btn-small{min-height:32px;padding:0 var(--space-3)}.bcg-cell-value{text-overflow:ellipsis;max-width:16rem;overflow:hidden}.tool-table td.bcg-cell-status{white-space:normal;min-width:14rem}.bcg-print-root{display:none}@media print{body:has(>.bcg-print-root)>:not(.bcg-print-root){display:none!important}body:has(>.bcg-print-root){min-width:0}.bcg-print-root{background:var(--color-surface);-webkit-print-color-adjust:exact;print-color-adjust:exact;display:block}.bcg-print-single{justify-content:center;display:flex}.bcg-print-root .bcg-label__meta{color:var(--color-text-heading)}.bcg-print-root--roll .bcg-sheet{display:block}.bcg-print-root--roll .bcg-label{width:var(--bcg-roll-width);height:var(--bcg-roll-height);break-after:page;outline:none}.bcg-print-root--roll .bcg-label:last-child{break-after:auto}}
