/* Safadeza IA Shell 2687 — dock mobile universal + tokens */
:root {
  --sf-ia-dock-h: 58px;
  --sf-pink: #e11d48;
  --sf-pink2: #db2777;
  --sf-purple: #7c3aed;
}
body.sf-ia-shell {
  padding-bottom: calc(var(--sf-ia-dock-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  body.sf-ia-shell { padding-bottom: 0; }
  .sf-ia-dock { display: none !important; }
}
.sf-ia-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; justify-content: space-around; align-items: stretch;
  gap: 0; min-height: var(--sf-ia-dock-h);
  padding: 0.2rem 0.25rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(225, 29, 72, 0.14);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
}
.sf-ia-dock a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; text-decoration: none; color: #9d174d; font-size: 0.68rem; font-weight: 700;
  min-height: 52px; min-width: 48px; border-radius: 12px; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sf-ia-dock a svg { width: 24px; height: 24px; }
.sf-ia-dock a.on { color: #831843; background: #fff1f2; }
.sf-ia-dock a.sf-ia-dock-cta {
  color: #fff; background: linear-gradient(145deg, var(--sf-pink), var(--sf-pink2));
  margin: 0.15rem; border-radius: 999px; font-size: 0.68rem;
}
.sf-topnav-home-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; min-width: 48px; padding: 0 0.75rem; margin-right: 0.25rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 800; color: #831843;
  background: #fff; border: 1.5px solid rgba(225, 29, 72, 0.2); text-decoration: none;
  box-sizing: border-box; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.sf-topnav-home-chip.on { background: #fce7f3; border-color: #f472b6; }
/* Safa: sem dock de auth (2689) — sem padding fantasma de dock (2713) */
body.safa.sf-ia-shell .dock,
body.safa.sf-ia-shell #guestDock,
body.safa.sf-ia-shell .sf-ia-dock { display: none !important; }
body.safa.sf-ia-shell {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
