:root {
	--dpt-navy: #17243f;
	--dpt-blue: #246bce;
	--dpt-cyan: #39b8c8;
	--dpt-surface: #ffffff;
	--dpt-muted: #617087;
	--dpt-border: #dce4ef;
	--dpt-soft: #f5f8fc;
	--dpt-danger: #c73d4d;
	--dpt-success: #1f8a5b;
}

.dpt-tool {
	box-sizing: border-box;
	width: 100%;
	margin: 1.5rem 0;
	padding: clamp(1rem, 3vw, 2rem);
	border: 1px solid var(--dpt-border);
	border-radius: 20px;
	background:
		radial-gradient(circle at 100% 0, rgba(57, 184, 200, 0.12), transparent 32%),
		var(--dpt-surface);
	box-shadow: 0 18px 50px rgba(23, 36, 63, 0.09);
	color: var(--dpt-navy);
}

.dpt-tool *,
.dpt-tool *::before,
.dpt-tool *::after {
	box-sizing: border-box;
}

.dpt-tool__title {
	margin: 0 0 1rem;
	font-size: clamp(1.35rem, 2.5vw, 1.85rem);
	line-height: 1.35;
}

.dpt-tool__app {
	min-height: 8rem;
}

.dpt-tool__status,
.dpt-tool__notice {
	margin: 0;
	padding: 1rem;
	border-radius: 12px;
	background: var(--dpt-soft);
	color: var(--dpt-muted);
}

.dpt-tool button,
.dpt-tool .dpt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.72rem 1.1rem;
	border: 0;
	border-radius: 10px;
	background: var(--dpt-blue);
	color: #ffffff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.dpt-tool button:hover,
.dpt-tool .dpt-button:hover {
	filter: brightness(0.94);
}

.dpt-tool button:disabled,
.dpt-tool .dpt-button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.dpt-tool .dpt-button--secondary {
	border: 1px solid var(--dpt-border);
	background: #ffffff;
	color: var(--dpt-navy);
}

.dpt-tool button:focus-visible,
.dpt-tool input:focus-visible,
.dpt-tool select:focus-visible,
.dpt-tool textarea:focus-visible,
.dpt-tool .dpt-button:focus-visible {
	outline: 3px solid rgba(36, 107, 206, 0.3);
	outline-offset: 3px;
}

.dpt-audit-intro {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	padding: 1rem 1.1rem;
	border: 1px solid #cce8eb;
	border-radius: 14px;
	background: #f2fbfc;
}

.dpt-audit-intro p,
.dpt-audit-hint,
.dpt-audit-result__meta,
.dpt-audit-issue__detail,
.dpt-audit-success p {
	margin: 0;
}

.dpt-audit-private {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 0.34rem 0.7rem;
	border-radius: 999px;
	background: #d9f3ee;
	color: #176e50;
	font-size: 0.86rem;
	font-weight: 800;
}

.dpt-audit-private::before {
	content: "✓";
	margin-right: 0.38rem;
}

.dpt-audit-form {
	display: grid;
	gap: 0.85rem;
}

.dpt-audit-label {
	font-weight: 800;
}

.dpt-audit-source {
	display: block;
	width: 100%;
	min-height: 18rem;
	padding: 1rem;
	resize: vertical;
	border: 1px solid #bdc9d8;
	border-radius: 12px;
	background: #fbfcfe;
	color: #182033;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	font-size: 0.88rem;
	line-height: 1.6;
	tab-size: 2;
}

.dpt-audit-source::placeholder {
	color: #7a8799;
}

.dpt-audit-file-row {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
}

.dpt-audit-file-picker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.62rem 0.9rem;
	border: 1px solid var(--dpt-blue);
	border-radius: 9px;
	background: #ffffff;
	color: var(--dpt-blue);
	font-size: 0.92rem;
	font-weight: 800;
	cursor: pointer;
}

.dpt-audit-file-picker:hover {
	background: #eef5ff;
}

.dpt-audit-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.dpt-audit-file-input:focus-visible + .dpt-audit-file-name {
	outline: 3px solid rgba(36, 107, 206, 0.3);
	outline-offset: 3px;
}

