/* member-auth-page-design.css */
.member-auth-page.site-auth-custom [data-member-part]{--member-part-gap:initial;--member-part-padding:initial;--member-part-padding-top:initial;--member-part-padding-right:initial;--member-part-padding-bottom:initial;--member-part-padding-left:initial}
/* Member pages share presentation with inert editor previews; authentication stays app-owned. */
.member-auth-page.site-auth-custom[data-member-page-kind]{box-sizing:border-box;isolation:isolate;min-width:0;width:100%;flex:1;background:var(--auth-bg);color:var(--auth-text);font-size:var(--auth-font-size);line-height:1.65;overflow-wrap:anywhere}
.member-auth-page.site-auth-custom *{box-sizing:border-box;min-width:0}
.member-auth-page.site-auth-custom[data-member-page-kind][data-member-pattern=glow]{background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--auth-accent) 8%,transparent),transparent 65%),var(--auth-bg)}
.member-auth-page.site-auth-custom .member-auth-layout{display:grid;width:100%;min-width:0;min-height:560px;margin:auto;grid-template-columns:minmax(0,1fr)}
.member-auth-page.site-auth-custom .member-auth-main{display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(32px,6vw,72px) 24px}
.member-auth-page.site-auth-custom .member-auth-card{width:var(--auth-width);max-width:100%;min-width:0;padding:var(--auth-padding);border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface);color:var(--auth-text);box-shadow:0 12px 40px -20px color-mix(in srgb,var(--auth-text) 18%,transparent);overflow:visible}
.member-auth-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px}
.member-auth-page.site-auth-custom .member-auth-brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--auth-text);font-size:.9em;font-weight:650;line-height:1.4;min-height:44px;max-width:100%}
.member-auth-brand-content{display:flex;align-items:center;gap:10px}
.member-auth-brand-logo{object-fit:contain;width:34px;height:34px;flex:0 0 34px}
.member-auth-monogram{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border:1px solid var(--auth-border);border-radius:10px;background:color-mix(in srgb,var(--auth-accent) 8%,var(--auth-surface));color:var(--auth-accent);font-weight:750;font-size:17px}
.member-auth-page.site-auth-custom .member-auth-home{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;flex-shrink:0;font-size:.8em;text-decoration:none;color:var(--auth-text);opacity:.72}
.member-auth-page.site-auth-custom .member-auth-home:hover{opacity:1}
.member-auth-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}
.member-auth-page.site-auth-custom .member-auth-eyebrow{margin:0 0 9px;font-size:10px;font-weight:750;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:var(--auth-accent)}
.member-auth-page.site-auth-custom .member-auth-intro h1{margin:0;color:var(--auth-text);font-size:clamp(26px,2.5vw,34px);font-weight:720;letter-spacing:-.035em;line-height:1.2;text-wrap:balance}
.member-auth-page.site-auth-custom .member-auth-description{margin:12px 0 0;max-width:62ch;color:var(--auth-text);font-size:.94em;line-height:1.7;opacity:.72}
.member-auth-page.site-auth-custom .member-auth-content{min-width:0}
.member-auth-page.site-auth-custom .member-auth-content :is(form,fieldset){min-width:0}
.member-auth-page.site-auth-custom .member-auth-content :is(label,[data-slot=label]){font-size:.87em;font-weight:600;line-height:1.5;color:var(--auth-text)}
.member-auth-page.site-auth-custom .member-auth-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%;max-width:100%;min-width:0;min-height:48px;height:auto;border:1px solid var(--auth-border);border-radius:calc(var(--auth-radius)*.45);padding:11px 13px;background:var(--auth-surface);color:var(--auth-text);font-size:max(16px,var(--auth-font-size));line-height:1.5;box-shadow:0 1px 2px color-mix(in srgb,var(--auth-text) 3%,transparent)}
.member-auth-page.site-auth-custom .member-auth-content textarea{min-height:100px}
.member-auth-page.site-auth-custom .member-auth-content input::placeholder{color:var(--auth-text);opacity:.7}
.member-auth-page.site-auth-custom .member-auth-content :is(input,select,textarea):focus-visible{outline:2px solid var(--auth-accent);outline-offset:2px;border-color:var(--auth-accent);box-shadow:none}
.member-auth-page.site-auth-custom :is(a,button,summary):focus-visible{outline:2px solid var(--auth-accent);outline-offset:4px}
.member-auth-page.site-auth-custom .member-auth-content button{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;font-weight:600}
.member-auth-page.site-auth-custom .member-auth-content button svg{flex-shrink:0}
.member-auth-page.site-auth-custom .member-auth-content button[type=submit],.member-auth-page.site-auth-custom .member-auth-content .member-auth-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border:1px solid transparent;border-radius:calc(var(--auth-radius)*.45);background:var(--auth-accent);color:var(--auth-button-text);font-size:.94em;font-weight:650;box-shadow:0 2px 3px color-mix(in srgb,var(--auth-text) 7%,transparent);text-decoration:none}
.member-auth-page.site-auth-custom .member-auth-content button[type=submit]:hover,.member-auth-page.site-auth-custom .member-auth-content .member-auth-primary:hover{filter:brightness(.95)}
.member-auth-page.site-auth-custom button:disabled{cursor:default;opacity:.55}
.member-auth-page.site-auth-custom .member-auth-content a{color:var(--auth-accent);text-underline-offset:4px}
.member-auth-page.site-auth-custom .member-auth-content button:has(>svg:only-child){padding:8px;min-width:44px}
.member-auth-page.site-auth-custom .member-auth-content :is(.text-slate-500,.text-slate-400,.text-slate-300,.text-slate-200,.text-slate-100){color:var(--auth-text)}
.member-auth-page.site-auth-custom .member-auth-content :is(.border-slate-800,.border-slate-700,.border-slate-600){border-color:var(--auth-border)}
.member-auth-page.site-auth-custom .member-auth-content :is(.bg-slate-800,.bg-slate-900,.bg-slate-950){background:var(--auth-surface)}
.member-auth-page.site-auth-custom .member-auth-content :is(.text-cyan-200,.text-cyan-300,.text-cyan-400){color:var(--auth-accent)}
.member-auth-page.site-auth-custom .member-auth-content :is(.bg-cyan-950,.bg-cyan-950\/40){background:color-mix(in srgb,var(--auth-accent) 9%,var(--auth-surface))}
.member-auth-page.site-auth-custom .member-auth-scope{display:flex;align-items:flex-start;gap:9px;margin-top:28px;padding-top:20px;border-top:1px solid var(--auth-border);font-size:11px;line-height:1.65;color:var(--auth-text);opacity:.7}
.member-auth-scope svg{flex:0 0 15px;margin-top:2px}
.member-auth-scope p{margin:0}
.member-auth-page.site-auth-custom .member-auth-story{display:none}
.member-auth-page.site-auth-custom .member-auth-form{display:grid;gap:var(--member-part-gap,18px)}
.member-auth-field{display:grid;gap:8px}
.member-auth-page.site-auth-custom .member-auth-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--auth-border);border-radius:calc(var(--auth-radius)*.45);padding:10px 14px;background:var(--auth-surface);color:var(--auth-text);font-size:.9em;text-decoration:none}
.member-auth-page.site-auth-custom .member-auth-muted{opacity:.7;font-size:.87em;line-height:1.65}
.member-auth-page.site-auth-custom .member-auth-page.site-auth-custom-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.member-auth-page.site-auth-custom .member-auth-page.site-auth-custom-actions :is(a,button){display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border:1px solid var(--auth-border);border-radius:calc(var(--auth-radius)*.45);background:var(--auth-surface);color:var(--auth-text);font-size:13px;text-decoration:none;white-space:normal}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-layout{min-height:560px;max-width:var(--auth-content-width)}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-main{padding:var(--auth-padding) 28px;display:block}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-card{width:100%;max-width:none;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-topline{margin-bottom:24px}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-intro{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--auth-border)}
.member-auth-page.site-auth-custom .member-auth-account-nav{display:flex;flex-wrap:wrap;gap:6px 20px;padding:0 0 12px;border-bottom:1px solid var(--auth-border);margin-bottom:24px}
.member-auth-page.site-auth-custom .member-auth-account-nav a{display:inline-flex;align-items:center;min-height:44px;color:var(--auth-text);font-size:13px;font-weight:600;text-decoration:none;border-bottom:2px solid transparent}
.member-auth-page.site-auth-custom .member-auth-account-nav a:hover{border-bottom-color:var(--auth-accent);color:var(--auth-accent)}
.member-auth-page.site-auth-custom .member-auth-account-section{scroll-margin-top:24px}
.member-auth-page.site-auth-custom .public-member-identity{padding:20px 24px;border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface)}
.member-auth-page.site-auth-custom .public-member-identity dl{margin-top:16px;padding-top:16px;border-color:var(--auth-border)}
.member-auth-page.site-auth-custom .public-member-signin-methods{margin-top:32px;padding-top:24px;border-top:1px solid var(--auth-border)}
.member-auth-page.site-auth-custom .public-member-method-grid{display:grid;gap:16px}
.member-auth-page.site-auth-custom .public-member-method-grid>div{margin:0;padding:20px!important;border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface)!important;color:var(--auth-text)}
.member-auth-page.site-auth-custom :is(.public-member-section-heading,.member-account-section-heading){margin:0 0 20px}
.member-auth-page.site-auth-custom :is(.public-member-section-heading,.member-account-section-heading) h2{font-size:19px;letter-spacing:-.02em;font-weight:650;margin:0 0 6px}
.member-auth-page.site-auth-custom :is(.public-member-section-heading,.member-account-section-heading) p{font-size:13px;line-height:1.7;opacity:.7;margin:0}
.member-auth-page.site-auth-custom .site-member-account-controls{margin-top:28px;border:0;padding:0;background:transparent;color:var(--auth-text)}
.member-auth-page.site-auth-custom .site-member-account-controls .member-account-panel{padding:22px;border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface);color:var(--auth-text)}
.member-auth-page.site-auth-custom .site-member-account-controls button{border-color:var(--auth-border);border-radius:calc(var(--auth-radius)*.45)}
.member-auth-page.site-auth-custom .site-member-account-controls .member-account-delete-button{border-color:color-mix(in srgb,#dc2626 65%,var(--auth-text));color:var(--auth-text)}
.member-auth-page.site-auth-custom .public-member-connections{margin-top:32px;padding-top:24px;border-color:var(--auth-border)}
.member-auth-portal-greeting{display:flex;align-items:center;gap:12px;padding:18px 20px;border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface);margin-bottom:24px}
.member-auth-portal-greeting svg{color:var(--auth-accent)}
.member-auth-portal-greeting p{margin:0}
.member-auth-portal-grid{display:grid;gap:20px}
.member-auth-page.site-auth-custom .public-member-portal-widget{margin:0;padding:24px;border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface);box-shadow:none}
.member-auth-page.site-auth-custom .public-member-portal-widget h2{margin:0 0 12px;font-size:19px;font-weight:650;line-height:1.4;letter-spacing:-.02em}
.member-auth-page.site-auth-custom .public-member-page-card{min-height:100px;padding:18px;border:1px solid var(--auth-border);border-radius:calc(var(--auth-radius)*.55);color:var(--auth-text);background:var(--auth-surface);box-shadow:none;text-decoration:none;transition:border-color .15s ease,background .15s ease}
.member-auth-page.site-auth-custom .public-member-page-card:hover{transform:none;box-shadow:none;border-color:var(--auth-accent);background:color-mix(in srgb,var(--auth-accent) 4%,var(--auth-surface))}
.member-auth-page.site-auth-custom .member-auth-empty-state{padding:24px;border:1px dashed var(--auth-border);border-radius:calc(var(--auth-radius)*.6);background:color-mix(in srgb,var(--auth-text) 2%,var(--auth-surface))}
.member-auth-page.site-auth-custom .member-auth-empty-state p{margin:0 0 16px}
.member-auth-authored-content{width:100%;min-width:0}
@media(min-width:960px){
 .member-auth-page.site-auth-custom[data-auth-layout=split]:not([data-member-workspace]) .member-auth-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);max-width:1360px;min-height:700px}
 .member-auth-page.site-auth-custom[data-auth-layout=split] .member-auth-story{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:36px;margin:32px 0 32px 32px;padding:clamp(30px,4vw,58px);border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:linear-gradient(145deg,color-mix(in srgb,var(--auth-accent) 10%,var(--auth-surface)),var(--auth-surface));color:var(--auth-text)}
 .member-auth-story-brand{font-size:14px;font-weight:650}
 .member-auth-page.site-auth-custom .member-auth-story h2{max-width:14ch;margin:0 0 22px;font-size:clamp(32px,3.4vw,48px);font-weight:650;letter-spacing:-.04em;line-height:1.13;text-wrap:balance}
 .member-auth-page.site-auth-custom .member-auth-story-content>p{margin:0;max-width:36ch;opacity:.72;font-size:15px;line-height:1.8}
 .member-auth-story-detail{display:flex;align-items:center;gap:9px;font-size:12px;opacity:.7}
 .member-auth-page.site-auth-custom[data-auth-layout=split] .member-auth-main{padding-inline:32px}
 .member-auth-page.site-auth-custom[data-auth-layout=split]:not([data-member-workspace]) .member-auth-topline{display:none}
 .member-auth-page.site-auth-custom .public-member-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .member-auth-page.site-auth-custom .member-auth-layout{min-height:0}
 .member-auth-page.site-auth-custom .member-auth-main{padding:28px 16px 36px;align-items:flex-start}
 .member-auth-page.site-auth-custom .member-auth-card{padding:min(var(--auth-padding),24px);border-radius:min(var(--auth-radius),20px)}
 .member-auth-page.site-auth-custom .member-auth-topline{margin-bottom:24px;gap:12px}
 .member-auth-page.site-auth-custom .member-auth-intro{gap:16px;flex-direction:column;margin-bottom:24px}
 .member-auth-page.site-auth-custom .member-auth-intro h1{font-size:28px}
 .member-auth-page.site-auth-custom .member-auth-scope{margin-top:24px;padding-top:18px}
 .member-auth-page.site-auth-custom[data-member-workspace] .member-auth-main{padding:min(var(--auth-padding),24px) 16px 36px}
 .member-auth-page.site-auth-custom[data-member-workspace] .member-auth-card{padding:0}
 .member-auth-page.site-auth-custom .member-auth-page.site-auth-custom-actions{width:100%}
 .member-auth-page.site-auth-custom .member-auth-page.site-auth-custom-actions>*{flex:1}
 .member-auth-page.site-auth-custom .public-member-identity{padding:18px}
 .member-auth-page.site-auth-custom .site-member-account-controls .member-account-panel,.member-auth-page.site-auth-custom .public-member-method-grid>div,.member-auth-page.site-auth-custom .public-member-portal-widget{padding:18px!important}
 .member-auth-page.site-auth-custom .member-auth-account-nav{gap:0 16px}
 .member-auth-page.site-auth-custom .member-auth-account-nav a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.member-auth-page.site-auth-custom *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.member-auth-page.site-auth-custom[data-editor-preview] button:disabled{opacity:1}

