.customer-auth{display:grid;place-items:center;min-height:calc(100svh - 170px);padding:32px 20px;color:#1d1d1f}
.customer-auth-card{width:min(100%,440px);padding:32px;border:1px solid #e5e5e8;border-radius:28px;background:#fff;box-shadow:0 12px 45px #15151a06}
.customer-auth-brand{font-size:26px;font-weight:750;letter-spacing:-1.3px;margin:0 0 28px}.customer-auth h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:0 0 12px}
.customer-auth-subtitle,.customer-auth-hint{color:#75757c;font-size:13px;line-height:1.7;margin:0 0 18px}.customer-auth-status{font-size:13px;line-height:1.6;color:#62626b;min-height:20px;margin:18px 0}
.customer-auth-form{display:grid;gap:16px}.customer-auth-field{display:grid;gap:8px;font-size:13px;font-weight:600}.customer-auth input{box-sizing:border-box;width:100%;height:46px;padding:11px 14px;border:1px solid #dedee5;border-radius:12px;background:#fafafa;font:inherit;font-weight:400;color:#1d1d1f}
.customer-auth-status:empty{display:none}.customer-auth-form .customer-auth-status{margin:0;padding:10px 12px;border-radius:10px;background:#f4f4f7;overflow-wrap:anywhere}.customer-auth-status[data-kind="error"]{color:#a52a2a;background:#fff1f0}.customer-auth-status[data-kind="success"]{color:#236346;background:#edf7f1}
.customer-auth input:focus{outline:2px solid #137ef4;outline-offset:2px}.customer-auth input:disabled{color:#86868e;background:#f4f4f6}.customer-auth button{font:inherit;cursor:pointer}.customer-auth-submit{height:46px;background:#1d1d1f;color:white;border:0;border-radius:12px;font-size:14px;font-weight:600}.customer-auth-submit:disabled{cursor:default;opacity:.4}
.customer-auth-code{height:40px;border:1px solid #dfdfe5;border-radius:10px;color:#137ef4;background:white;font-size:13px}.customer-auth-code:disabled{color:#888;cursor:default}.customer-auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:22px}.customer-auth-links button{background:none;color:#137ef4;border:0;padding:3px;font-size:12px}.customer-auth button:focus-visible{outline:2px solid #137ef4;outline-offset:3px}.customer-auth .customer-auth-hint{margin:0}
.customer-auth-consent{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:10px;line-height:1.7;font-size:12px;color:#62626b}
.customer-auth .customer-auth-consent input[type="checkbox"]{width:18px;height:18px;min-width:18px;margin:2px 0 0;padding:0;border-radius:4px;accent-color:#137ef4}
.customer-auth-consent-text{min-width:0;overflow-wrap:anywhere}.customer-auth-consent a{color:#137ef4;text-underline-offset:3px}.customer-auth-consent a:focus-visible{outline:2px solid #137ef4;outline-offset:3px;border-radius:2px}
@media(max-width:480px){.customer-auth{padding:24px 14px;min-height:calc(100svh - 130px)}.customer-auth-card{padding:24px 20px;border-radius:22px}.customer-auth h1{font-size:26px}}

/* Keep the complete registration form visible without shrinking or hiding its content. */
.layout.instack-theme[data-route="register"]{min-height:0}
.layout.instack-theme[data-route="register"]>.main{padding-bottom:8px}
.layout[data-route="register"]>.main>.topbar{padding-top:6px}
.layout[data-route="register"] .customer-auth{min-height:0;padding:6px 0}
.layout[data-route="register"] .customer-auth-card{width:min(100%,620px);padding:14px 24px;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:18px;align-items:baseline;border-radius:24px}
.layout[data-route="register"] .customer-auth-brand{font-size:23px;line-height:1.2;margin:0 0 6px}
.layout[data-route="register"] .customer-auth h1{font-size:26px;line-height:1.2;margin:0 0 6px;text-align:right}
.layout[data-route="register"] .customer-auth-subtitle{grid-column:1/-1;font-size:13px;line-height:1.5;margin:0 0 8px}
.layout[data-route="register"] .customer-auth-form{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.layout[data-route="register"] .customer-auth-field{min-width:0;min-height:0;gap:4px;font-size:13px;line-height:1.25}
.layout[data-route="register"] .customer-auth input:not([type="checkbox"]){height:40px;min-height:0;padding:8px 12px}
.layout[data-route="register"] .customer-auth-hint,
.layout[data-route="register"] .customer-auth-consent,
.layout[data-route="register"] .customer-auth-status,
.layout[data-route="register"] .customer-auth-submit{grid-column:1/-1}
.layout[data-route="register"] .customer-auth-hint{font-size:12px;line-height:1.45}
.layout[data-route="register"] .customer-auth-consent{min-height:0;gap:8px;font-size:12px;line-height:1.5}
.layout[data-route="register"] .customer-auth-consent input[type="checkbox"]{min-height:18px;max-height:18px}
.layout[data-route="register"] .customer-auth-code{height:40px;min-height:0;align-self:end;font-size:13px}
.layout[data-route="register"] .customer-auth-submit{height:40px;min-height:0;font-size:14px}
.layout[data-route="register"] .customer-auth-form .customer-auth-status{min-height:0;padding:7px 10px;font-size:12px;line-height:1.45}
.layout[data-route="register"] .customer-auth-links{grid-column:1/-1;gap:12px;margin-top:8px}
body:has(.layout[data-route="register"]) #policy-footer-host>.restoration-footer{display:block;margin:0 auto;padding:8px 32px 12px;font-size:12px;line-height:1.5}
body:has(.layout[data-route="register"]) #policy-footer-host>.restoration-footer p{margin:6px 0 0;font-size:12px;line-height:1.5}
body:has(.layout[data-route="register"]) #policy-footer-host .legal-footer-links{gap:6px 14px}
@media(max-width:600px){
  .layout[data-route="register"] .customer-auth{padding:6px 0}
  .layout[data-route="register"] .customer-auth-card{padding:14px;column-gap:12px;border-radius:20px}
  .layout[data-route="register"] .customer-auth-brand{font-size:20px}
  .layout[data-route="register"] .customer-auth h1{font-size:22px}
  .layout[data-route="register"] .customer-auth-form{gap:6px 12px}
  .layout[data-route="register"] .customer-auth input:not([type="checkbox"]){font-size:16px}
  body:has(.layout[data-route="register"]) #policy-footer-host>.restoration-footer{padding:8px 20px}
}
