.on-hold-audio-converter-page {
	padding: 0;
}

.on-hold-audio-converter {
	margin: 0 auto 40px;
	max-width: 960px;
	color: #17212f;
	text-align: left;
}

.ohac-header {
	padding: 30px 0 18px;
	text-align: center;
}

.ohac-header h1 {
	margin: 0 0 12px;
	color: #000;
}

.ohac-intro {
	margin: 0 auto 14px;
	max-width: 760px;
	color: #30425b;
	font-size: 1.08rem;
	line-height: 1.55;
}

.ohac-privacy {
	display: inline-block;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid #cfe1dc;
	border-radius: 5px;
	background: #f0f8f5;
	color: #235144;
	font-size: .95rem;
	line-height: 1.45;
}

.ohac-section {
	margin: 0 0 18px;
	padding: 22px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(23, 33, 47, .07);
}

.ohac-section h2 {
	margin: 0 0 10px;
	color: #17212f;
	font-size: 1.2rem;
	line-height: 1.3;
}

.ohac-section h3 {
	margin: 0 0 8px;
	color: #17212f;
	font-size: 1rem;
	line-height: 1.3;
}

.ohac-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.ohac-muted,
.ohac-dropzone-subtitle {
	margin: 0;
	color: #6a7a8d;
	font-size: .95rem;
	line-height: 1.45;
}

.ohac-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ohac-dropzone {
	display: flex;
	min-height: 170px;
	padding: 24px;
	border: 2px dashed #9cb2c4;
	border-radius: 8px;
	background: #f7fafc;
	color: #30425b;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ohac-dropzone[hidden] {
	display: none;
}

.ohac-dropzone:hover,
.ohac-dropzone:focus-within,
.ohac-dropzone.is-dragging {
	border-color: #0090c5;
	background: #eef8fb;
	box-shadow: 0 0 0 3px rgba(0, 144, 197, .12);
}

.ohac-dropzone-title {
	display: block;
	margin-bottom: 8px;
	font-size: 1.25rem;
	font-weight: 700;
}

.ohac-upload-meta-row {
	display: flex;
	margin-top: 12px;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
}

.ohac-upload-meta-row[hidden],
.ohac-status[hidden],
.ohac-waveform-empty[hidden],
.ohac-waveform-loading[hidden],
#ohac-mp3-bitrate-wrap[hidden],
#ohac-custom-limit-wrap[hidden] {
	display: none;
}

.ohac-file-meta {
	color: #30425b;
	font-size: .95rem;
	line-height: 1.4;
	flex: 1 1 auto;
	min-width: 0;
}

.ohac-file-meta,
.ohac-preview-time,
.ohac-size-summary {
	font-variant-numeric: tabular-nums;
}

