/* SEP Traffic Report — styles */

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

.sep-tr-checker {
	max-width: 480px;
	margin: 2rem auto;
	padding: 0 1rem;
	text-align: center;
}
.sep-tr-checker-title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}
.sep-tr-checker form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.sep-tr-checker input[type="text"]#sep-tr-domain {
	flex: 1 1 200px;
	min-width: 0;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 1rem;
	width: 100%;
}
.sep-tr-checker button {
	padding: 0.75rem 1.5rem;
	background: #f5a742;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-weight: 600;
	flex: 1 1 auto;
}
.sep-tr-checker button:disabled {
	opacity: 0.6;
	cursor: default;
}
#sep-tr-status {
	margin-top: 0.75rem;
	color: #b32d2e;
	font-size: 0.9rem;
}

.sep-tr-report {
	max-width: 1000px;
	margin: 2rem auto;
	padding: 0 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1d2327;
}

.sep-tr-header h1 {
	margin-top: 0.15rem;
	margin-bottom: 0.25rem;
	font-size: 1.75rem;
	overflow-wrap: anywhere;
}
.sep-tr-eyebrow {
	margin: 0;
	color: #999;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.sep-tr-date {
	color: #666;
	margin-top: 0;
}

.sep-tr-info-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid #e2e2e2;
	margin-bottom: 1.5rem;
}
.sep-tr-stat-box {
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
}
.sep-tr-label {
	color: #666;
	font-size: 0.85rem;
	margin-bottom: 0.35rem;
	display: block;
}
.sep-tr-big-number {
	font-size: 2rem;
	font-weight: 700;
	white-space: nowrap;
}

.sep-tr-ring-wrap {
	text-align: center;
	flex: 0 0 auto;
}
.sep-tr-ring-circle {
	--pct: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: conic-gradient(#f5a742 calc(var(--pct) * 3.6deg), #eee 0deg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.35rem;
}
.sep-tr-ring-inner {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
}
.sep-tr-ring-label {
	font-size: 0.8rem;
	color: #666;
	white-space: nowrap;
}

.sep-tr-chart-box {
	flex: 1 1 220px;
	min-width: 180px;
}
.sep-tr-chart-box .sep-tr-label {
	display: block;
	margin-bottom: 0.5rem;
}
.sep-tr-chart-wrap {
	display: flex;
	gap: 0.6rem;
}
.sep-tr-chart-yaxis {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 0.7rem;
	color: #999;
	text-align: right;
	white-space: nowrap;
	padding: 2px 0;
}
.sep-tr-chart-plot {
	flex: 1;
	min-width: 0;
}
.sep-tr-sparkline {
	width: 100%;
	height: 70px;
	display: block;
	overflow: visible;
}
.sep-tr-chart-xaxis {
	display: flex;
	justify-content: space-between;
	font-size: 0.7rem;
	color: #999;
	margin-top: 0.35rem;
}
.sep-tr-chart-note {
	font-size: 0.85rem;
	color: #999;
	margin: 0;
}

.sep-tr-top-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.sep-tr-share-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}
.sep-tr-top-actions button,
.sep-tr-top-actions a.sep-tr-linkedin {
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid #ccc;
	background: #fff;
	color: #1d2327;
	white-space: nowrap;
}
.sep-tr-top-actions a.sep-tr-linkedin {
	background: #0a66c2;
	color: #fff;
	border-color: #0a66c2;
}
.sep-tr-cta-inline {
	font-size: 0.85rem;
	color: #666;
}
.sep-tr-cta-inline a {
	font-weight: 700;
	color: #f5a742;
	text-decoration: none;
}
.sep-tr-cta-inline a:hover {
	text-decoration: underline;
}

.sep-tr-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
}
.sep-tr-two-col h2,
.sep-tr-pages h2 {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
}

.sep-tr-table {
	width: 100%;
	border-collapse: collapse;
}
.sep-tr-table th,
.sep-tr-table td {
	text-align: left;
	padding: 0.5rem 0.25rem;
	border-bottom: 1px solid #eee;
	font-size: 0.9rem;
}
.sep-tr-table .sep-tr-right {
	text-align: right;
	white-space: nowrap;
}
.sep-tr-table td a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.sep-tr-pages {
	margin-bottom: 2rem;
}

.sep-tr-cta {
	background: #fff6ea;
	border: 1px solid #f5a742;
	border-radius: 10px;
	padding: 1.75rem;
	text-align: center;
}
.sep-tr-cta h2 {
	margin-top: 0;
}
.sep-tr-cta-button {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.75rem 2rem;
	background: #f5a742;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
}

.sep-tr-debug {
	margin-top: 2rem;
	padding: 1rem;
	background: #f6f7f7;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	font-size: 0.85rem;
}
.sep-tr-debug summary {
	cursor: pointer;
	font-weight: 700;
}
.sep-tr-debug-entry {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #ddd;
}
.sep-tr-debug pre {
	background: #fff;
	border: 1px solid #ddd;
	padding: 0.75rem;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

@media (max-width: 782px) {
	.sep-tr-two-col {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 600px) {
	.sep-tr-report {
		padding: 0 1rem;
		margin: 1.25rem auto;
	}
	.sep-tr-header h1 {
		font-size: 1.4rem;
	}
	.sep-tr-info-row {
		gap: 1.25rem;
		padding: 1.25rem 0;
	}
	.sep-tr-big-number {
		font-size: 1.6rem;
	}
	.sep-tr-stat-box {
		flex-basis: calc(50% - 0.625rem);
	}
	.sep-tr-chart-box {
		flex-basis: 100%;
	}
	.sep-tr-chart-yaxis {
		flex-shrink: 0;
		font-size: 0.65rem;
	}
	.sep-tr-chart-xaxis {
		font-size: 0.6rem;
	}
	.sep-tr-top-actions {
		justify-content: flex-start;
	}
	.sep-tr-cta {
		padding: 1.25rem;
	}
	.sep-tr-cta-button {
		display: block;
		width: 100%;
		text-align: center;
		padding: 0.85rem 1rem;
	}
}

@media (max-width: 420px) {
	.sep-tr-checker form {
		flex-direction: column;
	}
	.sep-tr-checker button {
		width: 100%;
	}
	.sep-tr-stat-box {
		flex-basis: 100%;
	}
	.sep-tr-ring-wrap {
		flex-basis: 100%;
	}
	.sep-tr-top-actions button,
	.sep-tr-top-actions a.sep-tr-linkedin {
		flex: 1 1 auto;
		text-align: center;
	}
	.sep-tr-share-buttons {
		width: 100%;
	}
}
