.wptdc-app,
.wptdc-app * {
	box-sizing: border-box;
}

.wptdc-app {
	--wptdc-primary: #146ef5;
	--wptdc-dark: #0b1f3a;
	--wptdc-accent: #16a36a;
	--wptdc-bg: #f4f7fb;
	--wptdc-critical: #c9362b;
	--wptdc-warning: #d78900;
	--wptdc-info: #52708f;
	--wptdc-border: #dfe6ef;
	--wptdc-content-width: 1180px;
	--wptdc-side-gap: clamp(16px, 3vw, 38px);
	width: min(100%, var(--wptdc-content-width));
	margin: 30px auto;
	color: var(--wptdc-dark);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.6;
}

.wptdc-app [hidden] {
	display: none !important;
}

.wptdc-app .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wptdc-app button,
.wptdc-app input {
	font: inherit;
}

.wptdc-app__hero {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px) var(--wptdc-side-gap);
	border: 1px solid color-mix(in srgb, var(--wptdc-primary) 16%, white);
	border-radius: 26px;
	background:
		radial-gradient(circle at 92% 5%, color-mix(in srgb, var(--wptdc-primary) 18%, transparent) 0, transparent 34%),
		linear-gradient(145deg, #ffffff 0%, var(--wptdc-bg) 100%);
	box-shadow: 0 24px 60px rgba(16, 42, 77, .10);
	text-align: center;
}

.wptdc-app__hero::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -100px;
	width: 260px;
	height: 260px;
	border: 42px solid color-mix(in srgb, var(--wptdc-accent) 13%, transparent);
	border-radius: 50%;
	pointer-events: none;
}

.wptdc-app__eyebrow,
.wptdc-results__kicker {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wptdc-primary) 10%, white);
	color: var(--wptdc-primary);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.wptdc-app__title {
	max-width: 840px;
	margin: 16px auto 10px;
	color: var(--wptdc-dark);
	font-size: clamp(32px, 5vw, 58px);
	font-weight: 780;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.wptdc-app__intro {
	max-width: 760px;
	margin: 0 auto;
	color: color-mix(in srgb, var(--wptdc-dark) 74%, white);
	font-size: clamp(17px, 2vw, 20px);
}

.wptdc-form {
	position: relative;
	z-index: 1;
	max-width: 880px;
	margin: 30px auto 0;
}

.wptdc-form__contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.wptdc-form__field {
	display: grid;
	gap: 7px;
	color: var(--wptdc-dark);
	font-size: 13px;
	font-weight: 700;
	text-align: left;
}

.wptdc-form__field input {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border: 1px solid var(--wptdc-border);
	border-radius: 12px;
	outline: 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(13, 42, 75, .07);
	color: var(--wptdc-dark);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
}

.wptdc-form__field input:focus {
	border-color: var(--wptdc-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wptdc-primary) 16%, transparent);
}

.wptdc-form__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 1px solid var(--wptdc-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(13, 42, 75, .10);
}

.wptdc-form__url-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--wptdc-primary);
	font-size: 28px;
	font-weight: 700;
}

.wptdc-form__url {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 8px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--wptdc-dark);
	font-size: 17px;
}

.wptdc-form__url:focus {
	box-shadow: inset 0 -2px 0 var(--wptdc-primary);
}

.wptdc-form__submit,
.wptdc-cta__button,
.wptdc-new-scan,
.wptdc-pdf,
.wptdc-help a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 24px;
	border: 0;
	border-radius: 11px;
	background: var(--wptdc-primary);
	box-shadow: 0 10px 24px color-mix(in srgb, var(--wptdc-primary) 24%, transparent);
	color: #fff;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.wptdc-form__submit:hover,
.wptdc-cta__button:hover,
.wptdc-new-scan:hover,
.wptdc-pdf:hover,
.wptdc-help a:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px color-mix(in srgb, var(--wptdc-primary) 32%, transparent);
	color: #fff;
}

.wptdc-form__submit:focus-visible,
.wptdc-cta__button:focus-visible,
.wptdc-new-scan:focus-visible,
.wptdc-pdf:focus-visible,
.wptdc-help a:focus-visible,
.wptdc-print:focus-visible,
.wptdc-filter:focus-visible,
.wptdc-finding summary:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--wptdc-primary) 45%, white);
	outline-offset: 3px;
}

.wptdc-form__submit:disabled,
.wptdc-pdf:disabled {
	opacity: .62;
	cursor: wait;
	transform: none;
}

.wptdc-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 780px;
	margin: 14px auto 0;
	color: color-mix(in srgb, var(--wptdc-dark) 72%, white);
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}

