/* The colours are the app's light-theme tokens (web/app/app.css), copied: this page must not depend on
   anything served by the infrastructure it reports on. */
:root {
  --background: oklch(0.9425 0.0076 17.29);
  --foreground: oklch(0.118 0.0062 52.41);
  --card: oklch(1 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --border: oklch(0.9 0.006 17.29);
  --brand: oklch(0.64 0.17 43);
  --success: oklch(0.508 0.118 165.612);
  --destructive: oklch(0.577 0.245 27.325);

  color-scheme: light;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

a {
  color: var(--brand);
}

a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.logo {
  display: block;
  width: 122px;
  height: auto;
}

.header-title {
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--card);
  font-weight: 600;
}

.summary-dot,
.status-dot {
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--muted-foreground);
}

.summary--operational .summary-dot {
  background: var(--success);
}

.summary--outage {
  color: var(--destructive);
}

.summary--outage .summary-dot {
  background: var(--destructive);
}

.card {
  border-radius: 0.75rem;
  background: var(--card);
}

.components {
  margin: 0;
  padding: 0;
  list-style: none;
}

.component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.component + .component {
  border-top: 1px solid var(--border);
}

.component-name {
  font-weight: 500;
}

.component-detail {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.status {
  display: flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.status--operational {
  color: var(--success);
}

.status--operational .status-dot {
  background: var(--success);
}

.status--outage {
  color: var(--destructive);
  font-weight: 600;
}

.status--outage .status-dot {
  background: var(--destructive);
}

.meta,
.footer,
.notice {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.meta {
  margin: 0.75rem 0 0;
}

.footer {
  margin-top: 3rem;
}
