/* Signup lines. Inherits the site's tokens when present, with dark fallbacks. */
.sg { margin: var(--s-3, 24px) 0; max-width: 32rem; font-size: 1rem; line-height: 1.5; color: var(--text, inherit); }
.sg-line { margin: 0 0 var(--s-1, 8px); font-size: 1rem; }
.sg-row { display: flex; gap: var(--s-2, 16px); align-items: baseline; border-bottom: 1px solid var(--rule, rgba(255,255,255,.28)); }
.sg-row:focus-within { border-bottom-color: var(--text, #fff); }
.sg-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-in { flex: 1 1 auto; min-width: 0; padding: var(--s-1, 8px) 0; font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0; outline: 0; }
.sg-in::placeholder { color: var(--muted, rgba(255,255,255,.5)); }
.sg-btn { flex: none; padding: var(--s-1, 8px) 0; font: inherit; font-weight: 600; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; }
.sg-btn:hover, .sg-btn:focus-visible { text-decoration-thickness: 2px; }
.sg-btn:disabled { opacity: .5; cursor: default; }
.sg-in:focus-visible, .sg-btn:focus-visible, .sg-opt input:focus-visible { outline: 2px solid var(--text, #fff); outline-offset: 2px; }
.sg-note, .sg-msg { margin: var(--s-1, 8px) 0 0; font-size: .9375rem; color: var(--muted, rgba(255,255,255,.7)); }
.sg-msg:empty { display: none; }
.sg-opt { display: flex; gap: var(--s-1, 8px); align-items: center; margin-top: var(--s-1, 8px); font-size: .9375rem; color: var(--muted, rgba(255,255,255,.7)); }
.sg-opt input { margin: 0; accent-color: currentColor; }
.sg-stack .sg-row { border-bottom: 0; flex-direction: column; gap: var(--s-1, 8px); }
.sg-stack .sg-in, .sg-stack textarea { width: 100%; border-bottom: 1px solid var(--rule, rgba(255,255,255,.28)); }
.sg textarea { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--rule, rgba(255,255,255,.28)); border-radius: 0; padding: var(--s-1, 8px) 0; resize: vertical; width: 100%; }
.sg-done .sg-row, .sg-done .sg-opt, .sg-done .sg-note { display: none; }
.sg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sg-ts:empty { display: none; }
.sg-ts { margin-top: var(--s-1, 8px); }
@media (prefers-reduced-motion: no-preference) { .sg-row { transition: border-color .15s; } }
