
/* ShiftFlow 23.0 – globale, stabile Schnellzugriffe */
#notificationBellV17,
#cloudStatusBadgeV15,
.sf-ai-launcher {
  display: none !important;
}

.sf-floating-actions-v23 {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9998;
  display: grid;
  grid-template-columns: 62px 48px 48px;
  align-items: end;
  gap: 9px;
  pointer-events: auto;
  isolation: isolate;
}

.sf-float-action {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  cursor: pointer;
  color: var(--app-text);
  background: color-mix(in srgb, var(--app-surface) 94%, transparent);
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
  font: inherit;
  font-size: 19px;
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.sf-float-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 54px rgba(0,0,0,.31);
}

.sf-float-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-b) 50%, transparent);
  outline-offset: 3px;
}

.sf-float-ai {
  width: 62px;
  height: 62px;
  border-radius: 21px;
  color: white;
  background:
    radial-gradient(circle at 35% 24%, rgba(255,255,255,.35), transparent 28%),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 20px 58px color-mix(in srgb, var(--accent-b) 33%, transparent);
  font-size: 27px;
}

.sf-float-sync[data-status="synced"] .sf-action-state { background:#4fd79a; }
.sf-float-sync[data-status="pending"] .sf-action-state,
.sf-float-sync[data-status="syncing"] .sf-action-state { background:#ffb457; }
.sf-float-sync[data-status="offline"] .sf-action-state { background:#9da1b3; }
.sf-float-sync[data-status="error"] .sf-action-state { background:#ff786d; }

.sf-action-state {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--app-surface);
  border-radius: 50%;
  background: #9da1b3;
}

.sf-float-sync.is-working .sf-sync-symbol {
  animation: sfV23Spin .8s linear infinite;
}

.sf-float-notifications b {
  position: absolute;
  right: -5px;
  top: -6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--app-bg-1);
  border-radius: 999px;
  color: white;
  background: var(--accent-b);
  font-size: 9px;
  font-weight: 900;
}

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

@media (max-width: 700px) {
  .sf-floating-actions-v23 {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    grid-template-columns: 54px 44px 44px;
    gap: 7px;
  }
  .sf-float-action { width:44px;height:44px;border-radius:14px; }
  .sf-float-ai { width:54px;height:54px;border-radius:18px; }
}