.wptdc-form__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--wptdc-primary);
}

.wptdc-form__consent a {
	color: var(--wptdc-primary);
	font-weight: 700;
}

.wptdc-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.wptdc-form__error {
	max-width: 780px;
	margin: 14px auto 0;
	padding: 12px 16px;
	border: 1px solid color-mix(in srgb, var(--wptdc-critical) 38%, white);
	border-radius: 10px;
	background: color-mix(in srgb, var(--wptdc-critical) 8%, white);
	color: #8f251d;
	font-weight: 650;
	text-align: left;
}

.wptdc-app__trust {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	margin-top: 24px;
	color: color-mix(in srgb, var(--wptdc-dark) 70%, white);
	font-size: 14px;
	font-weight: 650;
}

.wptdc-app__trust span::first-letter {
	color: var(--wptdc-accent);
}

.wptdc-progress {
	margin-top: 22px;
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid var(--wptdc-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(14, 41, 76, .08);
}

.wptdc-progress__top {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 12px;
}

.wptdc-progress__top strong {
	color: var(--wptdc-dark);
	font-size: 18px;
}

.wptdc-progress__top span {
	color: var(--wptdc-primary);
	font-weight: 800;
}

.wptdc-progress__track {
	overflow: hidden;
	height: 10px;
	border-radius: 999px;
	background: #e9eef5;
}

.wptdc-progress__track span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--wptdc-primary), color-mix(in srgb, var(--wptdc-primary) 55%, var(--wptdc-accent)));
	transition: width .55s ease;
}

.wptdc-progress p {
	margin: 10px 0 0;
	color: #607086;
}

.wptdc-results {
	scroll-margin-top: 110px;
	margin-top: 24px;
}

.wptdc-results__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(18px, 4vw, 34px);
	padding: clamp(24px, 5vw, 44px);
	border: 1px solid var(--wptdc-border);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 18px 44px rgba(14, 42, 78, .09);
}

.wptdc-score {
	--wptdc-score: 0;
	--wptdc-score-color: var(--wptdc-primary);
	display: grid;
	place-items: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: conic-gradient(var(--wptdc-score-color) calc(var(--wptdc-score) * 1%), #e8edf4 0);
}

.wptdc-score--good {
	--wptdc-score-color: var(--wptdc-accent);
}

.wptdc-score--warning {
	--wptdc-score-color: var(--wptdc-warning);
}

.wptdc-score--critical {
	--wptdc-score-color: var(--wptdc-critical);
}

.wptdc-score__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 102px;
	height: 102px;
	border-radius: 50%;
	background: #fff;
}

.wptdc-score__inner strong {
	color: var(--wptdc-dark);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
}

.wptdc-score__inner span {
	margin-top: 5px;
	color: #758396;
	font-size: 12px;
	font-weight: 700;
}

.wptdc-results__headline h3 {
	margin: 10px 0 4px;
	color: var(--wptdc-dark);
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.15;
}

.wptdc-results__headline p {
	margin: 0;
	color: #64748a;
	font-size: 14px;
	word-break: break-word;
}

.wptdc-print {
	min-height: 44px;
	padding: 9px 15px;
	border: 1px solid var(--wptdc-border);
	border-radius: 9px;
	background: #fff;
	color: var(--wptdc-dark);
	font-weight: 700;
	cursor: pointer;
}

.wptdc-results__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 9px;
}

.wptdc-pdf {
	min-height: 44px;
	padding: 9px 16px;
	white-space: nowrap;
}

.wptdc-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 16px 0 28px;
}

.wptdc-stat {
	padding: 20px;
	border: 1px solid var(--wptdc-border);
	border-top: 4px solid #91a0b3;
	border-radius: 14px;
	background: #fff;
}

.wptdc-stat--critical {
	border-top-color: var(--wptdc-critical);
}

.wptdc-stat--warning {
	border-top-color: var(--wptdc-warning);
}

.wptdc-stat--pass {
	border-top-color: var(--wptdc-accent);
}

.wptdc-stat__value {
	display: block;
	color: var(--wptdc-dark);
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
}

.wptdc-stat__label {
	display: block;
	margin-top: 8px;
	color: #65758a;
	font-size: 13px;
}

.wptdc-results__toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.wptdc-results__toolbar h3 {
	margin: 0;
	color: var(--wptdc-dark);
	font-size: clamp(22px, 3vw, 30px);
}

.wptdc-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.wptdc-filter {
	min-height: 36px;
	padding: 7px 12px;
	border: 1px solid var(--wptdc-border);
	border-radius: 999px;
	background: #fff;
	color: #5b6c82;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.wptdc-filter.is-active {
	border-color: var(--wptdc-primary);
	background: color-mix(in srgb, var(--wptdc-primary) 9%, white);
	color: var(--wptdc-primary);
}

