.tg-login { display:grid;gap:14px;min-width:0; }
.tg-login p { margin:0;line-height:1.65;overflow-wrap:anywhere; }
.tg-login-account { font-weight:650; }
.tg-login-guidance { font-size:13px; }
.tg-login-progress { min-height:1.5em;color:var(--muted);font-size:12px; }
.tg-login-actions { display:flex;flex-wrap:wrap;gap:9px; }
.tg-login > .button { justify-self:start; }
.tg-login-error { color:var(--text);border:1px solid rgba(255,102,117,.6);border-radius:9px;padding:10px 12px;background:var(--surface-2);font-size:13px; }
.tg-login-error[hidden],.tg-login [hidden] { display:none; }
.tg-login-qr { display:flex;justify-content:center;min-height:48px; }
.tg-login-qr svg { display:block;width:min(288px,100%);height:auto;max-height:288px;border:8px solid white;border-radius:6px;shape-rendering:crispEdges; }
.tg-login[aria-busy="true"] { cursor:progress; }
.tg-login .button { white-space:normal; }
@media (max-width:480px) { .tg-login-actions > .button { flex:1 1 100%; } }
