
/* Shared screen and sheet motion. */
@keyframes stan-sheet-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes stan-sheet-exit {
  from { opacity: var(--stan-sheet-exit-opacity, 1); transform: var(--stan-sheet-exit-transform, none); }
  to { opacity: 0; transform: translateY(18px); }
}
:root body .sheet { border-radius: 24px; }
:root body .sheet.cw-dialog { border-radius: 24px 24px 0 0; }
@media (prefers-reduced-motion: no-preference) {
  :root body .sheet[open]:not([data-sheet-closing]):not([data-closing]) {
    animation: stan-sheet-enter .3s cubic-bezier(.22,1,.36,1) both;
  }
  :root body .sheet[open][data-sheet-closing] {
    animation: stan-sheet-exit .24s cubic-bezier(.22,1,.36,1) both;
  }
  :root body .sheet.stan-qr-desktop-menu[open][data-closing] {
    animation: stan-qr-sheet-exit .24s cubic-bezier(.22,1,.36,1) both;
  }
  :root body .sheet.stan-qr-desktop-menu[data-closing]::backdrop {
    animation: stan-qr-backdrop-exit .24s cubic-bezier(.22,1,.36,1) both;
  }
  :root body .stan-flow-enter,
  :root body .animate-fade-up,
  :root body .animate-slide-up {
    animation-duration: .35s;
    animation-timing-function: cubic-bezier(.22,1,.36,1);
  }
}
@media (prefers-reduced-motion: reduce) {
  :root body .sheet[open], :root body .sheet::backdrop,
  :root body .stan-flow-enter, :root body .animate-fade-up,
  :root body .animate-slide-up,
  :root body .stan-card-glint, :root body .cw-face-shine,
  :root body .stan-home-shimmer {
    animation: none !important;
  }
}
.stan-maintenance {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  padding: 28px;
  background: var(--stan-surface, #0b1f18);
  color: var(--stan-text, #eaf7ef);
  font: 16px/1.6 system-ui,sans-serif;
}
.stan-maintenance-content { max-width: 420px; }
.stan-maintenance-brand { color: var(--stan-accent, #3ddc84); font-size: 22px; }
.stan-maintenance-title { font-size: 28px; line-height: 1.25; }
.stan-maintenance-message { color: var(--stan-text-secondary, #b7ccc0); }
.stan-maintenance-retry {
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(#1f483b,#0b241c);
  box-shadow: inset 0 0 0 1px rgba(61,220,132,.5);
  color: var(--stan-text, #eaf7ef);
  font: 600 14px/20px system-ui,sans-serif;
  transition: transform .15s cubic-bezier(.4,0,.2,1);
}
.stan-maintenance-retry:focus-visible { outline: 2px solid var(--stan-accent-text, #7be8a6); outline-offset: 2px; }
.stan-maintenance-retry:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .stan-maintenance-retry { transition: none; }
  .stan-maintenance-retry:active { transform: none; }
}
