/* Shared ink for business data and technical drawings, on screen and on paper. */
body :is(main,dialog) :is(input,select,textarea,output,td,td *,label,dt,dd,figcaption,.muted,.summary,.summary *,.total,.total *,.job-numbers,.calc-result,.calc-result *,.calc-print-sheet,.calc-print-sheet *,.inventory-tile-number,.inventory-tile-number *,.inventory-tile-note,.inventory-shortage-total,.manual-values,.manual-values *,.order-paper-meta,.order-paper-meta *,.order-paper-total,.order-paper-total *,.drawing-name,.drawing p,.draft-preview p,.catalog-drawing p,.special-sketch p,.pile-breakdown,.pile-breakdown *):not(button):not(button *):not(a):not(a *){color:#000!important}
body :is(main,dialog) :is(input,textarea)::placeholder{color:#000;opacity:.65}
/* Light surfaces keep black values legible in formerly dark result panels. */
body :is(main,dialog) :is(.summary,.total,.calc-result){background:#eef1ed!important;color:#000!important}
body .inventory-shortcuts .inventory-tile-number{background:#f4f5f1;border-radius:8px;padding:6px 10px}
body .inventory-shortcuts .inventory-tile-note{background:#f4f5f1;border-radius:5px;padding:4px 8px}
/* Only engineering drawings are targeted; navigation icons keep their branding. */
body :is(svg.live-svg,svg.shape-svg,svg[role="img"],.order-drawing svg,.draft-preview svg,.catalog-drawing svg,.drawing svg,.basket-item svg,.label-card svg,.order-label svg){color:#000!important}
body :is(svg.live-svg,svg.shape-svg,svg[role="img"],.order-drawing svg,.draft-preview svg,.catalog-drawing svg,.drawing svg,.basket-item svg,.label-card svg,.order-label svg) :is(path,line,polyline,polygon,ellipse,circle){stroke:#000!important}
body :is(svg.live-svg,svg.shape-svg,svg[role="img"],.order-drawing svg,.draft-preview svg,.catalog-drawing svg,.drawing svg,.basket-item svg,.label-card svg,.order-label svg) text{fill:#000!important;color:#000!important}
body :is(svg.live-svg,svg.shape-svg,svg[role="img"],.order-drawing svg,.draft-preview svg,.catalog-drawing svg,.drawing svg,.basket-item svg,.label-card svg,.order-label svg) rect[stroke]:not([stroke="none"]){stroke:#000!important}

body :is(.detail-grid,.fields,.manual-panel,.package-label,.work-document,.catalog-shape,.pitch-illustration) :is(p,span,b,strong,small,pre,div):not(button):not(button *){color:#000!important}
body .work-document svg :is(path,line,polyline,ellipse,circle),body .package-label svg :is(path,line,polyline,ellipse,circle){stroke:#000!important}
body .work-document svg text,body .package-label svg text{fill:#000!important}
body .inventory-panel-heading .inventory-shortage-total{background:#f4f5f1;padding:4px 8px;border-radius:5px}
