.repertoire-hero-actions {
	display: grid;
	gap: 8px;
	width: 100%;
}

.repertoire-score-split-trigger {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #b8c8df;
	border-radius: 8px;
	background: #ffffff;
	padding: 0 16px;
	color: #092246;
	font: inherit;
	font-weight: 900;
	box-shadow: none;
	cursor: pointer;
}

.repertoire-score-split-trigger:hover {
	border-color: #092246;
	background: #f4f7fb;
}

.repertoire-score-split-trigger svg,
.repertoire-score-split-copy svg,
.repertoire-score-split-open-ai svg,
.repertoire-score-split-warning svg,
.repertoire-score-split-dialog__close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	flex: 0 0 auto;
	overflow: visible;
}

.repertoire-score-split-dialog {
	width: min(960px, calc(100vw - 24px));
	max-width: none;
	max-height: calc(100dvh - 24px);
	margin: auto;
	border: 1px solid #d9e2ed;
	border-radius: 8px;
	background: #ffffff;
	padding: 0;
	color: #0b1733;
	box-shadow: 0 28px 72px rgba(6, 26, 53, 0.24);
	overflow: hidden;
}

.repertoire-score-split-dialog::backdrop {
	background: rgba(6, 26, 53, 0.62);
	backdrop-filter: blur(2px);
}

.repertoire-score-split-dialog__surface {
	display: flex;
	max-height: calc(100dvh - 26px);
	flex-direction: column;
	min-height: 0;
}

.repertoire-score-split-dialog__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid #e1e7ef;
	padding: 18px;
}

.repertoire-score-split-dialog__header h2,
.repertoire-score-split-dialog__header p,
.repertoire-score-split-step h3,
.repertoire-score-split-step p,
.repertoire-score-split-copy-status,
.repertoire-score-split-warning {
	margin: 0;
}

.repertoire-score-split-dialog__header h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: 0;
}

.repertoire-score-split-dialog__header p {
	margin-top: 6px;
	color: #687386;
	font-size: 13px;
	line-height: 1.45;
}

.repertoire-score-split-dialog__close {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: transparent;
	color: #354158;
	cursor: pointer;
}

.repertoire-score-split-dialog__close:hover {
	border-color: #d9e2ed;
	background: #f5f7fa;
}

.repertoire-score-split-dialog__body {
	display: grid;
	gap: 0;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.repertoire-score-split-step {
	display: grid;
	gap: 14px;
	border-bottom: 1px solid #e1e7ef;
	padding: 18px;
}

.repertoire-score-split-step__heading {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.repertoire-score-split-step__number {
	display: inline-flex;
	width: 28px;
	height: 28px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #0f5bb5;
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
}

.repertoire-score-split-step h3 {
	font-size: 16px;
	line-height: 1.25;
	letter-spacing: 0;
}

.repertoire-score-split-step__heading p {
	margin-top: 4px;
	color: #687386;
	font-size: 12px;
	line-height: 1.45;
}

.repertoire-score-split-copy {
	display: inline-flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	grid-column: 1 / -1;
	border: 1px solid #2d68b2;
	border-radius: 8px;
	background: #ffffff;
	padding: 0 14px;
	color: #0b4b9c;
	font-weight: 900;
	cursor: pointer;
}

.repertoire-score-split-copy:hover,
.repertoire-score-split-copy.is-copied {
	background: #edf5ff;
}

.repertoire-score-split-prompt {
	width: 100%;
	min-height: 340px;
	border: 1px solid #cfd9e6;
	border-radius: 8px;
	background: #f7f9fc;
	padding: 14px;
	color: #17243b;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 12px;
	line-height: 1.55;
	letter-spacing: 0;
	resize: vertical;
	white-space: pre-wrap;
}

.repertoire-score-split-copy-status {
	min-height: 18px;
	color: #24613f;
	font-size: 12px;
	font-weight: 800;
}

.repertoire-score-split-instructions {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 24px;
	color: #354158;
	font-size: 13px;
	line-height: 1.45;
}

.repertoire-score-split-instructions li::marker {
	color: #0f5bb5;
	font-weight: 900;
}

.repertoire-score-split-open-ai {
	display: inline-flex;
	width: 100%;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #b8c8df;
	border-radius: 8px;
	background: #ffffff;
	color: #092246;
	font-size: 13px;
	font-weight: 900;
}

.repertoire-score-split-open-ai:hover {
	border-color: #092246;
	background: #f4f7fb;
}

.repertoire-score-split-warning {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	border-bottom: 1px solid #ead8a2;
	background: #fff8e8;
	padding: 13px 18px;
	color: #744a00;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.45;
}

.repertoire-score-split-warning svg {
	margin-top: 1px;
}

.repertoire-score-split-dialog__footer {
	display: flex;
	justify-content: flex-end;
	background: #ffffff;
	padding: 14px 18px;
}

.repertoire-score-split-dialog__footer button {
	min-width: 110px;
	min-height: 40px;
	border: 1px solid #cfd9e6;
	border-radius: 8px;
	background: #ffffff;
	padding: 0 16px;
	color: #092246;
	font-weight: 900;
	cursor: pointer;
}

.repertoire-score-split-trigger:focus-visible,
.repertoire-score-split-copy:focus-visible,
.repertoire-score-split-open-ai:focus-visible,
.repertoire-score-split-dialog__close:focus-visible,
.repertoire-score-split-dialog__footer button:focus-visible {
	outline: 3px solid rgba(224, 157, 26, 0.32);
	outline-offset: 2px;
}

@media (min-width: 720px) {
	.repertoire-hero-actions {
		width: auto;
	}

	.repertoire-score-split-dialog__header,
	.repertoire-score-split-step {
		padding: 22px 26px;
	}

	.repertoire-score-split-step__heading {
		grid-template-columns: 28px minmax(0, 1fr) auto;
		align-items: center;
	}

	.repertoire-score-split-step__heading--simple {
		grid-template-columns: 28px minmax(0, 1fr);
	}

	.repertoire-score-split-copy {
		width: auto;
		grid-column: auto;
	}

	.repertoire-score-split-instructions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 36px;
	}

	.repertoire-score-split-open-ai {
		width: auto;
		justify-self: start;
		padding: 0 18px;
	}

	.repertoire-score-split-warning {
		padding: 14px 26px;
	}

	.repertoire-score-split-dialog__footer {
		padding: 14px 26px;
	}
}

@media (max-width: 719px) {
	.repertoire-score-split-dialog {
		width: calc(100vw - 12px);
		max-height: calc(100dvh - 12px);
	}

	.repertoire-score-split-dialog__surface {
		max-height: calc(100dvh - 14px);
	}

	.repertoire-score-split-dialog__header h2 {
		font-size: 21px;
	}

	.repertoire-score-split-prompt {
		min-height: 280px;
	}

	.repertoire-score-split-dialog__footer button {
		width: 100%;
	}
}
