/* Public identity only. Host pages regain their normal layout after leaving auth. */
body:has(.auth64){background:#f5f6f7;color:#25323b;font-family:Gilroy,Arial,sans-serif;scrollbar-color:#b7c0c5 #f5f6f7}
main.company-page:has(>.company-panel>.auth64),#client-app:has(.auth64){box-sizing:border-box;width:100%;max-width:512px;margin:clamp(28px,7vh,72px) auto 0;padding:0 16px max(40px,env(safe-area-inset-bottom))}
main.company-page:has(>.company-panel>.auth64)>.company-brand{justify-content:center;gap:10px;margin:0 0 32px;font-size:27px;line-height:1.2;color:#25323b}
main.company-page:has(>.company-panel>.auth64)>.company-brand img{width:36px;height:36px}
.company-panel:has(>.auth64),#client-app .paper.auth:has(>.auth64){box-sizing:border-box;width:100%;max-width:none;margin:0;padding:40px;border:0;border-radius:16px;background:#fff;box-shadow:none;color:#25323b}
.company-panel:has(>.auth64)>h1,#client-app .paper.auth:has(>.auth64)>h1{margin:0 0 12px;font:700 36px/1.08 Gilroy,Arial,sans-serif;letter-spacing:-.03em;overflow-wrap:anywhere;text-wrap:balance}
.company-panel:has(>.auth64)>#company-error:empty,#client-app .paper.auth:has(>.auth64)>#company-error:empty,#client-app:has(.auth64)>#error:empty{display:none}
#client-app:has(.auth64)>.client-header{justify-content:center;min-height:44px;gap:12px;margin:0 0 8px}
#client-app:has(.auth64)>.client-header .brand{font-size:27px;line-height:1.2;color:#25323b}
#client-app:has(.auth64)>.client-header .brand img{width:36px;height:36px;margin-right:10px}
#client-app:has(.auth64)>.client-header [data-action=login]{min-height:44px;margin:0;padding:8px 10px;border:0;background:transparent;font:500 14px/1.3 Gilroy,Arial,sans-serif;color:#44535d}
#client-app:has(.auth64[data-auth64-mode=login])>.client-header [data-action=login]{display:none}
#client-app:has(.auth64)>.client-location{justify-content:center;margin:0 0 28px;padding:0;border:0;background:transparent;text-align:center;color:#5c6973;font:500 14px/1.4 Gilroy,Arial,sans-serif}
.auth64,.auth64 *{box-sizing:border-box}
.auth64{min-width:0;font:500 16px/1.45 Gilroy,Arial,sans-serif;color:#25323b}
.auth64 :is(button,input){font-family:inherit;letter-spacing:normal}
.auth64 ::selection{background:#d8f76a;color:#25323b}
.auth64 .auth64-intro{margin:0 0 32px;color:#5c6973;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.auth64-contact{display:block;margin-top:8px;color:#25323b;font-weight:700;overflow-wrap:anywhere}
.auth64-form{display:grid;gap:12px;margin:0;min-width:0}
.auth64-field{position:relative;display:grid;min-width:0}
.auth64-field>label{position:absolute;z-index:2;top:10px;left:16px;right:16px;display:block;margin:0;color:#5c6973;font-size:12px;line-height:16px;font-weight:500;cursor:text;transition:top 160ms ease-out,font-size 160ms ease-out,color 160ms ease-out}
.auth64-field:has(input:placeholder-shown):not(:focus-within)>label{top:24px;font-size:16px}
.auth64-field:has(.auth64-reveal)>label{right:56px}
.auth64-input{--auth64-field-height:64px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;min-height:var(--auth64-field-height);border:0;border-radius:12px;background:transparent}
.auth64-input::before{content:"";position:absolute;top:0;left:0;right:0;box-sizing:border-box;height:var(--auth64-field-height);border:1px solid transparent;border-radius:12px;background:#f1f3f5;pointer-events:none;transition:border-color 160ms ease-out,background-color 160ms ease-out}
.auth64-input:focus-within::before{border-color:#70834d;background:#fff;outline:2px solid #70834d;outline-offset:2px}
.auth64-field:focus-within>label{color:#445731}
.auth64 .auth64-input>input{grid-column:1/-1;grid-row:1;position:relative;z-index:1;display:block;box-sizing:border-box;width:100%;min-width:0;height:var(--auth64-field-height);min-height:var(--auth64-field-height);margin:0;padding:28px 16px 9px;border:0;border-radius:12px;outline:0;background:transparent;box-shadow:none;color:#25323b;caret-color:#536b30;font:500 18px/1.4 Gilroy,Arial,sans-serif}
.auth64 .auth64-input>input:focus-visible{outline:0;box-shadow:none}
.auth64 .auth64-input:has(>.auth64-reveal)>input{padding-right:56px}
.auth64-input>input::placeholder{color:#65737d;opacity:1}
.auth64-input:has(>input:user-invalid)::before,.auth64-input:has(>.m001-input-invalid)::before{border-color:#b66055;background:#fff2ef}
.auth64-input:has(>input:user-invalid):focus-within::before,.auth64-input:has(>.m001-input-invalid):focus-within::before{outline-color:#b66055}
.auth64 .auth64-input>input.m001-input-invalid{outline:0!important;background:transparent!important;box-shadow:none!important}
.auth64 .auth64-input>.m001-field-error{grid-column:1/-1;grid-row:2;position:relative;min-width:0;margin:0;padding:8px 2px 0;background:transparent;color:#9b3c30;font:500 13px/1.4 Gilroy,Arial,sans-serif;overflow-wrap:anywhere}
.auth64 .auth64-reveal{grid-column:2;grid-row:1;position:relative;z-index:3;display:grid;place-items:center;justify-self:end;width:44px;height:44px;min-height:44px;margin-right:6px;padding:0;border:0;border-radius:9px;background:transparent;color:#5c6973;cursor:pointer;transition:background-color 160ms ease-out,color 160ms ease-out}
.auth64-reveal .icon{display:block;width:20px;height:20px;flex:none}
.auth64 .auth64-primary{display:flex;justify-content:center;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-height:56px;margin:12px 0 0;padding:15px 20px;border:0;border-radius:12px;background:#d8f76a;box-shadow:none;color:#25323b;font-size:17px;font-weight:700;line-height:1.4;white-space:normal;cursor:pointer;transition:background-color 180ms ease-out,opacity 160ms ease-out,transform 160ms ease-out}
.auth64-submit-arrow{width:20px;height:20px;flex:none}
.auth64-links{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-top:20px}
.auth64[data-auth64-mode=login]>.auth64-links{gap:12px;margin-top:28px;padding-top:24px;border-top:1px solid #e6eaed}
.auth64 .auth64-new{margin:0;text-align:center;color:#5c6973;font-size:14px;line-height:1.4}
.auth64 .auth64-link{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;margin:0;padding:10px 8px;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#44535d;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;text-align:center;text-decoration:none;text-underline-offset:3px;cursor:pointer;transition:background-color 160ms ease-out,color 160ms ease-out}
.auth64 .auth64-create{min-height:52px;background:#f1f3f5;color:#25323b;font-size:16px}
.auth64-password-help{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:-12px}
.auth64-password-help .auth64-link{padding-right:0;padding-left:12px}
.auth64 .auth64-note{margin:2px 0 0;color:#5c6973;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.auth64 .auth64-error{margin:4px 0 0;padding:14px 16px;border:0;border-radius:12px;background:#fff2ef;color:#9b3c30;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.auth64 .auth64-input>input[name=code]{font-variant-numeric:tabular-nums;font-size:22px;letter-spacing:.24em;padding-top:25px}
.auth64 [hidden]{display:none!important}
.auth64 :is(button,a):focus-visible{outline:2px solid #70834d;outline-offset:3px}
.auth64-error:focus-visible{outline:2px solid #b66055;outline-offset:3px}
.auth64 button:disabled{opacity:.55;cursor:wait;transform:none}
.auth64-form[aria-busy=true] .auth64-primary{cursor:wait}
@media(hover:hover){
 .auth64 .auth64-primary:hover:not(:disabled){background:#c9eb55}
 .auth64 :is(.auth64-link,.auth64-reveal):hover:not(:disabled){background:#e9edf0;color:#25323b}
 #client-app:has(.auth64)>.client-header [data-action=login]:hover{background:#e9edf0}
}
.auth64 .auth64-primary:active:not(:disabled){transform:translateY(1px)}
@media(max-width:540px){
 main.company-page:has(>.company-panel>.auth64),#client-app:has(.auth64){margin-top:24px;padding-right:24px;padding-left:24px}
 main.company-page:has(>.company-panel>.auth64)>.company-brand{justify-content:flex-start;margin-bottom:48px}
 .company-panel:has(>.auth64),#client-app .paper.auth:has(>.auth64){padding:0;border-radius:0;background:transparent}
 .company-panel:has(>.auth64)>h1,#client-app .paper.auth:has(>.auth64)>h1{font-size:34px}
 .auth64-input::before{background:#fff}
 .auth64 .auth64-create{background:#e9edf0}
 #client-app:has(.auth64)>.client-header{justify-content:flex-start}
 #client-app:has(.auth64)>.client-location{justify-content:flex-start;text-align:left;margin-bottom:32px}
 .auth64[data-auth64-mode=login]>.auth64-links{margin-top:28px}
}
@media(max-width:359px){main.company-page:has(>.company-panel>.auth64),#client-app:has(.auth64){padding-right:20px;padding-left:20px}.company-panel:has(>.auth64)>h1,#client-app .paper.auth:has(>.auth64)>h1{font-size:30px}}
@media(max-height:600px){main.company-page:has(>.company-panel>.auth64),#client-app:has(.auth64){margin-top:16px}main.company-page:has(>.company-panel>.auth64)>.company-brand{margin-bottom:24px}.auth64 .auth64-intro{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.auth64 *,.auth64 *::before,.auth64 *::after{animation:none!important;transition-duration:0s!important}.auth64 .auth64-primary:active:not(:disabled){transform:none}}
