/* Labs | Studio department toggle. */
.brand-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}
.mode-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong, #3a424c);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2, #050505) 72%, transparent);
  flex-shrink: 0;
}
.mode-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0 .8rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted, #8b969f);
  font-family: var(--font-body, "Sora", sans-serif);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}
.mode-toggle a:hover { color: var(--fg, #d5dee6); }
.mode-toggle a.is-on {
  background: var(--accent, #b8ff2c);
  color: var(--accent-ink, #0a0f04);
}
.mode-toggle a.is-on:hover { color: var(--accent-ink, #0a0f04); }

@media (max-width: 800px) {
  .header-inner { gap: .6rem; }
  .brand-row { gap: .65rem; flex: 1; min-width: 0; }
  .brand span { font-size: .92rem; }
  .mode-toggle a { padding: 0 .58rem; min-height: 1.55rem; font-size: .64rem; letter-spacing: .08em; }
}

.mock-flag {
  position: fixed;
  right: .7rem;
  bottom: .7rem;
  z-index: 60;
  font-family: var(--font-body, "Sora", sans-serif);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted, #8b969f);
  border: 1px solid var(--line, #2a3038);
  background: color-mix(in srgb, var(--bg, #000) 82%, transparent);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: .28rem .6rem;
  pointer-events: none;
}
