/* Account and Privacy: Tidewater, with the same top bar as the world chooser (no menu bar).
   Colours come from tidewater.css. */

body.site { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }

/* Top bar, as in chooser.css */
.top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding: 0 20px; border-bottom: 1px solid var(--line-soft); font-size: 14px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: var(--wordmark-size); font-weight: 600; letter-spacing: .3px; color: var(--text); }
.brand:hover { text-decoration: none; color: var(--title); }
.brand svg { width: 15px; height: 15px; fill: var(--accent); }


/* One centred column */
.site-main { width: 100%; max-width: 720px; margin: 0 auto; padding: 36px 24px 48px; }
.site-main > h1 { margin-bottom: var(--space-4); }
/* Section headings sit clearly below the page title. */
.site-main.prose h2 { font-size: var(--text-lg); margin-top: var(--space-4); margin-bottom: var(--space-1); }

.site-main ul { padding-left: 22px; margin: 0 0 var(--space-3); }
.site-panel { border-radius: var(--radius-lg); padding: 20px 24px; margin-bottom: var(--space-4); }
.site-panel h2 { font-size: 21px; margin: 0 0 var(--space-2); }
.site-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px var(--space-3); margin: 0 0 var(--space-3); font-size: var(--text-sm); }
.site-facts dt { color: var(--text-faint); }
.site-facts dd { margin: 0; overflow-wrap: anywhere; }
.site-actions { display: flex; flex-wrap: wrap; gap: var(--space-1); }
.site-actions form { margin: 0; }
.site-form input { width: 100%; margin-bottom: var(--space-2); }
.site-form .error { margin: 0 0 var(--space-2); }

@media (max-width: 600px) {
  .top { padding: 0 14px; }
  .site-main { padding: 24px 16px 40px; }
  .site-panel { padding: 16px; }
}

/* Sign-up, verify, forgot and reset pages. */
.auth-main { max-width: 460px; }
.site-form .hint { margin: calc(-1 * var(--space-1)) 0 var(--space-2); font-size: var(--text-sm); }
.site-form .turnstile { min-height: 65px; margin: 0 0 var(--space-2); }
.site-form .status { margin: 0 0 var(--space-2); }
