/* Fiona Live Activity Center */
.fxa-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--fxo-border, #2a3444);
  background: var(--fxo-inset, #0d131a);
  color: var(--fxo-text, #f3f6fa);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  max-width: min(280px, 70vw);
}
.fxa-chip .fxa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee89a;
  flex: 0 0 auto;
}
.fxa-chip.is-busy .fxa-dot {
  background: #f5c14a;
  box-shadow: 0 0 0 4px rgba(245, 193, 74, 0.18);
  animation: fxa-pulse 1.2s ease-in-out infinite;
}
.fxa-chip #fxActivityChipLabel {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@keyframes fxa-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.fxa-drawer {
  border: 1px solid var(--fxo-border, #2a3444);
  border-radius: 14px;
  background: var(--fxo-card, #151c26);
  color: var(--fxo-text, #f3f6fa);
  padding: 0;
  width: min(380px, 94vw);
  max-height: min(70vh, 560px);
  margin: 0;
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 80;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.fxa-drawer::backdrop { background: transparent; }
.fxa-drawer-inner { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; max-height: min(70vh, 560px); overflow: auto; }
.fxa-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fxa-drawer-head h3 { margin: 0; font-size: 0.95rem; }
.fxa-section-label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fxo-muted, #b4becc);
}
.fxa-item {
  padding: 8px 10px;
  border: 1px solid var(--fxo-border, #2a3444);
  border-radius: 10px;
  background: var(--fxo-inset, #0d131a);
  margin-bottom: 6px;
}
.fxa-item__top { display: flex; justify-content: space-between; gap: 8px; font-size: 0.82rem; }
.fxa-item__detail { margin: 4px 0 0; font-size: 0.75rem; }
.fxa-steps { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.fxa-steps li { font-size: 0.75rem; color: var(--fxo-muted, #b4becc); display: flex; gap: 6px; }
.fxa-steps li.is-done { color: #3ee89a; }
.fxa-steps li.is-current { color: #f5c14a; font-weight: 650; }
.fxa-steps li.is-error { color: #ff7b7b; }
.fxa-pref { display: flex; flex-direction: column; gap: 4px; font-size: 0.75rem; color: var(--fxo-muted, #b4becc); margin-top: 4px; }
.fxa-pref select {
  background: var(--fxo-inset, #0d131a);
  color: inherit;
  border: 1px solid var(--fxo-border, #2a3444);
  border-radius: 8px;
  padding: 6px 8px;
  font: inherit;
}
.fxa-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 120;
  background: #1a2330;
  color: #f3f6fa;
  border: 1px solid #2a3444;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  max-width: min(420px, 92vw);
}
.fxa-toast.is-ok { border-color: rgba(62, 232, 154, 0.45); color: #9af0c8; }
.fxa-toast.is-error { border-color: rgba(255, 123, 123, 0.5); color: #ffb0b6; }
.fxa-toast.is-warn { border-color: rgba(245, 193, 74, 0.5); color: #f0d48a; }
.btn.is-loading { opacity: 0.75; cursor: wait; }

@media (max-width: 640px) {
  .fxa-drawer { top: auto; bottom: 12px; right: 8px; left: 8px; width: auto; }
}
