/* Account controls share the journal's palette and typography. */
#account-panel {
  width: min(28rem, calc(100% - 2rem));
  margin: clamp(2rem, 12vh, 8rem) auto;
  padding: 1.5rem;
  background: #fffaf5;
  color: #40362f;
  border: 1px solid #dfcfc1;
  border-radius: 1rem;
}
#account-panel form { display: grid; gap: 1rem; }
#account-panel [hidden], [hidden].board, #account-sign-out[hidden] { display: none; }
#account-panel input { display: block; width: 100%; padding: .55rem; font: inherit; }
#account-panel button { padding: .55rem .9rem; font: inherit; cursor: pointer; }
#account-sign-out {
  position: fixed;
  top: .5rem;
  right: .5rem;
  z-index: 10;
  padding: .35rem .6rem;
}
#journal-sync-status {
  position: fixed;
  top: .5rem;
  right: 5rem;
  z-index: 10;
  max-width: min(24rem, calc(100% - 6rem));
  margin: 0;
  padding: .35rem .6rem;
  background: #fffaf5;
  color: #40362f;
  border-radius: .35rem;
}
#journal-sync-status:empty { display: none; }