.dpt-audit-file-name {
	min-width: 0;
	overflow: hidden;
	color: var(--dpt-muted);
	font-size: 0.9rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dpt-audit-input-error {
	margin: 0;
	padding: 0.8rem 0.9rem;
	border-left: 4px solid var(--dpt-danger);
	border-radius: 8px;
	background: #fff0f2;
	color: #8f2431;
	font-weight: 700;
}

.dpt-audit-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.dpt-audit-hint {
	color: var(--dpt-muted);
	font-size: 0.86rem;
	line-height: 1.65;
}

.dpt-audit-result {
	margin-top: 2rem;
	scroll-margin-top: 2rem;
}

.dpt-audit-result__header {
	display: flex;
	align-items: center;
	min-height: 5rem;
	padding: 1rem 1.1rem 1rem 4.4rem;
	border-radius: 14px;
	background: var(--dpt-soft);
	position: relative;
}

.dpt-audit-result__header::before {
	position: absolute;
	left: 1.15rem;
	display: grid;
	place-items: center;
	width: 2.45rem;
	height: 2.45rem;
	border-radius: 50%;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 900;
}

.dpt-audit-result__header--success {
	background: #edf9f3;
	color: #176e50;
}

.dpt-audit-result__header--success::before {
	content: "✓";
	background: var(--dpt-success);
}

.dpt-audit-result__header--warning {
	background: #fff7e6;
	color: #805b0d;
}

.dpt-audit-result__header--warning::before {
	content: "!";
	background: #d79712;
}

.dpt-audit-result__header--change {
	background: #eef5ff;
	color: #194e98;
}

.dpt-audit-result__header--change::before {
	content: "↔";
	background: var(--dpt-blue);
	font-size: 1rem;
}

.dpt-audit-result__header--error {
	background: #fff0f2;
	color: #8f2431;
}

.dpt-audit-result__header--error::before {
	content: "×";
	background: var(--dpt-danger);
}

.dpt-audit-result__title {
	margin: 0 0 0.25rem;
	font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.dpt-audit-result__meta {
	font-size: 0.88rem;
	opacity: 0.84;
}

.dpt-audit-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1rem 0 1.5rem;
}

.dpt-audit-summary__item {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
	padding: 0.9rem;
	border: 1px solid var(--dpt-border);
	border-radius: 12px;
	background: #ffffff;
}

.dpt-audit-summary__item--error {
	border-color: #efbdc3;
	background: #fff7f8;
}

.dpt-audit-summary__item--warning {
	border-color: #ecd397;
	background: #fffbf1;
}

.dpt-audit-summary__item--change {
	border-color: #b9d2f5;
	background: #f4f8ff;
}

.dpt-audit-summary__item--success {
	border-color: #bde1cf;
	background: #f6fcf9;
}

.dpt-audit-summary__label {
	color: var(--dpt-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.dpt-audit-summary__value {
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.1;
}

.dpt-audit-result__section {
	margin-top: 1.5rem;
}

.dpt-audit-result__section > h3 {
	margin: 0 0 0.8rem;
	font-size: 1.1rem;
}

.dpt-audit-issues {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dpt-audit-issue {
	padding: 0.9rem 1rem;
	border: 1px solid var(--dpt-border);
	border-left-width: 5px;
	border-radius: 10px;
	background: #ffffff;
}

.dpt-audit-issue--error {
	border-left-color: var(--dpt-danger);
}

.dpt-audit-issue--warning {
	border-left-color: #d79712;
}

.dpt-audit-issue--change {
	border-left-color: var(--dpt-blue);
}

.dpt-audit-issue__heading {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.dpt-audit-issue__title {
	min-width: 0;
	line-height: 1.45;
}

.dpt-audit-badge,
.dpt-audit-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 800;
	white-space: nowrap;
}

.dpt-audit-badge--error,
.dpt-audit-status--error {
	background: #fbe2e5;
	color: #9a2936;
}

.dpt-audit-badge--warning,
.dpt-audit-status--warning {
	background: #fff0c7;
	color: #7e5806;
}

.dpt-audit-badge--change,
.dpt-audit-status--change {
	background: #e1edff;
	color: #194e98;
}

.dpt-audit-status--ok {
	background: #dff3e9;
	color: #176e50;
}

.dpt-tool .dpt-audit-issue__jump {
	min-height: 30px;
	margin-left: auto;
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--dpt-border);
	border-radius: 7px;
	background: #ffffff;
	color: var(--dpt-blue);
	font-size: 0.76rem;
	white-space: nowrap;
}

.dpt-audit-issue__detail {
	margin-top: 0.55rem;
	color: var(--dpt-muted);
	font-size: 0.88rem;
	line-height: 1.65;
}

.dpt-audit-success {
	padding: 1rem;
	border: 1px solid #bde1cf;
	border-radius: 10px;
	background: #f2fbf6;
	color: #176e50;
}

.dpt-audit-success p {
	margin-top: 0.4rem;
	font-size: 0.88rem;
	line-height: 1.6;
}

.dpt-audit-table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--dpt-border);
	border-radius: 10px;
}

.dpt-audit-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	background: #ffffff;
	font-size: 0.84rem;
}

