.operations-page .tools-tabs { overflow-x: auto; }
.operations-page .ops-pane { display: grid; gap: 20px; }
.operations-page .panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ops-pane .op-hint, #dialog .op-hint { color: var(--muted, #695052); margin: 6px 0 18px; font-size: .86rem; line-height: 1.5; }
.ops-pane .panel { min-width: 0; }
.op-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.op-full { grid-column: 1 / -1; }
.ops-label-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.ops-label-form [name=qty] { max-width: 80px; }
.op-label-preview { overflow-x: auto; max-width: 100%; }
.op-label { box-sizing: border-box; width: max-content; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; color: #000; border: 1px dashed #777; padding: 3mm; text-align: center; break-inside: avoid; }
.op-label-preview .op-label { max-width: none; }
.op-label strong { font-size: 10pt; overflow-wrap: anywhere; }
.op-label span { font: 8pt monospace; }
.op-label b { font-size: 9pt; }
.op-label svg { display: block; max-width: none; }
.ops-print { display: none; }
@media print {
  .operations-page[data-mode=labels] > :not(.ops-print) { display: none !important; }
  .operations-page[data-mode=labels] > .ops-print { display: block !important; line-height: normal; }
  .ops-print .op-label { display: inline-flex; vertical-align: top; width: var(--op-label-width, 64mm); margin: 0 2mm 2mm 0; break-inside: avoid; }
}
