/* ==================== App Launcher ==================== */
.app-launcher {
  position: fixed; inset: 0; z-index: 9000;
  background: linear-gradient(135deg, var(--clr-muted), var(--clr-border));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.launcher-header { text-align: center; margin-bottom: 40px; }
.launcher-title { font-size: 32px; font-weight: 700; color: var(--clr-fg); margin: 0; }
.launcher-sub { font-size: 16px; color: var(--clr-muted-fg); margin-top: 8px; }
.launcher-user { font-size: 14px; color: var(--clr-muted-fg); margin-top: 12px; }
.launcher-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 420px; width: 100%;
}
.launcher-grid.launcher-grid-tight,
.launcher-grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr); max-width: 340px;
}
.launcher-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr); max-width: 240px;
}
.launcher-grid[data-count="1"] {
  grid-template-columns: 1fr; max-width: 140px;
}
.launcher-cell {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 8px; cursor: pointer; border-radius: 16px;
  transition: background .15s, transform .15s;
}
.launcher-cell:hover { background: rgba(255,255,255,.7); transform: scale(1.05); }
.launcher-cell:active { transform: scale(.95); }
.launcher-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.launcher-icon svg { width: 28px; height: 28px; }
.launcher-cell span {
  font-size: 13px; font-weight: 500; color: var(--clr-fg); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.25;
}
.launcher-hint { font-size: 11px; font-weight: 500; color: var(--clr-muted-fg); }
.launcher-logout {
  margin-top: 36px; background: none; border: 1px solid hsl(213 27% 84%);
  border-radius: 999px; padding: 8px 32px; color: var(--clr-muted-fg); cursor: pointer;
  font-size: 14px; transition: background .15s;
}
.launcher-logout:hover { background: var(--clr-muted); }
@media (max-width: 600px) {
  .launcher-grid { grid-template-columns: repeat(4, 1fr); max-width: 100%; gap: 12px; padding: 0 12px; }
  .launcher-grid[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
  .launcher-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
  .launcher-grid[data-count="1"] { grid-template-columns: 1fr; max-width: 160px; margin: 0 auto; }
  .launcher-cell { padding: 14px 4px; gap: 8px; }
  .launcher-icon { width: 50px; height: 50px; border-radius: 14px; }
  .launcher-icon svg { width: 24px; height: 24px; }
  .launcher-cell span { font-size: 12px; }
  .launcher-title { font-size: 22px; }
  .launcher-header { margin-bottom: 28px; }
  .app-launcher { padding: 40px 8px; }
}

