.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; }