.ohac-button {
	display: inline-flex;
	padding: 9px 14px;
	border: 1px solid #b9cad8;
	border-radius: 6px;
	background: #fff;
	color: #17212f;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ohac-button:hover,
.ohac-button:focus {
	border-color: #0090c5;
	box-shadow: 0 0 0 3px rgba(0, 144, 197, .12);
}

.ohac-button:disabled,
.ohac-controls-grid input:disabled,
.ohac-controls-grid select:disabled,
.ohac-preset-grid select:disabled,
.ohac-size-grid select:disabled,
.ohac-size-grid input:disabled,
.ohac-compare-toggle input:disabled + span {
	cursor: not-allowed;
	opacity: .58;
}

.ohac-button-primary {
	border-color: #0090c5;
	background: #0090c5;
	color: #fff;
}

.ohac-button-primary:hover,
.ohac-button-primary:focus {
	background: #007fab;
	color: #fff;
}

.ohac-button-secondary {
	background: #f7fafc;
}

.ohac-preset-grid,
.ohac-size-grid,
.ohac-controls-grid,
.ohac-help-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ohac-preset-grid span,
.ohac-size-grid span,
.ohac-controls-grid label > span {
	display: block;
	margin-bottom: 6px;
	color: #6a7a8d;
	font-size: .85rem;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.ohac-preview-wave-row {
	display: grid;
	gap: 14px;
	grid-template-columns: 54px minmax(0, 1fr);
	align-items: center;
}

.ohac-waveform-shell {
	position: relative;
	min-height: 126px;
	border: 1px solid #d6e1ea;
	border-radius: 8px;
	background: #f7fafc;
	overflow: hidden;
}

.ohac-waveform {
	min-height: 126px;
}

.ohac-waveform-empty,
.ohac-waveform-loading {
	position: absolute;
	inset: 0;
	display: flex;
	padding: 18px;
	color: #6a7a8d;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
	line-height: 1.45;
	text-align: center;
	pointer-events: none;
}

.ohac-waveform-loading {
	background: rgba(247, 250, 252, .86);
	color: #30425b;
	font-weight: 800;
}

.ohac-preview-bar {
	display: grid;
	margin-top: 14px;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
}

.ohac-play-toggle {
	display: inline-flex;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: #0090c5;
	box-shadow: 0 8px 22px rgba(0, 144, 197, .25);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	transition: background-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ohac-play-toggle:hover,
.ohac-play-toggle:focus {
	background: #007fab;
	box-shadow: 0 0 0 4px rgba(0, 144, 197, .16), 0 8px 22px rgba(0, 144, 197, .25);
}

.ohac-play-toggle:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.ohac-play-icon {
	display: block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #fff;
}

.ohac-play-toggle.is-playing .ohac-play-icon {
	width: 18px;
	height: 20px;
	margin-left: 0;
	border: 0;
	background: linear-gradient(to right, #fff 0 35%, transparent 35% 65%, #fff 65% 100%);
}

.ohac-preview-copy {
	min-width: 0;
}

.ohac-preview-time {
	margin-bottom: 4px;
	color: #17212f;
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.2;
}

.ohac-compare-toggle {
	display: inline-flex;
	box-sizing: border-box;
	margin: 0;
	padding: 4px;
	border: 1px solid #c8d7e3;
	border-radius: 7px;
	background: #eef4f8;
	gap: 4px;
	align-items: center;
}

.ohac-compare-toggle label {
	display: flex;
	position: relative;
	margin: 0;
	line-height: 0;
	flex: 1 1 0;
}

.ohac-compare-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ohac-compare-toggle span {
	display: flex;
	box-sizing: border-box;
	min-width: 92px;
	width: 100%;
	padding: 9px 14px;
	border-radius: 5px;
	color: #30425b;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	font-size: .95rem;
	font-weight: bold;
	line-height: 1.2;
	text-align: center;
}

.ohac-compare-toggle input:checked + span {
	background: #fff;
	color: #006f98;
	box-shadow: 0 1px 4px rgba(23, 33, 47, .12);
}

.ohac-preview-actions {
	display: flex;
	margin-top: 20px;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.ohac-download-jump {
	color: #fff;
	text-decoration: none;
}

.ohac-download-jump:hover,
.ohac-download-jump:focus {
	color: #fff;
	text-decoration: none;
}

.ohac-preset-grid select,
.ohac-size-grid select,
.ohac-size-grid input,
.ohac-controls-grid select {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #c8d7e3;
	border-radius: 6px;
	color: #17212f;
	font-size: .95rem;
	line-height: 1.3;
}

.ohac-preset-grid select,
.ohac-size-grid select,
.ohac-controls-grid select {
	padding: 9px 36px 9px 10px;
	background-color: #fff;
	background-image:
		linear-gradient(45deg, transparent 50%, #000 50%),
		linear-gradient(135deg, #000 50%, transparent 50%);
	background-position: right 17px center, right 5px center;
	background-repeat: no-repeat;
	background-size: 12px 12px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ohac-size-grid input {
	padding: 9px 10px;
	background: #fff;
}

.ohac-preset-grid select::-ms-expand,
.ohac-size-grid select::-ms-expand,
.ohac-controls-grid select::-ms-expand {
	display: none;
}

.ohac-controls-grid label,
.ohac-preset-grid label,
.ohac-size-grid label {
	display: block;
	margin: 0;
	color: #30425b;
	font-size: .95rem;
	line-height: 1.35;
}

.ohac-controls-grid label:has(input[type="checkbox"]) {
	display: flex;
	gap: 8px;
	align-items: center;
}

.ohac-checkbox-control {
	padding-bottom: 20px;
}

.ohac-controls-grid label:has(input[type="checkbox"]) > span {
	margin-bottom: 0;
}

.ohac-controls-grid input[type="checkbox"] {
	margin: 0;
	accent-color: #0090c5;
	flex: 0 0 auto;
}

.ohac-warning-note {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid #d6e1ea;
	border-radius: 6px;
	background: #f7fafc;
	color: #000;
	font-size: .95rem;
	line-height: 1.45;
}

.ohac-size-summary {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid #f1d6ad;
	border-radius: 6px;
	background: #fff8ed;
	color: #785015;
	font-size: .95rem;
	line-height: 1.45;
}

.ohac-size-summary.is-error {
	border-color: #e2b3b3;
	background: #fff4f4;
	color: #8a2d2d;
}

.ohac-size-summary.is-success {
	border-color: #b8d9c7;
	background: #f0f8f5;
	color: #235144;
}

.ohac-export-ad {
	margin: 0 0 18px;
}

.ohac-export-scroll-target {
	display: block;
	position: relative;
	top: -10px;
}

.ohac-export-actions {
	display: grid;
	margin-top: 12px;
	width: min(100%, 360px);
}

.ohac-export-actions .ohac-button {
	width: 100%;
}

.ohac-ad-login-message {
	margin: 8px 0 0;
	color: #6a7a8d;
	font-size: .92rem;
}

.ohac-status {
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #d6e1ea;
	border-radius: 6px;
	background: #f7fafc;
	color: #30425b;
	font-size: .95rem;
	line-height: 1.45;
}

.ohac-status.is-error {
	border-color: #e2b3b3;
	background: #fff4f4;
	color: #8a2d2d;
}

.ohac-status.is-success {
	border-color: #b8d9c7;
	background: #f0f8f5;
	color: #235144;
}

.ohac-help-grid {
	margin-top: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ohac-help-grid div {
	padding: 14px;
	border: 1px solid #d6e1ea;
	border-radius: 7px;
	background: #f7fafc;
}

.ohac-help-grid p {
	margin: 0;
	color: #30425b;
	font-size: .95rem;
	line-height: 1.45;
}

@media (max-width: 760px) {
	.on-hold-audio-converter {
		margin-bottom: 28px;
	}

	.ohac-section {
		padding: 18px;
	}

	.ohac-section-heading {
		display: block;
	}

	.ohac-upload-meta-row,
	.ohac-preview-bar,
	.ohac-preset-grid,
	.ohac-size-grid,
	.ohac-controls-grid,
	.ohac-help-grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ohac-preview-wave-row {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.ohac-preview-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ohac-compare-toggle {
		width: 100%;
	}

	.ohac-compare-toggle label {
		flex: 1 1 50%;
	}

	.ohac-compare-toggle span {
		min-width: 0;
	}

	.ohac-export-actions {
		margin-right: auto;
		margin-left: auto;
	}
}
