.cp-team-notice { display: flex; align-items: center; gap: 10px; color: #6d5b34; background: #fff7e9; padding: 12px 16px; border-radius: 6px; font-size: 13px; }
.cp-team-invite { margin: 24px 0 32px; border-bottom: 1px solid var(--cp-line); }
.cp-team-invite > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 16px 0; color: var(--cp-primary); font-weight: 550; }
.cp-team-invite > summary > .cp-icon:last-child { margin-left: auto; }
.cp-team-section { margin: 30px 0; }
.cp-team-section > header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cp-team-section > header h2 { margin: 0; }
.cp-team-section > header > span { color: var(--cp-muted); font-size: 13px; }
.cp-team-list { border-top: 1px solid var(--cp-line); }
.cp-team-member { background: #fff; border-bottom: 1px solid var(--cp-line); }
.cp-team-member > summary { display: grid; grid-template-columns: 34px minmax(120px,1fr) 135px minmax(75px,160px) 20px; align-items: center; gap: 16px; padding: 20px 16px; cursor: pointer; list-style: none; }
.cp-team-member > summary::-webkit-details-marker, .cp-team-invite > summary::-webkit-details-marker { display: none; }
.cp-team-member[open] > summary > .cp-icon:last-child, .cp-team-invite[open] > summary > .cp-icon:last-child { transform: rotate(180deg); }
.cp-team-person { min-width: 0; }
.cp-team-person strong { display: block; font-weight: 550; overflow-wrap: anywhere; }
.cp-team-person small { display: block; margin-top: 4px; color: var(--cp-muted); overflow-wrap: anywhere; }
.cp-team-role { font-size: 12px; color: #545f73; }
.cp-team-badge { justify-self: start; color: #175ccc; background: #edf3ff; padding: 5px 8px; border-radius: 4px; font-size: 11px; overflow-wrap: anywhere; }
.cp-team-badge.inactive { background: #f0f2f5; color: #687186; }
.cp-team-badge.invited, .cp-avatar.invited { color: #91611b; background: #fff4e1; }
.cp-team-form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; padding: 20px 0 24px; max-width: 760px; }
.cp-team-member > .cp-team-form { padding: 6px 20px 24px 66px; }
.cp-team-form label, .cp-team-invitation-actions label { display: grid; gap: 7px; font-size: 13px; font-weight: 450; min-width: 0; }
.cp-team-form input, .cp-team-form select, .cp-team-invitation-actions input { font-weight: 400; min-width: 0; width: 100%; }
.cp-team-form label.cp-team-active { display: flex; align-items: center; gap: 10px; align-self: end; min-height: 44px; }
.cp-team-active input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--cp-primary); }
.cp-team-form-actions, .cp-team-form .full { grid-column: 1 / -1; }
.cp-team-form-actions { display: flex; justify-content: flex-start; }
.cp-team-invitation-actions { padding: 4px 20px 24px 66px; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.cp-team-invitation-actions label { width: 240px; max-width: 100%; }
.cp-team-invitation-actions .button { min-height: 44px; }
.cp-team-empty, .cp-team-protected { color: var(--cp-muted); font-size: 13px; padding: 16px 0; }
.cp-team-protected { padding: 0 20px 20px 66px; }
.cp-account-security { max-width: 760px; }
.cp-account-security > header { display: flex; align-items: center; gap: 14px; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--cp-line); }
.cp-account-security > header h2 { margin: 0; }
.cp-account-security > header p { margin: 4px 0 0; color: var(--cp-muted); font-size: 13px; }
.cp-login-footer a { display: flex; align-items: center; gap: 8px; }
.cp-login .flash { font-size: 13px; margin: 20px 0; }
.cp-login p, .cp-login .flash { overflow-wrap: anywhere; }
.cp-login small { color: var(--cp-muted); line-height: 1.5; }
@media (max-width: 700px) {
    .cp-team-member > summary { grid-template-columns: 34px minmax(0,1fr) 20px; gap: 8px 12px; padding: 16px 10px; }
    .cp-team-person { grid-column: 2; }
    .cp-team-role { grid-column: 2; }
    .cp-team-badge { grid-column: 2; }
    .cp-team-member > summary > .cp-icon:last-child { grid-column: 3; grid-row: 1; }
    .cp-team-form { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .cp-team-member > .cp-team-form, .cp-team-invitation-actions { padding: 8px 12px 20px; }
    .cp-team-invitation-actions label { width: 100%; }
    .cp-team-notice { align-items: flex-start; }
}
