/* Only the project invitation panel and its own dialogs/toasts. */
.ua-root .ua-invitations{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}.ei-root{--ei-primary:#08635e;--ei-muted:#60758a;--ei-border:#e3eaf0;color:#10243a;font-family:inherit;font-size:14px;line-height:1.5;min-width:0}.ei-root *{box-sizing:border-box}.ei-root h3,.ei-root h4,.ei-root p{margin:0}.ei-icon{display:inline-flex;justify-content:center;align-items:center;flex:0 0 20px;width:20px;height:20px}.ei-icon svg{display:block;width:100%;height:100%}.ua-root .ei-layout{display:grid!important;grid-template-columns:minmax(0,2.05fr) minmax(290px,1fr)!important;align-items:start;gap:16px}.ei-left{display:flex;flex-direction:column;gap:16px;min-width:0}.ei-card{min-width:0;border:1px solid #e3eaf0;border-radius:16px;background:#fff;padding:20px 17px;box-shadow:0 6px 24px #10243a0e}.ei-root h3{font-size:19px;line-height:1.4;letter-spacing:-.3px}.ei-description{color:#60758a;font-size:12px;margin:4px 0 20px!important;line-height:1.6}.ei-root .ei-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px}.ei-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dbe5ec;border-radius:9px;background:white;color:#10243a;font:inherit;font-size:12px;font-weight:700;min-height:40px;cursor:pointer;white-space:normal}.ei-primary{color:#fff;border-color:#08635e;background:linear-gradient(135deg,#08635e,#00766b);box-shadow:0 3px 8px #08635e12}.ei-button:disabled{opacity:.55;cursor:default}.ei-root .ei-search{display:flex!important;align-items:center;gap:8px;min-width:150px;flex:1 1 180px;max-width:250px;height:40px;border:1px solid #dbe5ec;border-radius:9px;padding:0 10px;color:#60758a;margin-left:auto}.ei-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;font:inherit;font-size:12px;padding:8px 0!important;color:#10243a}.ei-search:focus-within{outline:2px solid #1769d24d;outline-offset:1px}.ei-state-filter{border:1px solid #dbe5ec;border-radius:9px;background:#fff;color:#10243a;font:inherit;font-size:12px;min-height:40px;padding:8px;min-width:135px;max-width:100%}.ei-status-message{font-size:12px;color:#60758a;line-height:1.6;margin:6px 0!important}.ei-status-message:empty{display:none}.ei-status-message[role=alert]{color:#b83745;background:#fff3f5;border-radius:9px;padding:12px}.ei-root .ei-table-wrap{border:0!important;overflow:visible;max-width:100%;min-width:0}.ei-root .ei-table{width:100%;min-width:0!important;border-collapse:collapse;table-layout:fixed;font-size:12px}.ei-table th{padding:11px 8px;background:#f3f7fa;color:#10243a;text-align:left;white-space:normal!important;overflow-wrap:anywhere;font-size:11px}.ei-table th:first-child{width:28%;border-radius:9px 0 0 0}.ei-table th:nth-child(2){width:19%}.ei-table th:nth-child(3){width:18%}.ei-table th:nth-child(4),.ei-table th:nth-child(5){width:13%}.ei-table th:last-child{width:9%;border-radius:0 9px 0 0}.ei-table td{padding:14px 8px;border-bottom:1px solid #edf2f6;vertical-align:middle;overflow-wrap:anywhere}.ei-person{display:flex;align-items:center;gap:10px;min-width:0}.ei-person>div{min-width:0}.ei-person strong,.ei-person small{display:block;overflow-wrap:anywhere}.ei-person strong{font-size:12px;font-weight:600}.ei-person small{font-size:11px;color:#60758a;margin-top:2px}.ei-avatar{display:inline-flex;justify-content:center;align-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:linear-gradient(140deg,#57c3ae,#8cd6c2);color:#fff;font-weight:700;font-size:15px}.ei-avatar-inspector{background:linear-gradient(140deg,#6572ee,#8b77ef)}.ei-avatar-specialist{background:linear-gradient(140deg,#ee8daa,#f6afc0)}.ei-avatar-admin{background:linear-gradient(140deg,#eab356,#edc67f)}.ei-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:6px 8px;border-radius:10px;font-size:10px;font-weight:600;line-height:1.5;white-space:normal}.ei-badge .ei-icon{width:15px;height:15px;flex-basis:15px}.ei-inspector{background:#e5f2ff;color:#1769d2}.ei-specialist{background:#f1e8ff;color:#7547d8}.ei-admin{background:#fff1da;color:#a5610b}.ei-neutral{background:#e8f4f3;color:#08635e}.ei-success{background:#ddf5eb;color:#078258}.ei-pending{background:#fff1da;color:#b86b08}.ei-expired{background:#edf1f5;color:#64748b}.ei-restricted{background:#fde8ec;color:#c72f43}.ei-date{display:block;color:#526b82;font-size:11px}.ei-date>span,.ei-date>small{display:block}.ei-date small{color:#60758a;font-size:11px}.ei-actions{position:relative}.ei-actions>summary{display:flex;justify-content:center;align-items:center;list-style:none;width:34px;height:38px;border:1px solid #e1e9f0;border-radius:10px;background:#fff;cursor:pointer;color:#355366}.ei-actions>summary::-webkit-details-marker{display:none}.ei-menu{position:absolute;right:0;top:42px;z-index:25;width:200px;border:1px solid #e3eaf0;background:#fff;border-radius:11px;padding:7px;box-shadow:0 10px 28px #10243a25}.ei-menu .ei-button{justify-content:flex-start;text-align:left;width:100%;border:0;padding:9px;min-height:40px}.ei-empty{text-align:center;color:#60758a;padding:30px 16px!important;line-height:1.7}.ei-info{display:flex;align-items:flex-start;gap:14px;padding:20px;border-radius:14px;border:1px solid #dcebf9;background:linear-gradient(115deg,#e5f2ff,#eff7ff);color:#476b8e}.ei-info>.ei-icon{width:30px;height:30px;flex-basis:30px;border-radius:50%;padding:5px;background:#d6eaff;color:#1769d2}.ei-info h4{font-size:14px;color:#173e65;margin:0 0 8px}.ei-info ul{padding-left:19px;font-size:12px;margin:0;line-height:1.7}.ei-root .ei-new>header{display:flex;align-items:center;gap:14px;margin-bottom:22px;min-width:0}.ei-new>header>.ei-icon{width:48px;height:48px;flex-basis:48px;padding:11px;border-radius:13px;background:#e3f6f1;color:#08635e}.ei-new>header p{font-size:12px;color:#60758a;margin-top:3px}.ei-root .ei-new form{display:flex;flex-direction:column;min-width:0}.ei-new form>label{display:block;font-size:13px;font-weight:600;margin:15px 0 6px;color:#10243a}.ei-new form>label:first-child{margin-top:0}.ei-new input,.ei-new select,.ei-new textarea{width:100%;min-width:0;max-width:100%;min-height:42px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;color:#10243a;font:inherit;font-size:13px;padding:10px 12px;box-sizing:border-box}.ei-new input::placeholder,.ei-new textarea::placeholder{color:#8493a0;opacity:1}.ei-new textarea{height:125px;resize:vertical}.ei-new textarea:disabled{background:#f9fbfc;color:#8493a0;cursor:not-allowed}.ei-counter{display:block;text-align:right;color:#77899a;margin-top:5px;font-size:11px}.ei-note-help,.ei-review-help{display:block;font-size:11px;color:#60758a;line-height:1.6;margin-top:6px}.ei-new .ei-form-feedback{color:#b83745;font-size:12px}.ei-form-feedback:empty{display:none}.ei-new form>.ei-button{width:100%;margin-top:20px;min-height:44px;font-size:14px}.ei-review-help{text-align:center}.ei-root button:focus-visible,.ei-root select:focus-visible,.ei-root input:focus-visible,.ei-root textarea:focus-visible,.ei-root summary:focus-visible{outline:3px solid #1769d24d;outline-offset:2px}.ei-updating>.ei-icon{animation:ei-turn 1s linear infinite}@keyframes ei-turn{to{transform:rotate(360deg)}}.ei-root .sc-mobile-scroll:before{display:none!important}
.ei-detail-dialog,#email-invitation-dialog{width:min(94vw,540px);max-width:94vw;max-height:90dvh;border:1px solid #e3eaf0;border-radius:16px;padding:22px;background:#fff;color:#10243a;box-shadow:0 16px 50px #10243a33}.ei-detail-dialog::backdrop,#email-invitation-dialog::backdrop{background:#10243a66}.ei-detail-dialog h3{margin:0 0 18px}.ei-detail-dialog h4{margin:0}.ei-detail-dialog p{color:#60758a;overflow-wrap:anywhere}.ei-detail-dialog .ei-badge{margin-right:6px}.ei-detail-dialog dt{font-weight:600;margin-top:12px}.ei-detail-dialog dd{margin:3px 0 0}.ei-detail-dialog .ei-button{margin-top:20px}.ei-toast{position:fixed;z-index:2147483000;right:24px;bottom:24px;max-width:min(420px,calc(100vw - 32px));padding:16px 20px;border:1px solid #a7ddc8;border-radius:12px;background:#f0fcf6;color:#086348;box-shadow:0 10px 30px #10243a26;font:600 14px/1.5 system-ui}.ei-toast-error{background:#fff5f6;border-color:#f2bcc5;color:#a72d3f}#email-invitation-dialog form{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:0;display:flex;flex-direction:column;gap:10px}#email-invitation-dialog label{display:grid;gap:6px;font-size:13px;font-weight:600}#email-invitation-dialog input,#email-invitation-dialog select{box-sizing:border-box;width:100%;min-width:0;min-height:42px;padding:10px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;color:#10243a;font:inherit}#email-invitation-dialog button{min-height:42px;padding:10px 14px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;color:#10243a;font:inherit;font-weight:600;cursor:pointer}#email-invitation-dialog button:not(:last-child){background:#08635e;border-color:#08635e;color:white}#email-invitation-dialog button:disabled{opacity:.6;cursor:default}#email-invitation-dialog [hidden]{display:none!important}#email-invitation-dialog p{overflow-wrap:anywhere}
@media(max-width:1150px){.ua-root .ei-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)!important}.ei-root .ei-tools{gap:8px}.ei-tools .ei-search{margin-left:0;max-width:none}.ei-table th,.ei-table td{padding-inline:6px}.ei-person{gap:7px}.ei-avatar{width:32px;height:32px;flex-basis:32px}}
@media(max-width:999px){.ua-root .ei-layout{grid-template-columns:minmax(0,1fr)!important}.ei-new{max-width:100%;width:100%}.ei-tools .ei-search{flex-grow:1;max-width:none}.ei-menu{z-index:30}}
@media(max-width:600px){.ei-card{padding:18px 14px}.ei-root .ei-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px}.ei-tools>.ei-button,.ei-tools>.ei-state-filter,.ei-tools>.ei-search{width:100%;min-width:0;min-height:44px;max-width:none;margin:0}.ei-root .ei-table-wrap{overflow:visible!important;border:0!important}.ei-root .ei-table,.ei-root .ei-table tbody{display:block!important;width:100%;min-width:0!important}.ei-root .ei-table thead{display:none}.ei-root .ei-table tbody>tr{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:9px 8px;border:1px solid #e3eaf0;border-radius:12px;padding:14px 11px;margin-bottom:10px;min-width:0}.ei-root .ei-table td{display:block;padding:0;border:0;min-width:0;width:auto!important}.ei-table td:first-child{grid-column:1;grid-row:1}.ei-table td:last-child{grid-column:2;grid-row:1}.ei-table td:nth-child(2){grid-column:1;grid-row:2}.ei-table td:nth-child(3){grid-column:1;grid-row:3}.ei-table td:nth-child(4),.ei-table td:nth-child(5){grid-column:1/-1}.ei-table td:nth-child(4):before,.ei-table td:nth-child(5):before{content:attr(data-label) ': ';font-size:11px;color:#60758a;font-weight:600}.ei-table td .ei-date{display:inline-flex;gap:6px;flex-wrap:wrap}.ei-actions>summary{width:44px;height:44px}.ei-menu .ei-button{min-height:44px}.ei-person strong{font-size:13px}.ei-person small{font-size:11px}.ei-description{font-size:12px}.ei-avatar{width:36px;height:36px;flex-basis:36px}.ei-info{padding:16px;gap:10px}.ei-info ul{font-size:12px}.ei-new input,.ei-new select{min-height:44px}.ei-toast{right:16px;bottom:16px}#email-invitation-dialog button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.ei-root *{transition:none!important;scroll-behavior:auto!important}.ei-root .ei-updating>.ei-icon{animation:none}}
.ei-root .ei-tools .ei-state-filter{width:145px;flex:0 0 145px}
@media(max-width:600px){.ei-root .ei-tools .ei-state-filter{width:100%;flex-basis:auto}}
.ei-root{font-family:inherit;font-size:14px;line-height:1.5}.ei-root .ei-primary{background-color:#08635e}
@media(max-width:600px){.ei-root .ei-new input,.ei-root .ei-new select,.ei-root .ei-new textarea,.ei-root .ei-search input,.ei-root .ei-state-filter,#email-invitation-dialog input,#email-invitation-dialog select{font-size:16px}}

.ei-invitation-message{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:#edf7f5;border-left:3px solid #0b5d5a;border-radius:8px}
#ei-note{min-height:130px;resize:vertical}

#email-invitation-dialog textarea{box-sizing:border-box;width:100%;min-width:0;min-height:110px;padding:10px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;color:#10243a;font:inherit;resize:vertical}@media(max-width:600px){#email-invitation-dialog textarea{font-size:16px}}

/* Center headings and reserve a complete word for the action column. */
.ei-root .ei-table thead th{text-align:center;vertical-align:middle;overflow-wrap:normal;word-break:normal;hyphens:none;white-space:normal!important;line-height:1.4}
.ei-root .ei-table thead th:nth-child(4),.ei-root .ei-table thead th:nth-child(5){width:auto}
.ei-root .ei-table thead th:last-child{width:88px;min-width:88px;white-space:nowrap!important}
.ei-expiry-complete{display:block;color:#60758a;line-height:1.5}
@media(min-width:601px){
 .ei-root .ei-table-wrap{overflow-x:auto!important}
 .ei-root .ei-table{min-width:680px!important}
}

/* Leave room for action menus inside the scrollable table. */
.ei-root .ei-table-wrap:has(.ei-actions[open]){padding-bottom:220px;}