.dpt-audit-table th,
.dpt-audit-table td {
	padding: 0.72rem 0.75rem;
	border-bottom: 1px solid var(--dpt-border);
	text-align: left;
	vertical-align: top;
}

.dpt-audit-table th {
	background: var(--dpt-soft);
	color: var(--dpt-muted);
	font-size: 0.75rem;
	white-space: nowrap;
}

.dpt-audit-table tbody tr:last-child td {
	border-bottom: 0;
}

.dpt-audit-table__eid {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	white-space: nowrap;
}

.dpt-audit-table__product {
	min-width: 15rem;
	max-width: 24rem;
	line-height: 1.5;
}

.dpt-csv-form {
	display: grid;
	gap: 1rem;
}

.dpt-csv-file-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.dpt-csv-file-card {
	position: relative;
	display: grid;
	align-content: start;
	gap: 0.55rem;
	min-width: 0;
	padding: 1.1rem;
	border: 1px solid var(--dpt-border);
	border-radius: 14px;
	background: #fbfcfe;
}

.dpt-csv-file-card__step {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--dpt-navy);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 900;
}

.dpt-csv-file-card h3,
.dpt-csv-column-panel h4 {
	margin: 0;
}

.dpt-csv-file-card p {
	margin: 0 0 0.35rem;
	color: var(--dpt-muted);
	font-size: 0.86rem;
}

.dpt-csv-file-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 42px;
	padding: 0.62rem 0.9rem;
	border: 1px solid var(--dpt-blue);
	border-radius: 9px;
	background: #ffffff;
	color: var(--dpt-blue);
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
}

.dpt-csv-file-button:hover {
	background: #eef5ff;
}

