/* Kagami agent pages — shared dark theme.
   Used by agents/index.html and the colony status pages. */

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

:root {
  --bg: #0a0a0f;
  --fg: #e8e8f0;
  --accent: #818cf8;
  --colony: var(--accent);
  --surface: rgba(255,255,255,0.05);
  --surface-hi: rgba(255,255,255,0.1);
  --muted: rgba(232,232,240,0.6);
  --neutral: #6b7280;
  --success: #22c55e;
  /* Spacing, motion and radius scales come from /assets/tokens.css (linked
     first); this file overrides only the dark-theme colours. */
}

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Colony status page (beacon, crystal, flow, forge, grove, nexus). */
.colony {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  text-align: center;
}

/* Depth is opacity, not glow: no shadows on estate surfaces. */
.colony .icon { font-size: 4rem; opacity: 0.9; }

.colony h1 { font-size: 1.5rem; color: var(--colony); margin: var(--s-2) 0; }

.colony .status {
  padding: var(--s-1) var(--s-2);
  border: 1px solid var(--colony);
  border-radius: 9999px;
  font-size: 1rem;
}
