/* The shelf-code site's only styling (ADR-0057). One file, no framework: the
   page renders a name, a breadcrumb and a sentence, and a build step for that
   would be more machinery than the surface deserves. */

:root {
  --bg: #f4f1ea;
  --card: #ffffff;
  --text: #1f2a24;
  --muted: #5c6b62;
  --accent: #2f6b4f;
  --line: #dcd6c9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

main {
  width: 100%;
  max-width: 32rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
}

.breadcrumb {
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.breadcrumb .shelf {
  font-weight: 600;
}

.breadcrumb .sep {
  color: var(--muted);
  padding: 0 6px;
}

.note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.open {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.open:active {
  opacity: 0.85;
}

.fallback {
  margin-top: 20px;
  font-size: 0.9rem;
}

code {
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.85em;
}

/* The invite page's second action (#344). The primary action stays `.open`. */
.copy {
  display: inline-block;
  margin-left: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.copy:active {
  opacity: 0.85;
}
