.dps-dns-widget,
.dps-dns-widget * {
	box-sizing: border-box;
	font-family: inherit;
}

.dps-dns-widget {
	--dps-dns-ink: #172033;
	--dps-dns-muted: #687386;
	--dps-dns-soft: #eef2f7;
	--dps-dns-canvas: #f7f9fc;
	--dps-dns-surface: #ffffff;
	--dps-dns-inset: #f4f7fb;
	--dps-dns-navy: #151577;
	--dps-dns-navy-soft: #ececff;
	--dps-dns-green: #2ca75a;
	--dps-dns-green-soft: #e9f8ef;
	--dps-dns-warn: #b45309;
	--dps-dns-danger: #b42318;
	--dps-dns-danger-soft: #fff1f0;
	--dps-dns-border: rgba(23, 32, 51, 0.12);
	--dps-dns-border-strong: rgba(21, 21, 119, 0.28);
	--dps-dns-radius: 8px;
	color: var(--dps-dns-ink);
	margin: 24px auto;
	max-width: 1040px;
}

.dps-dns-widget a {
	color: inherit;
}

.dps-dns-shell {
	background: var(--dps-dns-surface);
	border: 1px solid var(--dps-dns-border);
	border-radius: var(--dps-dns-radius);
	overflow: clip;
}

.dps-dns-header {
	align-items: center;
	background: #10145f;
	color: #ffffff;
	display: grid;
	gap: 14px;
	grid-template-columns: auto 1fr auto;
	padding: 18px;
}

.dps-dns-header-mark {
	align-items: center;
	background: var(--dps-dns-green);
	border-radius: 7px;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	height: 42px;
	justify-content: center;
	letter-spacing: 0;
	width: 42px;
}

.dps-dns-title {
	font-size: 20px;
	font-weight: 760;
	line-height: 1.2;
}

.dps-dns-subtitle,
.dps-dns-brand {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.4;
}

.dps-dns-brand {
	font-weight: 700;
	text-align: right;
}

.dps-dns-description {
	background: var(--dps-dns-canvas);
	border-bottom: 1px solid var(--dps-dns-border);
	color: var(--dps-dns-muted);
	font-size: 13px;
	line-height: 1.5;
	padding: 12px 18px;
}

.dps-dns-workbench {
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1fr) 320px;
	padding: 18px;
}

.dps-dns-label {
	color: var(--dps-dns-ink);
	display: block;
	font-size: 12px;
	font-weight: 720;
	line-height: 1.2;
	margin-bottom: 8px;
}

.dps-dns-textarea-wrap {
	position: relative;
}

.dps-dns-textarea {
	background: var(--dps-dns-inset);
	border: 1px solid var(--dps-dns-border);
	border-radius: var(--dps-dns-radius);
	color: var(--dps-dns-ink);
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	min-height: 168px;
	padding: 14px;
	resize: vertical;
	width: 100%;
}

.dps-dns-textarea:focus,
.dps-dns-delay-field:focus,
.dps-dns-button:focus-visible,
.dps-dns-tool-button:focus-visible,
.dps-dns-type:focus-visible {
	border-color: var(--dps-dns-border-strong);
	box-shadow: 0 0 0 3px rgba(21, 21, 119, 0.14);
	outline: none;
}

.dps-dns-count {
	background: var(--dps-dns-navy);
	border-radius: 999px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 6px 8px;
	position: absolute;
	right: 10px;
	top: 10px;
}

.dps-dns-count.is-warning {
	background: var(--dps-dns-warn);
}

.dps-dns-count.is-danger {
	background: var(--dps-dns-danger);
}

.dps-dns-control-panel {
	align-content: start;
	display: grid;
	gap: 16px;
}