.dpt-csv-file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.dpt-csv-file-detail {
	min-width: 0;
	padding: 0.7rem 0.8rem;
	overflow: hidden;
	border-radius: 8px;
	background: #eef2f7;
	color: var(--dpt-muted);
	font-size: 0.82rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dpt-csv-comparison th:first-child {
	min-width: 8rem;
	color: var(--dpt-navy);
}

.dpt-csv-comparison__changed {
	background: #f5f8ff;
}

.dpt-csv-comparison__changed td:last-child {
	color: var(--dpt-blue);
	font-weight: 800;
}

.dpt-csv-column-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.dpt-csv-column-panel {
	min-width: 0;
	padding: 1rem;
	border: 1px solid var(--dpt-border);
	border-radius: 12px;
	background: #ffffff;
}

.dpt-csv-column-list {
	display: grid;
	gap: 0.45rem;
	margin: 0.8rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: dpt-csv-column;
}

.dpt-csv-column {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	padding: 0.55rem 0.65rem;
	border-radius: 7px;
	background: var(--dpt-soft);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.4;
	word-break: break-word;
	counter-increment: dpt-csv-column;
}

.dpt-csv-column::before {
	content: counter(dpt-csv-column);
	display: grid;
	place-items: center;
	flex: 0 0 1.55rem;
	width: 1.55rem;
	height: 1.55rem;
	border-radius: 50%;
	background: #ffffff;
	color: var(--dpt-muted);
	font-size: 0.72rem;
}

.dpt-csv-column--new {
	background: #eef5ff;
}

.dpt-url-table {
	min-width: 880px;
}

.dpt-url-table__destination {
	min-width: 14rem;
	max-width: 23rem;
	word-break: break-all;
}

.dpt-seo-table {
	min-width: 1080px;
}

.dpt-seo-table__url {
	min-width: 12rem;
	max-width: 18rem;
	word-break: break-all;
}

.dpt-seo-table__text {
	min-width: 14rem;
	max-width: 24rem;
	line-height: 1.5;
	word-break: break-word;
}

.dpt-release-form {
	display: grid;
	gap: 0.9rem;
}

.dpt-release-drop {
	display: grid;
	place-items: center;
	gap: 0.4rem;
	min-height: 12rem;
	padding: 1.5rem;
	border: 2px dashed #9cb9df;
	border-radius: 16px;
	background: #f7faff;
	color: var(--dpt-navy);
	text-align: center;
	cursor: pointer;
}

.dpt-release-drop:hover {
	border-color: var(--dpt-blue);
	background: #eef5ff;
}

.dpt-release-drop__icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 3.2rem;
	border-radius: 10px;
	background: var(--dpt-blue);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.dpt-release-drop strong {
	font-size: 1.05rem;
}

.dpt-release-drop > span:last-child {
	color: var(--dpt-muted);
	font-size: 0.86rem;
}

.dpt-release-file-detail {
	min-width: 0;
	padding: 0.75rem 0.9rem;
	overflow: hidden;
	border-radius: 9px;
	background: #eef2f7;
	color: var(--dpt-muted);
	font-size: 0.86rem;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dpt-release-checklist {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.dpt-release-check {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.9rem;
	border: 1px solid var(--dpt-border);
	border-radius: 12px;
	background: #ffffff;
}

.dpt-release-check--ok {
	border-color: #bde1cf;
	background: #f6fcf9;
}

.dpt-release-check--missing {
	border-color: #ecd397;
	background: #fffbf1;
}

.dpt-release-check__mark {
	display: grid;
	place-items: center;
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--dpt-success);
	color: #ffffff;
	font-weight: 900;
}

.dpt-release-check--missing .dpt-release-check__mark {
	background: #d79712;
}

.dpt-release-check > div {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.dpt-release-check > div > span {
	color: var(--dpt-muted);
	font-size: 0.82rem;
}

.dpt-release-table {
	min-width: 760px;
}

.dpt-release-table__name {
	min-width: 18rem;
	max-width: 34rem;
	word-break: break-all;
}

@media (max-width: 600px) {
	.dpt-tool {
		border-radius: 14px;
	}

	.dpt-audit-file-row {
		align-items: stretch;
		flex-direction: column;
		gap: 0.45rem;
	}

	.dpt-audit-file-picker {
		width: 100%;
	}

	.dpt-audit-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dpt-csv-file-grid,
	.dpt-csv-column-grid,
	.dpt-release-checklist {
		grid-template-columns: 1fr;
	}

	.dpt-audit-result__header {
		padding-left: 4rem;
	}

	.dpt-audit-issue__heading {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.dpt-tool .dpt-audit-issue__jump {
		margin-left: 0;
	}
}

/* Tools directory. */
.dpt-directory {
	box-sizing: border-box;
	width: min(1180px, calc(100% - 32px));
	max-width: none;
	margin: 2rem auto 4rem;
	color: var(--dpt-navy);
}

.dpt-directory *,
.dpt-directory *::before,
.dpt-directory *::after {
	box-sizing: border-box;
}

.dpt-directory__hero {
	position: relative;
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.2rem);
	min-height: 156px;
	padding: clamp(1.3rem, 3vw, 2.2rem) clamp(1.25rem, 4vw, 3rem);
	overflow: hidden;
	border: 1px solid #d6e8f4;
	border-radius: 16px;
	background:
		radial-gradient(circle at 0 0, rgba(107, 177, 216, 0.24) 0 75px, transparent 76px),
		radial-gradient(circle at 88% 110%, rgba(111, 181, 204, 0.18) 0 140px, transparent 141px),
		linear-gradient(105deg, #f8fbfd 0%, #eef7fc 57%, #f8fcfe 100%);
}

.dpt-directory__hero::after {
	content: "";
	position: absolute;
	right: 2.2rem;
	top: 1.4rem;
	width: 94px;
	height: 94px;
	border: 2px solid rgba(52, 130, 159, 0.12);
	border-radius: 50%;
}

.dpt-directory__hero-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	flex: 0 0 104px;
	width: 104px;
	height: 104px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.72);
	color: #427da6;
	box-shadow: 0 12px 28px rgba(55, 104, 141, 0.1);
}

.dpt-directory__hero-icon svg {
	width: 72px;
	height: auto;
}

.dpt-directory__hero > div:last-child {
	position: relative;
	z-index: 1;
}

.dpt-directory__eyebrow {
	margin: 0 0 0.35rem;
	color: #3b759c;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.dpt-directory__hero h1 {
	margin: 0;
	color: var(--dpt-navy);
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	line-height: 1.25;
}

.dpt-directory__lead {
	margin: 0.65rem 0 0;
	color: #45576f;
	font-size: clamp(0.92rem, 1.4vw, 1.05rem);
	line-height: 1.7;
}

.dpt-directory__toolbar {
	margin: 1.35rem 0 1rem;
}

.dpt-directory__search-row {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
}

.dpt-directory__search {
	position: relative;
	display: block;
	flex: 1 1 auto;
}

.dpt-directory__search::before {
	content: "";
	position: absolute;
	left: 1.1rem;
	top: 50%;
	width: 15px;
	height: 15px;
	border: 2px solid #63748a;
	border-radius: 50%;
	transform: translateY(-62%);
	pointer-events: none;
}

.dpt-directory__search::after {
	content: "";
	position: absolute;
	left: 2.05rem;
	top: 55%;
	width: 9px;
	height: 2px;
	border-radius: 2px;
	background: #63748a;
	transform: rotate(45deg);
	transform-origin: left center;
	pointer-events: none;
}

.dpt-directory__search input {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 1rem 0 3.2rem;
	border: 1px solid #cdd8e5;
	border-radius: 11px;
	background: #ffffff;
	color: var(--dpt-navy);
	font: inherit;
	font-size: 0.95rem;
	box-shadow: 0 4px 14px rgba(23, 36, 63, 0.035);
}

.dpt-directory__search input::placeholder {
	color: #7a8798;
}

.dpt-directory__search input:focus {
	border-color: var(--dpt-blue);
	outline: 3px solid rgba(36, 107, 206, 0.14);
}

.dpt-directory__reset,
.dpt-directory__empty button {
	min-width: 126px;
	padding: 0.7rem 1rem;
	border: 1px solid #cdd8e5;
	border-radius: 10px;
	background: #ffffff;
	color: #34435a;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
	cursor: pointer;
}

.dpt-directory__reset:hover,
.dpt-directory__empty button:hover {
	border-color: #91aed0;
	background: #f5f9ff;
}

.dpt-directory__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 0.9rem;
}

.dpt-directory__category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 36px;
	padding: 0.46rem 0.95rem;
	border: 1px solid #c9d5e4;
	border-radius: 999px;
	background: #ffffff;
	color: #324158;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.dpt-directory__category span {
	display: grid;
	place-items: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: #eef2f7;
	font-size: 0.68rem;
}

