/* One non-blocking save indicator for public and manager questionnaires. */
.save-status {
  position: fixed;
  top: 92px;
  right: max(16px, env(safe-area-inset-right));
  z-index: 90;
  width: max-content;
  max-width: min(380px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  pointer-events: none;
}
.save-status:empty { display: none; }
.save-status[data-save-state="error"] { border-color: var(--brand-accent); }
.save-status[data-save-compact="true"] {
  display: grid;
  width: 30px;
  height: 30px;
  max-width: none;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #18794e;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
}
body > .save-status {
  top: max(16px, env(safe-area-inset-top));
  z-index: 30;
}
