.team-auth-card{max-width:560px;margin:36px auto;padding:30px;border:1px solid var(--border,#dde4eb);border-radius:12px;background:#fff}.team-auth-card form,.team-user-invite form{display:grid;gap:18px}.team-auth-card label,.team-user-row label,.team-user-invite label{display:grid;gap:7px}.team-auth-result{color:#a52430;margin:10px 0 0;min-height:1.3em}.team-user-row small{display:block;font-size:.75rem;margin-top:5px}.team-user-row{display:grid;grid-template-columns:minmax(190px,1.5fr) minmax(130px,1fr) minmax(120px,1fr) 65px;gap:16px;align-items:center;background:#fff;padding:20px;margin:12px 0;border:1px solid var(--border,#dde4eb);border-radius:8px}.team-user-row .actions,.team-user-row .team-auth-result{grid-column:1/-1}.team-user-row .team-active{display:flex;align-items:center;gap:7px}.team-active input{width:auto}.team-user-invite{max-width:640px;padding:20px;margin-top:28px;border:1px solid var(--border,#dde4eb);border-radius:8px;background:#fff}.team-invite-link{width:100%;overflow-wrap:anywhere;word-break:break-all}@media(max-width:800px){.team-user-row{grid-template-columns:1fr}.team-auth-card{padding:20px;margin:15px auto}}


/* Compact profile and settings controls, matching the workspace branding. */
.team-signed-in header{display:flex;height:auto;min-height:74px;align-items:center;flex-wrap:nowrap;gap:20px}
.team-signed-in header>span:first-child{flex:1;min-width:0}
.team-signed-in header .local{flex:none;margin-left:auto;white-space:nowrap}
.team-signed-in #team-account{flex:none;min-width:0}
.team-account-tools{position:relative;display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.team-account-tools .team-icon-button{width:44px;height:44px;min-height:44px;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:#586570;transition:background .15s,border-color .15s}
.team-account-tools .team-icon-button:hover,.team-account-tools .team-icon-button[aria-expanded=true]{background:#f0f3f5;border-color:#e3e8ed}
.team-account-tools .team-icon-button:focus-visible{outline:2px solid var(--gold,#bba36d);outline-offset:3px}
.team-icon-button svg{width:24px;height:24px}
.team-profile-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--navy,#142b3c);color:#fff;font-size:14px;font-weight:600;letter-spacing:.2px;line-height:1;flex:none}
.team-account-tools .team-avatar-button:hover,.team-account-tools .team-avatar-button[aria-expanded=true]{border-color:var(--gold,#bba36d);background:#f8f6ef}
.team-account-popover{position:absolute;top:calc(100% + 12px);right:0;width:min(320px,calc(100vw - 32px));padding:12px;border:1px solid #e0e6ec;border-radius:16px;background:#fff;color:var(--ink,#203143);box-shadow:0 14px 44px #182d4126,0 3px 10px #182d410f;z-index:30;letter-spacing:0;font-size:14px;line-height:1.5}
.team-account-popover[hidden]{display:none}
.team-popover-heading{padding:4px 8px 10px;font-size:12px;font-weight:600;color:#71808c;text-align:left}
.team-profile-popover{display:flex;flex-direction:column;align-items:center;padding:16px 20px 18px;gap:7px}
.team-profile-popover .team-popover-heading{align-self:stretch}
.team-profile-avatar-large{width:60px;height:60px;font-size:23px;margin:4px 0 6px}
.team-profile-name{font-size:18px;line-height:1.4;text-align:center;overflow-wrap:anywhere;max-width:100%}
.team-profile-email{font-size:13px;color:#677786;overflow-wrap:anywhere;text-align:center;max-width:100%}
.team-profile-role{display:inline-block;font-size:11px;border-radius:20px;padding:4px 10px;background:#f6f2e7;color:#7a6738;margin-top:3px}
.team-profile-company{font-size:12px;color:#8794a0;margin:7px 0 0;text-align:center}
.team-account-tools .team-menu-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;padding:12px;border:0;border-radius:9px;background:transparent;text-align:left;text-decoration:none;gap:2px;min-height:44px;font-size:14px;color:var(--ink,#203143)}
.team-account-tools .team-menu-item:hover,.team-account-tools .team-menu-item:focus-visible{background:#f2f5f7}
.team-account-tools .team-menu-item small{display:block;margin:0;font-size:11px;color:#8793a0;font-weight:400}
.team-menu-divider{height:1px;background:#e7ebef;margin:7px 4px}
.team-account-tools .team-menu-logout{color:#9b4141}
@media(max-width:800px){.team-signed-in header{display:flex;min-height:68px;padding:12px 16px;gap:12px}.team-signed-in header>span:first-child{flex:1;grid-column:auto;grid-row:auto}.team-signed-in header .local{display:none}.team-signed-in #team-account{grid-column:auto;grid-row:auto}.team-account-tools{gap:6px}}
