/* Label Pal — frontend personalization fields. Mobile-first, no framework. */
.labelpal-personalize {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
	background: #fafafa;
}
.labelpal-personalize h4 {
	margin: 0 0 8px;
	font-size: 1rem;
}
.labelpal-instructions {
	font-size: 0.875rem;
	color: #555;
	margin: 0 0 12px;
}
.labelpal-personalize label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 10px 0 4px;
}
.labelpal-personalize input,
.labelpal-personalize select,
.labelpal-personalize textarea {
	width: 100%;
	max-width: 420px;
	padding: 10px;
	font-size: 16px; /* prevents iOS zoom-on-focus */
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}

/* ADDED 2026-10-23 (launch review C6). The editor's mount point is a line of "Loading customizer" until the Preact
 * bundle draws the card, about two seconds in; the card is 400 to 3,400 px tall, so everything under it - the product
 * details, the related products, the footer - jumped down the screen (layout shift 0.34 on a desktop, 0.96 on a
 * phone, against Google's "good" 0.1). The PHP that prints the mount point (lpc_editor_reserve_style) puts the card's
 * MEASURED height for this product on it as four custom properties, one per width band; these rules turn them into
 * min-height. A product with no measurement prints no property and keeps the old behaviour (var falls back to 0).
 * Bands: up to 599 px, 600-899, 900-1149, 1150 and up. */
#lpc-customizer-root,
#lpc-item-root { min-height: var(--lpc-h0, 0); }
@media (min-width: 600px)  { #lpc-customizer-root, #lpc-item-root { min-height: var(--lpc-h1, 0); } }
@media (min-width: 900px)  { #lpc-customizer-root, #lpc-item-root { min-height: var(--lpc-h2, 0); } }
@media (min-width: 1150px) { #lpc-customizer-root, #lpc-item-root { min-height: var(--lpc-h3, 0); } }
