.page-export-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.page-export-actions > .update-pill,
.page-export-actions > .update,
.page-export-actions > .stamp {
  justify-self: auto;
}

.page-export-btn {
  flex: 0 0 auto;
  border: 1px solid #005096;
  border-radius: 999px;
  padding: 7px 12px;
  color: #005096;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.page-export-btn:hover,
.page-export-btn:focus-visible {
  color: #fff;
  background: #005096;
  box-shadow: 0 7px 20px rgba(0, 80, 150, .18);
  outline: none;
}

.page-export-btn[disabled] {
  cursor: progress;
  opacity: .58;
}

.page-export-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10000;
  max-width: min(360px, calc(100vw - 44px));
  padding: 11px 15px;
  border: 1px solid rgba(0, 80, 150, .15);
  border-radius: 12px;
  color: #fff;
  background: #005096;
  box-shadow: 0 16px 42px rgba(0, 80, 150, .24);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.page-export-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.page-export-toast.error {
  background: #9c2f2f;
}

@media (max-width: 640px) {
  .page-export-actions > .update-pill,
  .page-export-actions > .update,
  .page-export-actions > .stamp {
    display: none;
  }

  .page-export-btn {
    padding: 7px 10px;
  }
}

@media print {
  .page-export-btn,
  .page-export-toast {
    display: none !important;
  }
}
