/* Paint the portal in its final palette while the session request is pending. */
body.public-author-portal {
  background: var(--paper, #f4f1ea);
  color: var(--ink, #292c26);
}

.public-author-portal > :is(.masthead, #library, #detail) {
  display: none !important;
}

.portal-demo {
  box-sizing: border-box;
  width: min(440px, 100%);
  margin: 36px auto 0;
  padding: 20px;
  border: 1px solid #d1dbcf;
  border-radius: 10px;
  background: #eaf0e7;
  color: #304b3c;
}

.portal-demo h2 {
  margin: 0;
  font: 650 16px/1.4 system-ui, sans-serif;
}

.portal-demo p {
  margin: 6px 0 14px;
  font: 14px/1.55 system-ui, sans-serif;
}

.portal-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #aebfb0;
  border-radius: 6px;
  background: #f7faf5;
  color: #304b3c;
  font: 650 14px/1.4 system-ui, sans-serif;
  text-decoration: none;
}

.portal-demo-link:hover {
  background: #dfe9dd;
}
