.tdssg-admin-header {
	margin-top: 18px;
}

.tdssg-admin-hero {
	padding: 24px;
	border: 1px solid #dcdcde;
	border-radius: 14px;
	background: linear-gradient(135deg, #fff 0%, #f6f7f7 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tdssg-admin-hero h1 {
	margin: 0 0 8px;
	font-size: 30px;
	line-height: 1.2;
}

.tdssg-admin-hero > p {
	max-width: 760px;
	margin: 0;
	color: #50575e;
	font-size: 15px;
}

.tdssg-admin-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.tdssg-admin-tabs a {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border: 1px solid #dcdcde;
	border-radius: 5px;
	background: #fff;
	color: #1d2327;
	font-weight: 600;
	text-decoration: none;
}

.tdssg-admin-tabs a.is-active {
	border-color: #2271b1;
	background: #2271b1;
	color: #fff;
}

.tdssg-admin-tabs a:focus {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1;
}

.tdssg-page-content {
	margin-top: 16px;
}

.tdssg-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 20px 0;
}

.tdssg-card {
	margin-bottom: 20px;
	padding: 20px;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
}

.tdssg-dashboard-grid .tdssg-card {
	margin-bottom: 0;
}

.tdssg-card h2 {
	margin-top: 0;
}

.tdssg-card input,
.tdssg-log-search input {
	position: relative;
}

.tdssg-card ol,
.tdssg-card ul {
	margin: 0 0 0 20px;
}

.tdssg-stat {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
}

.tdssg-creator-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.tdssg-creator-card > div:last-child {
	flex: 1 1 320px;
	min-width: 260px;
}

.tdssg-creator-photo {
	flex: 0 0 180px;
}

.tdssg-creator-photo img {
	display: block;
	width: 180px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid #dcdcde;
	border-radius: 22px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	object-fit: cover;
}

.tdssg-changelog-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.tdssg-changelog-heading h2,
.tdssg-changelog-heading p {
	margin: 0;
}

.tdssg-changelog-heading p {
	color: #646970;
	font-weight: 600;
}

.tdssg-log-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.tdssg-log-toolbar p {
	margin: 0;
}

.tdssg-log-toolbar > div {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.tdssg-log-status {
	color: #646970;
}

.tdssg-log-countdown {
	display: inline-block;
	min-width: 128px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.tdssg-log-search {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0;
}

.tdssg-log-search label {
	font-weight: 600;
}

.tdssg-log-search .description {
	flex-basis: 100%;
}

.tdssg-log-scroll {
	max-height: 460px;
	overflow: auto;
	border: 1px solid #c3c4c7;
	background: #fff;
}

.tdssg-log-scroll table {
	border: 0;
	min-width: 1180px;
}

.tdssg-log-scroll thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #f6f7f7;
}

.tdssg-user-agent-cell {
	min-width: 360px;
	max-width: 560px;
}

.tdssg-user-agent-cell code,
.tdssg-search-cell {
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}

.tdssg-log-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 12px;
}

.tdssg-page-status {
	min-width: 200px;
	text-align: center;
}

@media screen and (max-width: 782px) {
	.tdssg-log-toolbar,
	.tdssg-log-search {
		align-items: stretch;
		flex-direction: column;
	}

	.tdssg-log-search .regular-text {
		width: 100%;
	}
}
