.beta-notice {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  background: var(--theme-card, #fff);
  color: var(--theme-ink, #173a2d);
  border: 1px solid var(--theme-border, #b8cbbc);
  border-radius: 16px;
  font-family: inherit;
  line-height: 1.7;
  text-align: left;
}
.beta-notice strong {
  font-size: 0.85rem;
  font-weight: 750;
}
.beta-notice p {
  margin: 8px 0 0;
  font-size: 0.75rem;
  color: var(--theme-muted, #53665b);
}
.beta-notice button {
  flex: none;
  margin-left: auto;
  min-height: 44px;
  border: 1px solid var(--theme-action, #106855);
  border-radius: 9px;
  padding: 8px 10px;
  background: var(--theme-action, #106855);
  color: var(--theme-action-ink, #ffffff);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.beta-notice button:hover {
  background: var(--theme-action-hover, #0b5647);
  border-color: var(--theme-action-hover, #0b5647);
}
.beta-notice button:focus-visible {
  outline: 3px solid var(--theme-accent, #176b4b);
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .beta-notice {
    padding: 10px;
  }
}
@media print {
  .beta-notice {
    display: none;
  }
}

/* Let the first-use dialog finish before showing the persistent beta notice. */
body:has(.onboarding-overlay, .first-visit-login) .beta-notice {
  display: none;
}
