/* Sample-pages dialog. Sized in viewport units because a PDF needs room; the
   max-widths keep it from becoming a full-bleed wall on a large screen. */
.sv-sample {
	width: min(920px, 94vw);
	height: min(88vh, 1100px);
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	border-radius: var(--sv-radius, 10px);
	background: var(--sv-body-bg, #fff);
	color: var(--sv-text, #23262d);
	overflow: hidden;
}

.sv-sample::backdrop {
	background: rgba(12, 15, 20, .62);
}

.sv-sample__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px 12px 18px;
	border-bottom: 1px solid var(--sv-border, #e4e6ea);
}

.sv-sample__title {
	font-size: .96rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sv-sample__tools {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.sv-sample__link {
	font-size: .84rem;
	color: var(--sv-text-muted, #6b7280);
}

.sv-sample__close {
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.sv-sample__close:hover {
	background: var(--sv-surface, #f4f5f7);
}

.sv-sample__frame {
	display: block;
	width: 100%;
	height: calc(100% - 57px);
	border: 0;
}

.sv-sample__open {
	margin-top: 14px;
}
