/* Only the public homepage uses this layout. Existing account forms and themes stay shared. */
body.public-home-simple { min-height: 100vh; min-height: 100svh; padding-bottom: 0 !important; background: var(--bg) !important; }
.public-home-simple .public-shell { display: flex; flex-direction: column; width: min(100%, 480px); min-height: 100vh; min-height: 100svh; padding: 24px 16px 18px; border: 0; background: var(--bg) !important; box-shadow: none; }
.public-home-simple .site-header { position: relative !important; top: auto; border: 0; background: transparent !important; box-shadow: none; }
.public-home-simple .brand-row { min-height: 48px; justify-content: space-between; padding: 0 0 24px; border: 0; }
.public-home-simple .public-brand { min-width: 0; color: var(--text); }
.public-home-simple .brand-mark { width: 34px; height: 34px; }
.public-home-simple .public-brand strong { color: var(--text); font-size: 21px; line-height: 1.3; text-shadow: none; }
.public-home-simple .header-actions { position: static; margin: 0; }
.public-home-simple main { flex: 1; min-height: 0; padding: 0; }
.public-home-simple .view.active { min-height: 0; animation: none; }
.public-home-simple .auth-panel { min-height: 0; border: 0; background: transparent !important; box-shadow: none; overflow: visible; }
.public-home-simple .home-intro-stage { min-height: 0; padding: 0; background: transparent !important; }
.public-home-simple .auth-form { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface) !important; box-shadow: none; }
.public-home-simple .auth-card-title { min-height: 56px; gap: 8px; border-color: var(--line); background: var(--surface-2) !important; color: var(--text) !important; text-shadow: none; }
.public-home-simple .auth-card-title h1 { margin: 0; font-size: 21px; line-height: 1.4; }
.public-home-simple .auth-card-title svg { color: currentColor; }
.public-home-simple .auth-form-body { padding: 20px; }
.public-home-simple .auth-form label, .public-home-simple .auth-switch { color: var(--text) !important; text-shadow: none; }
.public-home-simple .auth-form input { min-height: 46px; border-radius: 7px; font-size: 16px; }
.public-home-simple .auth-options { flex-wrap: wrap; gap: 8px; }
.public-home-simple .auth-submit { min-height: 46px; border-radius: 7px; }
.public-home-simple .auth-divider { margin-top: 16px; color: var(--muted); }
.public-home-simple .auth-divider::before, .public-home-simple .auth-divider::after { border-top: 1px solid var(--line); }
.public-home-simple .minimal-home-about { margin-top: 28px; padding: 16px 4px 0; border: 0; background: transparent !important; box-shadow: none; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.public-home-simple .minimal-home-about p { margin: 0; }
@media (max-width: 480px) {
  .public-home-simple .public-shell { padding: 20px 12px 16px; }
  .public-home-simple .auth-form-body { padding: 16px; }
}
