.access-role{border:1px solid #4e6f78;border-radius:999px;padding:5px 9px;color:#90ded2;background:#164040;letter-spacing:.07em;font-size:10px;font-weight:800;text-transform:uppercase;white-space:nowrap}
.access-role.viewer{color:#eacda5;border-color:#75684e;background:#443b30}
.project-access{font-size:11px;color:#86cabc;margin:2px 0 12px}.project-access.shared{color:#e0c898}
.team-dialog{width:min(720px,calc(100vw - 22px));max-width:none;max-height:calc(100vh - 22px);padding:0;border-radius:14px;background:#152739;color:#eaf4f5;border:1px solid #496577}
.team-shell{display:flex;flex-direction:column;max-height:calc(100vh - 22px)}
.team-shell>header{display:flex;justify-content:space-between;gap:15px;padding:20px 23px 15px;border-bottom:1px solid #344c5e}
.team-shell>header .eyebrow{margin:0 0 6px}.team-shell h2{font-size:24px;margin:0 0 6px}.team-shell>header .muted{margin:0;color:#a5bec7}
.team-list{overflow:auto;min-height:74px;max-height:38vh;padding:6px 23px}
.team-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #344c5e;font-size:12px}
.team-row:last-child{border-bottom:0}.team-initial{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:9px;background:#285264;color:#b5f3db;font-weight:800}
.team-identity{min-width:0;flex:1}.team-identity strong{display:block;font-weight:750;overflow-wrap:anywhere}.team-identity small{display:block;color:#91b3c0;margin-top:3px}
.team-badge{display:inline-block;padding:5px 8px;border-radius:6px;background:#294e51;color:#aae3d1;font-size:11px;font-weight:800}
.team-row select,.team-form select{background:#0e2031;color:#edf8f6;border:1px solid #456779;border-radius:8px;padding:9px;font-size:12px}
.team-row button{white-space:nowrap}.team-form{padding:15px 23px 18px;background:#1b3244;border-top:1px solid #344c5e}
.team-form[hidden]{display:none}.team-form h3{font-size:15px;margin:0 0 5px}.team-form p{color:#9bb9c4;line-height:1.6;font-size:11px;margin:4px 0 12px}
.team-invite{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.team-invite label{margin:0;flex:1 1 160px;font-size:11px;color:#b5cbd5}.team-invite label:first-child{flex:2 1 260px}
.team-invite input,.team-invite select{margin-top:5px;width:100%;padding:9px;border-radius:8px;background:#0e2031;color:#f2fbfb;border:1px solid #456779}
.team-invite button{min-height:37px;white-space:nowrap}.team-shell>footer{border-top:1px solid #344c5e;padding:11px 23px;display:flex;justify-content:flex-end}
@media(max-width:540px){.team-shell>header,.team-list,.team-form,.team-shell>footer{padding-left:14px;padding-right:14px}.team-row{flex-wrap:wrap}.team-identity{flex:1 1 calc(100% - 48px)}.team-row select{margin-left:46px}.team-form{max-height:35vh;overflow:auto}}
