:root {
	color-scheme: dark;
	--background: #030912;
	--panel: #071120;
	--field: #0a1525;
	--chip: #0b1729;
	--text: #e6edf7;
	--secondary: #c9d5e6;
	--muted: #96a6bd;
	--line: rgb(148 180 220 / 15%);
	--soft-line: rgb(148 180 220 / 10%);
	--ice: #7cc4ff;
	--up: #34d399;
	--partial: #fbbf24;
	--down: #f87171;
	--unknown: #586b86;
	--maintenance: #7cc4ff;
	--faint: #1b2941;
	font:
		1rem/1.45 Inter,
		system-ui,
		sans-serif;
	background: var(--background);
	color: var(--text);
}
* {
	box-sizing: border-box;
}
body {
	margin: 0;
}
h1,
h2,
h3,
p,
dl,
dd {
	margin: 0;
}
a {
	color: #9fd3ff;
}
button {
	font: inherit;
}
:focus-visible {
	outline: 2px solid var(--ice);
	outline-offset: 3px;
}
[hidden] {
	display: none !important;
}
.shell {
	width: min(100% - 2.5rem, 67.5rem);
	margin-inline: auto;
}
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 2.5rem 1.75rem;
}
.brand,
.header-actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}
.brand-mark {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: var(--field);
	border: 1px solid var(--line);
	border-radius: 0.75rem;
}
.brand img {
	display: block;
	object-fit: contain;
}
.brand strong {
	display: block;
	line-height: 1.2;
	font-size: 1.125rem;
	letter-spacing: -0.01em;
}
.brand div span,
.muted {
	color: var(--muted);
	font-size: 0.8rem;
}
.site-link,
select {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.5rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 0.625rem;
	background: var(--field);
	color: var(--text);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 650;
	text-decoration: none;
}
.site-link:hover,
select:hover {
	border-color: var(--ice);
	background: var(--chip);
}

