.smile-pdf-wrap {
	position: relative;
	margin: 1em 0;
	background: #525659;
	border: 1px solid #d0d0d0;
	box-sizing: border-box;
	overflow: hidden;
}
.smile-pdf-loading,
.smile-pdf-error {
	padding: 24px;
	color: #fff;
	text-align: center;
}
.smile-pdf-error { background: #8a1f1f; }
.smile-pdf-inner {
	display: flex;
	flex-direction: column;
	height: auto;
	min-height: 0;
}
.smile-pdf-stage {
	position: relative;
	flex: none;
	background: #525659;
	overflow: auto;
	text-align: center;
	cursor: grab;
	touch-action: none;
	min-height: 160px;
}
.smile-pdf-toolbar {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	padding: 1px 8px;
	min-height: 22px;
	background: #323639;
	color: #fff;
	font-size: 11px;
	line-height: 1;
	z-index: 2;
	box-sizing: border-box;
}
.smile-pdf-hover .smile-pdf-toolbar {
	position: absolute;
	left: 0;
	right: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s;
}
.smile-pdf-hover .smile-pdf-toolbar-top { top: 0; }
.smile-pdf-hover .smile-pdf-toolbar-bottom { bottom: 0; }
.smile-pdf-hover:hover .smile-pdf-toolbar,
.smile-pdf-hover:focus-within .smile-pdf-toolbar {
	opacity: 1;
	pointer-events: auto;
}
.smile-pdf-toolbar button,
.smile-pdf-toolbar a.smile-pdf-btn {
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 1px 6px;
	border-radius: 2px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
	font-size: 11px;
}
.smile-pdf-toolbar button:hover,
.smile-pdf-toolbar a.smile-pdf-btn:hover {
	background: #4a4f54;
	color: #fff;
}
.smile-pdf-pageinfo { margin: 0 4px; white-space: nowrap; }
.smile-pdf-stage.is-dragging { cursor: grabbing; user-select: none; }
.smile-pdf-scroll-none,
.smile-pdf-scroll-vertical,
.smile-pdf-scroll-horizontal,
.smile-pdf-scroll-both {
	overflow: auto;
}
.smile-pdf-scroll-none {
	scrollbar-width: none;
}
.smile-pdf-scroll-none::-webkit-scrollbar { display: none; }
.smile-pdf-page {
	position: relative;
	display: block;
	width: auto;
	max-width: none;
	margin: 0 auto;
	box-shadow: 0 1px 4px rgba(0,0,0,.35);
	background: #fff;
	line-height: 0;
}
.smile-pdf-page + .smile-pdf-page { margin-top: 4px; }
.smile-pdf-page canvas {
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}
.smile-pdf-annos {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	z-index: 2;
}
.smile-pdf-annos a,
.smile-pdf-anno-link {
	position: absolute;
	display: block;
	pointer-events: auto;
	z-index: 3;
	cursor: pointer;
}
.smile-pdf-mobile-teaser {
	text-align: center;
	padding: 16px;
	background: #323639;
}
.smile-pdf-mobile-teaser canvas {
	max-width: 220px;
	height: auto;
	display: block;
	margin: 0 auto 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.smile-pdf-fs-btn {
	display: inline-block;
	background: #2271b1;
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 4px;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	font-size: 15px;
}
.smile-pdf-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: #1d1f20;
	display: flex;
	flex-direction: column;
}
.smile-pdf-overlay .smile-pdf-inner { min-height: 100%; height: 100%; }
.smile-pdf-overlay .smile-pdf-stage { flex: 1; height: auto !important; min-height: 0; }
