/* Shared navigation chrome, using EnvX semantic tokens with standalone fallbacks. */
.experience-nav {
  --nav-page: var(--envx-bg-page, #f5f0eb);
  --nav-surface: var(--envx-bg-surface, #fefcf8);
  --nav-text: var(--envx-text-primary, #333333);
  --nav-border: var(--envx-border-soft, #d6cfc4);
  --nav-focus: var(--envx-accent-active, #ff7e5f);
  --nav-radius: var(--envx-radius-control, 14px);
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: var(--nav-surface);
  border-bottom: 1px solid var(--nav-border);
}

.experience-nav-items {
  display: flex;
  gap: 4px;
  width: min(100%, 360px);
  padding: 4px;
  border: 1px solid var(--nav-border);
  border-radius: calc(var(--nav-radius) + 4px);
  background: var(--nav-page);
}

.experience-nav .experience-link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--nav-radius);
  color: var(--nav-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.experience-nav a:hover { background: var(--nav-surface); }
.experience-nav .experience-link[aria-current="page"] {
  color: var(--nav-surface);
  background: var(--nav-text);
}
.experience-nav a:focus-visible {
  outline: 3px solid var(--nav-focus);
  outline-offset: 2px;
}
.experience-nav svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The room's renderer toolbar no longer reserves a slot for its old back link. */
.prototype-bar { display: grid; grid-template-columns: 1fr auto 1fr; }
.prototype-bar .render-switch { grid-column: 2; }
.prototype-bar .review-controls { justify-self: end; }
@media (max-width: 700px) {
  .experience-nav { padding: 8px 12px; }
  .experience-nav .experience-link { padding: 8px 10px; }
  .prototype-bar { grid-template-columns: 1fr; }
  .prototype-bar .render-switch { grid-column: 1; }
  .prototype-bar .review-controls { width: 100%; }
}
