/* Toasts and keyboard keys (Kalima). One polite region, bottom of the screen, clear of the phone's safe areas. */
.toasts {
  position: fixed; inset-block-end: max(1rem, env(safe-area-inset-bottom, 0px)); inset-inline: 0;
  display: grid; justify-items: center; gap: 0.5rem; pointer-events: none; z-index: 50;
}
.toast {
  margin: 0; max-inline-size: min(28rem, calc(100vw - 2rem)); padding: 0.6rem 1rem;
  border-radius: var(--radius-control); background: var(--color-text); color: var(--color-surface);
  font: var(--type-label-weight) var(--type-label-size) / var(--type-label-leading) var(--type-label-family);
  animation: toast-in var(--duration-base) var(--ease-enter) both;
}
.toast--error { background: var(--color-danger); color: var(--color-text-on-accent); }
@keyframes toast-in { from { opacity: 0; translate: 0 0.5rem; } to { opacity: 1; translate: 0 0; } }
.keys { display: inline-flex; gap: 0.2rem; }
.keys kbd {
  font: 500 0.75rem/1.4 var(--type-code-family); padding: 0 0.35rem; border: 1px solid var(--color-border);
  border-block-end-width: 2px; border-radius: 0.3rem; color: var(--color-text-muted); background: var(--color-surface);
}
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }
