.dga-sitemap {
	max-width: 1180px;
	margin: 0 auto 48px;
	color: #1f2933;
	font-family: Prompt, sans-serif;
}

.dga-sitemap__layout {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

.dga-sitemap__sidebar {
	flex: 1 1 240px;
	max-width: 280px;
	position: sticky;
	top: 100px;
	padding: 18px;
	border: 1px solid #d9e2ec;
	border-radius: 10px;
	background: #fff;
}

.dga-sitemap__label {
	display: block;
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
}

.dga-sitemap__search {
	display: block;
	width: 100%;
	height: 46px;
	margin: 0;
	padding: 9px 12px;
	border: 1px solid #8795a6;
	border-radius: 6px;
	background: #fff;
	color: #1f2933;
	font: inherit;
	box-sizing: border-box;
}

.dga-sitemap__status {
	min-height: 1.5em;
	margin: 8px 0 12px;
	color: #3e4c59;
	font-size: 0.9rem;
}

.dga-sitemap__nav {
	display: grid;
	gap: 4px;
	margin: 0 0 16px;
}

.dga-sitemap__nav-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 10px;
	border-radius: 6px;
	color: #1f2933;
	font-weight: 600;
	text-decoration: none;
}

.dga-sitemap__nav-count {
	color: #3e4c59;
	font-size: 0.85rem;
	font-weight: 500;
}

.dga-sitemap__actions {
	display: grid;
	gap: 8px;
}

.dga-sitemap__expand,
.dga-sitemap__collapse {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 6px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.dga-sitemap__expand {
	border: 1px solid #f05223;
	background: #f05223;
	color: #fff;
}

.dga-sitemap__collapse {
	border: 1px solid #f05223;
	background: #fff;
	color: #f05223;
}

.dga-sitemap__groups {
	flex: 2 1 520px;
	min-width: 0;
}

.dga-sitemap__group {
	margin: 0 0 16px;
	border: 1px solid #d9e2ec;
	border-radius: 10px;
	background: #fff;
}

.dga-sitemap__summary,
.dga-sitemap summary {
	list-style: none;
}

.dga-sitemap__summary::-webkit-details-marker,
.dga-sitemap summary::-webkit-details-marker {
	display: none;
}

.dga-sitemap__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 68px;
	padding: 14px 18px;
	cursor: pointer;
}

.dga-sitemap__badge {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 8px;
	background: #f05223;
	color: #fff;
	font-weight: 700;
	flex: 0 0 40px;
}

.dga-sitemap__heading {
	flex: 1;
	color: #1f2933;
	font-size: 1.2rem;
	font-weight: 700;
	text-decoration: none;
}

.dga-sitemap__count {
	color: #3e4c59;
	font-size: 0.9rem;
}

.dga-sitemap__chevron {
	margin-left: 8px;
	color: #3e4c59;
	font-size: 1.1rem;
}

.dga-sitemap__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 0 18px 18px;
}

.dga-sitemap__card {
	min-width: 0;
	padding: 14px;
	border: 1px solid #d9e2ec;
	border-radius: 9px;
	background: #fff;
}

.dga-sitemap__link {
	color: #1f2933;
	font-weight: 700;
	text-decoration: underline;
}

.dga-sitemap__nest-list {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}

.dga-sitemap__nest > summary {
	cursor: pointer;
}

.dga-sitemap__empty {
	margin: 24px 0;
	color: #3e4c59;
}

@media (max-width: 800px) {
	.dga-sitemap__sidebar {
		position: static;
		max-width: none;
	}

	.dga-sitemap__grid {
		grid-template-columns: 1fr;
	}
}
