/* Design system: modernist (Swiss / International Typographic Style).
   Copied from apps/megaqueue/frontend/styles.css — trimmed to only the
   tokens and component classes this single-purpose page actually uses. */
:root {
  --bg: oklch(98.5% 0 0);
  --surface: oklch(99.3% 0 0);
  --text: oklch(15% 0 0);
  --text-muted: oklch(48% 0 0);
  --accent: oklch(15% 0 0);
  --accent-text: oklch(99.3% 0 0);
  --border: oklch(85% 0 0);
  --rule: oklch(15% 0 0);

  --font-body: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --radius: 0px;
  --radius-sm: 0px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(13% 0 0);
    --surface: oklch(15% 0 0);
    --text: oklch(96% 0 0);
    --text-muted: oklch(65% 0 0);
    --accent: oklch(96% 0 0);
    --accent-text: oklch(13% 0 0);
    --border: oklch(28% 0 0);
    --rule: oklch(96% 0 0);
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}

.app {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 3.5rem;
}

.app-header {
  padding-bottom: 1.1rem;
  border-bottom: 3px solid var(--rule);
}

.app-header__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.app-header__title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card__title {
  font-weight: 700;
  font-size: 1.05rem;
}

.meta-row {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--text);
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn:hover { background: var(--border); }

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.btn--accent:hover { opacity: 0.85; background: var(--accent); }

.footnote {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
