.brand-mark--img {
  padding: 0;
  background: transparent;
  overflow: hidden;
  box-shadow: none;
}

.brand-mark--img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sidebar-head:hover .brand-mark--img {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(24, 24, 27, 0.15);
}

.auth-brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.12);
}

.auth-brand-wrap .auth-brand {
  margin: 0;
}

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.45);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-head button {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.15rem 0.35rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.server-actions {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.comm-alert {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.comm-alert-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.comm-alert-meta {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.comm-alert-actions {
  margin-top: 0.75rem;
}

.page-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
}

.page-eyebrow a {
  color: var(--muted);
  text-decoration: none;
}

.page-eyebrow a:hover {
  color: var(--accent);
}