/* Checkboxes are small indicators within a full-height labelled touch target. */
.member-auth-page.site-auth-custom .member-auth-content button[role=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;max-height:20px;padding:0;flex:0 0 20px;border:1px solid var(--auth-border);border-radius:5px;background:var(--auth-surface);color:var(--auth-button-text);box-shadow:none}
.member-auth-page.site-auth-custom .member-auth-content button[role=checkbox][data-state=checked]{background:var(--auth-accent);border-color:var(--auth-accent)}
.member-auth-page.site-auth-custom .member-auth-content div:has(>button[role=checkbox]){min-height:44px;align-items:center}
.member-auth-page.site-auth-custom .member-auth-content button.border{border-color:var(--auth-border);background:var(--auth-surface);color:var(--auth-text)}
.member-auth-page.site-auth-custom .member-auth-content button.bg-primary{background:var(--auth-accent);color:var(--auth-button-text)}

/* Some security actions retain legacy inline sizing; keep their touch target usable. */
.member-auth-page.site-auth-custom .member-auth-content button:not([role=checkbox]){min-height:44px!important}

/* Only normalized appearance tokens reach these selectors. Parts cannot change
   display, positioning, actions, validation or keyboard/touch targets. */
.member-auth-page.site-auth-custom[data-member-part-style~=color],.member-auth-page.site-auth-custom [data-member-part-style~=color]{color:var(--member-part-color)!important}
.member-auth-page.site-auth-custom[data-member-part-style~=background],.member-auth-page.site-auth-custom [data-member-part-style~=background]{background:var(--member-part-background)!important}
.member-auth-page.site-auth-custom[data-member-part-style~=borderColor],.member-auth-page.site-auth-custom [data-member-part-style~=borderColor]{border-color:var(--member-part-border-color)!important}
.member-auth-page.site-auth-custom[data-member-part-style~=radius],.member-auth-page.site-auth-custom [data-member-part-style~=radius]{border-radius:var(--member-part-radius)!important}
.member-auth-page.site-auth-custom:is([data-member-part-style~=padding],[data-member-preview-padding]),.member-auth-page.site-auth-custom :is([data-member-part-style~=padding],[data-member-preview-padding]){padding:var(--member-part-padding)!important}
.member-auth-page.site-auth-custom[data-member-part-style~=fontSize],.member-auth-page.site-auth-custom [data-member-part-style~=fontSize]{font-size:var(--member-part-font-size)!important}
.member-auth-page.site-auth-custom .member-auth-content :is(input,select,textarea)[data-member-part-style~=fontSize]{font-size:max(16px,var(--member-part-font-size))!important}
.member-auth-page.site-auth-custom[data-member-part-style~=fontWeight],.member-auth-page.site-auth-custom [data-member-part-style~=fontWeight]{font-weight:var(--member-part-font-weight)!important}
.member-auth-page.site-auth-custom[data-member-part-style~=textAlign],.member-auth-page.site-auth-custom [data-member-part-style~=textAlign]{text-align:var(--member-part-text-align)!important}
.member-auth-page.site-auth-custom:is([data-member-part-style~=gap],[data-member-preview-gap]),.member-auth-page.site-auth-custom :is([data-member-part-style~=gap],[data-member-preview-gap]){gap:var(--member-part-gap)!important}
.member-auth-page.site-auth-custom [data-member-part=form]{display:grid;gap:var(--member-part-gap,20px)}
.member-auth-page.site-auth-custom [data-member-part=form]>:not([hidden]){margin-top:0;margin-bottom:0}

