/* Sinapsi UI — contextual guide trigger (fixed, bottom-right) */

.app-guide-fab-slot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: auto;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.app-guide-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--theme-border) 72%, transparent);
  border-radius: 50% !important;
  aspect-ratio: 1;
  box-sizing: border-box;
  background: var(--theme-surface-elevated);
  box-shadow: 0 4px 14px rgba(20, 20, 20, 0.1);
  color: var(--theme-text);
  font-size: calc(20px * var(--ui-font-scale));
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.app-guide-fab:hover,
.app-guide-fab:focus-visible {
  background: var(--theme-surface-muted);
  border-color: color-mix(in srgb, var(--theme-border-strong, var(--theme-border)) 80%, transparent);
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.12);
}

.app-guide-fab__mark {
  display: block;
  transform: translateY(-0.5px);
  color: var(--theme-accent, var(--theme-text));
}

body.account-summary-navigating .app-guide-fab-slot {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .app-guide-fab-slot {
    right: 16px;
    bottom: 16px;
  }

  .app-guide-fab {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: calc(18px * var(--ui-font-scale));
  }
}
