.xg-auth-shell .xg-password-policy,.xg-auth-shell .xg-login-safety{font-size:12px;line-height:1.7;color:var(--xg-muted);margin:0 0 16px}
.xg-auth-shell .xg-password-policy.is-invalid{color:#e9a6a0}
.xg-auth-shell .xg-login-safety{margin:13px 0 0;padding:10px 12px;border:1px solid var(--xg-line);border-radius:10px;background:var(--xg-soft)}
.xg-recovery-kicker{display:flex;align-items:center;gap:8px;color:var(--xg-accent);font-size:12px;letter-spacing:.06em;margin-bottom:16px;font-weight:650}
.xg-recovery-kicker svg{width:20px;height:20px}
.xg-auth-shell .xg-recovery-card .xg-auth-heading h1{font-size:28px;line-height:1.3;margin-bottom:10px}
.xg-auth-shell .xg-recovery-card .xg-auth-heading p{font-size:14px;line-height:1.8;margin:0 0 22px}
.xg-recovery-steps{display:grid;gap:16px;margin:0 0 20px}
.xg-recovery-steps>div{display:flex;gap:12px;align-items:flex-start}
.xg-recovery-steps>div>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--xg-line);border-radius:9px;flex:none;background:var(--xg-soft);font-size:11px;color:var(--xg-accent)}
.xg-recovery-steps p{margin:0;min-width:0}
.xg-recovery-steps strong{display:block;font-size:14px;line-height:1.5;color:var(--xg-ink)}
.xg-recovery-steps small{display:block;font-size:12px;line-height:1.8;margin-top:4px;color:var(--xg-muted)}
.xg-recovery-warning{padding:13px 14px;border:1px solid var(--xg-line);border-left:3px solid var(--xg-accent);border-radius:10px;background:var(--xg-soft);margin:0 0 20px}
.xg-recovery-warning strong{font-size:13px;color:var(--xg-accent)}
.xg-recovery-warning p{font-size:12px;line-height:1.8;color:var(--xg-muted);margin:5px 0 0}
.xg-auth-shell .xg-recovery-contact{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:14px 12px;min-height:48px;border-radius:11px;font-size:14px;text-decoration:none}
.xg-recovery-login{display:block;text-align:center;margin:15px 0 0;padding:5px;color:var(--xg-accent);font-size:13px}
.xg-recovery-self{border-top:1px solid var(--xg-line);margin:20px 0 0;padding-top:16px}
.xg-recovery-self summary{font-size:13px;color:var(--xg-muted);line-height:1.7;cursor:pointer}
.xg-recovery-self[open] summary{margin-bottom:12px;color:var(--xg-accent)}
.xg-recovery-code{display:grid;grid-template-columns:minmax(0,1fr) 112px;align-items:end;gap:10px;margin-bottom:16px}
.xg-recovery-code .btn{height:48px;padding:8px;font-size:12px}
body:has(.xg-auth-shell) .swal2-popup.swal2-toast{max-width:calc(100vw - 24px);box-sizing:border-box}
body:has(.xg-auth-shell) .swal2-popup.swal2-toast .swal2-html-container{font-size:14px!important;line-height:1.7!important;text-align:left!important;overflow-wrap:anywhere}
@media(max-width:760px){.xg-auth-shell .xg-recovery-card .xg-auth-heading h1{font-size:24px}.xg-auth-shell .xg-recovery-card{padding:22px 18px}.xg-auth-shell .xg-recovery-card .xg-auth-heading p{margin-bottom:18px;font-size:13px}.xg-recovery-steps{gap:14px}.xg-recovery-warning{padding:11px 12px}.xg-recovery-code{grid-template-columns:minmax(0,1fr) 100px}.xg-recovery-self .form-control{font-size:16px!important}}