.dpt-directory__category:hover {
	border-color: #7da7d9;
	color: #194e98;
}

.dpt-directory__category.is-active {
	border-color: var(--dpt-blue);
	background: var(--dpt-blue);
	color: #ffffff;
}

.dpt-directory__category.is-active span {
	background: rgba(255, 255, 255, 0.2);
}

.dpt-directory__category:focus-visible,
.dpt-directory__reset:focus-visible,
.dpt-directory__empty button:focus-visible {
	outline: 3px solid rgba(36, 107, 206, 0.24);
	outline-offset: 2px;
}

.dpt-directory__count {
	margin: 1rem 0 0;
	color: var(--dpt-navy);
	font-size: 0.95rem;
	font-weight: 800;
}

.dpt-directory__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
}

.dpt-directory-card {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 0.9rem;
	min-width: 0;
	min-height: 158px;
	padding: 0.75rem;
	border: 1px solid #dce4ef;
	border-radius: 13px;
	background: #ffffff;
	box-shadow: 0 7px 24px rgba(23, 36, 63, 0.045);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dpt-directory-card:hover {
	border-color: #b6cce6;
	box-shadow: 0 12px 30px rgba(23, 36, 63, 0.09);
	transform: translateY(-2px);
}

.dpt-directory-card[hidden],
.dpt-directory__grid[hidden],
.dpt-directory__empty[hidden] {
	display: none !important;
}

.dpt-directory-card__thumb {
	display: block;
	width: 112px;
	height: 112px;
	overflow: hidden;
	border-radius: 10px;
	background: linear-gradient(145deg, #eef7fc, #fbf3e6);
}

.dpt-directory-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

.dpt-directory-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #3f789d;
	font-size: 1.35rem;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.dpt-directory-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dpt-directory-card__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
	min-height: 20px;
}

.dpt-directory-card__categories span {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 0.18rem 0.48rem;
	border-radius: 999px;
	background: #edf4fd;
	color: #255f9f;
	font-size: 0.65rem;
	font-weight: 800;
	line-height: 1;
}

.dpt-directory-card h2 {
	display: -webkit-box;
	margin: 0.35rem 0 0;
	overflow: hidden;
	color: var(--dpt-navy);
	font-size: 0.98rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dpt-directory-card h2 a {
	color: inherit;
	text-decoration: none;
}

.dpt-directory-card h2 a:hover {
	color: var(--dpt-blue);
}

.dpt-directory-card__body > p {
	display: -webkit-box;
	margin: 0.35rem 0 0;
	overflow: hidden;
	color: #5f6e82;
	font-size: 0.76rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dpt-directory-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	width: fit-content;
	margin: auto 0 0 auto;
	padding-top: 0.35rem;
	color: var(--dpt-blue);
	font-size: 0.75rem;
	font-weight: 800;
	text-decoration: none;
}

.dpt-directory-card__link:hover {
	text-decoration: underline;
}

.dpt-directory__empty {
	padding: 2.5rem 1rem;
	border: 1px dashed #c5d3e2;
	border-radius: 13px;
	background: #f8fafc;
	color: #57677c;
	text-align: center;
}

.dpt-directory__empty p {
	margin: 0 0 1rem;
}

.dpt-directory__screen-reader {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1120px) {
	.dpt-directory__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.dpt-directory {
		width: min(100% - 20px, 680px);
		margin-top: 1rem;
	}

	.dpt-directory__hero {
		min-height: 132px;
		border-radius: 13px;
	}

	.dpt-directory__hero-icon {
		flex-basis: 78px;
		width: 78px;
		height: 78px;
		border-radius: 18px;
	}

	.dpt-directory__hero-icon svg {
		width: 56px;
	}

	.dpt-directory__eyebrow {
		display: none;
	}

	.dpt-directory__search-row {
		flex-direction: column;
	}

	.dpt-directory__reset {
		min-height: 42px;
	}

	.dpt-directory__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 440px) {
	.dpt-directory__hero {
		align-items: flex-start;
		gap: 0.85rem;
	}

	.dpt-directory__hero-icon {
		flex-basis: 58px;
		width: 58px;
		height: 58px;
		border-radius: 14px;
	}

	.dpt-directory__hero-icon svg {
		width: 43px;
	}

	.dpt-directory__lead {
		font-size: 0.84rem;
	}

	.dpt-directory-card {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 0.7rem;
		min-height: 138px;
	}

	.dpt-directory-card__thumb {
		width: 92px;
		height: 92px;
	}
}

/* Shared workbench controls for the expanded tool set. */
.dpt-workbench__settings {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
	padding: 1rem;
	border: 1px solid var(--dpt-border);
	border-radius: 13px;
	background: #f8fafc;
}

.dpt-workbench__settings label {
	display: grid;
	align-content: start;
	gap: 0.4rem;
	min-width: 0;
	color: var(--dpt-navy);
	font-size: 0.82rem;
	font-weight: 800;
}

.dpt-workbench__settings input,
.dpt-workbench__settings select {
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 0.62rem 0.72rem;
	border: 1px solid #bdc9d8;
	border-radius: 9px;
	background: #ffffff;
	color: #182033;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 500;
}

.dpt-workbench__settings select:disabled {
	background: #eef2f7;
	color: #748196;
}

.dpt-workbench__settings .dpt-workbench__check {
	display: flex;
	align-items: center;
	align-self: end;
	min-height: 44px;
	gap: 0.55rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid #bdc9d8;
	border-radius: 9px;
	background: #ffffff;
}

.dpt-workbench__settings .dpt-workbench__check input[type="checkbox"] {
	width: 1.1rem;
	height: 1.1rem;
	min-height: 0;
	padding: 0;
	accent-color: var(--dpt-blue);
}

.dpt-workbench__wide {
	grid-column: 1 / -1;
}

.dpt-workbench__medium-source {
	min-height: 13rem;
}

.dpt-workbench__notice {
	margin: 0.9rem 0 1.2rem;
	padding: 0.8rem 0.95rem;
	border-left: 4px solid var(--dpt-blue);
	border-radius: 8px;
	background: #f2f7ff;
	color: #465873;
	font-size: 0.86rem;
	line-height: 1.65;
}

.dpt-workbench__wide-table {
	min-width: 980px;
}

.dpt-workbench__wide-table td {
	max-width: 28rem;
	word-break: break-word;
}

@media (max-width: 760px) {
	.dpt-workbench__settings {
		grid-template-columns: 1fr;
	}

	.dpt-workbench__wide {
		grid-column: auto;
	}
}

/* Directory notice and public feedback board. */
.dpt-directory-notice {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 0.9rem;
	margin: 1rem 0 1.3rem;
	padding: 1rem 1.15rem;
	border: 1px solid #ead8a7;
	border-radius: 13px;
	background: #fffbef;
	color: #59491e;
}

.dpt-directory-notice__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e3a91d;
	color: #ffffff;
	font-size: 1.1rem;
	font-weight: 900;
}

.dpt-directory-notice h2 {
	margin: 0 0 0.45rem;
	color: #4d3c13;
	font-size: 1rem;
}

.dpt-directory-notice ul {
	display: grid;
	gap: 0.28rem;
	margin: 0;
	padding-left: 1.25rem;
	font-size: 0.77rem;
	line-height: 1.65;
}

.dpt-feedback {
	margin-top: 2rem;
	padding: clamp(1rem, 2.5vw, 1.6rem);
	border: 1px solid #d8e3ef;
	border-radius: 16px;
	background: #f8fafc;
}

.dpt-feedback__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
}

