.client-enterprise-card{max-width:860px}
.client-enterprise-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.client-enterprise-fields .field-block{min-width:0}
.client-enterprise-fields select,.client-enterprise-fields input:not([type=checkbox]){width:100%;min-width:0;height:38px;padding:8px 10px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#293c54;font-size:11px}
.client-enterprise-fields [hidden]{display:none!important}
.enterprise-generate-option{display:flex;align-items:center;gap:7px;margin-top:9px;color:#4d5e75;font-size:10px}
.enterprise-generate-option input{margin:0}
.page-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.enterprise-management-list{display:grid;gap:9px;padding:0 16px 16px}
.enterprise-management-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(180px,1fr) minmax(120px,.55fr) auto;align-items:end;gap:12px;padding:13px;border:1px solid #e6ebf2;border-radius:9px;background:#fff}
.enterprise-current{display:flex;align-items:center;gap:10px;min-width:0;padding-bottom:9px;color:#52627a;font-size:11px}
.enterprise-current>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enterprise-management-row .field-block{display:grid;gap:5px;margin:0;color:#68768a;font-size:9px;font-weight:650}
.enterprise-management-row input{width:100%;min-width:0;height:35px;padding:7px 9px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#293c54;font-size:11px}
.enterprise-management-row .btn{height:35px;white-space:nowrap}
.client-users-section{margin:22px 0 14px}
.client-users-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:12px}
.client-users-section-heading h2{margin:4px 0;color:#23354d;font-size:17px;font-weight:700;letter-spacing:-.02em}
.client-users-section-heading p{margin:0;color:#7b8798;font-size:11px}
.client-add-user{flex:0 0 auto;padding:9px 13px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#354a63;font-size:11px;font-weight:600}
.client-add-user:hover{border-color:#b9c7dc;background:#f8faff;color:#254cc0}
.client-user-card{margin:0 0 10px;padding:16px 18px 17px;border:1px solid #e3e9f1;border-radius:10px;background:#fff;box-shadow:0 4px 16px #253b5b08}
.client-user-card-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;padding-bottom:11px;border-bottom:1px solid #eef1f5}
.client-user-card-heading>div{display:flex;align-items:center;gap:10px}
.client-user-index{display:inline-flex;align-items:center;min-height:21px;padding:3px 7px;border-radius:5px;background:#eef3ff;color:#3555bd;font-size:8px;font-weight:700;letter-spacing:.08em}
.client-user-card-heading h3{margin:0;color:#2f4057;font-size:12px;font-weight:700}
.client-remove-user{padding:5px 8px;border:0;border-radius:5px;background:transparent;color:#8793a3;font-size:10px;font-weight:600}
.client-remove-user:hover:not(:disabled){background:#fff1f0;color:#b3463d}
.client-remove-user:disabled{cursor:not-allowed;opacity:.42}
.client-user-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.client-user-fields .field-block{min-width:0;margin-bottom:10px}
.client-user-password{grid-column:1/-1;max-width:calc(50% - 9px)}
.client-users-note{display:flex;align-items:flex-start;gap:7px;margin:10px 2px;color:#7d8999;font-size:10px;line-height:1.5}
.client-users-note span{color:#5572ca;font-size:13px}
.client-users-form>.validation-summary:not(:empty){margin-bottom:12px;padding:10px 13px;border:1px solid #f1d7d4;border-radius:7px;background:#fff8f7;color:#9e4038;font-size:11px}
.client-users-form .validation-summary ul{margin:0;padding-left:18px}
.client-users-form .field-validation-error{display:block;margin-top:4px;color:#b3423a;font-size:10px}
.account-manage{min-width:90px}
.account-manage>summary{width:max-content;padding:6px 9px;border:1px solid #dce4ef;border-radius:6px;background:#fff;color:#3a4e67;cursor:pointer;font-size:10px;font-weight:650;list-style:none}
.account-manage>summary::-webkit-details-marker{display:none}
.account-manage>summary:after{content:'⌄';margin-left:7px;color:#77869b}
.account-manage[open]>summary:after{content:'⌃'}
.account-manage-panel{display:grid;grid-template-columns:minmax(220px,1fr);gap:12px;width:min(330px,75vw);margin-top:7px;padding:12px;border:1px solid #e0e6ef;border-radius:8px;background:#fff;box-shadow:0 12px 32px #253b5b18}
.account-manage-form{display:grid;gap:6px;padding:10px;border:1px solid #eef1f5;border-radius:7px;background:#fbfcfe}
.account-manage-form label{margin:0;color:#40516a;font-size:10px;font-weight:650}
.account-manage-form input{width:100%;min-width:0;height:34px;padding:7px 9px;border:1px solid #dfe6ef;border-radius:5px;background:#fff;font-size:10px}
.account-manage-form small{color:#7d8999;font-size:9px;line-height:1.4}
.account-manage-form .filter-submit,.account-reset-button{width:max-content;padding:6px 9px;border:0;border-radius:5px;background:#2857d5;color:#fff;font-size:9px;font-weight:650}
.account-reset-button{background:#51627a}
.auth-forgot-link{text-align:center;margin-top:13px;font-size:11px}
.auth-forgot-link a{color:#315bd0;text-decoration:none;font-weight:600}
.auth-forgot-link a:hover{text-decoration:underline}
.password-reset-message{font-size:11px;line-height:1.55}
.auth-link-button{display:flex;align-items:center;justify-content:center;text-decoration:none}
.account-manage-button{min-width:82px;padding:7px 11px;border:1px solid #d9e2ee;border-radius:6px;background:#fff;color:#344a63;font-size:10px;font-weight:650;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.account-manage-button:hover{border-color:#b7c8e7;background:#f5f8ff;color:#244dbd;transform:translateY(-1px)}
.account-manage-dialog{width:min(740px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);margin:auto;padding:0;overflow:auto;border:0;border-radius:14px;background:transparent;color:#26364c}
.account-manage-dialog::backdrop{background:rgba(12,24,42,.58);backdrop-filter:blur(3px)}
.account-manage-dialog-panel{overflow:hidden;border:1px solid #e4eaf2;border-radius:14px;background:#f8fafd;box-shadow:0 28px 90px #07152b55}
.account-manage-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 25px 18px;border-bottom:1px solid #e9edf3;background:#fff}
.account-manage-dialog-header .eyebrow{margin-bottom:5px;color:#71809a;font-size:9px;font-weight:700;letter-spacing:.13em}
.account-manage-dialog-header h2{margin:0;color:#1d2e45;font-size:21px;font-weight:720;letter-spacing:-.035em}
.account-manage-dialog-header p{margin:6px 0 0;color:#7b8798;font-size:11px}
.account-manage-dialog-header p strong{color:#40536c;font-weight:650}
.account-manage-dialog-close{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border:1px solid #e5eaf1;border-radius:8px;background:#fff;color:#6f7d91;font-size:21px;line-height:1}
.account-manage-dialog-close:hover{background:#f2f5fa;color:#1e2f46}
.account-manage-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:17px}
.account-manage-action-card{display:grid;grid-template-columns:33px minmax(0,1fr);align-content:start;gap:0 10px;padding:16px;border:1px solid #e4eaf2;border-radius:10px;background:#fff;box-shadow:0 4px 15px #24355008}
.account-manage-action-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#edf3ff;color:#3b5fc2;font-size:15px}
.account-manage-password-icon{background:#f1f3f7;color:#53647a}
.account-manage-action-card>div:nth-child(2){align-self:center;min-height:34px}
.account-manage-action-card h3{margin:0;color:#2b3d54;font-size:12px;font-weight:700}
.account-manage-action-card p{margin:4px 0 0;color:#7a8798;font-size:9px;line-height:1.45}
.account-manage-dialog-form{grid-column:1/-1;display:grid;gap:7px;margin-top:16px}
.account-manage-dialog-form label{margin:0;color:#45566d;font-size:10px;font-weight:650}
.account-manage-dialog-form label small{margin-left:4px;color:#8794a5;font-size:9px;font-weight:400}
.account-manage-dialog-form input{width:100%;height:38px;padding:8px 10px;border:1px solid #dfe6ef;border-radius:6px;background:#fff;color:#293c54;font-size:11px}
.account-manage-dialog-form input:focus{border-color:#9eadea;outline:0;box-shadow:0 0 0 3px rgba(86,105,205,.09)}
.account-manage-dialog-form button{justify-self:start;margin-top:4px;padding:8px 11px;border:0;border-radius:6px;background:#2857d5;color:#fff;font-size:10px;font-weight:650}
.account-manage-dialog-form .account-manage-secondary-button{background:#465970}
.account-manage-dialog-form button:hover{filter:brightness(.96)}
.account-manage-client-actions{grid-column:1/-1;grid-template-columns:33px minmax(0,1fr);align-items:center}
.account-manage-client-actions[hidden]{display:none}
.account-manage-access-icon{background:#edf6f1;color:#3e8b66}
.account-manage-client-action-buttons{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.account-manage-client-action-form{margin:0}
.account-manage-client-action-form button{min-height:34px;padding:0 11px;border:1px solid #dce4ef;border-radius:7px;background:#f7f9fc;color:#43566f;font-size:9px;font-weight:650;white-space:nowrap}
.account-manage-client-action-form button:hover{border-color:#c7d3ef;background:#edf2ff;color:#3157bc}
.account-manage-client-action-form .is-reactivate{border-color:#cde7d7;background:#eff8f2;color:#347653}
.account-manage-client-action-form .is-reactivate:hover{border-color:#aed7bd;background:#e7f4ec;color:#286b47}
.account-manage-client-action-form .account-manage-delete-button{border-color:#f0d6d4;background:#fff8f7;color:#b14c43}
.account-manage-client-action-form .account-manage-delete-button:hover{border-color:#e9b7b2;background:#fff0ee;color:#9f352d}
.team-members-table{min-width:940px}
.team-members-table th:nth-child(3){min-width:220px}
.team-members-table td:nth-child(3){width:230px}
.account-role-form{display:grid;grid-template-columns:minmax(112px,1fr) auto;align-items:center;gap:7px;margin:0}
.account-role-form select{width:100%;min-width:0;height:34px;padding:0 28px 0 10px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#3d5069;font:inherit;font-size:10px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.account-role-form select:focus{border-color:#9db1e9;box-shadow:0 0 0 3px #315bd012}
.account-role-form .account-role-save{height:34px;min-width:74px;padding:0 9px;border:1px solid #dce4ef;border-radius:7px;background:#f7f9fc;color:#455870;font-size:9px;font-weight:650;white-space:nowrap;transition:background .15s ease,border-color .15s ease,color .15s ease}
.account-role-form .account-role-save:hover{border-color:#c7d3ef;background:#edf2ff;color:#3157bc}
@media(max-width:700px){
 .client-enterprise-fields{grid-template-columns:minmax(0,1fr)}
 .enterprise-management-row{grid-template-columns:minmax(0,1fr)}
 .enterprise-current{padding-bottom:0}
 .client-users-section-heading{align-items:flex-start;flex-direction:column;gap:10px}
 .client-add-user{width:100%}
 .client-user-fields{grid-template-columns:minmax(0,1fr)}
 .client-user-password{grid-column:auto;max-width:none}
 .client-user-card{padding:14px 13px}
 .account-manage-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
 .account-manage-dialog-header{padding:17px 17px 14px}
 .account-manage-dialog-actions{grid-template-columns:minmax(0,1fr);padding:12px}
 .account-manage-action-card{padding:13px}
}

/* Enterprise directory */
.enterprise-page-heading{align-items:center;margin-bottom:20px}
.enterprise-page-heading .page-subtitle{max-width:710px}
.enterprise-back-link{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px}
.enterprise-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.enterprise-overview-card{display:flex;align-items:center;gap:13px;min-width:0;min-height:100px;padding:17px;border:1px solid #e6ebf2;border-radius:12px;background:linear-gradient(145deg,#fff,#fbfcfe);box-shadow:0 5px 18px #253b5b08}
.enterprise-overview-primary{border-color:#dce5fb;background:linear-gradient(135deg,#f6f8ff,#fff 78%)}
.enterprise-overview-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid #dfe6fb;border-radius:11px;background:#edf1ff;color:#4765cb;font-size:20px;font-weight:600}
.enterprise-overview-icon-warn{border-color:#f0e6d4;background:#fff8eb;color:#b7863c;font-size:15px}
.enterprise-overview-icon-neutral{border-color:#e5e9ef;background:#f5f7fa;color:#718099;font:700 13px Georgia,serif}
.enterprise-overview-card>div{display:grid;min-width:0;gap:3px}
.enterprise-overview-label{color:#8995a8;font-size:8px;font-weight:750;letter-spacing:.12em}
.enterprise-overview-card strong{color:#25364d;font-size:20px;font-weight:750;letter-spacing:-.04em;line-height:1.2}
.enterprise-overview-card small{overflow:hidden;color:#8490a1;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.enterprise-directory{overflow:hidden;padding:0;border:1px solid #e6ebf2;border-radius:13px;background:#fff;box-shadow:0 8px 26px #253b5b0a}
.enterprise-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 22px 17px;border-bottom:1px solid #edf0f5}
.enterprise-directory-heading .eyebrow{margin:0 0 5px;font-size:8px}
.enterprise-directory-heading h2{margin:0 0 5px;color:#24354c;font-size:17px;font-weight:730;letter-spacing:-.025em}
.enterprise-directory-heading p{max-width:790px;margin:0;color:#7c899b;font-size:10px;line-height:1.55}
.enterprise-add-users-link{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:9px 12px;border:1px solid #dfe6f1;border-radius:7px;background:#fff;color:#40546e;font-size:10px;font-weight:650;text-decoration:none;transition:background .15s ease,border-color .15s ease}
.enterprise-add-users-link:hover{border-color:#cbd6e9;background:#f7f9fd;color:#294fc3}
.enterprise-directory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 20px;border-bottom:1px solid #edf0f5;background:#fcfdff}
.enterprise-search{display:flex;align-items:center;gap:9px;width:min(430px,100%);height:36px;padding:0 10px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;color:#7f8ca0;transition:border-color .15s ease,box-shadow .15s ease}
.enterprise-search:focus-within{border-color:#9eb1e8;box-shadow:0 0 0 3px #315bd010}
.enterprise-search>span{font-size:18px;line-height:1}
.enterprise-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#33465f;font-size:10px}
.enterprise-search input::placeholder{color:#9aa5b4}
.enterprise-search kbd{flex:0 0 auto;padding:2px 5px;border:1px solid #e7ebf1;border-radius:4px;background:#f8f9fb;color:#97a1b0;font-family:inherit;font-size:9px}
.enterprise-result-count{flex:0 0 auto;color:#8793a3;font-size:9px}
.enterprise-management-list{display:grid;gap:10px;padding:15px 18px 18px}
.enterprise-management-row{display:grid;gap:15px;margin:0;padding:15px 16px;border:1px solid #e7ebf1;border-radius:10px;background:#fff;box-shadow:0 2px 7px #263b5806;transition:border-color .15s ease,box-shadow .15s ease}
.enterprise-management-row:hover{border-color:#d5deed;box-shadow:0 6px 18px #263b580d}
.enterprise-management-row[hidden]{display:none!important}
.enterprise-card-heading{display:flex;align-items:center;gap:11px;min-width:0}
.enterprise-card-mark{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #e0e7fb;border-radius:10px;background:linear-gradient(145deg,#f0f3ff,#e8edff);color:#4b63bd;font-size:13px;font-weight:750}
.enterprise-card-identity{display:grid;min-width:0;gap:3px}
.enterprise-card-identity strong{overflow:hidden;color:#2d4058;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.enterprise-card-identity>span{color:#919cac;font-size:9px}
.enterprise-id-chip{display:grid;gap:3px;min-width:80px;margin-left:auto;padding:6px 9px;border:1px solid #edf0f5;border-radius:7px;background:#f9fafc;text-align:right}
.enterprise-id-chip small{color:#95a0af;font-size:7px;font-weight:750;letter-spacing:.1em}
.enterprise-id-chip b{color:#52647e;font-size:10px;font-weight:700;letter-spacing:.08em}
.enterprise-card-fields{display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(170px,.65fr) auto;align-items:end;gap:11px}
.enterprise-management-row .field-block{display:grid;gap:6px;min-width:0;margin:0;color:#65748a;font-size:9px;font-weight:650}
.enterprise-management-row .field-block>span{display:flex;align-items:baseline;justify-content:space-between;gap:7px}
.enterprise-management-row .field-block>span small{color:#9aa5b3;font-size:8px;font-weight:450}
.enterprise-management-row input{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid #dfe5ed;border-radius:7px;background:#fff;color:#31445d;font-size:10px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.enterprise-management-row input:focus{border-color:#9fb2e9;box-shadow:0 0 0 3px #315bd010}
.enterprise-management-row .enterprise-id-field input{font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.enterprise-save-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 12px;border:1px solid #d8e1f1;border-radius:7px;background:#f7f9fd;color:#3f5681;font-size:9px;font-weight:680;white-space:nowrap}
.enterprise-save-button:hover{border-color:#c4d1eb;background:#edf2ff;color:#3154b7}
.enterprise-filter-empty,.enterprise-empty-state{display:grid;justify-items:center;gap:8px;padding:44px 20px;text-align:center;color:#7d899b}
.enterprise-filter-empty{padding:22px;font-size:10px}
.enterprise-empty-state{padding:56px 20px}
.enterprise-empty-state b{color:#30435c;font-size:13px}
.enterprise-empty-state p{margin:0 0 6px;font-size:10px}
.enterprise-empty-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:3px;border:1px solid #e3e9f4;border-radius:12px;background:#f6f8fc;color:#697fbc;font-size:22px}
@media(max-width:900px){.enterprise-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.enterprise-overview-card{gap:9px;padding:13px}.enterprise-card-fields{grid-template-columns:minmax(0,1fr) minmax(150px,.7fr)}.enterprise-save-button{grid-column:2;justify-self:end}}
@media(max-width:700px){.enterprise-page-heading{align-items:flex-start;gap:12px}.enterprise-back-link{padding:7px 9px;font-size:9px}.enterprise-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.enterprise-overview-guidance{grid-column:1/-1}.enterprise-directory-heading{align-items:flex-start;flex-direction:column;padding:17px 15px 14px}.enterprise-add-users-link{width:100%;justify-content:center}.enterprise-directory-toolbar{align-items:flex-start;flex-direction:column;padding:11px 14px}.enterprise-search{width:100%}.enterprise-management-list{padding:11px}.enterprise-management-row{gap:12px;padding:13px}.enterprise-card-fields{grid-template-columns:minmax(0,1fr)}.enterprise-save-button{grid-column:auto;justify-self:stretch}.enterprise-id-chip{min-width:74px}}
@media(max-width:420px){.enterprise-overview{grid-template-columns:minmax(0,1fr)}.enterprise-overview-guidance{grid-column:auto}.enterprise-overview-card{min-height:82px}.enterprise-page-heading .enterprise-back-link{font-size:0;gap:0}.enterprise-page-heading .enterprise-back-link span{font-size:15px}}
