/* Memory-sites account gate. Navy + white, driven by CSS variables so each site (and the brand-navy branch) can retheme it.
   Override on a site with e.g.  :root { --lg-navy: var(--navy); --lg-font: var(--body); }  */
.lg-gate, .lg-bar { --lg-navy: var(--brand-navy, var(--navy, #001B48)); --lg-navy-hover: var(--brand-navy-hover, var(--navy-deep, #0A2C63)); --lg-white: var(--brand-white, #ffffff); --lg-ink: var(--brand-ink, var(--ink, #001B48)); --lg-muted: var(--brand-muted, var(--muted, #3D4A5C)); --lg-line: var(--brand-line, var(--line, #D5DAE3)); --lg-font: inherit; }
.lg-gate { margin: 0 0 1.5rem; font-family: var(--lg-font); }
.lg-card { background: var(--lg-white); color: var(--lg-ink); border: 2px solid var(--lg-navy); border-radius: 16px; padding: 1.5rem 1.25rem; max-width: 560px; margin-inline: auto; box-shadow: 0 8px 28px rgba(15,31,61,.12); }
.lg-title { font-size: 1.6rem; line-height: 1.2; color: var(--lg-navy); margin: 0 0 .5rem; }
.lg-title:focus { outline: none; }
.lg-lead { font-size: 1.125rem; line-height: 1.5; margin: 0 0 1rem; color: var(--lg-ink); }
.lg-msg { font-size: 1.125rem; color: #8a1c1c; font-weight: 600; margin: 0 0 .75rem; }
.lg-msg:empty { display: none; }
.lg-google { display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%; min-height: 56px; padding: .75rem 1rem; background: #ffffff; color: #1f1f1f; border: 1.5px solid #747775; border-radius: 999px; font: 600 1.125rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; }
.lg-google:hover { background: #f2f5fa; }
.lg-google[disabled], .lg-btn[disabled] { opacity: .55; cursor: not-allowed; }
.lg-fine { font-size: 1rem; line-height: 1.5; color: var(--lg-muted); margin: .5rem 0 1rem; }
.lg-check { display: flex; gap: .65rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--lg-ink); margin: .5rem 0 1rem; min-height: 48px; cursor: pointer; }
.lg-check input { width: 24px; height: 24px; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--lg-navy); }
.lg-phone { border-top: 1px solid var(--lg-line); padding-top: .75rem; margin-top: .25rem; }
.lg-phone summary { min-height: 48px; display: flex; align-items: center; font-size: 1.125rem; font-weight: 600; color: var(--lg-navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lg-form { display: grid; gap: .35rem; margin-top: .5rem; }
.lg-label { font-size: 1.125rem; font-weight: 600; color: var(--lg-ink); }
.lg-input { width: 100%; box-sizing: border-box; min-height: 52px; font: 1.25rem/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--lg-ink); background: #fff; border: 1.5px solid var(--lg-muted); border-radius: 12px; padding: .6rem .9rem; }
.lg-code { letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: .75rem 1rem; background: var(--lg-navy); color: var(--lg-white); border: 1.5px solid var(--lg-navy); border-radius: 999px; font: 600 1.125rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; margin-top: .25rem; }
.lg-btn:hover { background: var(--lg-navy-hover); }
.lg-btn-quiet { background: var(--lg-white); color: var(--lg-navy); }
.lg-btn-quiet:hover { background: #eef2f8; }
.lg-btn-small { width: auto; min-height: 48px; padding: .5rem 1.1rem; font-size: 1rem; margin: 0; }
.lg-dev { font-size: 1.125rem; font-weight: 700; color: var(--lg-navy); background: #eef2f8; border-radius: 8px; padding: .5rem .75rem; margin: .25rem 0; }
.lg-legal a, .lg-fine a { color: var(--lg-navy); }
.lg-gate :focus-visible, .lg-bar :focus-visible { outline: 3px solid var(--lg-navy); outline-offset: 3px; }
.lg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; background: var(--lg-white); color: var(--lg-ink); border: 1px solid var(--lg-line); border-radius: 12px; padding: .5rem .9rem; margin: 0 0 1rem; font-family: var(--lg-font); }
.lg-bar-text { font-size: 1rem; margin: 0; color: var(--lg-ink); overflow-wrap: anywhere; }
.lg-bar .lg-title { width: 100%; font-size: 1.4rem; margin: .25rem 0 0; }
.lg-gate [hidden] { display: none !important; }