.dpt-feedback__eyebrow {
	margin: 0 0 0.25rem;
	color: #3b759c;
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.dpt-feedback__header h2 {
	margin: 0;
	color: var(--dpt-navy);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.dpt-feedback__header p:last-child {
	margin: 0.42rem 0 0;
	color: #5c6c80;
	font-size: 0.86rem;
	line-height: 1.65;
}

.dpt-feedback__total {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 54px;
	min-height: 32px;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: #e7f0fb;
	color: #285f9c;
	font-size: 0.78rem;
	font-weight: 900;
}

.dpt-feedback__message {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 9px;
	font-size: 0.85rem;
	font-weight: 800;
}

.dpt-feedback__message--success {
	border: 1px solid #bde1cf;
	background: #edf9f3;
	color: #176e50;
}

.dpt-feedback__message--error {
	border: 1px solid #efbdc3;
	background: #fff0f2;
	color: #8f2431;
}

.dpt-feedback__layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
	align-items: start;
	gap: 1rem;
}

.dpt-feedback-form,
.dpt-feedback-list {
	min-width: 0;
	padding: 1rem;
	border: 1px solid #dce4ef;
	border-radius: 13px;
	background: #ffffff;
}

.dpt-feedback-form {
	display: grid;
	gap: 0.78rem;
}

.dpt-feedback-form h3,
.dpt-feedback-list > h3 {
	margin: 0;
	color: var(--dpt-navy);
	font-size: 1rem;
}

.dpt-feedback-form > label:not(.dpt-feedback-form__confirm) {
	display: grid;
	gap: 0.35rem;
	font-size: 0.79rem;
	font-weight: 800;
}

.dpt-feedback-form label em {
	color: #b22d3d;
	font-size: 0.68rem;
	font-style: normal;
}

.dpt-feedback-form label small {
	color: #7a8798;
	font-size: 0.68rem;
	font-weight: 600;
}

.dpt-feedback-form input[type="text"],
.dpt-feedback-form select,
.dpt-feedback-form textarea {
	width: 100%;
	margin: 0;
	padding: 0.68rem 0.75rem;
	border: 1px solid #bdc9d8;
	border-radius: 8px;
	background: #fbfcfe;
	color: #182033;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 500;
}

.dpt-feedback-form input[type="text"],
.dpt-feedback-form select {
	min-height: 42px;
}

.dpt-feedback-form textarea {
	min-height: 128px;
	resize: vertical;
	line-height: 1.6;
}

.dpt-feedback-form input:focus,
.dpt-feedback-form select:focus,
.dpt-feedback-form textarea:focus {
	border-color: var(--dpt-blue);
	outline: 3px solid rgba(36, 107, 206, 0.14);
}

.dpt-feedback-form__confirm {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 0.5rem;
	color: #465873;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.55;
}

.dpt-feedback-form__confirm input {
	width: 16px;
	height: 16px;
	margin: 0.15rem 0 0;
}

.dpt-feedback-form__note {
	margin: 0;
	padding: 0.65rem 0.75rem;
	border-radius: 7px;
	background: #f1f4f8;
	color: #627187;
	font-size: 0.7rem;
	line-height: 1.55;
}

.dpt-feedback-form button {
	min-height: 44px;
	padding: 0.7rem 1rem;
	border: 0;
	border-radius: 9px;
	background: var(--dpt-blue);
	color: #ffffff;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 900;
	cursor: pointer;
}

.dpt-feedback-form button:hover {
	filter: brightness(0.94);
}

.dpt-feedback-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.dpt-feedback-list__items {
	display: grid;
	gap: 0.65rem;
	margin-top: 0.75rem;
}

.dpt-feedback-card {
	padding: 0.82rem 0.9rem;
	border: 1px solid #e0e6ef;
	border-radius: 10px;
	background: #fbfcfe;
}

.dpt-feedback-card header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
}