.dps-dns-types {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.dps-dns-type {
	background: #ffffff;
	border: 1px solid var(--dps-dns-border);
	border-radius: 999px;
	color: var(--dps-dns-ink);
	cursor: pointer;
	font-size: 12px;
	font-weight: 720;
	line-height: 1;
	padding: 9px 11px;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.dps-dns-type:hover {
	border-color: var(--dps-dns-border-strong);
	color: var(--dps-dns-navy);
}

.dps-dns-type.is-active {
	background: var(--dps-dns-navy);
	border-color: var(--dps-dns-navy);
	color: #ffffff;
}

.dps-dns-type-server {
	border-style: dashed;
}

.dps-dns-type:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.dps-dns-control-row {
	align-items: end;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}

.dps-dns-delay-input {
	align-items: center;
	display: flex;
	gap: 8px;
}

.dps-dns-delay-field {
	background: var(--dps-dns-inset);
	border: 1px solid var(--dps-dns-border);
	border-radius: var(--dps-dns-radius);
	color: var(--dps-dns-ink);
	font-size: 13px;
	padding: 9px 10px;
	width: 92px;
}

.dps-dns-button,
.dps-dns-tool-button {
	border: 1px solid transparent;
	border-radius: var(--dps-dns-radius);
	cursor: pointer;
	font-size: 13px;
	font-weight: 760;
	line-height: 1.1;
	padding: 11px 14px;
	transition: background 140ms ease, border-color 140ms ease, color 140ms ease, opacity 140ms ease;
	white-space: nowrap;
}

.dps-dns-button-primary {
	background: var(--dps-dns-navy);
	color: #ffffff;
}

.dps-dns-button-primary:hover {
	background: #23238d;
}

.dps-dns-button-danger {
	background: var(--dps-dns-danger-soft);
	border-color: rgba(180, 35, 24, 0.28);
	color: var(--dps-dns-danger);
}

.dps-dns-tool-button {
	background: #ffffff;
	border-color: var(--dps-dns-border);
	color: var(--dps-dns-ink);
}

.dps-dns-tool-button:hover {
	border-color: var(--dps-dns-border-strong);
	color: var(--dps-dns-navy);
}

.dps-dns-tool-button:disabled,
.dps-dns-button:disabled {
	cursor: not-allowed;
	opacity: 0.56;
}

.dps-dns-toolbar {
	align-items: center;
	background: var(--dps-dns-canvas);
	border-top: 1px solid var(--dps-dns-border);
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 18px;
}

.dps-dns-progress {
	background: #dde5ef;
	border-radius: 999px;
	flex: 1 1 140px;
	height: 8px;
	overflow: hidden;
}

.dps-dns-progress span {
	background: linear-gradient(90deg, var(--dps-dns-navy), var(--dps-dns-green));
	display: block;
	height: 100%;
	width: 0;
}

.dps-dns-status {
	color: var(--dps-dns-muted);
	font-size: 12px;
	font-weight: 680;
	margin-left: auto;
	text-align: right;
}

.dps-dns-error {
	background: var(--dps-dns-danger-soft);
	border-top: 1px solid rgba(180, 35, 24, 0.18);
	color: var(--dps-dns-danger);
	font-size: 13px;
	font-weight: 680;
	line-height: 1.45;
	padding: 12px 18px;
}

.dps-dns-results {
	background: var(--dps-dns-surface);
	min-height: 180px;
	overflow: auto;
}

.dps-dns-empty {
	align-items: center;
	color: var(--dps-dns-muted);
	display: grid;
	gap: 8px;
	justify-items: center;
	min-height: 180px;
	padding: 28px;
	text-align: center;
}

.dps-dns-empty-icon {
	background: var(--dps-dns-navy-soft);
	border: 1px solid rgba(21, 21, 119, 0.12);
	border-radius: 999px;
	color: var(--dps-dns-navy);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0;
	padding: 8px 11px;
}

.dps-dns-empty-title {
	color: var(--dps-dns-ink);
	font-size: 15px;
	font-weight: 760;
}

.dps-dns-empty-copy {
	font-size: 13px;
	line-height: 1.45;
}

.dps-dns-table {
	display: grid;
	font-size: 12px;
	min-width: 760px;
}

.dps-dns-table-pivot {
	min-width: 840px;
}

.dps-dns-table-head,
.dps-dns-table-row {
	display: grid;
	grid-template-columns: minmax(150px, 1.4fr) 78px minmax(150px, 1.2fr) 72px minmax(240px, 2fr) 72px;
}

.dps-dns-table-head {
	background: #f0f4fa;
	border-bottom: 1px solid var(--dps-dns-border);
	color: var(--dps-dns-muted);
	font-weight: 800;
	position: sticky;
	top: 0;
	z-index: 1;
}

.dps-dns-table-cell {
	align-items: center;
	border-bottom: 1px solid rgba(23, 32, 51, 0.08);
	display: flex;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 10px 12px;
}

.dps-dns-table-row:nth-child(even) {
	background: #fbfcfe;
}

.dps-dns-cell-type {
	color: var(--dps-dns-navy);
	font-weight: 800;
	justify-content: center;
}

.dps-dns-cell-ttl,
.dps-dns-cell-cache {
	color: var(--dps-dns-green);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 720;
	justify-content: center;
}

.dps-dns-cell-name,
.dps-dns-cell-data {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.dps-dns-cell-domain {
	color: var(--dps-dns-ink);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-weight: 760;
}

.dps-dns-pivot-cell {
	align-items: flex-start;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
}

.dps-dns-cell-error {
	color: var(--dps-dns-danger);
}

.dps-dns-badge {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	padding: 5px 8px;
	width: fit-content;
}

.dps-dns-badge-success {
	background: var(--dps-dns-green-soft);
	border-color: rgba(44, 167, 90, 0.24);
	color: #16633a;
}

.dps-dns-badge-warning {
	background: #fff7df;
	border-color: rgba(180, 83, 9, 0.24);
	color: var(--dps-dns-warn);
}

.dps-dns-badge-error {
	background: var(--dps-dns-danger-soft);
	border-color: rgba(180, 35, 24, 0.24);
	color: var(--dps-dns-danger);
}

.dps-dns-badge-neutral {
	background: #eef2f7;
	border-color: rgba(23, 32, 51, 0.1);
	color: var(--dps-dns-muted);
}

.dps-dns-meta {
	color: var(--dps-dns-muted);
	font-size: 11px;
	line-height: 1.35;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.dps-dns-code-block {
	background: var(--dps-dns-inset);
	border: 1px solid rgba(23, 32, 51, 0.09);
	border-radius: 6px;
	color: var(--dps-dns-ink);
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
	line-height: 1.35;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 4px 6px;
}

.dps-dns-footer {
	align-items: center;
	border-top: 1px solid var(--dps-dns-border);
	color: var(--dps-dns-muted);
	display: flex;
	font-size: 12px;
	gap: 6px;
	justify-content: center;
	padding: 11px 18px;
}

.dps-dns-footer a {
	color: var(--dps-dns-navy);
	font-weight: 800;
	text-decoration: none;
}

.dps-dns-footer a:hover {
	text-decoration: underline;
}

@media (max-width: 820px) {
	.dps-dns-workbench {
		grid-template-columns: 1fr;
	}

	.dps-dns-header {
		grid-template-columns: auto 1fr;
	}

	.dps-dns-brand {
		display: none;
	}

	.dps-dns-toolbar {
		align-items: stretch;
	}

	.dps-dns-tool-button {
		flex: 1 1 auto;
	}

	.dps-dns-status {
		flex-basis: 100%;
		text-align: left;
	}
}

@media (max-width: 560px) {
	.dps-dns-widget {
		margin: 16px auto;
	}

	.dps-dns-header,
	.dps-dns-description,
	.dps-dns-workbench,
	.dps-dns-toolbar,
	.dps-dns-footer {
		padding-left: 14px;
		padding-right: 14px;
	}

	.dps-dns-title {
		font-size: 17px;
	}

	.dps-dns-table {
		min-width: 620px;
	}

	.dps-dns-table-head,
	.dps-dns-table-row {
		grid-template-columns: minmax(132px, 1.2fr) 66px minmax(210px, 2fr) 64px;
	}

	.dps-dns-cell-name,
	.dps-dns-head-name,
	.dps-dns-cell-cache,
	.dps-dns-head-cache {
		display: none;
	}
}