/* Restrained surface depth shared by login, registration and verified recovery. */
.xg-auth-shell .xg-auth-card{border:1px solid color-mix(in srgb,var(--xg-line),var(--xg-accent) 14%);background:linear-gradient(155deg,rgba(255,255,255,.035),transparent 42%),var(--xg-panel);box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 18px 45px rgba(0,0,0,.15)}
.xg-auth-shell .xg-auth-field{gap:8px}
.xg-auth-shell .xg-auth-field label{font-size:13px;font-weight:550;letter-spacing:.015em;transition:color .18s}
.xg-auth-shell .xg-auth-field .form-control{height:50px;min-height:50px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--xg-line),var(--xg-accent) 10%);border-radius:11px;background:linear-gradient(155deg,rgba(255,255,255,.035),rgba(255,255,255,0) 65%),var(--xg-input);box-shadow:inset 0 1px 2px rgba(0,0,0,.14),0 1px 0 rgba(255,255,255,.035);color:var(--xg-ink);font-size:16px;caret-color:var(--xg-accent);transition:border-color .18s,box-shadow .18s,background .18s}
.xg-auth-shell .xg-auth-field .form-control::placeholder{font-size:13px;color:var(--xg-muted);opacity:.88}
.xg-auth-shell .xg-auth-field:focus-within label{color:var(--xg-accent)}
.xg-auth-shell .xg-auth-field .form-control:focus{border-color:var(--xg-accent);background:linear-gradient(155deg,rgba(255,255,255,.045),transparent 65%),var(--xg-input);box-shadow:0 0 0 3px color-mix(in srgb,var(--xg-accent) 9%,transparent),inset 0 1px 1px rgba(255,255,255,.035);outline:none}
.xg-auth-shell .xg-auth-field .form-control[aria-invalid="true"]{border-color:#d29b95}
.xg-auth-shell .xg-auth-field input:-webkit-autofill{-webkit-text-fill-color:var(--xg-ink);box-shadow:inset 0 0 0 1000px var(--xg-input);caret-color:var(--xg-accent)}
.xg-auth-shell .xg-password-input{padding-right:62px!important}
.xg-auth-shell .xg-password-toggle{right:7px;bottom:7px;height:36px;width:44px;border:1px solid transparent;border-radius:8px;font-size:12px}
.xg-auth-shell .xg-password-toggle:hover{border-color:var(--xg-line);background:var(--xg-soft);color:var(--xg-accent)}
.xg-auth-shell .xg-auth-tabs{padding:5px;gap:5px;border-radius:13px;background:var(--xg-input);box-shadow:inset 0 1px 3px rgba(0,0,0,.15);border-color:var(--xg-line)}
.xg-auth-shell .xg-auth-tabs a{min-height:38px;border-radius:9px;font-size:14px;font-weight:600}
.xg-auth-shell .xg-auth-tabs a[aria-current="page"]{background:linear-gradient(145deg,rgba(223,193,139,.09),transparent),var(--xg-panel);border-color:color-mix(in srgb,var(--xg-line),var(--xg-accent) 35%);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 2px 5px rgba(0,0,0,.12);color:var(--xg-accent)}
.xg-auth-shell .xg-auth-card .btn-gradient{min-height:48px;border:1px solid #d8bd8a;border-radius:11px;background:linear-gradient(110deg,#e4cda5 0%,#f0ddb8 38%,#dec294 70%,#cfaf7c 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -1px 0 rgba(95,67,28,.16),0 4px 12px rgba(0,0,0,.15);color:#252a32;font-size:15px;font-weight:700;letter-spacing:.12em;transition:filter .18s,box-shadow .18s}
.xg-auth-shell .xg-auth-card .btn-gradient:hover{filter:brightness(1.04);box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 5px 16px rgba(0,0,0,.18)}
.xg-auth-shell .xg-auth-card .btn-gradient:active{filter:brightness(.97);box-shadow:inset 0 1px 3px rgba(95,67,28,.16)}
.xg-auth-shell .xg-password-policy{font-size:13px;color:var(--xg-muted)}
.xg-auth-shell .xg-recovery-card .xg-auth-heading p{font-size:15px;color:var(--xg-ink);opacity:.88;line-height:1.75}
.xg-recovery-steps strong{font-size:16px;color:var(--xg-ink)}
.xg-recovery-steps small{font-size:14px;color:var(--xg-ink);opacity:.88;line-height:1.8}
.xg-recovery-warning{background:var(--xg-input);border-color:var(--xg-line);border-left-color:var(--xg-accent)}
.xg-recovery-warning strong{font-size:14px}
.xg-recovery-warning p{font-size:14px;color:var(--xg-ink);line-height:1.8;opacity:.9}
.xg-auth-shell .xg-recovery-contact{font-size:15px;letter-spacing:0}
.xg-recovery-login,.xg-recovery-self summary{font-size:14px}
@media(hover:hover){.xg-auth-shell .xg-auth-field .form-control:hover:not(:focus){border-color:color-mix(in srgb,var(--xg-line),var(--xg-accent) 32%)}}
@media(max-width:760px){.xg-auth-shell .xg-auth-field .form-control{height:48px;min-height:48px}.xg-auth-shell .xg-password-toggle{bottom:6px}.xg-auth-shell .xg-recovery-card .xg-auth-heading p{font-size:14px}.xg-auth-shell:has(.xg-recovery-card) .xg-auth-meta{display:none}.xg-recovery-steps{gap:18px}.xg-auth-shell .xg-recovery-card{padding:24px 19px}.xg-auth-shell .xg-auth-heading h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){.xg-auth-shell .xg-auth-field .form-control,.xg-auth-shell .xg-auth-field label,.xg-auth-shell .xg-auth-card .btn-gradient{transition:none}}
