#teamDesign{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.45}#teamDesign *,#memberAccess *{box-sizing:border-box}.previewNotice{display:flex;flex-direction:column;gap:4px;font:13px/1.45 system-ui;color:#555e66;background:#eef0f2;border-radius:8px;padding:12px 14px;margin:16px 0}.previewNotice a{color:#343b42;text-decoration:underline;align-self:flex-start;margin-top:4px}.teamCard{background:#fff;border:1px solid #dde0e4;border-radius:13px;padding:22px;margin-bottom:16px}.teamIntro{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.teamIntro>svg{width:42px;height:42px;flex:none;fill:none;stroke:#454c52;stroke-width:1.7}.teamIntro h2{font-size:29px;line-height:1.2;margin:0 0 8px;font-weight:700;color:#171c23}.teamIntro p{margin:0;color:#656c74;font-size:16px}.teamCard h3{font-size:20px;font-weight:700;margin:0 0 14px;color:#20252b}.teamCard .teamHint,#memberAccess .teamHint{font-size:13px;color:#69717a;line-height:1.5;margin:10px 0}.teamMemberRow{display:flex;align-items:center;gap:14px;border:0!important;border-bottom:1px solid #e5e7ea!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;width:100%;padding:18px 0!important;text-align:left;min-height:76px;color:#20252b!important;cursor:pointer}.teamMemberRow:last-child{border-bottom:0!important}.teamAvatar{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;background:#edf0f2;color:#515a63;font-size:16px;font-weight:650}.teamIdentity{flex:1;min-width:0}.teamIdentity strong{display:block;font-size:16px;font-weight:550}.teamIdentity small{display:block;font-size:12px;color:#717981;margin-top:3px;overflow-wrap:anywhere}.teamRoleBadge{flex:none;background:#eef0f2;border-radius:20px;padding:5px 12px;font-size:13px;color:#343b42}.teamChevron{font-size:22px;color:#7b838b}.teamMemberRow:focus-visible{outline:2px solid #4c5965;outline-offset:3px}.teamCard label,#memberAccess label:not(.permissionRow){display:block;font-size:15px;color:#303840;margin:16px 0 7px}.teamCard input,#memberAccess input:not([type=checkbox]),.teamCard select,#memberAccess select{display:block;width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfd4da;border-radius:7px;font:inherit;background:#fff;color:#303840;box-shadow:none}.teamPrimary,.teamSecondary{min-height:46px;padding:11px 16px;border-radius:7px;font:600 15px system-ui;cursor:pointer}.teamPrimary{background:#3b4248!important;border:1px solid #3b4248!important;color:white!important}.teamSecondary{background:#fff!important;border:1px solid #ccd2d8!important;color:#3b4248!important}#teamInviteForm>.teamPrimary{width:100%;margin-top:14px}.teamLegend{display:flex;gap:16px;align-items:center;font-size:17px;margin:13px 0}.teamCheck{display:grid;place-items:center;background:#3b4248;color:white;border-radius:6px;width:30px;height:30px;font-size:23px}.teamLibraryNote{display:flex;gap:14px;padding:18px;background:#eceff2;border-radius:12px;color:#606872;font-size:14px}.teamLibraryNote svg{width:25px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}.teamTextButton{border:0;background:transparent;color:#57616b;padding:10px 0;min-height:44px;text-decoration:underline;cursor:pointer}#previewStatus{font-size:14px;color:#414b54;min-height:20px}#memberAccess{width:min(560px,calc(100vw - 24px));max-width:560px;max-height:calc(100dvh - 24px);padding:0!important;border:1px solid #dce1e5;border-radius:14px;background:#fff;color:#252c33;box-shadow:0 16px 60px #0003;font-family:system-ui,sans-serif}#memberAccess::backdrop{background:#17202970}#accessForm{display:flex;flex-direction:column;max-height:calc(100dvh - 26px)}.accessHead{display:flex;justify-content:space-between;gap:12px;padding:20px 22px 16px;border-bottom:1px solid #e3e6e9}.teamEyebrow{font-size:11px;letter-spacing:.09em;color:#777f88;margin:0 0 5px}.accessHead h2{font-size:23px;margin:0 0 5px}.accessHead #memberEmail{font-size:13px;color:#6b747c;margin:0;overflow-wrap:anywhere}.teamIconButton{border:0;background:none;color:#535d67;font-size:29px;width:44px;height:44px;flex:none;cursor:pointer}.accessScroll{padding:0 22px 18px;overflow-y:auto;overscroll-behavior:contain}#customAccess{border:0;padding:0;margin:22px 0 0;min-width:0}#customAccess legend{font-size:17px;font-weight:650}#memberAccess .permissionRow{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:16px 0;margin:0;border-bottom:1px solid #e9ecee;font-size:14px;color:#343d46}#memberAccess .permissionRow strong{font-weight:550}#memberAccess .permissionRow small{display:block;color:#737c85;font-size:12px;margin-top:4px}#memberAccess input[type=checkbox]{width:22px;height:22px;accent-color:#3b4248;flex:none;cursor:pointer}.accessFooter{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid #e3e6e9;background:#fafbfc}.ownerAccess{font-size:14px;line-height:1.6;border-radius:8px;background:#f0f2f4;padding:14px}.teamRemove{border:0;background:transparent;color:#b42d36!important;min-height:44px;font:500 14px system-ui;padding:8px 0;cursor:pointer}#memberError{color:#b42d36;font-size:13px}#teamDesign [hidden],#memberAccess [hidden]{display:none!important}#assignmentPicker{background:#f5f6f7;border-radius:8px;padding:5px 12px;margin-top:12px}.teamInviteRow{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e6e9ec;margin-top:14px;padding-top:14px;font-size:13px;overflow-wrap:anywhere}.teamInviteRow button{background:none;border:0;color:#a02c35;min-height:44px;cursor:pointer}@media(max-width:480px){#previewMain{padding:0 12px 24px}.teamCard{padding:18px}.teamIntro{gap:12px}.teamIntro h2{font-size:26px}.teamIntro p{font-size:14px}.teamMemberRow{gap:10px}.teamAvatar{width:40px;height:40px;font-size:14px}.teamRoleBadge{padding:5px 9px;font-size:12px}.teamIdentity strong{font-size:15px}.teamIdentity small{font-size:11px}.teamCard h3{font-size:19px}.accessHead{padding:16px}.accessScroll{padding:0 16px 14px}.accessFooter{padding:12px 16px}.accessFooter .teamPrimary{flex:1}.teamIntro>svg{width:35px;height:35px}}

