/* Shared official-site navigation for all AI workshop pages. */
.qz-tutorial-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: rgba(10, 10, 20, .94);
  border-bottom: 1px solid #2a2a4a;
  box-shadow: 0 8px 26px rgba(124, 58, 237, .24);
  backdrop-filter: blur(12px);
}

.qz-tutorial-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #e8e8f0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.qz-tutorial-brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }

.qz-tutorial-links {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.qz-tutorial-links a,
.qz-tutorial-chat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #b9b9d1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.qz-tutorial-links svg { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qz-tutorial-links a:hover { color: #e8e8f0; background: rgba(124, 58, 237, .08); border-color: rgba(124, 58, 237, .2); }
.qz-tutorial-links a.is-active { color: #fff; background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.qz-tutorial-chat { margin-left: auto; color: #fff; background: linear-gradient(135deg, #7c3aed, #06b6d4); border: 0; font-size: 13px; font-weight: 600; }
.qz-tutorial-chat:hover { color: #fff; box-shadow: 0 6px 24px rgba(124, 58, 237, .4); }

@media (max-width: 1280px) {
  .qz-tutorial-links { position: static; margin-left: auto; transform: none; max-width: calc(100vw - 250px); overflow-x: auto; scrollbar-width: none; }
  .qz-tutorial-links::-webkit-scrollbar { display: none; }
  .qz-tutorial-links a { padding: 8px 10px; font-size: 14px; }
  .qz-tutorial-chat { flex-shrink: 0; }
}

@media (max-width: 720px) {
  .qz-tutorial-nav { height: auto; min-height: 56px; flex-wrap: wrap; padding: 8px 12px; }
  .qz-tutorial-links { order: 3; width: 100%; max-width: none; margin: 0; }
  .qz-tutorial-chat { margin-left: auto; }
}