.wptdc-findings {
	display: grid;
	gap: 12px;
}

.wptdc-finding {
	overflow: hidden;
	border: 1px solid var(--wptdc-border);
	border-left: 5px solid var(--wptdc-info);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(18, 44, 78, .05);
}

.wptdc-finding--critical {
	border-left-color: var(--wptdc-critical);
}

.wptdc-finding--warning {
	border-left-color: var(--wptdc-warning);
}

.wptdc-finding--pass {
	border-left-color: var(--wptdc-accent);
}

.wptdc-finding__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 82px;
	padding: 15px 18px;
	cursor: pointer;
	list-style: none;
}

.wptdc-finding__summary::-webkit-details-marker {
	display: none;
}

.wptdc-finding__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wptdc-info) 11%, white);
	color: var(--wptdc-info);
	font-weight: 850;
}

.wptdc-finding--critical .wptdc-finding__icon {
	background: color-mix(in srgb, var(--wptdc-critical) 10%, white);
	color: var(--wptdc-critical);
}

.wptdc-finding--warning .wptdc-finding__icon {
	background: color-mix(in srgb, var(--wptdc-warning) 12%, white);
	color: #9b6200;
}

.wptdc-finding--pass .wptdc-finding__icon {
	background: color-mix(in srgb, var(--wptdc-accent) 11%, white);
	color: var(--wptdc-accent);
}

.wptdc-finding__title-wrap {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wptdc-finding__category {
	color: #718096;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.wptdc-finding__title {
	margin-top: 2px;
	color: var(--wptdc-dark);
	font-size: 17px;
	line-height: 1.3;
}

.wptdc-finding__badge {
	padding: 5px 10px;
	border-radius: 999px;
	background: #eef2f7;
	color: #5f7187;
	font-size: 12px;
	font-weight: 750;
}

.wptdc-finding--critical .wptdc-finding__badge {
	background: color-mix(in srgb, var(--wptdc-critical) 10%, white);
	color: #92271f;
}

.wptdc-finding--warning .wptdc-finding__badge {
	background: color-mix(in srgb, var(--wptdc-warning) 13%, white);
	color: #805100;
}

.wptdc-finding--pass .wptdc-finding__badge {
	background: color-mix(in srgb, var(--wptdc-accent) 10%, white);
	color: #087448;
}

.wptdc-finding__body {
	padding: 0 20px 22px 70px;
	border-top: 1px solid #edf1f5;
}

.wptdc-finding__description {
	margin: 18px 0;
	color: #53667c;
}

.wptdc-finding__actions,
.wptdc-finding__evidence {
	margin-top: 15px;
	padding: 15px 17px;
	border-radius: 10px;
	background: var(--wptdc-bg);
}

.wptdc-finding__actions {
	border-left: 3px solid var(--wptdc-primary);
}

.wptdc-finding__body h5 {
	margin: 0 0 7px;
	color: var(--wptdc-dark);
	font-size: 14px;
}

.wptdc-finding__body ul {
	margin: 0;
	padding-left: 20px;
}

.wptdc-finding__body li + li {
	margin-top: 5px;
}

.wptdc-finding__evidence li {
	word-break: break-word;
}

.wptdc-details {
	margin-top: 18px;
	border: 1px solid var(--wptdc-border);
	border-radius: 14px;
	background: #fff;
}

.wptdc-details > summary {
	padding: 16px 20px;
	color: var(--wptdc-dark);
	font-weight: 750;
	cursor: pointer;
}

.wptdc-details__body {
	padding: 0 20px 22px;
	border-top: 1px solid var(--wptdc-border);
}

.wptdc-detail-section h4 {
	margin: 22px 0 9px;
	color: var(--wptdc-dark);
	font-size: 18px;
}

.wptdc-table-scroll {
	overflow-x: auto;
	border: 1px solid var(--wptdc-border);
	border-radius: 10px;
}

.wptdc-table {
	width: 100%;
	min-width: 660px;
	border-collapse: collapse;
	background: #fff;
	font-size: 13px;
}

.wptdc-table th,
.wptdc-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e8edf3;
	text-align: left;
	vertical-align: top;
	word-break: break-word;
}

.wptdc-table th {
	background: var(--wptdc-bg);
	color: var(--wptdc-dark);
	font-weight: 750;
}

.wptdc-table tr:last-child td {
	border-bottom: 0;
}

.wptdc-details__meta {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--wptdc-bg);
	color: #596b80;
}

