/* .admin-card panel. Public forms, the password gate and error pages use it.
 *
 * Linked by public pages (PUBLIC_STYLESHEETS in crowberry/ssr/layout.py) and by the admin
 * shell (crowberry/frontend/index.html). */

.admin-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow);
}
/* Section title + muted divider (Navbar, Menu, Settings cards, plugins, etc.). */
.admin-card > h2 {
  margin: 0 0 var(--space-4);
  padding: 0 0 var(--space-3);
  font-size: 1.125rem;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
}
.admin-card > h2 + .toggle-list,
.admin-card > h2 + .admin-list,
.admin-card > h2 + p.help,
.admin-card > h2 + .admin-form-stack {
  margin-top: 0;
}
.admin-card p.help {
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.55;
}
.admin-card p.help:last-child {
  margin-bottom: 0;
}
