/* Demo-only chrome, appended after paper.css. */

/* A small tag beside every screen title, so nobody mistakes it for the real kitchen. */
#view-title::after {
  content: "demo";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font: 500 0.55em/1.6 "Geist", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #1c7458;
  background: rgba(28, 116, 88, 0.12);
}

/* The once-per-tab note, above the tab bar. */
#demo-note {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #1f2a26;
  color: #f3efe6;
  font: 400 14px/1.4 "Geist", system-ui, sans-serif;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
#demo-note strong { font-weight: 600; }
#demo-note button {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: #f3efe6;
  color: #1f2a26;
  font: 600 13px/1 "Geist", system-ui, sans-serif;
}
@media (min-width: 900px) {
  #demo-note { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
}