html body #teamPanel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}#teamDesign [hidden],#memberAccess [hidden]{display:none!important}#teamPanel .teamCard input,#teamPanel .teamCard select{max-width:100%}#teamPanel .teamMemberRow .teamIdentity{overflow-wrap:anywhere}#teamInviteForm .teamPrimary{width:100%;margin-top:16px}#teamPanel #memberHint{margin-bottom:0}
#restrictedWorkspace{max-width:880px;margin:0 auto;padding:18px 16px 44px;font:15px/1.5 system-ui;color:#303840;background:#f7f8f9;min-height:100vh}#restrictedWorkspace .pageTitleBar{position:relative!important;inset:auto!important;width:100%!important;transform:none!important}#restrictedWorkspace .memberToolbar,#restrictedWorkspace nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}#restrictedWorkspace nav [aria-current=page]{background:#3b4248!important;color:white!important}#restrictedWorkspace .memberToolbar>span{flex:1}#restrictedWorkspace .memberCard{padding:18px;border:1px solid #dce1e5;border-radius:12px;background:#fff;margin:16px 0}#restrictedWorkspace h2{font-size:20px;margin:0 0 12px}#restrictedWorkspace details{border-top:1px solid #e4e7ea;padding:14px 0}#restrictedWorkspace summary{font-weight:600;cursor:pointer}#restrictedWorkspace label{display:block;margin:12px 0}#restrictedWorkspace input,#restrictedWorkspace textarea{width:100%;display:block;background:white;color:#303840;border:1px solid #cbd1d7;border-radius:6px;padding:10px;font:inherit;margin-top:6px}#restrictedWorkspace img{display:block;max-width:100%;height:auto;margin:10px 0}#restrictedWorkspace .memberMuted{color:#717a84;font-size:13px}#restrictedWorkspace button{min-height:44px}#restrictedWorkspace p{overflow-wrap:anywhere}#restrictedWorkspace [role=status]{font-size:14px}body:has(>#restrictedWorkspace){overflow:auto!important;background:#f7f8f9!important}

#teamJoin{width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:0;border:1px solid #dde0e4;border-radius:13px}#teamJoin::backdrop{background:#17202970}#teamJoin .teamCard{margin:0;border:0}#teamJoin .accessFooter{padding:16px 0 0;margin-top:16px}#teamProfileForm>.teamPrimary{margin-top:16px}#teamJoinError{color:#b42d36}


.teamCard .teamAccessIntro{margin:0 0 18px}


/* Team cards and controls follow the shared PaintDesk corners. */
html body #teamDesign .teamCard,html body #teamJoin .teamCard,html body #memberAccess .ownerAccess{border-radius:6px!important}
html body #teamProfileForm>.teamPrimary,html body #memberAccess #saveMemberName{margin-top:20px!important}
