/**
 * Song page (member lesson view) — left column fixes.
 * The left column is 170–235px wide on desktop (171px at 1440). The theme reset
 * sets button { white-space: nowrap }, so labels ran past their boxes.
 * Loaded on single song pages only (inc/features/song-page-fixes.php).
 */

/* "Mark as Completed" / "Mark in Progress" */
.song-status-marker {
	max-width: 100%;
}

.song-status-marker .status-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	min-width: 0;
	padding: 10px 12px;
	white-space: normal;
	text-align: left;
	line-height: 1.25;
	font-size: clamp(12.5px, 0.9vw, 14px);
}

.song-status-marker .status-btn .label {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.song-status-marker .status-btn .check {
	flex: 0 0 18px;
	margin: 0;
}

/* Original / Simplified switch */
.sns-cb + label {
	white-space: normal;
	overflow-wrap: anywhere;
	padding-right: 46px;
	font-size: clamp(13px, 0.95vw, 15px);
	line-height: 1.3;
}

.sns-cb + label::before {
	right: 12px;
}

.sns-cb + label::after {
	right: 18px;
}

/* Notes form */
.elementor-element-e63f7c4 textarea,
.elementor-element-e63f7c4 input,
.elementor-element-e63f7c4 button {
	max-width: 100%;
	box-sizing: border-box;
}

.elementor-element-e63f7c4 button {
	white-space: normal;
}
