/* Auth: 50/50 split (Mobbin: Sprig, Replit, Unify, Recraft sign-in), narrow form column, full-bleed photo with a short scripture caption.
   Field/press behaviour from Arc input + affectUI button; password eye toggle uses transitions.dev icon swap. */
.section-auth { background: #fff; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { display: grid; grid-template-rows: auto 1fr auto; padding: 24px clamp(20px, 4vw, 48px); }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-home { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--text-3); text-decoration: none; padding: 6px 8px; border-radius: 8px; transition: color var(--d-fast), background-color var(--d-fast); }
@media (hover: hover) and (pointer: fine) { .auth-home:hover { color: var(--ink); background: var(--surface-muted); } }
.auth-main { display: grid; align-content: center; justify-items: center; padding: 40px 0; }
.auth-form { width: min(100%, 380px); display: grid; gap: 18px; }
.auth-form.is-wide { width: min(100%, 520px); }
.auth-form h1 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); letter-spacing: -.03em; line-height: 1.1; }
.auth-sub { margin: -8px 0 4px; color: var(--text-2); }
.auth-form .btn-block { margin-top: 4px; }
.auth-alt { margin: 4px 0 0; font-size: var(--text-sm); color: var(--text-2); text-align: center; }
.auth-alt a, .auth-inline-link { font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.field-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.field-head label { font-size: var(--text-sm); font-weight: 500; }
.field-head a { font-size: var(--text-sm); color: var(--text-2); text-underline-offset: 3px; }
.pw { position: relative; }
.pw .input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3); display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; transition: color var(--d-fast), background-color var(--d-fast); }
@media (hover: hover) and (pointer: fine) { .pw-toggle:hover { color: var(--ink); background: var(--surface-muted); } }
.auth-legal { margin: 0; font-size: var(--text-xs); color: var(--text-3); text-align: center; line-height: 1.5; }
.auth-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--text-xs); color: var(--text-3); }
.auth-foot a { color: var(--text-3); text-underline-offset: 3px; }
.auth-foot span { margin-left: auto; }
.auth-photo { position: sticky; top: 0; height: 100vh; height: 100dvh; margin: 0; overflow: hidden; background: var(--ink); }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(7 29 58 / .82) 0%, rgb(7 29 58 / .2) 42%, transparent 60%); }
.auth-photo figcaption { position: absolute; z-index: 1; left: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 44px); color: #fff; }
.auth-photo blockquote { margin: 0 0 10px; max-width: 26ch; font: 600 clamp(1.375rem, 1.1rem + 1vw, 1.875rem)/1.25 var(--f-display); letter-spacing: -.02em; }
.auth-photo span { font-family: var(--f-figures); font-size: var(--text-sm); color: rgb(255 255 255 / .75); }
.auth-sent { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-2); }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-photo { display: none; } .auth-foot span { margin-left: 0; } }

/* Sign-up details: same rhythm as the form whether open inline or inside the review's details */
.join-fields { display: grid; gap: 18px; }
.join-edit:not([open]) { display: block; }
.join-edit > summary { margin-bottom: 0; }
