.nrp-panel {
	margin: 2.5rem 0 1rem;
	padding: 1.5rem;
	border: 1px solid currentColor;
	border-radius: 4px;
}
.nrp-panel h2,
.nrp-dialog h2 {
	margin-top: 0;
}
.nrp-open,
.nrp-actions button {
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: .75rem 1rem;
	border: 1px solid currentColor;
	border-radius: 3px;
	background: transparent;
	color: inherit;
}
.nrp-open:hover,
.nrp-actions button:hover {
	text-decoration: underline;
}
.nrp-image-notice {
	font-size: .92em;
	opacity: .8;
}
.nrp-modal[hidden] {
	display: none !important;
}
.nrp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.nrp-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.65);
}
.nrp-dialog {
	position: relative;
	z-index: 1;
	width: min(760px, 100%);
	max-height: 90vh;
	overflow: auto;
	background: #fff;
	color: #111;
	padding: 2rem;
	border-radius: 4px;
	box-shadow: 0 18px 60px rgba(0,0,0,.3);
}
.nrp-close {
	position: absolute;
	top: .5rem;
	right: .75rem;
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	color: inherit;
}
.nrp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: 1.25rem 0;
}
.nrp-status {
	min-height: 1.5em;
	font-weight: 700;
}
.nrp-preview-wrap {
	margin-top: 1.25rem;
}
.nrp-preview {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ccc;
}
body.nrp-modal-open {
	overflow: hidden;
}
@media (max-width: 600px) {
	.nrp-dialog { padding: 1.5rem 1rem; }
	.nrp-actions { display: grid; }
	.nrp-actions button { width: 100%; }
}
