/* The real website header/footer surround the existing member app. */
html:has(body.lf-member-document){height:auto;min-height:100%}
body.lf-member-document{height:auto;min-height:100vh;overflow:visible;margin:0;background:#fff}
.lf-member-content{width:100%;min-width:0;outline:none}
.lf-member-document #root{display:flex;position:relative;width:100%;height:var(--lf-account-height,650px);min-height:540px;isolation:isolate}
.lf-member-document #root>div{flex:1;min-width:0}
.lf-member-document #root .lf-account-header,
.lf-member-document #root .lf-account-footer{display:none}
.lf-member-document #root .lf-account-main{overflow:visible}
.lf-member-document #root #lf-account-scroll{overflow-y:visible!important}
/* Theme button defaults must not add a border/background to text controls. */
.lf-member-document #root .lf-forgot-password,
.lf-member-document #root .lf-password-toggle{border:0;background:transparent;border-radius:0}

/* Keep member headings in their approved case when the global kit is active. */
.lf-member-document #root :is(h1,h2,h3){text-transform:none}
