.dk-republish-box {
	margin: 2rem 0;
	padding: 1.15rem;
	border: 1px solid rgba(32, 32, 32, .14);
	border-radius: 6px;
	background: #fbfbfa;
	color: inherit;
	font: inherit;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.dk-republish-license {
	display: inline-block;
	margin: 0 0 .65rem;
	color: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.2;
	text-decoration: none;
	text-transform: uppercase;
}

.dk-republish-license:hover,
.dk-republish-license:focus-visible {
	text-decoration: underline;
}

.dk-republish-box__text {
	margin: 0 0 1rem;
}

.dk-republish-box__text p {
	margin: 0 0 .55rem;
	font-size: 15px;
	line-height: 1.5;
}

.dk-republish-box__text p:first-child {
	font-family: inherit;
	font-size: 17px;
	font-weight: 650;
	line-height: 1.35;
}

.dk-republish-box__text p:last-child {
	margin-bottom: 0;
}

.dk-republish-button,
.dk-republish-copy-button,
.dk-republish-secondary {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 38px;
	padding: .55rem .85rem;
	border: 1px solid #202020;
	border-radius: 4px;
	background: #202020;
	color: #fff;
	font-family: inherit;
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: normal !important;
	line-height: 1.25;
	text-decoration: none;
	text-transform: none !important;
	cursor: pointer;
}

.dk-republish-box .dk-republish-button {
	min-height: 40px;
	padding: .62rem .95rem;
	font-size: 14px !important;
}

.dk-republish-copy-button {
	background: #202020;
	color: #fff;
}

.dk-republish-secondary {
	background: transparent;
	color: #202020;
}

.dk-republish-button:hover,
.dk-republish-button:focus-visible,
.dk-republish-copy-button:hover,
.dk-republish-copy-button:focus-visible,
.dk-republish-secondary:hover,
.dk-republish-secondary:focus-visible {
	background: #3b3b3b;
	border-color: #3b3b3b;
	color: #fff;
	opacity: 1;
}

.dk-republish-modal[hidden] {
	display: none;
}

.dk-republish-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	align-items: center;
	justify-items: center;
	padding: 1rem;
}

.dk-republish-modal.dk-republish-modal--open {
	display: grid;
}

.dk-republish-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, .72);
	backdrop-filter: blur(2px);
}

.dk-republish-modal__content {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: min(760px, 100%);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: clamp(1.35rem, 4vw, 2.25rem);
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 8px;
	background: #fff;
	color: #202020;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
	font: inherit;
}

.dk-republish-modal__content h2 {
	margin: 0 0 .75rem;
	padding-right: 2rem;
	color: #202020;
	font-family: inherit;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 650;
	letter-spacing: normal;
	line-height: 1.2;
	text-transform: none;
}

.dk-republish-modal__intro {
	max-width: 68ch;
	margin: 0;
	color: #4b4b4b;
	font-size: 15px;
	line-height: 1.6;
}

.dk-republish-close {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: .7rem;
	right: .8rem;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #555;
	font-family: inherit;
	font-size: 25px !important;
	font-weight: 400;
	letter-spacing: normal !important;
	line-height: 1;
	text-transform: none !important;
	cursor: pointer;
}

.dk-republish-close:hover,
.dk-republish-close:focus-visible {
	background: #f1f1ef;
	color: #111;
}

.dk-republish-tabs {
	display: flex;
	gap: .4rem;
	margin: 1.45rem 0 .85rem;
	border-bottom: 1px solid #ddd;
}

.dk-republish-tabs button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: .55rem .75rem;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #555;
	font-family: inherit;
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: normal !important;
	line-height: 1.3;
	text-transform: none !important;
	cursor: pointer;
}

.dk-republish-tabs button[aria-selected="true"] {
	border-bottom-color: #202020;
	color: #202020;
}

.dk-republish-textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 300px;
	margin: 0 0 .85rem;
	padding: .9rem;
	border: 1px solid #c9c9c5;
	border-radius: 5px;
	background: #fdfdfc;
	color: #222;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .035);
	font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	resize: vertical;
}

.dk-republish-textarea:focus {
	border-color: #555;
	box-shadow: 0 0 0 2px rgba(32, 32, 32, .12);
	outline: 0;
}

.dk-republish-status {
	min-height: 1.5em;
	margin: .7rem 0 .35rem;
	font-size: 14px;
	font-weight: 600;
}

body.dk-republish-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.dk-republish-modal {
		align-items: end;
		padding: 0;
	}

	.dk-republish-modal__content {
		max-height: 92vh;
		padding: 1.25rem;
		border-radius: 8px 8px 0 0;
	}

	.dk-republish-textarea {
		min-height: 240px;
	}
}
