/* Site header + state browse. Layout only. No camera data here. */

.site-head {
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.site-bar .wordmark {
  text-decoration: none;
  color: inherit;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
}

.state-nav {
  display: flex;
  gap: 0.3rem;
  padding: 0.12rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.state-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 650;
  min-height: var(--target);
  min-width: 3.2rem;
  padding: 0 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

.state-nav button[aria-selected="true"] {
  background: var(--amber);
  color: var(--ink);
}

/* Static pages have no state JS; their state switch is plain links that
   deep-link into cameras. Same box, same pills as the button version. */
.state-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  min-height: var(--target);
  min-width: 3.2rem;
  padding: 0 0.75rem;
  border-radius: 6px;
}
.state-nav a:hover { color: var(--paper); }

.site-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  min-height: var(--target);
  display: inline-flex;
  align-items: center;
  padding: 0 0.35rem;
}

.site-link:hover { color: var(--paper); }

/* Search row and palette button: canonical styles live in app.css. */

/* The keyboard palette is a desktop affordance. On phones the search box
   and Go do the same job, so don't spend a second row on it. */
@media (max-width: 720px) {
  .palette-btn { display: none; }
}
@media (pointer: coarse) {
  .palette-btn kbd { display: none; }
}

/* Region and job chips: styled by the canonical chip system in app.css. */
