.spcmai-floating-switcher {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9990;
}

.spcmai-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(15, 79, 58, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(15, 48, 38, .14);
  font: 700 13px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
  backdrop-filter: blur(10px);
}

.spcmai-switcher a {
  min-width: 42px;
  padding: 9px 11px;
  border-radius: 999px;
  color: #185c46;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.spcmai-switcher a:hover,
.spcmai-switcher a:focus-visible {
  background: #e8f6ef;
  color: #0b4936;
}

.spcmai-switcher a.is-active {
  background: #116149;
  color: #fff;
}

.spcmai-switcher a:focus-visible {
  outline: 3px solid #f2bd3f;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .spcmai-floating-switcher {
    right: 10px;
    bottom: 10px;
  }

  .spcmai-switcher a {
    min-width: 38px;
    padding: 8px 9px;
  }
}

@media print {
  .spcmai-floating-switcher { display: none !important; }
}