/* Fixed source-owned compositions. The shared blueprint owns all region geometry. */
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]){container:member-composition/inline-size;padding:clamp(16px,4vw,48px)}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-template-layout{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:var(--member-composition-mobile-areas);gap:var(--member-part-gap,var(--member-composition-mobile-gap));width:100%;max-width:var(--auth-content-width);min-height:0;margin-inline:auto}
.member-auth-template-header{grid-area:header;display:flex;justify-content:space-between;align-items:center;gap:var(--member-part-gap,20px)}
.member-auth-template-intro{grid-area:intro;margin:0;display:flex;flex-direction:column;justify-content:center;gap:var(--member-part-gap,20px)}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-template-main{grid-area:main;display:flex;align-items:flex-start;justify-content:center;min-width:0;padding:0}
.member-auth-template-story{grid-area:story;display:flex;flex-direction:column;justify-content:space-between;gap:var(--member-part-gap,32px);min-width:0;padding:24px;background:color-mix(in srgb,var(--auth-accent) 6%,var(--auth-surface));border:1px solid var(--auth-border);border-radius:var(--auth-radius)}
.member-auth-template-story h2{font-size:clamp(24px,3.8cqi,46px);line-height:1.15;letter-spacing:-.04em;max-width:18ch;margin:0 0 18px;text-wrap:balance}
.member-auth-template-story p{max-width:42ch;font-size:1em;line-height:1.7;margin:0}
.member-auth-template-footer{grid-area:footer;min-width:0}
.member-auth-template-footer .member-auth-scope{margin:0;padding-top:20px}
.member-auth-template-art{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:140px;pointer-events:none;isolation:isolate}
.member-auth-template-art i{display:block;width:32%;aspect-ratio:1;border:1px solid color-mix(in srgb,var(--auth-accent) 30%,var(--auth-border));border-radius:25%;background:color-mix(in srgb,var(--auth-accent) 4%,var(--auth-surface));transform:rotate(-9deg)}
.member-auth-template-art i:nth-child(2){transform:translateY(-14px) rotate(7deg)}
.member-auth-template-art i:nth-child(3){width:20%;transform:translateY(20px) rotate(-18deg)}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-card{max-width:100%;padding:var(--auth-padding-top) var(--auth-padding-right) var(--auth-padding-bottom) var(--auth-padding-left)}
.member-auth-page.site-auth-custom[data-auth-composition=focus]:not([data-member-workspace]) .member-auth-template-layout{max-width:calc(var(--auth-width) + 48px)}
.member-auth-page.site-auth-custom[data-auth-composition=focus] .member-auth-template-intro{text-align:center;align-items:center}
.member-auth-page.site-auth-custom[data-auth-composition=focus] .member-auth-template-footer{max-width:var(--auth-width);margin-inline:auto}
.member-auth-page.site-auth-custom[data-member-composition-surface=open] .member-auth-card,.member-auth-page.site-auth-custom[data-auth-composition=bands] .member-auth-card{background:transparent;border:0;border-radius:0;box-shadow:none}
.member-auth-page.site-auth-custom[data-auth-composition=editorial] .member-auth-template-story{padding:0;border:0;background:transparent;border-radius:0;justify-content:flex-start}
.member-auth-page.site-auth-custom[data-auth-composition=editorial] .member-auth-template-art{display:none}
.member-auth-page.site-auth-custom[data-auth-composition=editorial] .member-auth-template-intro h1{font-size:clamp(32px,5cqi,64px);max-width:13ch;line-height:1.05}
.member-auth-page.site-auth-custom[data-auth-composition=masthead]{padding-inline:0}
.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-header,.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-intro,.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-main,.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-footer{padding:24px clamp(16px,5cqi,64px)}
.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-story{border-radius:0;padding:clamp(24px,6cqi,64px);border-inline:0;gap:20px}
.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-art{min-height:64px;max-height:100px;overflow:hidden}
.member-auth-page.site-auth-custom[data-auth-composition=masthead] .member-auth-template-art i{width:36%;aspect-ratio:4;border-radius:100% 100% 0 0;transform:none!important}
.member-auth-page.site-auth-custom[data-auth-composition=rail] .member-auth-template-story{border-radius:0;background:transparent;border-width:0 1px 0 0;padding:0 28px 0 0}
.member-auth-page.site-auth-custom[data-auth-composition=rail] .member-auth-template-art{min-height:72px;justify-content:flex-start}
.member-auth-page.site-auth-custom[data-auth-composition=rail] .member-auth-template-art i{width:24px;height:24px;aspect-ratio:auto;border-radius:50%;transform:none!important}
.member-auth-page.site-auth-custom[data-auth-composition=inset] .member-auth-template-layout{padding:clamp(20px,4cqi,44px);border:1px solid var(--auth-border);border-radius:var(--auth-radius);background:var(--auth-surface)}
.member-auth-page.site-auth-custom[data-auth-composition=inset] .member-auth-template-story{border:0;background:transparent;padding:0}
.member-auth-page.site-auth-custom[data-auth-composition=inset] .member-auth-card{width:100%;background:color-mix(in srgb,var(--auth-accent) 4%,var(--auth-surface));box-shadow:none}
.member-auth-page.site-auth-custom[data-auth-composition=bands]{padding-inline:0}
.member-auth-page.site-auth-custom[data-auth-composition=bands] .member-auth-template-layout>header,.member-auth-page.site-auth-custom[data-auth-composition=bands] .member-auth-template-main,.member-auth-page.site-auth-custom[data-auth-composition=bands] .member-auth-template-footer{padding:24px clamp(16px,5cqi,64px);border-bottom:1px solid var(--auth-border)}
.member-auth-page.site-auth-custom[data-auth-composition=bands] .member-auth-template-intro{background:var(--auth-surface);padding-block:clamp(28px,5cqi,56px)}
.member-auth-page.site-auth-custom[data-auth-composition=reverse] .member-auth-template-story{border:0;border-radius:0;justify-content:center;min-height:320px}
.member-auth-page.site-auth-custom[data-auth-composition=reverse] .member-auth-template-art{min-height:200px}
.member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-template-layout{border:1px solid var(--auth-border);padding:clamp(20px,4cqi,48px);outline:1px solid color-mix(in srgb,var(--auth-border) 50%,transparent);outline-offset:-8px}
.member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-template-intro{max-width:var(--auth-width);width:100%;margin-inline:auto}
.member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-card{width:min(100%,720px);border:0;border-radius:0;box-shadow:none;background:transparent;padding-inline:0}
/* Workspace children remain opaque; only existing visual grouping owners are laid out. */
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic])[data-member-workspace] .member-auth-card{width:100%;max-width:none}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .public-auth-account{display:grid;gap:var(--member-part-gap,24px);min-width:0}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .public-auth-account>:not([hidden]){margin-block:0}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-portal-grid{grid-template-columns:minmax(0,1fr);gap:var(--member-part-gap,20px)}
.member-auth-page.site-auth-custom[data-auth-composition=bands] :is(.public-member-identity,.member-account-panel,.public-member-portal-widget){border-inline:0;border-radius:0;box-shadow:none;background:transparent}
.member-auth-page.site-auth-custom[data-auth-composition=frame] :is(.public-member-identity,.member-account-panel,.public-member-portal-widget){border-radius:0;box-shadow:none}
@container member-composition (min-width:760px){
 .member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-template-layout{grid-template-columns:var(--member-composition-columns);grid-template-areas:var(--member-composition-areas);gap:var(--member-part-gap,var(--member-composition-gap))}
 .member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-form>:not(.member-auth-field){grid-column:1/-1}
 .member-auth-page.site-auth-custom[data-auth-composition=inset] .member-auth-portal-grid,.member-auth-page.site-auth-custom[data-auth-composition=focus] .member-auth-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-auth-page.site-auth-custom[data-auth-composition=frame] .member-auth-portal-grid{gap:0}
 .member-auth-page.site-auth-custom[data-auth-composition=frame] .public-member-portal-widget{border-width:0 0 1px;padding-inline:0}
}
@container member-composition (min-width:1060px){
 .member-auth-page.site-auth-custom[data-auth-composition=inset] .public-auth-account{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-auth-page.site-auth-custom[data-auth-composition=inset] .public-auth-account>:is(.member-auth-account-nav,.public-member-identity,#member-connections,button){grid-column:1/-1}
 .member-auth-page.site-auth-custom[data-auth-composition=rail] .public-auth-account,.member-auth-page.site-auth-custom[data-auth-composition=reverse] .public-auth-account{grid-template-columns:minmax(160px,.65fr) minmax(0,1.65fr)}
 .member-auth-page.site-auth-custom[data-auth-composition=rail] .public-auth-account>:is(.member-auth-account-nav,.public-member-identity){grid-column:1}
 .member-auth-page.site-auth-custom[data-auth-composition=rail] .public-auth-account>:not(.member-auth-account-nav):not(.public-member-identity){grid-column:2}
 .member-auth-page.site-auth-custom[data-auth-composition=reverse] .public-auth-account>:is(.member-auth-account-nav,.public-member-identity){grid-column:2}
 .member-auth-page.site-auth-custom[data-auth-composition=reverse] .public-auth-account>:not(.member-auth-account-nav):not(.public-member-identity){grid-column:1}
}
/* Ordinary geometry is finite. Parent bounds always win over requested widths. */
.member-auth-page.site-auth-custom [data-member-width-mode=fill]{width:100%;max-width:100%}
.member-auth-page.site-auth-custom [data-member-width-mode=auto]{width:auto}
.member-auth-page.site-auth-custom [data-member-width-mode=custom][data-member-part-style~=width]{width:min(100%,var(--member-part-width))}
.member-auth-page.site-auth-custom [data-member-part-style~=maxWidth]{max-width:min(100%,var(--member-part-max-width))}
.member-auth-page.site-auth-custom [data-member-part-style~=contentAlign]{align-items:var(--member-part-content-align)}
.member-auth-page.site-auth-custom [data-member-part-style~=fontFamily]{font-family:var(--member-part-font-family)!important}
.member-auth-page.site-auth-custom [data-member-part-style~=lineHeight]{line-height:var(--member-part-line-height)!important}
.member-auth-page.site-auth-custom [data-member-part-style~=fontStyle]{font-style:var(--member-part-font-style)!important}
.member-auth-page.site-auth-custom [data-member-part-style~=textDecoration]{text-decoration:var(--member-part-text-decoration)!important}
.member-auth-page.site-auth-custom [data-member-part-style~=borderWidth]{border-width:var(--member-part-border-width)!important}
.member-auth-page.site-auth-custom [data-member-part-style~=borderStyle]{border-style:var(--member-part-border-style)!important}
.member-auth-page.site-auth-custom :is([data-member-part-style~=padding],[data-member-preview-padding]){padding:var(--member-part-padding-top) var(--member-part-padding-right) var(--member-part-padding-bottom) var(--member-part-padding-left)!important}
.member-auth-page.site-auth-custom [data-member-compound=button-icon-label]{gap:var(--member-part-gap,8px)}
.member-auth-page.site-auth-custom [data-member-compound=checkbox-label]{gap:var(--member-part-gap,8px)}
.member-auth-page.site-auth-custom [data-member-part=brand] .member-auth-brand-content{gap:var(--member-part-gap,10px)}
/* Effective safety constraints are deliberately after appearance overrides. */
.member-auth-page.site-auth-custom .member-auth-content :is(div,label):has(>input:not([type=checkbox]):not([type=radio])){container-type:inline-size}
.member-auth-page.site-auth-custom .member-auth-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:max(16px,var(--member-part-font-size,var(--auth-font-size)));padding-left:min(var(--member-part-padding-left,13px),12cqi)!important;padding-right:min(var(--member-part-padding-right,13px),12cqi)!important;padding-top:var(--member-part-padding-top,11px)!important;padding-bottom:var(--member-part-padding-bottom,11px)!important}
.member-auth-page.site-auth-custom .member-auth-content :is(input[data-member-part=field-password],input[data-member-part=field-confirm],input[type=password],input[autocomplete=current-password],input[autocomplete=new-password]),.member-auth-page.site-auth-custom .member-auth-content div:has(>[data-member-part=password-toggle])>input{padding-right:max(56px,min(var(--member-part-padding-right,13px),12cqi))!important}
.member-auth-page.site-auth-custom [data-member-part=password-toggle]{position:absolute!important;right:6px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;padding:min(var(--member-part-padding-top,8px),12px) min(var(--member-part-padding-right,8px),12px) min(var(--member-part-padding-bottom,8px),12px) min(var(--member-part-padding-left,8px),12px)!important;line-height:1!important}
.member-auth-page.site-auth-custom [data-member-part=password-toggle]>svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
.member-auth-page.site-auth-custom .member-auth-content :is([role=alert],[role=status]){color:var(--auth-text);opacity:1}
.member-auth-page.site-auth-custom .member-auth-content [data-member-part=status][role]{color:var(--auth-text);background:color-mix(in srgb,var(--auth-accent) 6%,var(--auth-surface));border-color:color-mix(in srgb,var(--auth-accent) 25%,var(--auth-border))}
@container member-composition (max-width:759px){
 .member-auth-template-story{padding:20px}.member-auth-template-art{min-height:80px;max-height:140px}
 .member-auth-page.site-auth-custom[data-auth-composition=rail] .member-auth-template-story{padding:0 0 20px;border-width:0 0 1px}
 .member-auth-page.site-auth-custom[data-auth-composition=reverse] .member-auth-template-story{min-height:0}
}
@media(prefers-reduced-motion:reduce){.member-auth-template-art *{animation:none!important;transition:none!important}}

/* Inert editor samples mirror the actual compound checkbox + label owner. */
.member-auth-page.site-auth-custom .member-auth-preview-checkbox{display:inline-flex;align-items:flex-start;gap:var(--member-part-gap,8px);min-width:0}
.member-auth-preview-checkbox-indicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;margin-top:2px;border:1px solid var(--auth-border);border-radius:5px;background:var(--auth-surface);font-size:13px;line-height:1}

