.guide-pdf-toolbar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.wst-table-wrapper div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-start {
	width: 100%;
}

.guide-pdf-search-wrap {
	flex: 1 1 320px;
	min-width: 220px;
}

.guide-pdf-export-controls {
	display: inline-flex;
	align-items: center;
	margin-left: 0;
	position: relative;
}

.guide-pdf-export-controls[data-tooltip]:hover::after {
	content: attr(data-tooltip);
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 1000;
	max-width: 320px;
	padding: 8px 10px;
	border-radius: 6px;
	background: rgba(16, 24, 40, 0.95);
	color: #fff;
	font-size: 12px;
	line-height: 1.35;
	white-space: normal;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.guide-pdf-export-button {
	appearance: none;
	border: 1px solid #0b5cab;
	background: #0b5cab;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 4px;
	cursor: pointer;
	line-height: 1.2;
}

.guide-pdf-export-button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

.guide-pdf-row-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-left: 8px;
	text-decoration: none;
	font-size: 16px;
	line-height: 1;
}

.wst-col.wst-col-core-post_title .guide-pdf-title-cell-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.wst-col.wst-col-core-post_title .ninja_table_permalink {
	flex: 1 1 auto;
	min-width: 0;
}

@media (max-width: 767px) {
	.guide-pdf-toolbar-row {
		align-items: stretch;
	}

	.guide-pdf-export-controls {
		margin-left: 0;
	}

	.guide-pdf-export-button {
		width: 100%;
	}
}
