/* The app's dark theme, from apps/desktop/ui-next/src/index.css. */
:root {
  --background: #1a1a1e;
  --card: #202024;
  --foreground: #dbdee1;
  --strong: #f2f3f5;
  --muted: #a0a6b0;
  --border: #252529;
  --accent: #d93f00;
  --accent-text: #ffffff;
  --hover: #2a2b30;
  --focus: #ff4f00;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--background);
  color: var(--foreground);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

h1 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--strong);
}

p {
  margin: 0 0 12px;
}

.problem {
  color: #ff8a7a;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--hover);
  color: var(--strong);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.button:hover {
  filter: brightness(1.08);
}

.button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* Phone width: the buttons take the full row. */
@media (max-width: 480px) {
  body {
    place-items: start center;
    padding-top: 24px;
  }
  .card {
    padding: 20px;
  }
  .actions {
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
}
