/* Shared tool links and Studio primary tabs. No page content or theme changes. */
.brand-tool-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: .375rem .5rem;
  margin: .75rem 0 1rem;
  padding: 0;
  max-width: 100%;
}
.brand-tool-navigation > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--line, #d7e2ee);
  border-radius: 6px;
  color: var(--muted, #4b6078);
  font-size: .8125rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-decoration: none;
}
.brand-tool-navigation > a:hover {
  background: #edf4ff;
  color: #163d7d;
}
.studio-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: .25rem;
}
.studio-tabs > [role="tab"] {
  min-width: 0;
  min-block-size: 44px;
  justify-content: center;
  padding: .75rem;
  gap: .5rem;
  font-size: .8rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
.studio-tabs > [role="tab"] > span {
  font-size: .875rem;
}
.brand-tool-navigation > a:focus-visible,
.studio-tabs > [role="tab"]:focus-visible {
  outline: 3px solid var(--purple, #2563eb);
  outline-offset: 3px;
}
@media (max-width: 440px) {
  .studio-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
  .studio-tabs > [role="tab"] {
    justify-content: flex-start;
  }
}
