/* MP1 SUB-20: the account home, the login page and the "write to the agent first" notice on app.<domain>/.
   Only the shell's palette (style.css :root, pinned in contrast.test.ts): text #f3effa and muted #bdb3d1 on the black
   rail #000000 or the surface #1b0f2e; the one button is on-yellow #15100a on yellow #ffc233. */

.router[data-state='home'] .router-home,
.router[data-state='login'] .router-login,
.router[data-state='waiting'] .router-waiting,
.router[data-state='not-registered'] .router-not-registered {
  display: block;
}

.home-title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.home-projects {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.home-project {
  display: block;
  margin: 0 0 12px;
  padding: 16px;
  border-radius: 12px;
  background: #1b0f2e;
  color: #f3effa;
  text-decoration: none;
}

.home-project:focus-visible,
.home-button:focus-visible,
.home-logout:focus-visible {
  outline: 2px solid #ffc233;
  outline-offset: 2px;
}

.home-project-title {
  display: block;
  font-weight: 600;
}

.home-project-stage,
.home-empty,
.home-note,
.home-bot-name {
  color: #bdb3d1;
}

.home-button {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #ffc233;
  color: #15100a;
  font-weight: 600;
  text-decoration: none;
}

.home-logout {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #bdb3d1;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.home-avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.home-bot-name {
  margin: 8px 0 16px;
}

[hidden] {
  display: none !important;
}
