.btn-primary,
.btn-secondary,
.btn-danger,
.btn-ghost,
.btn-icon {
  align-items: center;
  border: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  font-size: var(--text-sm);
  font-weight: 700;
  gap: var(--space-2);
  justify-content: center;
  line-height: 1.25;
  min-height: 40px;
  overflow: hidden;
  padding: 10px 16px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}

.btn-primary svg,
.btn-secondary svg,
.btn-danger svg,
.btn-ghost svg,
.btn-icon svg {
  height: 18px;
  width: 18px;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--brand-500);
  box-shadow: var(--shadow-brand);
  color: var(--gray-0);
}

.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  color: var(--brand-600);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--brand-50);
  border-color: var(--brand-100);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: var(--danger-dark);
}

.btn-danger:hover {
  background: #fee2e2;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--brand-600);
}

.btn-icon {
  aspect-ratio: 1;
  min-height: 40px;
  padding: 0;
  width: 40px;
}

.btn-loading {
  pointer-events: none;
}

.btn-loading::after {
  animation: spin 0.65s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: var(--gray-0);
  border-radius: var(--radius-full);
  content: "";
  height: 16px;
  width: 16px;
}

.ripple {
  animation: ripple-effect 0.6s linear;
  background: rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-full);
  pointer-events: none;
  position: absolute;
  transform: scale(0);
}

