*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

.twentyflow .twentyflow-status-row {
  justify-content: space-between;
  background-color: var(--twentyflow--color--surface-sunken);
  align-items: center;
  padding: var(--twentyone--spacing--12);
  border-radius: var(--twentyone--button--border-radius);
}
.twentyflow .twentyone-chip.is--status.is--green {
  background: var(--twentyone--color--green);
  color: var(--twentyone--color--white);
}
.twentyflow .twentyone-chip.is--status.is--yellow {
  background: var(--twentyone--color--yellow);
  color: var(--twentyone--color--black);
}
.twentyflow .twentyone-chip.is--status.is--orange {
  background: #f28c28;
  color: var(--twentyone--color--black);
}
.twentyflow .twentyone-chip.is--status.is--expired {
  background: var(--twentyone--color--red);
  color: var(--twentyone--color--white);
  animation: cup-pulse 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .twentyflow .twentyone-chip.is--status.is--expired {
    animation: none;
  }
}
.twentyflow .twentyone-group.is--status {
  padding: var(--twentyone--spacing--12);
  background-color: var(--twentyflow--color--surface-sunken);
  border-radius: var(--twentyone--button--border-radius);
}

@keyframes cup-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
@media (max-width: 47.99em) {
  .twentyflow dialog.twentyone-popover.cup-sheet {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    translate: 0 100%;
    border-radius: 16px 16px 0 0;
  }
  .twentyflow dialog.twentyone-popover.cup-sheet:is(.is--active, :popover-open) {
    translate: 0 0;
  }
  .twentyflow .cup-sticky-action {
    position: sticky;
    bottom: var(--twentyone--spacing--12);
    z-index: 2;
  }
  .twentyflow .cup-handover .twentyone-button,
  .twentyflow .cup-handover input,
  .twentyflow .cup-handover select,
  .twentyflow .cup-sheet .twentyone-button,
  .twentyflow .cup-sheet input,
  .twentyflow .cup-sheet select {
    min-height: 48px;
    font-size: 16px;
  }
  .twentyflow.is--account .actions-group {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: var(--twentyone--spacing--12) 0;
    background: var(--twentyflow--color--surface, #fff);
  }
  .twentyflow.is--account .actions-group .twentyone-button {
    flex: 1;
    min-height: 48px;
  }
  .twentyflow.is--account select {
    min-height: 48px;
    font-size: 16px;
  }
  .twentyflow.is--account .cup-cards thead {
    display: none;
  }
  .twentyflow.is--account .cup-cards tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--twentyone--spacing--4) var(--twentyone--spacing--12);
    padding: var(--twentyone--spacing--12);
    border-bottom: 1px solid var(--twentyflow--color--black-fade-2);
  }
  .twentyflow.is--account .cup-cards td {
    display: block;
    padding: 0;
    border: 0;
    text-align: left;
  }
  .twentyflow.is--account .cup-cards td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: var(--twentyflow--color--black-fade-50);
  }
  .twentyflow.is--account .cup-cards td.is--actions {
    grid-column: 1/-1;
    display: flex;
    gap: var(--twentyone--spacing--8);
  }
}