.tone-up {
	--tone: var(--up);
	--tint: rgb(52 211 153 / 10%);
}
.tone-partial {
	--tone: var(--partial);
	--tint: rgb(251 191 36 / 10%);
}
.tone-down {
	--tone: var(--down);
	--tint: rgb(248 113 113 / 10%);
}
.tone-unknown {
	--tone: var(--unknown);
	--tint: var(--chip);
}
.tone-maintenance,
.tone-info {
	--tone: var(--ice);
	--tint: rgb(124 196 255 / 9%);
}
.panel,
.summary {
	border: 1px solid var(--line);
	border-radius: 1.125rem;
	background: var(--panel);
}
.summary {
	position: relative;
	overflow: hidden;
}
.summary::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--tone), transparent);
	opacity: 0.65;
}
.summary-main {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	min-height: 7rem;
	padding: 1.55rem 1.75rem;
}
.summary-copy {
	flex: 1 1 auto;
	min-width: 0;
}
.summary-icon {
	flex: 0 0 3.75rem;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border: 1px solid var(--tone);
	border-radius: 50%;
	color: var(--tone);
	background: var(--tint);
	font-size: 1.75rem;
	font-weight: 750;
}
.summary h1 {
	font-size: clamp(1.2rem, 0.95rem + 1.25vw, 1.625rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.summary p {
	margin-top: 0.35rem;
	color: var(--muted);
	font-size: 0.875rem;
}
.next-check {
	min-width: 12.5rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.55rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid rgb(124 196 255 / 18%);
	border-radius: 999px;
	color: #b9dcfb;
	background: rgb(124 196 255 / 7%);
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}
.next-check svg {
	flex: none;
	transform: rotate(-90deg);
}
.next-check circle {
	fill: none;
	stroke: var(--ice);
	stroke-width: 2.5;
}
.countdown-track {
	opacity: 0.22;
}
#countdown-ring {
	stroke-linecap: round;
}

.overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--soft-line);
}
.overview-card {
	min-width: 0;
	padding: 1.2rem 1.7rem 1.55rem;
}
.overview-card + .overview-card {
	border-left: 1px solid var(--soft-line);
}
.overview-card h2 {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.25rem 0.6rem;
	margin-bottom: 0.7rem;
}
.overview-card h2 span {
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.section-heading {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 0.75rem;
	margin: 1.75rem 0 0.65rem;
	padding-inline: 0.25rem;
}
.section-label {
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
#notices-heading {
	margin: 1.75rem 0.25rem 0.65rem;
}
.metrics {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
}
.metrics div {
	min-width: 0;
	padding: 0.58rem 0.56rem;
	background: var(--field);
	border: 1px solid var(--soft-line);
	border-radius: 0.65rem;
}
.metrics dt {
	color: var(--muted);
	font-size: 0.73rem;
}
.metrics dd {
	font-size: clamp(0.95rem, 0.77rem + 0.55vw, 1.3rem);
	font-weight: 750;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.metrics .metric-note {
	line-height: 1.0625rem;
	min-block-size: 2.125rem;
	margin-top: 0.17rem;
	color: var(--muted);
	font-size: 0.69rem;
	font-weight: 450;
	letter-spacing: 0;
}

.service-list {
	display: grid;
	gap: 0.65rem;
}
#service-list {
	min-block-size: 42.5rem;
}
.service-card {
	min-height: 8.5rem;
	padding: 1.2rem 1.45rem 1rem;
}
.service-card + .service-card {
	border-top: 1px solid var(--soft-line);
}
.service-card:hover {
	background: rgb(124 196 255 / 2.5%);
}
.service-heading,
.service-heading h3,
.service-meta {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
.service-heading {
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 0.65rem;
}
.service-heading h3 {
	font-size: 0.94rem;
	font-weight: 650;
}
.service-meta {
	display: grid;
	grid-template-columns: 3.25rem max-content;
	inline-size: 9.75rem;
	gap: 0.35rem;
}
.service-symbol {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.15rem;
	height: 2.15rem;
	border-radius: 0.6rem;
	color: #a9c4e4;
	background: var(--chip);
	border: 1px solid var(--line);
}
.service-symbol svg {
	display: block;
}
.last-latency {
	color: var(--muted);
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--tint);
	color: var(--tone);
	white-space: nowrap;
	font-weight: 650;
	font-size: 0.75rem;
}
.badge.tone-unknown {
	color: #a9b9d1;
}
.service-heading .badge::before {
	content: "";
	height: 0.36rem;
	width: 0.36rem;
	border-radius: 50%;
	background: currentColor;
}
.dot {
	flex: none;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 2px;
	background: var(--tone);
	display: inline-block;
}
.timeline {
	height: 2.25rem;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3px;
}
.segment {
	position: relative;
	height: 1.875rem;
	border-radius: 2px;
	background: var(--tone);
}
.segment:hover {
	filter: brightness(1.35);
}
.segment.tone-unknown {
	background: transparent;
}
.segment.tone-unknown::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-start: 50%;
	transform: translateY(-50%);
	block-size: 0.75rem;
	border-radius: inherit;
	background: var(--faint);
}
.timeline-caption {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
	gap: 0.25rem;
	padding-top: 0.45rem;
	color: var(--muted);
	font-size: 0.75rem;
}
.timeline-caption > :last-child {
	text-align: end;
}
.timeline-caption > :nth-child(2) {
	text-align: center;
}
.timeline-caption strong {
	display: inline-block;
	inline-size: 7ch;
	color: var(--text);
	font-variant-numeric: tabular-nums;
	text-align: start;
}
.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.75rem;
}
.legend li {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.empty-card {
	color: var(--secondary);
	padding: 1.35rem 1.45rem;
	font-size: 0.88rem;
}
.empty-card::before {
	content: "✓";
	color: var(--ice);
	margin-right: 0.7rem;
}
.notice-card {
	padding: 1.2rem 1.4rem;
}
.notice-card h3 {
	display: inline;
	margin-right: 0.55rem;
	font-size: 1rem;
	overflow-wrap: anywhere;
}
.notice-card p {
	margin-top: 0.4rem;
	overflow-wrap: anywhere;
}
.notice-copy {
	color: var(--secondary);
	font-size: 0.875rem;
	white-space: pre-line;
}
.notice-plan {
	display: flex;
	align-items: start;
	gap: 1rem;
}
.notice-date {
	flex: 0 0 3.65rem;
	border: 1px solid rgb(124 196 255 / 18%);
	border-radius: 0.75rem;
	background: rgb(124 196 255 / 7%);
	padding: 0.45rem 0.2rem;
	text-align: center;
}
.notice-date span,
.notice-date strong {
	display: block;
}
.notice-date span {
	color: #9fd3ff;
	font-size: 0.68rem;
	text-transform: uppercase;
}
.notice-date strong {
	line-height: 1.2;
	font-size: 1.45rem;
}
.notice-services {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.65rem;
}
.notice-services span {
	padding: 0.17rem 0.45rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: #a9c4e4;
	font-size: 0.75rem;
}
.incident-stages {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.4rem;
	list-style: none;
	margin: 0.85rem 0 0;
	padding: 0;
}
.incident-stages li {
	border-top: 3px solid var(--faint);
	color: var(--muted);
	padding-top: 0.35rem;
	font-size: 0.73rem;
}
.incident-stages li.reached {
	color: var(--secondary);
	border-color: var(--partial);
}
.history-panel details + details {
	border-top: 1px solid var(--soft-line);
}
.history-panel summary {
	min-height: 3.6rem;
	padding: 0.9rem 1.35rem;
	cursor: pointer;
}
.history-panel summary span {
	margin-left: 0.55rem;
	color: var(--muted);
	font-size: 0.75rem;
}
.history-panel .notice-copy {
	padding: 0 1.35rem 0.9rem;
}
.incident-updates {
	display: grid;
	gap: 0.65rem;
	margin: 0.9rem 0 0;
	padding: 0.75rem 0 0;
	list-style: none;
	border-top: 1px solid var(--soft-line);
}
.incident-updates li {
	padding-left: 0.75rem;
	border-left: 2px solid var(--ice);
}
.incident-updates strong {
	margin-right: 0.65rem;
	font-size: 0.8rem;
}
.history-panel .incident-updates {
	margin: 0 1.35rem 0.9rem;
}
.history-panel .incident-updates .notice-copy {
	padding: 0.25rem 0 0;
}

.preview-banner {
	padding: 0.8rem 1rem;
	margin-bottom: 0.85rem;
	border-color: rgb(124 196 255 / 30%);
	color: var(--secondary);
	font-size: 0.85rem;
}
.preview-banner a {
	margin-left: 0.4rem;
}
.incident-card {
	border-color: color-mix(in srgb, var(--tone) 32%, var(--soft-line));
}
.incident-main,
.incident-timeline {
	padding: 1.35rem 1.45rem;
}
.incident-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.8rem 1.5rem;
	flex-wrap: wrap;
}
.incident-header > :first-child {
	flex: 1 1 24rem;
	min-width: 0;
}
.incident-header h3 {
	margin: 0.6rem 0 0.4rem;
	font-size: 1.28rem;
	overflow-wrap: anywhere;
}
.incident-header .notice-services {
	margin: 0;
}
.incident-header .notice-services .badge {
	color: var(--tone);
	border-color: transparent;
}
.incident-dates {
	display: grid;
	gap: 0.25rem;
	justify-items: end;
	color: var(--secondary);
	font-size: 0.76rem;
}
.incident-stages {
	margin-top: 1.2rem;
}
.incident-stages li.reached {
	border-color: var(--tone, var(--partial));
}
.incident-stages li[aria-current="step"] {
	color: var(--tone, var(--partial));
	font-weight: 700;
}
.incident-timeline {
	border-top: 1px solid var(--soft-line);
}
.incident-timeline h4 {
	margin: 0;
}
.incident-updates {
	border: 0;
	padding: 0;
	gap: 0;
}
.incident-updates li {
	position: relative;
	margin-left: 0.35rem;
	padding: 0 0 1rem 1.15rem;
	border-left: 2px solid var(--line);
}
.incident-updates li:last-child {
	padding-bottom: 0.2rem;
	border-color: transparent;
}
.incident-event::before {
	content: "";
	position: absolute;
	left: -0.42rem;
	top: 0.25rem;
	width: 0.7rem;
	height: 0.7rem;
	border-radius: 50%;
	background: var(--event-color, var(--ice));
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--event-color, var(--ice)) 16%, transparent);
}
.incident-event strong {
	color: var(--event-color, var(--ice));
}
.event-investigating {
	--event-color: #fb923c;
}
.event-identified {
	--event-color: var(--partial);
}
.event-resolved {
	--event-color: var(--up);
}
.history-panel .history-summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	list-style: none;
}
.history-summary::-webkit-details-marker {
	display: none;
}
.history-summary .history-copy {
	flex: 1;
	min-width: 0;
	margin: 0;
}
.history-summary strong {
	display: block;
	overflow-wrap: anywhere;
	font-size: 0.92rem;
}
.history-summary .history-copy span {
	margin-left: 0;
}
.history-summary .notice-services {
	margin: 0;
}
.history-summary .notice-services span {
	margin: 0;
}
.history-summary .history-chevron {
	margin: 0;
	flex: none;
}
details[open] .history-chevron {
	transform: rotate(180deg);
}