.dpt-feedback-card time {
	color: #7c8999;
	font-size: 0.68rem;
}

.dpt-feedback-card__kind {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 0.22rem 0.52rem;
	border-radius: 999px;
	font-size: 0.65rem;
	font-weight: 900;
}

.dpt-feedback-card__kind--request {
	background: #e4effd;
	color: #245f9f;
}

.dpt-feedback-card__kind--bug {
	background: #fbe2e5;
	color: #9a2936;
}

.dpt-feedback-card__kind--impression {
	background: #dff3e9;
	color: #176e50;
}

.dpt-feedback-card__tool {
	margin: 0.55rem 0 0;
	color: #285f9c;
	font-size: 0.72rem;
	font-weight: 800;
}

.dpt-feedback-card__content {
	margin: 0.55rem 0 0;
	color: #34445a;
	font-size: 0.8rem;
	line-height: 1.65;
	word-break: break-word;
}

.dpt-feedback-card__author {
	margin: 0.55rem 0 0;
	color: #7a8798;
	font-size: 0.68rem;
}

.dpt-feedback-list__empty {
	margin-top: 0.75rem;
	padding: 2rem 1rem;
	border: 1px dashed #ccd7e4;
	border-radius: 9px;
	background: #f8fafc;
	color: #718096;
	font-size: 0.82rem;
	text-align: center;
}

.dpt-feedback-pagination {
	margin-top: 0.9rem;
}

.dpt-feedback-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dpt-feedback-pagination a,
.dpt-feedback-pagination span {
	display: grid;
	place-items: center;
	min-width: 32px;
	min-height: 32px;
	padding: 0.25rem 0.55rem;
	border: 1px solid #cfdae7;
	border-radius: 7px;
	background: #ffffff;
	color: #36516f;
	font-size: 0.72rem;
	font-weight: 800;
	text-decoration: none;
}

.dpt-feedback-pagination .current {
	border-color: var(--dpt-blue);
	background: var(--dpt-blue);
	color: #ffffff;
}

@media (max-width: 820px) {
	.dpt-feedback__layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.dpt-directory-notice {
		grid-template-columns: 32px minmax(0, 1fr);
		padding: 0.85rem;
	}

	.dpt-directory-notice__icon {
		width: 30px;
		height: 30px;
	}

	.dpt-feedback {
		padding: 0.8rem;
		border-radius: 13px;
	}

	.dpt-feedback__header {
		align-items: flex-start;
	}

	.dpt-feedback-form,
	.dpt-feedback-list {
		padding: 0.8rem;
	}
}
