.ph-prs-move-selector {
	margin-top: 24px;
	margin-bottom: 20px;
	padding: 14px 16px;
	background: var(--ph-prs-box-bg, #f8f8f8);
	border: 1px solid #ddd;
	border-radius: 4px;
}

.ph-prs-selector-label {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--ph-prs-label-color, #333);
}

/* Equal-width columns that fill the row: the first button is flush to the left
	edge, the last flush to the right, and the gaps between are identical. The
	row breaks into a new line of equal columns once buttons no longer fit. */
.ph-prs-size-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.ph-prs-size-btn {
	width: 100%;
	padding: 8px 10px;
	background: var(--ph-prs-btn-bg, #fff);
	color: var(--ph-prs-btn-color, #333);
	border: 1px solid #bbb;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.ph-prs-size-btn:hover {
	filter: brightness(0.95);
	border-color: #888;
}

.ph-prs-size-btn.ph-prs-active {
	background: var(--ph-prs-active-bg, #0073aa);
	color: var(--ph-prs-active-color, #fff);
	border-color: var(--ph-prs-active-bg, #005f8b);
}

.ph-prs-custom-btn {
	border-style: dashed;
}

.ph-prs-custom-btn.ph-prs-active {
	border-style: solid;
}

.ph-prs-size-btn.ph-prs-unavailable,
.ph-prs-size-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	background: #e8e8e8;
	color: #999;
	border-color: #ccc;
}

.ph-prs-size-btn.ph-prs-unavailable:hover,
.ph-prs-size-btn:disabled:hover {
	filter: none;
	border-color: #ccc;
}

.ph-prs-size-select {
	width: 100%;
	padding: 8px 32px 8px 10px;
	font-size: 13px;
	border: 1px solid #bbb;
	border-radius: 4px;
	background-color: var(--ph-prs-btn-bg, #fff);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 0.55em auto;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	color: var(--ph-prs-btn-color, #333);
	cursor: pointer;
	box-sizing: border-box;
}
