
	/* Grid auto-grow textarea (CSS-Tricks). Textarea + ::after chồng cùng 1 ô grid;
	   ::after nhân bản nội dung qua data-replicated-value để CSS quyết chiều cao.
	   → Không bao giờ set style.height bằng JS → không reflow → hết bug iOS jump scroll. */
	.grow-wrap.svelte-1p2c72u {
		display: grid;
	}
	.grow-wrap.svelte-1p2c72u::after {
		content: attr(data-replicated-value) ' ';
		visibility: hidden;
		max-height: var(--max-input-h, 400px);
	}
	.grow-wrap.svelte-1p2c72u > textarea:where(.svelte-1p2c72u) {
		max-height: var(--max-input-h, 400px);
		overflow-y: auto;
		resize: none;
	}
	.grow-wrap.svelte-1p2c72u > textarea:where(.svelte-1p2c72u),
	.grow-wrap.svelte-1p2c72u::after {
		grid-area: 1 / 1 / 2 / 2;
		font: inherit;
		font-size: 1rem; /* text-base */
		line-height: 1.5rem; /* leading-6 */
		padding: 0;
		border: 0;
		white-space: pre-wrap;
		word-break: break-word;
		overflow-wrap: anywhere;
	}