.wptdc-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	margin-top: 22px;
	padding: clamp(24px, 5vw, 42px);
	border-radius: 20px;
	background: linear-gradient(135deg, var(--wptdc-dark), color-mix(in srgb, var(--wptdc-dark) 72%, var(--wptdc-primary)));
	color: #fff;
	box-shadow: 0 20px 44px rgba(11, 31, 58, .18);
}

.wptdc-cta h3 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(22px, 3vw, 30px);
}

.wptdc-cta p {
	max-width: 720px;
	margin: 0;
	color: rgba(255, 255, 255, .78);
}

.wptdc-cta__button {
	white-space: nowrap;
}

.wptdc-results__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-top: 18px;
	padding: 18px 0;
}

.wptdc-results__footer p {
	max-width: 790px;
	margin: 0;
	color: #6a788b;
	font-size: 13px;
}

.wptdc-new-scan {
	min-height: 44px;
	padding: 10px 18px;
	white-space: nowrap;
}

.wptdc-help {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 4px;
	padding: 20px 22px;
	border: 1px solid color-mix(in srgb, var(--wptdc-primary) 24%, var(--wptdc-border));
	border-radius: 14px;
	background: color-mix(in srgb, var(--wptdc-primary) 7%, white);
}

.wptdc-help p {
	margin: 0;
	color: var(--wptdc-dark);
	font-weight: 700;
}

.wptdc-help a {
	min-height: 44px;
	padding: 10px 18px;
	white-space: nowrap;
}

.wptdc-app__legal {
	max-width: 920px;
	margin: 16px auto 0;
	color: #718096;
	font-size: 12px;
	text-align: center;
}

@media (max-width: 940px) {
	.wptdc-results__header {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.wptdc-results__actions {
		grid-column: 1 / -1;
		justify-self: start;
	}

	.wptdc-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wptdc-results__toolbar,
	.wptdc-results__footer,
	.wptdc-help {
		align-items: flex-start;
		flex-direction: column;
	}

	.wptdc-filters {
		justify-content: flex-start;
	}

	.wptdc-cta {
		grid-template-columns: 1fr;
	}

	.wptdc-cta__button {
		justify-self: start;
		white-space: normal;
	}
}

@media (max-width: 640px) {
	.wptdc-app {
		margin: 18px auto;
		font-size: 15px;
	}

	.wptdc-app__hero {
		border-radius: 18px;
	}

	.wptdc-form__row {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.wptdc-form__contact {
		grid-template-columns: 1fr;
	}

	.wptdc-form__submit {
		grid-column: 1 / -1;
		width: 100%;
	}

	.wptdc-app__trust {
		align-items: flex-start;
		flex-direction: column;
	}

	.wptdc-results__header {
		grid-template-columns: 1fr;
		justify-items: start;
		border-radius: 17px;
	}

	.wptdc-score {
		width: 112px;
		height: 112px;
	}

	.wptdc-score__inner {
		width: 86px;
		height: 86px;
	}

	.wptdc-score__inner strong {
		font-size: 32px;
	}

	.wptdc-stats {
		grid-template-columns: 1fr 1fr;
		gap: 9px;
	}

	.wptdc-stat {
		padding: 15px;
	}

	.wptdc-stat__value {
		font-size: 25px;
	}

	.wptdc-finding__summary {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 10px;
		padding: 14px;
	}

	.wptdc-finding__badge {
		grid-column: 2;
		justify-self: start;
	}

	.wptdc-finding__body {
		padding: 0 14px 16px;
	}

	.wptdc-details__body {
		padding: 0 12px 16px;
	}

	.wptdc-cta__button,
	.wptdc-new-scan,
	.wptdc-pdf,
	.wptdc-help a {
		width: 100%;
	}

	.wptdc-results__actions {
		width: 100%;
		align-items: stretch;
		flex-direction: column;
	}
}

@media print {
	.wptdc-app {
		width: 100%;
		max-width: none;
		margin: 0;
		color: #000;
	}

	.wptdc-app__hero,
	.wptdc-progress,
	.wptdc-print,
	.wptdc-pdf,
	.wptdc-filters,
	.wptdc-cta,
	.wptdc-help,
	.wptdc-new-scan,
	.wptdc-app__legal {
		display: none !important;
	}

	.wptdc-results {
		display: block !important;
	}

	.wptdc-results__header,
	.wptdc-finding,
	.wptdc-stat,
	.wptdc-details {
		box-shadow: none;
		break-inside: avoid;
	}

	.wptdc-finding[hidden] {
		display: block !important;
	}

	.wptdc-finding__body {
		display: block !important;
	}
}
