Partial declaration for the Text record struct adding a Style property. The Style setter applies a TextStyle preset by merging it into a private _style field using ApplyTo, with an init-only setter so it is set during initialization.
namespace Goo;
// Hand-written partial: the Style bundle property is not part of the generated facade.
public readonly partial record struct Text
{
/// <summary>Applies a font preset (FontFamily, FontSize, FontWeight, FontColor) in one property. First-declared wins: a per-field override must precede Style in the initializer; fields set after Style are ignored where the preset already set them.</summary>
public TextStyle Style { init => _style = value.ApplyTo(_style); }
}