/* Isolated styles for authorship badge + institutions page. Does not alter gallery chrome. */
.aw-authorship {
  margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.aw-authorship__count {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .35rem;
}
.aw-authorship__lead {
  font-size: .85rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: .65rem;
  max-width: 36rem;
}
.aw-authorship__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}
.aw-authorship__link {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
}
.aw-authorship__link:hover {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.inst-form {
  display: grid;
  gap: .65rem;
  max-width: 36rem;
  margin-top: 1rem;
}
.inst-form label {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.inst-form input,
.inst-form select,
.inst-form textarea {
  width: 100%;
  padding: .5rem .6rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--fg);
  font-family: inherit;
  font-size: .95rem;
}
.inst-form button {
  justify-self: start;
  margin-top: .35rem;
  padding: .65rem 1.2rem;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: inherit;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.inst-ref {
  display: flex;
  gap: .75rem;
  align-items: center;
  border: 1px solid var(--border);
  padding: .65rem;
  margin-bottom: .5rem;
}
.inst-ref img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #eee;
}
.inst-form-ok { color: #2a6; }
.inst-form-err { color: #a33; }
