:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f7f9;
  color: #17202a;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f7f9;
}

.eyebrow {
  margin: 0 0 8px;
  color: #506070;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: 28px;
}

p {
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  color: #667789;
  font-size: 13px;
  text-align: center;
}

.app-toast-region {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1000;
  pointer-events: none;
}

.app-toast {
  min-width: min(360px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 16px 36px rgba(23, 32, 42, 0.18);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  animation: app-toast-in 180ms ease-out forwards;
}

.app-toast.is-exiting {
  animation: app-toast-out 180ms ease-in forwards;
}

.app-toast[data-tone="success"] {
  border-color: #abefc6;
  color: #067647;
  background: #ecfdf3;
}

.app-toast[data-tone="error"] {
  border-color: #fecdca;
  color: #b42318;
  background: #fef3f2;
}

.app-toast[data-tone="neutral"] {
  border-color: #17202a;
  color: #ffffff;
  background: #17202a;
}

@keyframes app-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 50px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes app-toast-out {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  to {
    opacity: 0;
    transform: translate(-50%, 50px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-toast,
  .app-toast.is-exiting {
    animation: none;
    transform: translate(-50%, 0);
  }
}
