[data-access-denied=true]{display:none!important}#teamDialog{width:min(980px,calc(100vw - 2rem))}#teamDialog .team-tabs{display:flex;flex-wrap:wrap;gap:.5rem;padding:.5rem;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);margin:1rem 0}#teamDialog .team-tabs .button{flex:1;min-width:120px;min-height:44px;width:auto;background:transparent;border-color:transparent}#teamDialog .team-tabs .button[aria-pressed=true]{background:var(--surface);border-color:var(--border);color:var(--accent)}#teamDialog [hidden],.team-role-editor [hidden]{display:none!important}#teamDialog .team-person>div.team-person-actions{display:flex;flex:none;gap:.5rem;flex-wrap:wrap}#teamDialog .team-person strong{font-size:1rem}#teamDialog .team-role-label{font-weight:650;color:var(--accent)}#teamDialog .team-roles-panel{display:grid;gap:1rem}#teamDialog .team-role-hint{margin:0;font-size:.875rem;line-height:1.6}#teamDialog .project-team-heading h3,#teamDialog .project-team-heading h4{margin:0}#teamDialog .project-team-heading p{margin:.4rem 0 0}#teamDialog .project-team-heading .button{width:auto;flex:none;min-height:44px}.team-role-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.team-role-card,.team-roles-empty{border:1px solid var(--border);border-radius:var(--radius-sm);padding:1rem;min-width:0;background:var(--surface)}.team-role-card p{font-size:.875rem;line-height:1.6;margin:.6rem 0;overflow-wrap:anywhere}.team-role-card h4{overflow-wrap:anywhere;font-size:1rem}.team-role-card>strong{color:var(--accent)}.team-role-card details{margin-top:1rem;border-top:1px solid var(--border);padding-top:.5rem}.team-role-card summary{cursor:pointer;min-height:44px;align-content:center;font-weight:650}.team-roles-empty{grid-column:1/-1;display:grid;justify-items:start;gap:.6rem;background:var(--surface-2)}.team-roles-empty h4,.team-roles-empty p{margin:0}#teamDialog #teamManage{border-top:0;margin-top:0;padding-top:0}#teamDialog #teamAccountSecurity{justify-self:start;width:auto}.team-invite-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.team-assignment-preview{padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.team-assignment-preview:empty{display:none}.team-assignment-preview>p{margin:0}.team-invite-form select,.team-role-form select{min-height:44px;min-width:0;width:100%}.team-role-editor{width:min(1220px,calc(100vw - 2rem));padding:0}.team-role-editor .team-role-form{display:grid;gap:1.25rem;padding:1.5rem}.team-role-form label{display:grid;gap:.4rem;font-weight:650;min-width:0}.team-role-form input:not([type=checkbox]){width:100%;min-width:0;min-height:44px}.team-role-form .project-dialog-head{align-items:start}.team-role-form .team-role-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem}.team-role-form .team-preset-picker{display:flex;gap:.65rem;align-items:end}.team-preset-picker label{flex:1}.team-role-form .team-preset-picker .button{width:auto;min-height:44px;flex:none}.team-role-form .team-role-hint{margin:0;font-size:.875rem;line-height:1.6}.team-platform-picker{display:grid;gap:.8rem;min-width:0;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2)}.team-platform-picker h3{margin:0;font-size:1rem}.team-platform-picker p{margin:.4rem 0 0;font-size:.85rem;line-height:1.6;color:var(--muted)}.team-platform-tabs{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.team-role-form .team-platform-tabs .button{width:auto;min-width:0;min-height:44px;flex:0 1 auto;white-space:normal;text-align:center;justify-content:center;overflow-wrap:anywhere;background:var(--surface);border-color:var(--border)}.team-role-form .team-platform-tabs .button[aria-selected=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent);font-weight:750}.team-platform-picker .team-platform-scope{margin:0;color:var(--text);font-size:.8rem}#teamRoleMatrix{min-width:0;border-radius:var(--radius-sm)}#teamRoleMatrix:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.team-role-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:1.25rem;align-items:start}.team-role-preview{position:sticky;top:0;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);min-width:0}.team-role-preview h3{margin:0 0 1rem;font-size:1rem}.team-role-preview>p{font-size:.8rem;line-height:1.6;margin:.85rem 0 0}.team-access-summary>strong{display:block;color:var(--accent);font-size:1rem}.team-access-summary>p{font-size:.85rem;line-height:1.6;margin:.5rem 0}.team-access-tools{list-style:none;padding:0;margin:.85rem 0;display:grid;gap:.65rem}.team-access-tools li{display:grid;gap:.2rem;font-size:.85rem}.team-access-tools small{font-size:.75rem;line-height:1.5;color:var(--muted)}.team-data-summary{display:grid;gap:.65rem;padding-top:.85rem;border-top:1px solid var(--border);margin:1rem 0 0;font-size:.8rem}.team-data-summary>div{display:flex;justify-content:space-between;gap:.6rem}.team-data-summary dt{color:var(--muted)}.team-data-summary dd{margin:0;font-weight:700;text-align:end}.team-data-summary dd[data-enabled=true]{color:var(--accent)}.team-access-group{margin:0 0 1.25rem;min-width:0}.team-access-group>h3{margin:0 0 .65rem;font-size:.875rem;color:var(--muted)}.team-access-function{border:1px solid var(--border);border-radius:var(--radius-sm);margin:.6rem 0;overflow:hidden}.team-access-function>summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1rem;min-height:56px;cursor:pointer;list-style:none;background:var(--surface-2)}.team-access-function>summary::-webkit-details-marker{display:none}.team-access-function>summary:after{content:"+";font-size:1.2rem;font-weight:500;color:var(--muted)}.team-access-function[open]>summary:after{content:"−"}.team-access-function>summary>span{display:grid;flex:1;gap:.3rem;min-width:0}.team-access-function>summary strong{font-size:.9rem}.team-access-function>summary small{color:var(--muted);font-size:.8rem}.team-access-function>summary em{font-style:normal;color:var(--muted);font-size:.75rem;text-align:end}.team-permission-matrix{--platform-count:1;padding:.5rem}.team-permission-matrix[data-platform-count="2"]{--platform-count:2}.team-permission-matrix[data-platform-count="3"]{--platform-count:3}.team-permission-matrix[data-platform-count="4"]{--platform-count:4}.team-permission-matrix[data-platform-count="5"]{--platform-count:5}.team-permission-matrix[data-platform-count="6"]{--platform-count:6}.team-permission-matrix[data-platform-count="7"]{--platform-count:7}.team-permission-matrix[data-platform-count="8"]{--platform-count:8}.team-permission-head,.team-permission-row{display:grid;grid-template-columns:minmax(112px,1.4fr) minmax(0,4fr);gap:.4rem;align-items:center;min-width:0}.team-permission-head{padding:.4rem;color:var(--muted);font-size:.68rem;font-weight:650;overflow-wrap:anywhere}.team-permission-head>div,.team-permission-cells{display:grid;grid-template-columns:repeat(var(--platform-count),minmax(0,1fr));gap:.25rem;text-align:center;align-items:center}.team-permission-row{border:0;border-top:1px solid var(--border);margin:0;padding:.35rem .4rem}.team-permission-row>legend{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.team-permission-label{display:grid;gap:.2rem;padding:.3rem 0;min-width:0}.team-permission-label strong{font-size:.8rem;font-weight:550}.team-permission-label small{font-size:.75rem;color:var(--muted);line-height:1.4}.team-role-form .team-permission-cells label{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;min-width:0;cursor:pointer;border-radius:8px;font-weight:500}.team-permission-cells label:hover{background:var(--surface-2)}.team-permission-cells label:has(input:checked){background:color-mix(in srgb,var(--accent) 9%,transparent)}.team-role-form .team-permission-cells input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:none;margin:0;accent-color:var(--accent)}.team-permission-cells label>span{display:none}.team-permission-unavailable{color:var(--muted);font-size:.875rem;min-height:44px;align-content:center}.team-permission-unavailable small{display:none}.team-role-footer{display:grid;gap:1rem;border-top:1px solid var(--border);padding-top:1rem}.team-role-footer>p{margin:0;font-size:.875rem;line-height:1.6}.team-role-footer>label{max-width:420px}.team-role-footer .dialog-actions{display:flex;justify-content:end;flex-wrap:wrap;gap:.6rem}.team-role-footer .dialog-actions .button{width:auto;min-height:44px}.team-role-editor :is(input,select,button,summary):focus-visible,#teamDialog :is(input,select,button,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:1050px){.team-role-layout{grid-template-columns:minmax(0,1fr)}.team-role-preview{position:static}.team-role-preview .team-access-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.team-role-preview .team-data-summary{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.5rem}}@media(max-width:760px){.team-platform-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.team-role-form .team-platform-tabs .button{width:100%}.team-platform-picker{padding:.85rem}.team-role-form .team-preset-picker .button{white-space:normal;max-width:170px}.team-permission-matrix[data-platform-count="1"] .team-permission-cells{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px){.team-role-cards,.team-role-form .team-role-intro,.team-invite-fields{grid-template-columns:minmax(0,1fr)}.team-permission-head{display:none}.team-permission-row{grid-template-columns:minmax(0,1fr);padding:.65rem .35rem;gap:.35rem}.team-permission-cells{grid-template-columns:repeat(3,minmax(0,1fr));text-align:start;gap:.4rem}.team-role-form .team-permission-cells label{justify-content:start;padding:.35rem .4rem;border:1px solid var(--border)}.team-permission-cells label>span{display:inline;font-size:.75rem;overflow-wrap:anywhere}.team-permission-unavailable small{display:inline;margin-inline-start:.4rem}.team-permission-label strong{font-size:.875rem}.team-access-function>summary{padding:.8rem}.team-role-editor .team-role-form{padding:1rem}.team-role-preview .team-access-tools{grid-template-columns:minmax(0,1fr)}}@media(max-width:480px){#teamDialog,.team-role-editor{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}#teamDialog{padding:1rem}.team-permission-cells{grid-template-columns:repeat(2,minmax(0,1fr))}.team-role-preview .team-data-summary{grid-template-columns:minmax(0,1fr)}.team-role-form .team-preset-picker{flex-wrap:wrap}.team-preset-picker label{flex-basis:100%}.team-role-form .team-preset-picker .button{width:100%}.team-role-footer>label{max-width:none}.team-role-footer .dialog-actions .button{flex:1;min-width:120px}#teamDialog .team-person>div.team-person-actions{flex-basis:100%;justify-content:end}.team-role-card .project-team-heading{align-items:stretch}.team-role-card .project-team-heading .button{align-self:start}}
