/* Shared top bar: page links, language (used by Index.html + ai-foundation-models-list.html) */
.site-bar {
  background: #13161e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
}
.site-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.site-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-links a {
  color: #7a7870;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}
.site-links a:hover {
  color: #e8e6df;
}
.site-links a[aria-current='page'] {
  color: #e8a955;
}
.site-lang {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.site-lang .slabel {
  padding: 0 0 6px;
  text-align: right;
  font-size: 10px;
  color: #7a7870;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-bar .lp-row {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  overflow: hidden;
  background: #1a1e28;
  min-width: 168px;
  max-width: 220px;
}
.site-bar .lp-cell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  font-size: 10px;
  color: #7a7870;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.15s;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.2;
}
.site-bar .lp-cell:hover {
  color: #e8e6df;
  background: #13161e;
}
.site-bar .lp-cell.on {
  background: #1a1e28;
  color: #e8e6df;
  box-shadow: inset 2px 0 0 #e8a955;
}
.site-bar .lp-cell + .lp-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}
.site-bar .lp-flag {
  font-size: 14px;
  line-height: 1;
}

/* Grid page: align bar with its surface */
body.grid-site .site-bar {
  background: #12121a;
  border-bottom-color: #1e1e2e;
}