/* Canonical classic workspace owners preserve two old boxes, then honor authored edges at all sizes. */
.member-auth-page.site-auth-custom[data-auth-composition=classic][data-member-workspace] .member-auth-main[data-member-part=primary-column]{padding:var(--member-part-padding-top,32px) var(--member-part-padding-right,28px) var(--member-part-padding-bottom,32px) var(--member-part-padding-left,28px)!important}
.member-auth-page.site-auth-custom[data-auth-composition=classic][data-member-workspace] .member-auth-card{padding:var(--auth-padding-top) var(--auth-padding-right) var(--auth-padding-bottom) var(--auth-padding-left)!important}
.member-auth-page.site-auth-custom[data-auth-composition=classic]:not([data-member-workspace]) .member-auth-card{padding:var(--auth-padding-top) var(--auth-padding-right) var(--auth-padding-bottom) var(--auth-padding-left)}
@media(max-width:600px){
 .member-auth-page.site-auth-custom[data-auth-composition=classic]:not([data-member-workspace]) .member-auth-card[data-member-legacy-card-spacing=true]{padding:min(var(--auth-padding-top),24px)}
 .member-auth-page.site-auth-custom[data-auth-composition=classic][data-member-workspace] .member-auth-main[data-member-legacy-workspace-spacing=true]{padding:min(var(--member-part-padding-top),24px) 16px 36px!important}
}

