/** * @license * Copyright 2026 Aglyn LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * The authored text of a leaf, as a plain element (AGL-2011). * * ## Why this is no longer a shadow host * * This used to be `ShadowDom.AglynText` — a `shadowDomRootFactory` host that * `attachShadow`ed and then rendered the string through a `createPortal` into * the shadow root. The tag name is unchanged, so every * `querySelectorAll('aglyn-text')` and every editor ref target still resolves; * what is gone is the shadow boundary. * * A shadow root exists to encapsulate STYLE, and here it encapsulated nothing. * Measured on the live `/pricing` page: **960 hosts, 960 shadow roots holding a * single bare text node, zero elements inside any of them, and zero carrying * any CSS** — no `adoptedStyleSheets`, no `