/* Zenorix apps menu. Keep identical in all Zenorix apps. Uses the shared theme tokens. */
.zx-launch { position: relative; }
.zx-launch-btn { color: var(--text-2); }
.zx-launch-btn.on { background: var(--panel-3); color: var(--text); }
.zx-launch-panel {
  position: absolute; right: -8px; top: calc(100% + 10px); z-index: 60;
  width: 336px; max-width: calc(100vw - 32px); padding: 14px;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  transform-origin: top right; animation: zx-launch-in 0.22s var(--ease);
}
@keyframes zx-launch-in { from { opacity: 0; transform: scale(0.94) translateY(-6px); } }
.zx-launch-h { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 4px 6px 8px; }
.zx-launch-h:not(:first-child) { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.zx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.zx-tile {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px;
  border-radius: 14px; color: var(--text-2); font-size: 12px; font-weight: 600; text-align: center;
  transition: background 0.2s, transform 0.2s var(--ease); position: relative; outline: none;
}
.zx-tile:hover, .zx-tile:focus-visible { background: var(--panel-3); color: var(--text); transform: translateY(-2px); }
.zx-tile:focus-visible { box-shadow: 0 0 0 2px var(--blue-2); }
.zx-tile-ic {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 21px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.zx-tile-ic svg { width: 21px; height: 21px; }
.zx-tile.current .zx-tile-ic { background: var(--c); color: #fff; box-shadow: 0 10px 24px -10px var(--c); }
.zx-tile.current::after { content: ""; position: absolute; top: 9px; right: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 2px var(--panel-2); }
.zx-launch-foot { font-size: 11px; color: var(--muted); text-align: center; margin: 12px 0 2px; word-break: break-all; }
@media (max-width: 760px) {
  .zx-launch { position: static; }
  .zx-launch-panel { right: 16px; top: 58px; position: fixed; }
}