/* A source-owned compound uses CSS gap rather than a second icon margin. */
.member-auth-page.site-auth-custom [data-member-compound=button-icon-label]>:is(svg,[aria-hidden=true]){margin-inline:0}

/* Only the new shell owns this real Column flow; text spacing is an actual CSS gap. */
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-intro-content{display:grid;gap:var(--member-part-gap,12px);min-width:0}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-intro-content>:is(.member-auth-eyebrow,h1,.member-auth-description){margin:0}

/* Inert workspace examples use the same new-composition grid owners as live content. */
[data-editor-member-page-preview=portal] .member-auth-page[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-portal-grid>:is([data-member-part=dashboard-greeting],.member-auth-preview-dashboard-actions){grid-column:1/-1}

/* editor-member-page-templates.css */
.member-template-library *,.member-template-dialog *{box-sizing:border-box;min-width:0}
.member-template-app-pill{padding:1px 5px;border:1px solid var(--editor-experience-line,#d4e1ec);border-radius:5px;font-size:10px;font-weight:500;color:var(--editor-experience-muted,#526a80)}
.member-template-library{display:grid;min-width:0;gap:12px;padding:0}
.member-template-category-header{position:static;display:grid;gap:8px;margin:0 0 16px;padding:0;border:0;background:transparent}
.member-template-category-header h2{margin:0;font-size:16px;line-height:1.4;font-weight:700;overflow-wrap:anywhere}
.member-template-category-header h2:focus-visible{outline:2px solid var(--eln-accent,#0e7490);outline-offset:4px}
.member-template-category-header p{margin:0;font-size:11px;line-height:1.55;color:var(--eln-muted,#64748b)}
.member-template-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;font-size:11px;line-height:1.5}
.member-template-breadcrumb button{min-height:44px;padding:4px 0;border:0;background:transparent;color:var(--eln-accent,#0e7490);font:inherit;font-weight:600;text-align:left;cursor:pointer}
.member-template-breadcrumb>svg{flex:0 0 13px;color:var(--eln-muted,#64748b)}
.member-template-breadcrumb [aria-current]{min-width:0;overflow-wrap:anywhere;color:var(--eln-muted,#64748b)}
.eln-category-badge:has(>.member-template-app-pill){gap:5px}
.member-template-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(118px,100%),1fr));gap:9px}
.member-template-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:44px;padding:0 0 9px;border:1px solid var(--editor-experience-line,#d4e1ec);border-radius:9px;background:var(--editor-experience-surface,#fff);color:inherit;text-align:left;overflow:hidden;cursor:pointer}
.member-template-card-caption{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:9px 8px 2px;font-size:11px;font-weight:650;line-height:1.5}
.member-template-card-caption>svg{flex:none;color:var(--editor-experience-muted,#526a80)}
.member-template-card-meta{padding:0 8px;font-size:10px;line-height:1.5;color:var(--editor-experience-muted,#526a80)}
.member-template-miniature{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:116px;padding:14px 12px;background:var(--member-template-bg);border-bottom:1px solid var(--editor-experience-line,#d4e1ec);color:var(--member-template-text);overflow:hidden}
.member-template-mini-card{display:flex;flex-direction:column;gap:5px;width:78%;max-width:125px;padding:9px;border:1px solid var(--member-template-border);border-radius:var(--member-template-radius);background:var(--member-template-surface)}
.member-template-mini-brand{display:flex;align-items:center;gap:4px;margin-bottom:3px}
.member-template-mini-brand>i:first-child{width:7px;height:7px;border-radius:2px;background:var(--member-template-accent);opacity:.65}
.member-template-mini-brand>i:last-child{width:30%;height:3px;border-radius:2px;background:var(--member-template-text);opacity:.6}
.member-template-mini-heading{display:block;width:75%;height:5px;border-radius:2px;background:var(--member-template-text);opacity:.9}
.member-template-mini-description{display:block;width:90%;height:2px;margin-bottom:3px;background:var(--member-template-text);opacity:.35}
.member-template-mini-fields{display:grid;gap:5px}
.member-template-mini-fields>i{display:block;height:9px;border:1px solid var(--member-template-border);border-radius:2px}
.member-template-mini-action{display:block;height:9px;margin-top:2px;border-radius:2px;background:var(--member-template-accent)}
.member-template-mini-story{display:flex;flex-direction:column;justify-content:center;gap:7px;flex:1;align-self:stretch;padding:7px;border-radius:var(--member-template-radius);background:color-mix(in srgb,var(--member-template-accent) 9%,var(--member-template-surface))}
.member-template-mini-story>i{display:block;height:5px;border-radius:2px;background:var(--member-template-text);opacity:.7}
.member-template-mini-story>i:last-child{width:65%;height:2px;opacity:.4}
.member-template-miniature[data-layout=split] .member-template-mini-card{width:52%;padding:7px}
.member-template-miniature[data-workspace] .member-template-mini-card{width:100%;max-width:none;border:0;padding:0;background:transparent}
.member-template-mini-workspace{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding-top:4px}
.member-template-mini-workspace>i{height:28px;border:1px solid var(--member-template-border);border-radius:3px;background:var(--member-template-surface)}
.member-template-library-note{display:flex;align-items:flex-start;gap:6px;margin:4px 0 0;font-size:10px;line-height:1.6;color:var(--editor-experience-muted,#526a80)}
.member-template-library-note>svg{flex:none;margin-top:2px}
.member-template-dialog-overlay{position:fixed;inset:0;z-index:150;background:#020b18b3;backdrop-filter:blur(3px)}
.member-template-dialog{position:fixed;inset:32px max(20px,calc((100vw - 1200px)/2));z-index:151;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;min-width:0;max-width:1200px;max-height:calc(100dvh - 64px);margin:auto;border:1px solid var(--border,#d4e1ec);border-radius:16px;background:var(--background,#fff);color:var(--foreground,#162c44);box-shadow:0 20px 80px #0005;overflow:hidden}
.member-template-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--border,#d4e1ec)}
.member-template-dialog-eyebrow{margin:0 0 2px;font-size:10px;font-weight:650;line-height:1.5;letter-spacing:.07em;text-transform:uppercase;color:var(--muted-foreground,#526a80)}
.member-template-dialog-header h2{margin:0;font-size:20px;font-weight:650;line-height:1.4;letter-spacing:-.02em}
.member-template-dialog-close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--border,#d4e1ec);border-radius:9px;background:transparent;color:inherit;cursor:pointer}
.member-template-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px}
.member-template-preview-toolbar>p{margin:0;max-width:68ch;font-size:12px;line-height:1.6;color:var(--muted-foreground,#526a80)}
.member-template-device-controls{display:flex;flex:none;padding:3px;gap:3px;border:1px solid var(--border,#d4e1ec);border-radius:9px}
.member-template-device-controls>button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:inherit;font-size:11px;font-weight:600;cursor:pointer}
.member-template-device-controls>button[aria-pressed=true]{background:var(--muted,#eaf1f7)}
.member-template-preview-stage{display:flex;justify-content:center;align-items:flex-start;min-width:0;min-height:0;padding:16px;overflow:auto;overscroll-behavior:contain;background:var(--muted,#eaf1f7);scrollbar-gutter:stable}
.member-template-preview-frame{width:100%;max-width:1080px;min-width:0;flex:none;border:1px solid var(--border,#d4e1ec);border-radius:10px;background:var(--background,#fff);overflow:hidden}
.member-template-preview-stage[data-preview-size=mobile] .member-template-preview-frame{width:375px;max-width:100%}
.member-template-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 20px;border-top:1px solid var(--border,#d4e1ec)}
.member-template-dialog-footer>p{display:flex;align-items:flex-start;gap:7px;margin:0;max-width:65ch;font-size:11px;line-height:1.6;color:var(--muted-foreground,#526a80)}
.member-template-dialog-footer>p>svg{flex:none;margin-top:2px}
.member-template-apply{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;min-height:44px;max-width:100%;padding:10px 16px;border:1px solid transparent;border-radius:8px;background:var(--primary,#066d86);color:var(--primary-foreground,#fff);font-size:12px;font-weight:650;line-height:1.5;cursor:pointer}
.member-template-readonly{font-size:11px;line-height:1.6;color:var(--muted-foreground,#526a80)}
.member-template-library button:focus-visible,.member-template-dialog button:focus-visible{outline:3px solid var(--editor-experience-accent,var(--primary,#066d86));outline-offset:3px}
.member-template-card>.etl-card-hit:focus-visible{outline-offset:-3px}
@media(hover:hover){.member-template-card:hover,.member-template-dialog-close:hover{border-color:var(--editor-experience-accent,var(--primary,#066d86))}.member-template-apply:hover{filter:brightness(.95)}}
@media(max-width:640px){.member-template-dialog{inset:8px;max-height:calc(100dvh - 16px);border-radius:12px}.member-template-dialog-header{padding:10px 12px}.member-template-preview-toolbar{align-items:flex-start;flex-direction:column;padding:10px 12px}.member-template-device-controls{width:100%}.member-template-device-controls>button{flex:1}.member-template-preview-stage{padding:8px}.member-template-dialog-footer{align-items:stretch;flex-direction:column;gap:10px;padding:11px 12px}.member-template-dialog-footer>p{font-size:10px}.member-template-apply{width:100%}}
/* A short mobile viewport uses one whole-dialog scroller so its action stays reachable. */
@media(max-height:560px){.member-template-dialog{display:block;overflow:auto}.member-template-preview-stage{overflow:visible}.member-template-preview-toolbar{flex-wrap:wrap}}
@media(forced-colors:active){.member-template-card,.member-template-dialog,.member-template-dialog-close,.member-template-apply{border:1px solid ButtonText}.member-template-device-controls>button[aria-pressed=true]{outline:2px solid Highlight}}

/* editorMemberPageSelection.css */
[data-editor-member-page-editing=true] [data-member-part]{cursor:pointer}
[data-editor-member-page-editing=true] [data-member-part]:focus-visible{outline:2px solid #0891b2;outline-offset:3px}
[data-editor-member-page-preview] .member-auth-preview-tab{min-height:44px;padding:8px 12px;border:1px solid var(--auth-border);border-radius:8px;background:transparent;color:var(--auth-text);text-transform:capitalize;font-size:13px}
[data-editor-member-page-preview] .member-auth-preview-tab[aria-pressed=true]{background:color-mix(in srgb,var(--auth-accent) 10%,var(--auth-surface));border-color:var(--auth-accent)}
[data-editor-member-page-preview] .member-auth-field{display:grid;gap:8px}
[data-editor-member-page-preview] .member-auth-field>span{font-size:.87em;font-weight:600}
[data-editor-member-page-preview] [data-member-part=security-field]{min-height:48px}
[data-editor-member-page-preview] .member-auth-preview-password-toggle{display:grid;place-items:center;position:absolute;right:0;top:0;width:44px;height:48px;padding:0!important;border:0;background:transparent;color:var(--auth-text);font-size:18px}

/* protected-toolbar-utility-equivalence-v1.css */
/* Exact scoped equivalents of the frozen protected-toolbar JSX utility classes. */
[data-editor-protected-part-toolbar]>button{min-width:2.75rem}
@media(min-width:640px){[data-editor-protected-part-toolbar] select[aria-label="Select protected page part"]{max-width:12rem}[data-editor-protected-part-toolbar] select[aria-label="Preview authentication step"]{max-width:10rem}}

/* Label spacing belongs to the protected Form, independently of its item gap. */
.member-auth-page.site-auth-custom [data-member-part="form"] :is(.member-auth-field:not(.member-auth-field-group),.member-auth-label-pair){display:grid;row-gap:var(--member-part-label-gap,8px)}
.member-auth-page.site-auth-custom [data-member-part="form"][data-member-part-style~="labelGap"] .space-y-2:has(>[data-member-part^="label-"],>[data-member-part="security-label"]){display:grid;row-gap:var(--member-part-label-gap,8px)}
.member-auth-page.site-auth-custom [data-member-part="form"][data-member-part-style~="labelGap"] .space-y-2:has(>[data-member-part^="label-"],>[data-member-part="security-label"])>*{margin-top:0!important;margin-bottom:0!important}

[data-editor-member-page-preview] [data-member-part="form"] :is(.member-auth-field:not(.member-auth-field-group),.member-auth-label-pair){display:grid;row-gap:var(--member-part-label-gap,8px)}
[data-editor-member-page-preview] .member-auth-field-group{display:grid;gap:8px}

/* Every source-owned member shell stack exposes its actual CSS gap. Nested
   owners keep the existing unequal defaults without substituting margins. */
.member-auth-page.site-auth-custom[data-auth-composition=classic] .member-auth-card{display:grid;gap:var(--member-part-gap,28px)}
.member-auth-page.site-auth-custom .member-auth-body-stack{display:grid;gap:var(--member-part-gap,28px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-header-stack{display:grid;gap:var(--member-part-gap,32px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-topline{gap:var(--member-part-gap,16px);margin-bottom:0}
.member-auth-page.site-auth-custom .member-auth-intro{gap:var(--member-part-gap,24px);margin-bottom:0}
.member-auth-page.site-auth-custom .member-auth-intro-content{display:grid;gap:var(--member-part-gap,12px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-heading-group{display:grid;gap:var(--member-part-gap,9px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-intro-content>:is(.member-auth-description),.member-auth-page.site-auth-custom .member-auth-heading-group>:is(.member-auth-eyebrow,h1){margin:0}
.member-auth-page.site-auth-custom[data-auth-composition=classic] .member-auth-scope{margin-top:0}
.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-body-stack,.member-auth-page.site-auth-custom[data-member-workspace] .member-auth-header-stack{gap:var(--member-part-gap,24px)}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-intro-content{--member-intro-heading-gap:var(--member-part-gap,12px)}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-heading-group{gap:var(--member-part-gap,var(--member-intro-heading-gap,12px))}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-template-intro{gap:var(--member-part-gap,20px)}
.member-auth-page.site-auth-custom .member-auth-story-content{display:grid;gap:var(--member-part-gap,22px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-story-heading{display:grid;gap:var(--member-part-gap,0px);min-width:0}
.member-auth-page.site-auth-custom .member-auth-story-content h2{margin:0}
.member-auth-page.site-auth-custom[data-auth-composition]:not([data-auth-composition=classic]) .member-auth-story-content{gap:var(--member-part-gap,18px)}
@media(max-width:600px){
 .member-auth-page.site-auth-custom[data-auth-composition=classic] .member-auth-card,.member-auth-page.site-auth-custom .member-auth-body-stack,.member-auth-page.site-auth-custom .member-auth-header-stack{gap:var(--member-part-gap,24px)}
 .member-auth-page.site-auth-custom .member-auth-topline{gap:var(--member-part-gap,12px)}
 .member-auth-page.site-auth-custom[data-auth-composition=classic] .member-auth-intro{gap:var(--member-part-gap,16px)}
}

/* Explicit Page Body appearance owns only implicit scene geometry. Without the
   body marker every prior desktop/mobile/template rule remains unchanged. */
[data-member-body-appearance~=background] .member-auth-page.site-auth-custom:not([data-member-part-style~=background]){background:var(--member-body-scene-background,transparent)!important}
[data-member-body-appearance~=minimum-height] .member-auth-page.site-auth-custom .member-auth-layout:not([data-member-part-style~=minHeight]){min-height:var(--member-body-scene-min-height,0px)!important}
[data-member-body-appearance~=alignment] .member-auth-page.site-auth-custom .member-auth-layout:not([data-member-part-style~=contentAlign]){margin-left:var(--member-body-layout-margin-left,auto);margin-right:var(--member-body-layout-margin-right,auto)}
[data-member-body-appearance~=alignment] .member-auth-page.site-auth-custom .member-auth-main:not([data-member-part-style~=contentAlign]){justify-content:var(--member-body-main-alignment,center)}
/* Mounted popup surfaces own the interaction layer through their exit animation.
   Keep canvas paint and hit targets quiet without hiding the anchoring toolbar.
   Hidden surfaces and tooltips are excluded; a hint cannot hide its own handle. */
body:has([data-site-editor-root]):has([data-editor-page-menu], :is([data-slot="popover-content"], [data-slot="dropdown-menu-content"], [data-slot="dropdown-menu-sub-content"], [data-slot="context-menu-content"], [data-slot="context-menu-sub-content"], [data-slot="select-content"], [data-editor-actions-menu])[data-state]:not([hidden], [hidden] *)) :is([data-editor-interaction-layer], [data-editor-body-structure-guides], [data-editor-chrome-structure-guides], [data-editor-canvas-selection-edges], [data-editor-chrome-selection-edges], [data-editor-column-select-handle], .editor-canvas-spacing, [data-editor-gap-overlay], [data-editor-spacing-hint], [data-editor-wireframe-metrics]) { visibility: hidden !important; pointer-events: none !important; }

/* Password actions retain their clearance after generic field padding rules. */
.member-auth-page.site-auth-custom[data-site-user-auth-root][data-auth-composition] .member-auth-content :is(input[data-member-part=field-password],input[data-member-part=field-confirm],input[type=password],input[autocomplete=current-password],input[autocomplete=new-password]),.member-auth-page.site-auth-custom[data-site-user-auth-root][data-auth-composition] .member-auth-content div:has(>[data-member-part=password-toggle])>input{padding-right:max(56px,min(var(--member-part-padding-right,13px),12cqi))!important}
