.vector-auth #auth-content { min-width: 0; }
.vector-auth #auth-content p { line-height: 1.5; }
.auth-steps { padding-left: 24px; margin: 18px 0; line-height: 1.55; }
.auth-steps li { padding-left: 4px; margin-bottom: 12px; overflow-wrap: anywhere; }
.auth-steps li::marker { font-weight: 800; }
.vector-auth #auth-content h2 { font-size: 1.2rem; margin: 22px 0 10px; }
.vector-auth #auth-content form + form { margin-top: 18px; }
.vector-auth #auth-content button { cursor: pointer; font: inherit; }
.vector-auth #auth-content button:disabled { opacity: .48; cursor: default; }
.vector-auth #auth-content button:focus-visible,
.vector-auth #auth-content summary:focus-visible { outline: 3px solid #327be6; outline-offset: 3px; }
.vector-auth #auth-content input { font-size: 16px; min-width: 0; max-width: 100%; }
.vector-auth #auth-content .auth-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.vector-auth .auth-check input[type=checkbox] { flex: 0 0 20px; width: 20px; height: 20px; min-height: 20px; margin: 2px 0; padding: 0; }
.vector-auth #auth-notice { margin-top: 16px; border: 1px solid #e2c08a; background: #fff8e8; color: #714617; border-radius: 12px; padding: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.vector-auth .auth-method { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #dce3eb; }
.vector-auth .auth-method div { min-width: 0; }
.vector-auth .auth-method small { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.vector-auth .auth-secondary, .vector-auth .auth-danger { border: 1px solid #cbd6e3; border-radius: 12px; padding: 11px 14px; background: #fff; color: #194275; min-height: 42px; }
.vector-auth .auth-danger { border-color: #ddadb1; color: #aa2933; }
.vector-auth .auth-hint { font-size: 13px; color: #b7c9e3; }
.vector-auth #auth-content hr { border: 0; border-top: 1px solid #dce3eb; margin: 22px 0; }
.vector-auth #auth-content details { margin: 18px 0; }
.vector-auth #auth-content summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.vector-auth #auth-content .submit { margin-top: 12px; }
.vector-auth #auth-settings > button { margin-top: 12px; margin-right: 8px; }
.vector-auth .auth-provider-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.vector-auth #auth-content .auth-provider-choice { padding: 0; margin: 0; border: 0; box-shadow: none; background: none; }
.vector-auth .auth-provider { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 76px; border: 1px solid #3675bd; border-radius: 16px; padding: 14px; color: #f0f7ff; background: #102b51; text-decoration: none; font: inherit; font-weight: 700; }
.vector-auth .auth-provider img { flex: 0 0 32px; object-fit: contain; }
.vector-auth .auth-provider small { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; }
.vector-auth .auth-provider:focus-visible { outline: 3px solid #80c7ff; outline-offset: 3px; }
@media(max-width:360px) { .vector-auth .auth-provider-grid { gap: 8px; } .vector-auth .auth-provider { padding: 11px; gap: 8px; } }

/* Invitation and account choice share Vector's established login shell. */
.vector-auth .auth-kicker{color:#72bfff;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.vector-auth .worker-invite-intro{margin:24px 0 20px}.vector-auth #auth-content .worker-invite-intro h2{margin:9px 0 12px;font-size:24px;line-height:1.25}
.vector-auth .worker-invite-intro p{margin:0;color:#b8cdeb}.vector-auth .worker-invite-form{margin:0}
.vector-auth .worker-invite-fields{display:grid;gap:18px}.vector-auth #auth-content .worker-invite-fields label{display:grid;gap:8px;margin:0}
.vector-auth .worker-invite-fields small{font-size:12px;line-height:1.5;color:#9db6d8;font-weight:400}.vector-auth .worker-invite-fields input{min-height:48px}
.vector-auth #worker-invite-error:empty{display:none}.vector-auth #worker-invite-error:not(:empty){margin:18px 0 8px;padding:12px;border-radius:12px;border:1px solid #e3ab68;background:#342519;color:#ffe0af;overflow-wrap:anywhere}
.vector-auth .worker-invite-note{display:flex;align-items:flex-start;gap:12px;border:1px solid #234f87;border-radius:16px;background:#092044;padding:16px;margin:20px 0}
.vector-auth .worker-invite-note img{flex:0 0 28px}.vector-auth .worker-invite-note p{margin:0;font-size:14px;color:#c9dcf6}
.vector-auth .auth-cabinet-list{display:grid;gap:12px}.vector-auth #auth-content .auth-cabinet-choice{display:block;width:100%;text-align:left;padding:16px;border:1px solid #3068aa;border-radius:14px;background:#0b2a50;color:#f0f7ff;line-height:1.5}
.vector-auth .auth-cabinet-choice strong,.vector-auth .auth-cabinet-choice span{display:block}.vector-auth .auth-cabinet-choice span{margin-top:5px;font-size:13px;color:#b8cdeb}
@media(max-width:480px){.vector-auth #auth-content .worker-invite-form{padding:20px 16px;border-radius:20px}.vector-auth .worker-invite-fields{gap:20px}.vector-auth #auth-content .worker-invite-intro h2{font-size:22px}}

.auth-secondary-action { margin-top:24px; padding-top:16px; border-top:1px solid #274970; }
.auth-secondary-action .secondary-submit { background:#132747; box-shadow:none; color:#b7cbe4; border:1px solid #3b597e; }

.vector-auth #auth-content .auth-open-bot { display:block; width:100%; box-sizing:border-box; text-align:center; text-decoration:none; }

/* The login shell already has vector-login-glass: auth keeps both classes. */
.vector-auth.vector-login-glass #auth-content .auth-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.vector-auth.vector-login-glass #auth-content .auth-provider-choice{padding:0;margin:0;border:0;box-shadow:none;background:none}
.vector-auth.vector-login-glass #auth-content .auth-provider{display:flex;align-items:center;justify-content:flex-start;gap:14px;min-height:76px;width:100%;padding:16px;border:1px solid #aebfd6;border-radius:16px;background:rgba(251,253,255,.8);color:#173653;font-family:inherit;font-size:1.0625rem;line-height:1.35;font-weight:700;text-decoration:none;box-sizing:border-box}
.vector-auth.vector-login-glass #auth-content .auth-provider img{display:block;flex:0 0 36px;width:36px;height:36px;object-fit:contain;border-radius:0;background:transparent}
.vector-auth.vector-login-glass #auth-content .auth-provider span{color:inherit;text-align:left;overflow-wrap:anywhere}
.vector-auth.vector-login-glass #auth-content .auth-provider small{color:#475a76;font-size:.8125rem;line-height:1.4}
.vector-auth.vector-login-glass #auth-content .auth-provider:focus-visible{outline:3px solid #1664d9;outline-offset:3px}
.vector-auth.vector-login-glass #auth-content .auth-hint{color:#475a76}
@media(max-width:520px){.vector-auth.vector-login-glass #auth-content .auth-provider-grid{grid-template-columns:1fr}}

/* Auxiliary auth pages share the accepted light glass shell and control sizes. */
.vector-auth.vector-login-glass #auth-content .auth-cabinet-list{display:grid;gap:12px;padding:0;margin:20px 0;border:0;background:none;box-shadow:none}
.vector-auth.vector-login-glass #auth-content .auth-cabinet-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;width:100%;min-height:84px;padding:16px 18px;border:1px solid #aebfd6;border-radius:16px;background:rgba(251,253,255,.8);color:#173653;text-align:left;font:inherit;line-height:1.45;white-space:normal}
.vector-auth.vector-login-glass #auth-content .auth-cabinet-choice strong{display:block;font-size:1.0625rem;font-weight:750;color:#173653;overflow-wrap:anywhere}
.vector-auth.vector-login-glass #auth-content .auth-cabinet-choice span{display:block;margin:0;font-size:.875rem;font-weight:400;color:#475a76;overflow-wrap:anywhere}
.vector-auth.vector-login-glass #auth-content :is(.auth-secondary,.auth-danger,.secondary-submit){min-height:44px;padding:12px 16px;border-radius:12px;border:1px solid #aebfd6;background:rgba(251,253,255,.85);color:#174d91;font:inherit;font-weight:700;line-height:1.4;white-space:normal;text-align:center;box-sizing:border-box}
.vector-auth.vector-login-glass #auth-content .auth-danger{color:#9f2936;border-color:#d7b3bb}
.vector-auth.vector-login-glass #auth-content :is(.submit,.auth-open-bot){display:flex;align-items:center;justify-content:center;min-height:48px;padding:13px 18px;border-radius:13px;font:inherit;font-weight:750;line-height:1.4;text-align:center;color:#fff;background:linear-gradient(145deg,#1688ff,#1664df);border:1px solid #1688ff;box-sizing:border-box}
.vector-auth.vector-login-glass :is(.auth-kicker){color:#235785}
.vector-auth.vector-login-glass :is(.worker-invite-intro p,.worker-invite-fields small,.auth-method small){color:#475a76}
.vector-auth.vector-login-glass .worker-invite-note{border-color:#bfccdd;background:#f8fbff}
.vector-auth.vector-login-glass .worker-invite-note p{color:#334b68}
