/* Authentication variant; all palette/type/field/button tokens remain owned by public/styles.css. */
[hidden] {
  display: none !important;
}
.auth-shell {
  width: min(100% - 40px, 540px);
  margin: 9vh auto 48px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.auth-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--surface);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 24px;
}
.auth-local {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.auth-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
}
.auth-panel h1 {
  margin: 4px 0 12px;
  font: bold 30px/1.2 var(--font-display);
}
.auth-panel h2 {
  margin-top: 24px;
  font-size: 17px;
}
.auth-panel p {
  line-height: 1.6;
}
.auth-eyebrow {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}
.auth-feedback {
  min-height: 44px;
  margin: 12px 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.auth-feedback[data-error="true"] {
  color: var(--danger);
}
.auth-panel .studio-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-panel input {
  width: 100%;
  min-height: 44px;
}
.auth-password {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.auth-password input {
  min-width: 0;
}
.auth-panel button {
  min-height: 44px;
}
#submit {
  width: 100%;
  margin-top: 16px;
}
.auth-contexts {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.auth-contexts li {
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  background: var(--tint);
  margin-bottom: 10px;
}
.auth-contexts strong,
.auth-contexts span {
  display: block;
  overflow-wrap: anywhere;
}
.auth-contexts span {
  color: var(--muted);
  margin-top: 4px;
}
.auth-identity {
  overflow-wrap: anywhere;
}
.auth-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.auth-scope {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 12px;
}
@media (max-width: 500px) {
  .auth-shell {
    margin-top: 28px;
    width: calc(100% - 24px);
  }
  .auth-panel {
    padding: 24px 20px;
  }
}
