// ngx-t-forms — Signature Pad Canvas Sizing (consumer-opt-in)
//
// <lib-signature-pad-input> creates its drawing <canvas> imperatively
// (document.createElement('canvas') + host.appendChild(canvas)) inside the
// `.signature-container` host div. Because that element is injected at
// runtime rather than rendered from the template, Angular's emulated view
// encapsulation never stamps it with the component's `_ngcontent` attribute,
// so a component-scoped `.signature-container canvas` rule would no longer
// match the canvas after moving off ViewEncapsulation.None.
//
// To keep the component itself on `ViewEncapsulation.Emulated` (per
// CLAUDE.md §3 and DECISIONS.md D-012, following the json-editor precedent),
// the single canvas-sizing rule lives here as a global partial.
//
// Usage — from the consumer's GLOBAL SCSS entry (e.g. `styles.scss`):
//
//     @use 'ngx-t-forms/styles/signature-pad';
//
// Without this import the signature pad still functions, but the imperatively
// created canvas falls back to its intrinsic size (the component sets an
// explicit pixel height in TS; width fills the host via this rule).

.signature-container canvas {
  width: 100%;
  height: 200px;
}