@media (max-width: 43rem) {
	.incident-main,
	.incident-timeline {
		padding: 0.95rem;
	}
	.incident-dates {
		justify-items: start;
	}
	.history-panel .history-summary {
		flex-wrap: wrap;
	}
}

.chart-panel {
	margin-top: 1.75rem;
	padding: 1.25rem 1.45rem;
}
.chart-heading,
.chart-controls {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
}
.chart-heading {
	justify-content: space-between;
}
.chart-heading h2 {
	font-size: 1.05rem;
}
.segmented {
	display: flex;
	flex-wrap: wrap;
	padding: 3px;
	gap: 2px;
	border: 1px solid var(--soft-line);
	border-radius: 0.65rem;
	background: var(--field);
}
.segmented button {
	border: 0;
	border-radius: 0.44rem;
	min-height: 2rem;
	padding: 0.25rem 0.55rem;
	background: transparent;
	color: var(--muted);
	font-size: 0.78rem;
	cursor: pointer;
}
.segmented button[aria-pressed="true"] {
	background: rgb(124 196 255 / 14%);
	color: #cfe8ff;
}
.segmented button:hover {
	color: var(--text);
}
.chart-stats {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 0.85rem;
}
.chart {
	margin-top: 0.9rem;
	min-block-size: 16.65rem;
}
.chart-grid {
	height: 15rem;
	width: 100%;
	display: block;
	overflow: visible;
}
.chart-plot {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.55rem;
}
.chart-axis {
	color: var(--muted);
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
}
.chart-y {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-inline-size: 6ch;
	text-align: end;
	line-height: 1;
}
.chart-x {
	display: flex;
	justify-content: space-between;
	gap: 0.2rem;
	padding-top: 0.55rem;
}
.chart-guide {
	stroke: var(--soft-line);
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}
.chart-line {
	fill: none;
	stroke: var(--tone);
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}
.chart-area {
	fill: url(#chart-shade);
}
.series-web {
	--tone: #7cc4ff;
}
.series-api {
	--tone: #c39bff;
}
.series-postgres {
	--tone: #44dfb2;
}
.series-realtime {
	--tone: #ffd183;
}
.series-smtp {
	--tone: #ff93bd;
}
.chart-legend {
	margin-top: 0.3rem;
}
.chart-empty {
	min-block-size: 16.65rem;
	display: grid;
	place-items: center;
	color: var(--muted);
	text-align: center;
	font-size: 0.85rem;
}
footer {
	color: var(--muted);
	text-align: center;
	padding: 1.7rem 0.25rem 2.4rem;
	font-size: 0.75rem;
}
footer span {
	margin-inline: 0.25rem;
}

@media (max-width: 52rem) {
	.overview-card {
		padding: 1rem 1.1rem;
	}
	.metrics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.chart-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 43rem) {
	.shell {
		width: calc(100% - 1.5rem);
	}
	.header {
		padding-block: 1.25rem 1rem;
	}
	.overview {
		grid-template-columns: minmax(0, 1fr);
	}
	.overview-card + .overview-card {
		border-left: 0;
		border-top: 1px solid var(--soft-line);
	}
	.overview-card {
		padding: 0.85rem;
	}
	.summary-main {
		flex-wrap: wrap;
		gap: 0.7rem;
		min-height: 9.25rem;
		padding: 0.9rem;
	}
	.summary-icon {
		flex-basis: 2.75rem;
		font-size: 1.25rem;
	}
	.summary-copy {
		flex: 1 1 calc(100% - 4rem);
	}
	.summary-copy h1,
	.summary-copy p {
		min-block-size: calc(2lh + 1px);
	}
	.service-card,
	.chart-panel {
		padding-inline: 0.75rem;
	}
	.timeline {
		gap: 1px;
	}
	.segment {
		height: 1.45rem;
	}
	.chart-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.chart-x > :nth-child(even) {
		display: none;
	}
	.notice-card {
		padding: 0.85rem;
	}
	.notice-plan {
		gap: 0.65rem;
	}
	.incident-stages {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