@keyframes ripple-effect {
  to {
    opacity: 0;
    transform: scale(4);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.surface,
.surface-muted,
.kpi-card,
.panel-card {
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.surface-muted {
  background: var(--surface-muted);
}

.panel-card {
  padding: var(--space-6);
}

.page-header {
  align-items: flex-end;
  display: flex;
  gap: var(--space-4);
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.page-eyebrow {
  color: var(--accent-600);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title {
  color: var(--gray-900);
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 8px 0 0;
}

.page-subtitle {
  color: var(--gray-500);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-top: 8px;
  max-width: 760px;
  display: none;
}

.kpi-card {
  padding: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.kpi-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.kpi-icon {
  align-items: center;
  background: var(--brand-50);
  border-radius: var(--radius-md);
  color: var(--brand-600);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.kpi-icon svg {
  height: 20px;
  width: 20px;
}

.kpi-badge {
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
}

.kpi-badge--up {
  background: var(--success-light);
  color: var(--success-dark);
}

.kpi-badge--down {
  background: var(--danger-light);
  color: var(--danger-dark);
}

.kpi-value,
.metric-value {
  color: var(--gray-900);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  margin-top: var(--space-4);
  font-variant-numeric: tabular-nums;
}

.kpi-label,
.metric-label {
  color: var(--gray-500);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-top: var(--space-2);
}

.kpi-sparkline {
  color: var(--brand-500);
  height: 30px;
  margin-top: var(--space-3);
}

.badge {
  align-items: center;
  border-radius: var(--radius-full);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  letter-spacing: 0;
  line-height: 1.3;
  padding: 3px 10px;
}

.badge--found,
.badge-success {
  background: var(--success-light);
  color: var(--success-dark);
}

.badge--pending,
.badge-warn {
  background: var(--warning-light);
  color: var(--warning-dark);
}

.badge--claimed,
.badge-info {
  background: var(--brand-50);
  color: var(--brand-700);
}

.badge--expired,
.badge-neutral {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge-danger,
.badge--danger {
  background: var(--danger-light);
  color: var(--danger-dark);
}

.data-table {
  border-collapse: collapse;
  font-size: var(--text-sm);
  width: 100%;
}

.data-table thead tr {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
}

.data-table th {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 10px 16px;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  padding: 14px 16px;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

.data-table tbody tr.selected {
  background: var(--brand-50);
  box-shadow: inset 2px 0 0 var(--brand-500);
}

.table-actions {
  align-items: center;
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}

.checkbox-custom {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  position: relative;
  width: 22px;
}

.checkbox-custom input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.checkbox-custom .checkmark {
  align-items: center;
  background: var(--surface-card);
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  display: flex;
  height: 18px;
  justify-content: center;
  transition: all var(--transition-base);
  width: 18px;
}

.checkbox-custom .checkmark::after {
  border-bottom: 2px solid var(--gray-0);
  border-right: 2px solid var(--gray-0);
  content: "";
  height: 9px;
  transform: rotate(45deg) scale(0);
  transition: transform var(--transition-spring);
  width: 5px;
}

.checkbox-custom input:checked ~ .checkmark,
.checkbox-custom input:indeterminate ~ .checkmark {
  background: var(--brand-500);
  border-color: var(--brand-500);
}

.checkbox-custom input:checked ~ .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-custom input:indeterminate ~ .checkmark::after {
  border-right: 0;
  height: 0;
  transform: rotate(0) scale(1);
  width: 8px;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group input,
.input-group textarea,
.input-group select,
.form-input {
  background: var(--surface-card);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  min-height: 48px;
  outline: none;
  padding: 16px 14px 6px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  width: 100%;
}

.input-group textarea {
  min-height: 122px;
  resize: vertical;
}

.input-group select {
  padding-bottom: 10px;
  padding-top: 10px;
}

.input-group label {
  color: var(--gray-400);
  font-size: var(--text-sm);
  left: 14px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all var(--transition-base);
}

.input-group textarea ~ label,
.input-group select ~ label,
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group.is-filled label {
  color: var(--brand-600);
  font-size: 11px;
  font-weight: 700;
  top: 8px;
  transform: none;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus,
.form-input:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(0, 42, 84, 0.12);
}

.input-group.has-error input,
.input-group.has-error textarea,
.input-group.has-error select {
  border-color: var(--danger);
}

.error-message {
  align-items: center;
  color: var(--danger);
  display: flex;
  font-size: 12px;
  gap: 4px;
  margin-top: 4px;
}

.photo-dropzone {
  align-items: center;
  background: linear-gradient(180deg, var(--surface-card), var(--gray-50));
  border: 1.5px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  color: var(--gray-500);
  display: flex;
  justify-content: center;
  min-height: 220px;
  overflow: hidden;
  padding: var(--space-4);
  text-align: center;
  transition: all var(--transition-base);
  width: 100%;
}

.photo-dropzone:hover,
.photo-dropzone.drag-over {
  background: var(--brand-50);
  border-color: var(--brand-500);
  transform: scale(1.01);
}

.photo-dropzone img {
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
  padding: 44px 24px;
  text-align: center;
}

.empty-state-illustration {
  color: var(--brand-300);
  margin-bottom: var(--space-2);
  opacity: 0.75;
}

.empty-state-title {
  color: var(--gray-700);
  font-size: var(--text-lg);
  font-weight: 800;
}

.empty-state-description {
  color: var(--gray-500);
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 360px;
  display: none;
}

.skeleton {
  animation: skeleton-wave 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 14px;
}

.skeleton-title {
  height: 22px;
  width: 60%;
}

.skeleton-thumb {
  border-radius: var(--radius-md);
  height: 40px;
  width: 40px;
}

@keyframes skeleton-wave {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.drawer-overlay {
  backdrop-filter: blur(4px);
  background: var(--surface-overlay);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  visibility: hidden;
  z-index: var(--z-drawer);
}

.drawer-overlay.active,
.drawer-overlay[x-show] {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  background: var(--surface-card);
  border-left: 1px solid var(--gray-200);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 95vw;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  will-change: transform;
  width: 480px;
  z-index: calc(var(--z-drawer) + 1);
}

.drawer-panel.active,
.drawer-panel[x-show] {
  transform: translateX(0);
}

@starting-style {
  .drawer-overlay.active {
    opacity: 0;
  }

  .drawer-panel.active {
    transform: translateX(100%);
  }
}

.drawer-header {
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  padding: 18px 22px;
}

.drawer-title {
  color: var(--gray-900);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
}

.drawer-footer {
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  padding: 14px 22px;
}

#toast-container {
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  position: fixed;
  right: 24px;
  z-index: var(--z-toast);
}

.toast {
  align-items: stretch;
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr auto;
  min-width: min(360px, calc(100vw - 32px));
  opacity: 0;
  overflow: hidden;
  padding: 14px 14px 18px;
  pointer-events: auto;
  position: relative;
  transform: translateX(24px);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.toast--leaving {
  opacity: 0;
  transform: translateX(24px);
}

.toast-icon {
  align-items: center;
  display: flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.toast--success .toast-icon {
  color: var(--success);
}

.toast--error .toast-icon {
  color: var(--danger);
}

.toast--warning .toast-icon {
  color: var(--warning);
}

.toast--info .toast-icon {
  color: var(--info);
}

.toast-message {
  color: var(--gray-800);
  font-size: var(--text-sm);
  font-weight: 700;
  margin: 0;
}

.toast-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--gray-400);
  display: flex;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.toast-progress {
  background: currentColor;
  bottom: 0;
  height: 3px;
  left: 0;
  opacity: 0.45;
  position: absolute;
  width: 100%;
}

#command-palette {
  align-items: flex-start;
  backdrop-filter: blur(8px);
  background: var(--surface-overlay);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding-top: 15vh;
  position: fixed;
  transition: all var(--transition-base);
  visibility: hidden;
  z-index: var(--z-modal);
}

#command-palette.active {
  opacity: 1;
  visibility: visible;
}

.cp-panel {
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 90vw;
  overflow: hidden;
  transform: scale(0.95) translateY(-8px);
  transition: transform var(--transition-spring);
  width: 560px;
}

#command-palette.active .cp-panel {
  transform: scale(1) translateY(0);
}

.cp-input-wrap {
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: auto 1fr auto;
  padding: 14px 18px;
}

.cp-input {
  background: transparent;
  border: 0;
  color: var(--gray-900);
  font-size: var(--text-lg);
  outline: none;
  width: 100%;
}

.cp-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
}

.cp-result-item {
  align-items: center;
  border-radius: var(--radius-md);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: auto 1fr auto;
  padding: 12px;
  transition: background var(--transition-fast);
}

.cp-result-item:hover,
.cp-result-item.active {
  background: var(--brand-50);
}

.cp-result-icon {
  align-items: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--brand-600);
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.cp-result-title {
  color: var(--gray-900);
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
}

.cp-result-meta {
  color: var(--gray-500);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.timeline {
  padding-left: 28px;
  position: relative;
}

.timeline::before {
  background: linear-gradient(to bottom, var(--brand-500), var(--gray-200));
  bottom: 12px;
  content: "";
  left: 9px;
  position: absolute;
  top: 12px;
  width: 2px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-dot {
  align-items: center;
  background: var(--gray-200);
  border: 2px solid var(--surface-card);
  border-radius: var(--radius-full);
  display: flex;
  height: 20px;
  justify-content: center;
  left: -28px;
  position: absolute;
  top: 2px;
  width: 20px;
  z-index: 1;
}

.timeline-dot--brand {
  background: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-50);
  color: var(--gray-0);
}

.timeline-title {
  color: var(--gray-900);
  font-size: var(--text-sm);
  font-weight: 800;
}

.timeline-time,
.timeline-description {
  color: var(--gray-500);
  font-size: 12px;
}

.daily-progress-card {
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}

.dp-header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.dp-title {
  color: var(--gray-900);
  font-weight: 800;
  margin: 0;
}

.dp-subtitle {
  color: var(--gray-500);
  font-size: var(--text-sm);
  margin-top: 3px;
}

.dp-percentage {
  color: var(--brand-600);
  font-size: var(--text-xl);
  font-weight: 800;
}

.dp-bar-track {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 8px;
  margin: 14px 0;
  overflow: hidden;
}

.dp-bar-fill {
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
  border-radius: var(--radius-full);
  height: 100%;
  position: relative;
}

.streak-widget {
  align-items: center;
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
}

.streak-count {
  color: var(--accent-800);
  font-weight: 800;
  margin: 0;
}

.streak-label {
  color: var(--accent-700);
  font-size: 12px;
  margin: 0;
}

.app-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: var(--surface-card);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  height: 76px;
  padding: 0 20px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px;
}

.nav-section-label {
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 16px 8px 8px;
  text-transform: uppercase;
}

.nav-item {
  align-items: center;
  border-radius: var(--radius-md);
  color: var(--gray-600);
  display: flex;
  font-size: var(--text-sm);
  font-weight: 700;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.nav-item svg {
  height: 20px;
  width: 20px;
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--brand-600);
}

.nav-item-active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
}

.sidebar-footer {
  border-top: 1px solid var(--gray-200);
  padding: 16px;
}

.user-card {
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 12px;
  padding: 12px;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  height: 60px;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.main-content {
  min-width: 0;
}

.content-shell {
  margin: 0 auto;
  max-width: 1280px;
  padding: 22px 28px 44px;
  transition: opacity 120ms ease;
}

.app-page.is-pjax-loading .content-shell {
  opacity: 0.82;
  pointer-events: none;
}

.global-search-button {
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  color: var(--gray-500);
  display: flex;
  font-size: var(--text-sm);
  gap: 10px;
  height: 40px;
  min-width: min(420px, 42vw);
  padding: 0 12px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.global-search-button:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}

.keycap {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 800;
  margin-left: auto;
  padding: 2px 6px;
}

.profile-menu {
  background: var(--surface-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  overflow: hidden;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: var(--z-dropdown);
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .page-header {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: var(--space-6);
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .topbar {
    padding: 0 16px;
  }

  .global-search-button {
    min-width: 0;
    width: 44px;
  }

  .global-search-button span:not(.keycap) {
    display: none;
  }

  .keycap {
    display: none;
  }

  .content-shell {
    padding: 16px 16px 88px;
  }

  .mobile-bottom-nav {
    align-items: center;
    background: var(--surface-card);
    border-top: 1px solid var(--gray-200);
    bottom: 0;
    display: flex;
    height: 64px;
    justify-content: space-around;
    left: 0;
    position: fixed;
    right: 0;
    z-index: var(--z-sticky);
  }

  .mobile-bottom-nav a {
    align-items: center;
    color: var(--gray-500);
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
  }

  .mobile-bottom-nav a.active {
    color: var(--brand-600);
  }

  .drawer-panel {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    bottom: 0;
    height: 92vh;
    top: auto;
    transform: translateY(100%);
    width: 100%;
  }

  .drawer-panel.active,
  .drawer-panel[x-show] {
    transform: translateY(0);
  }

  @starting-style {
    .drawer-panel.active {
      transform: translateY(100%);
    }
  }

  #toast-container {
    bottom: 80px;
    left: 16px;
    right: 16px;
  }

  .toast {
    min-width: 0;
    width: 100%;
  }
}
