/* InfoBlend App Launcher — replaces nav bar with grid-icon menu */
/* v1.0.0 */

.app-launcher-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid #30363d;
  background: transparent;
  color: #8b949e;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all .15s;
}
.app-launcher-btn:hover { border-color: #58a6ff; color: #c9d1d9; }
.app-launcher-btn.active { border-color: #1f6feb; color: #e6edf3; background: #1f6feb15; }

.app-launcher-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  width: 14px; height: 14px;
}
.app-launcher-grid span {
  display: block;
  background: currentColor;
  border-radius: 1px;
}

.app-launcher-popup {
  position: absolute;
  top: 48px;
  right: 0;
  width: 200px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 9000;
  display: none;
  overflow: hidden;
}
.app-launcher-popup.show { display: block; animation: launcherIn .12s ease; }
@keyframes launcherIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.app-launcher-popup a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #8b949e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all .1s;
  border-bottom: 1px solid #21262d;
}
.app-launcher-popup a:last-child { border-bottom: none; }
.app-launcher-popup a:hover { background: #1c2333; color: #e6edf3; }
.app-launcher-popup a.active { color: #e6edf3; background: #1f6feb15; }
.app-launcher-popup .launcher-icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }
.app-launcher-popup .launcher-label { flex: 1; }

.launcher-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8999;
  display: none;
}
.launcher-backdrop.show { display: block; }
