.team-screen{max-width:1600px;margin:0 auto}.team-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:2px 0 22px}.team-hero-title{display:flex;align-items:center;gap:15px}.team-hero-icon{display:grid;place-items:center;width:53px;height:53px;flex-shrink:0;border-radius:12px;border:1px solid #613239;color:#e94f5e;background:radial-gradient(at top left,#343d57,#0b2022)}.team-hero-icon svg{width:30px;height:30px}.team-hero h1{font-size:25px;letter-spacing:-.7px;margin:0 0 6px;font-weight:700}.team-hero p{margin:0;font-size:13px;color:#aab9c6;line-height:1.5}.team-hero>.primary-button{padding:12px 20px;white-space:nowrap}.team-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.team-stat{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;padding:19px 20px;min-height:95px;border:1px solid #2c434b;border-radius:13px;background:linear-gradient(125deg,#1d2231,#111c29 70%);box-shadow:inset 0 1px #ffffff04}.team-stat:first-child{border-color:#4e292e;background:linear-gradient(115deg,#292f44,#0b2023)}.team-stat-icon{color:#e84f5e;display:flex;flex-shrink:0}.team-stat-icon svg{width:31px;height:31px}.team-stat strong{display:block;font-size:29px;line-height:1.1;letter-spacing:-.6px;color:#f2faf8}.team-stat p{font-size:12px;line-height:1.5;color:#c0d0d5;margin:6px 0 0}.team-stat>div{position:relative;z-index:1}.team-stat-art{position:absolute;right:-8px;bottom:-23px;color:#e44e5c;opacity:.09;transform:rotate(-7deg);pointer-events:none}.team-stat-art svg{width:98px;height:98px;stroke-width:1.2}.team-surface{position:relative;border:1px solid #293a49;border-radius:14px;background:linear-gradient(115deg,#111c29,#0c1520);padding:17px 19px;margin-bottom:17px;box-shadow:inset 0 1px #ffffff05}.team-surface-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 15px}.team-surface-header h2{display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:-.4px;margin:0;white-space:nowrap}.team-surface-header h2 svg{width:24px;height:24px;color:#e84f5e}.team-table-tools{display:flex;gap:13px;align-items:center;min-width:0}.team-search{display:flex;align-items:center;gap:9px;width:330px;max-width:34vw;padding:0 12px;border:1px solid #3b4c5f;border-radius:8px;background:linear-gradient(#1b293a,#15212f);box-shadow:inset 0 1px #ffffff06}.team-search svg{width:16px;height:16px;flex-shrink:0;color:#c6d2dc}.team-search input{background:transparent;border:0;outline:none;color:#dce9f1;width:100%;padding:9px 0;font-size:11px;min-width:0}.team-search input::placeholder{color:#abbac9}.team-status-filter{display:flex;align-items:center;gap:7px;padding:0 9px;background:#0f1c29;border:1px solid #425164;border-radius:8px;min-width:160px}.team-status-filter svg{width:16px;height:16px}.team-status-filter select{appearance:auto;background:transparent!important;border:0!important;font-size:11px;color:#dde9f1;padding:9px 0;width:100%;outline:none}.team-table-scroll{overflow-x:auto}.team-table{width:100%;border-collapse:separate;border-spacing:0;color:#d5e0e8;text-align:left;font-size:12px}.team-table thead{background:#192738}.team-table th{font-weight:500;font-size:11px;color:#d9e4ee;padding:9px 13px;white-space:nowrap}.team-table th:first-child{border-radius:8px 0 0 8px}.team-table th:last-child{border-radius:0 8px 8px 0}.team-table td{border-bottom:1px solid #263847;padding:10px 13px;vertical-align:middle}.team-table tr:last-child td{border-bottom:0}.team-table th:first-child{width:34%}.team-table th:nth-child(2){width:15%}.team-table th:nth-child(3){width:23%}.team-table th:nth-child(4){width:14%}.team-table th:last-child{width:14%}.team-person-cell,.team-invite-person{display:flex;align-items:center;gap:11px;min-width:150px}.team-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:50%;border:1px solid #572e33;box-shadow:0 0 0 2px #07121b;color:#dcfff1;font-size:12px;font-weight:600;background:linear-gradient(135deg,#66353c,#123d39)}.avatar-tone-1{background:linear-gradient(135deg,#214b75,#182d43);border-color:#325575}.avatar-tone-2{background:linear-gradient(135deg,#583477,#292344);border-color:#574374}.avatar-tone-3{background:linear-gradient(135deg,#836640,#3b3024);border-color:#765f42}.team-avatar i{position:absolute;bottom:-1px;right:-2px;width:10px;height:10px;border-radius:50%;border:2px solid #0d1822;background:#17e17a}.team-avatar i.access-disabled{background:#87929d}.team-person-cell strong{display:block;font-weight:600;color:#f0f5fa;font-size:12px;line-height:1.4}.team-person-cell strong em{font-style:normal;font-size:9px;padding:1px 5px;border-radius:4px;margin-left:6px;background:#204237;color:#51dd9c}.team-person-cell small{display:block;font-size:10px;color:#a3b4c3;margin-top:2px;overflow:hidden;text-overflow:ellipsis;max-width:260px}.team-role-chip{display:inline-block;padding:4px 11px;border-radius:7px;font-size:11px;line-height:1.25;background:#103b2c;color:#a9f8c6;white-space:nowrap}.role-supervisor{background:#32204f;color:#d4b0fa}.role-admin{background:#13345e;color:#c5dcff}.team-person-departments{display:flex;gap:7px;flex-wrap:wrap}.team-person-departments>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px}.team-person-departments svg{width:17px;height:17px;color:#b9cad8}.team-muted{color:#91a6b7}.team-access-badge{display:inline-flex;align-items:center;gap:7px;border-radius:20px;padding:5px 10px;font-size:11px;background:#0b3527;color:#70f2ac;white-space:nowrap}.team-access-badge i{width:7px;height:7px;border-radius:50%;background:#19e67d;box-shadow:0 0 8px #0ce58233}.team-access-badge.is-inactive{background:#27303c;color:#c1c8d0}.team-access-badge.is-inactive i{background:#9aa7b3;box-shadow:none}.team-person-actions{display:flex;gap:8px;align-items:center}.team-action{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:28px;border:1px solid #344453;border-radius:7px;background:linear-gradient(#1c2a39,#14202e);color:#d3e3ef;cursor:pointer;box-shadow:inset 0 1px #ffffff05}.team-action:hover{color:#ee5160;border-color:#6d393f;background:#23283a}.team-action svg{width:16px;height:16px}.team-person-menu{position:relative}.team-person-menu summary{list-style:none}.team-person-menu summary::-webkit-details-marker{display:none}.team-person-popover{position:fixed;z-index:1500;min-width:190px;background:#142331;border:1px solid #334b5b;border-radius:10px;padding:6px;box-shadow:0 12px 35px #0008}.team-person-popover button{display:flex;gap:8px;align-items:center;width:100%;padding:11px;border:0;background:none;color:#d8e7ef;border-radius:6px;font-size:12px;text-align:left;cursor:pointer}.team-person-popover button:hover{background:#213d43;color:#df4c5a}.team-person-popover svg{width:16px;height:16px}.team-department-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.team-department-card{border:1px solid #3a4859;background:linear-gradient(135deg,#1a2836,#15202e);border-radius:12px;padding:12px 13px;min-width:0}.team-department-card.selected{border-color:#ab3a45;background:linear-gradient(135deg,#2f374e,#12292a);box-shadow:inset 0 0 16px #e14c5b07}.team-department-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:3px;padding-bottom:12px;border-bottom:1px solid #33404c}.team-department-title{display:flex;align-items:center;gap:11px;min-width:0;padding:0;text-align:left;border:0;background:none;color:#e7f2f8;cursor:pointer}.team-department-title>span:first-child{display:flex;align-items:center;color:#ec505f}.team-department-title svg{width:26px;height:26px}.department-tone-1 .team-department-title>span:first-child{color:#ca81ff}.department-tone-2 .team-department-title>span:first-child{color:#36edb2}.department-tone-3 .team-department-title>span:first-child{color:#55ed8e}.team-department-title strong{display:block;font-size:13px}.team-department-title small{display:block;color:#a0b3c3;font-size:9px;margin-top:4px;white-space:nowrap}.team-department-card header>.icon-button{width:22px;height:23px;flex-shrink:0;padding:0}.team-department-metrics{display:grid;grid-template-columns:.8fr 1.3fr 1fr;padding-top:12px;gap:7px}.team-department-metrics>div{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;border-right:1px solid #36434f;padding-right:4px}.team-department-metrics>div:last-child{border-right:0}.team-department-metrics svg{width:14px;height:14px;color:#c7d6e0}.team-department-metrics strong{font-size:11px}.team-department-metrics small{display:block;flex-basis:100%;font-size:9px;color:#b8c8d4;white-space:nowrap}.team-outline-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border:1px solid #b83f4a;border-radius:7px;background:#1e2332;color:#d8f7e8;font-size:11px;white-space:nowrap;cursor:pointer;box-shadow:inset 0 0 8px #e14c5b0b}.team-outline-button:hover{background:#2f374e}.team-outline-button svg{width:15px;height:15px}.team-danger{border-color:#b43f4c;color:#ff8f94;background:#241a23}.team-danger:hover{background:#43212c}.team-invite-actions{display:flex;align-items:center;gap:10px}.team-invite-person .team-avatar{width:32px;height:32px;font-size:11px}.team-invite-person strong{font-size:12px;font-weight:500}.team-invite-expiry{display:inline-flex;align-items:center;gap:7px;color:#ffc751;font-size:11px;white-space:nowrap}.team-invite-expiry svg{width:15px;height:15px}.team-invite-table th:first-child{width:23%}.team-invite-table th:nth-child(2){width:25%}.team-invite-table th:nth-child(3){width:16%}.team-invite-table th:nth-child(4){width:17%}.team-invite-table th:last-child{width:19%}.team-table-empty{text-align:center;color:#8fa6b7;padding:26px 16px;font-size:12px;line-height:1.7}.team-empty-departments{display:flex;flex-direction:column;align-items:center;gap:10px;grid-column:1/-1;padding:22px;color:#8ea6b7;text-align:center}.team-empty-departments>svg{width:30px;height:30px;color:#df4c5a}.team-empty-departments strong{font-size:14px;color:#dbe8ef}.team-empty-departments p{font-size:12px;line-height:1.7;margin:0}.team-section-count{font-size:11px;background:#1a2e3a;color:#a8bdc9;padding:3px 8px;border-radius:6px}.team-selected-filter{margin-top:12px;padding:8px 12px;border-radius:7px;color:#da9ca2;background:#282f43;font-size:11px}.team-selected-filter[hidden]{display:none}.team-selected-filter button{border:0;background:none;color:#c8fbe0;font-size:11px;margin-left:12px;cursor:pointer}.team-selected-filter svg{width:12px;height:12px;vertical-align:middle}.team-modal-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0}.team-modal-stats .team-stat{padding:15px}.team-modal-stats .team-stat p{font-size:10px}.team-conversation-choice{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:14px;text-align:left;border:1px solid #314858;border-radius:9px;background:#152632;color:#e2edf5;cursor:pointer}.team-conversation-choice small{color:#90aebc;margin-left:auto;margin-right:10px}.team-conversation-choice svg{width:15px;height:15px}@media(min-width:1500px){.team-hero h1{font-size:28px}.team-table td{padding-top:12px;padding-bottom:12px}.team-search{width:390px}.team-stat{min-height:98px}}@media(max-width:1200px){.team-department-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-stat{padding:16px 13px;gap:11px}.team-stat strong{font-size:26px}.team-stat p{font-size:10px}.team-stat-icon svg{width:25px;height:25px}.team-surface-header{flex-wrap:wrap}.team-table-tools{flex:1;justify-content:flex-end}.team-search{width:300px;max-width:none}.team-table{min-width:730px}.team-invite-table{min-width:840px}}@media(max-width:700px){.team-hero{align-items:flex-start;flex-direction:column;gap:14px}.team-hero-icon{width:44px;height:44px}.team-hero h1{font-size:21px}.team-hero p{font-size:11px}.team-hero-title{gap:11px}.team-hero>.primary-button{align-self:flex-end;padding:10px 13px;font-size:12px}.team-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-stat{min-height:86px}.team-surface{padding:13px 11px}.team-surface-header h2{font-size:16px}.team-table-tools{width:100%;flex-wrap:wrap;gap:8px}.team-search{flex:1;width:auto;min-width:150px}.team-status-filter{min-width:135px}.team-department-grid{grid-template-columns:1fr}.team-department-title small{font-size:10px}.team-department-metrics small{font-size:10px}.team-modal-stats{grid-template-columns:1fr}.team-modal-stats .team-stat{min-height:70px}}

.team-layout .topbar{height:60px}.team-layout .page-content{padding:22px 32px}.team-layout .team-hero{margin-bottom:18px}.team-layout .team-stat{min-height:84px;padding:15px 18px}.team-layout .team-table td{padding-top:7px;padding-bottom:7px}@media(min-width:1201px){.team-department-grid:has(>.team-department-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.team-department-grid:has(>.team-department-card:only-child){grid-template-columns:1fr}.team-department-grid:has(>.team-department-card:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.team-layout .page-content{padding:18px 14px}.team-layout .team-stat{padding:13px}.team-layout .team-table td{padding-top:8px;padding-bottom:8px}}
.team-invite-modal{width:min(820px,calc(100vw - 32px));max-width:820px;padding:0;overflow:hidden;border:1px solid #354c5a;background:radial-gradient(at top left,#10232b,#0c1721 65%)}.team-invite-modal>header{padding:26px 30px;border-bottom:1px solid #293e4b;margin:0}.team-invite-modal>header h2{display:flex;align-items:center;gap:17px;font-size:25px}.team-invite-modal>header h2 small{display:block;font-size:14px;color:#a8bdcb;margin-top:7px;font-weight:400}.team-invite-title-icon{background:#4c282d;border-radius:14px;padding:15px;display:flex}.team-invite-title-icon svg{width:30px;height:30px}.team-invite-modal form{padding:26px 30px}.team-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.team-invite-modal .field{margin-bottom:20px}.team-invite-modal .field input,.team-invite-modal .field select{padding:14px 16px;border:1px solid #496170;background:#101f2a;border-radius:11px}.team-invite-modal .field-note{line-height:1.6}.team-invite-departments{padding:20px 0;border-top:1px solid #293e4b;margin-top:21px}.team-invite-departments h3{display:flex;align-items:center;gap:10px;font-size:17px;margin:0 0 7px}.team-invite-departments h3 svg{width:23px;height:23px}.team-invite-departments h3 small{color:#a5b8c6;font-weight:400}.team-invite-departments>p{color:#a5b8c6;margin:0 0 18px;font-size:13px}.team-department-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.team-department-options label{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #486171;border-radius:12px;cursor:pointer;background:#10202b}.team-department-options label:has(input:checked){border-color:#e94f5e;background:#242a3c;box-shadow:inset 0 0 0 1px #e94f5e}.team-department-options input{accent-color:#e94f5e;width:20px;height:20px;flex-shrink:0}.team-choice-icon{display:flex;color:#e84f5e}.team-choice-icon svg{width:25px;height:25px}.team-department-options strong{display:block;font-size:15px}.team-department-options small{display:block;color:#b4c7ce;margin-top:5px;line-height:1.4}.team-invite-modal .modal-actions{border-top:1px solid #293e4b;padding-top:22px;margin-top:14px;gap:14px}.team-invite-modal .modal-actions button{padding:13px 22px}.team-member-identity{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.team-member-identity>span:not(.team-role-chip){color:#9db4c3}@media(max-width:600px){.team-form-columns,.team-department-options{grid-template-columns:1fr}.team-invite-modal>header,.team-invite-modal form{padding:20px}.team-invite-modal>header h2{font-size:20px}.team-invite-title-icon{display:none}}
.modal.team-invite-modal{overflow-y:auto}.modal.team-invite-modal form label.field{display:grid;margin:0 0 16px}.modal.team-invite-modal form .team-department-options label{display:flex;gap:13px;margin:0}.modal.team-invite-modal form .team-department-options input{width:20px;height:20px;margin:0}.team-invite-modal .team-department-options{margin-top:4px}.team-invite-modal .team-invite-departments{padding:17px 0}.team-invite-modal form{display:block}.team-invite-modal .field-note{font-size:13px}
