/* Account workspace geometry and colors ported from ExamSys UsersPage. */
.users-access-page,.access-modal { --access-teal: #087f78; --access-navy: #12374d; color: #29495b; font-family: "IBM Plex Sans Arabic",Tahoma,Arial,sans-serif; }
.users-access-page { min-width: 0; }
.access-page-header { min-height: 64px; margin-bottom: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.access-page-header h1 { margin: 0; color: #0b2942; font-size: 28px; line-height: 1.3; font-weight: 700; }
.access-page-header p { margin: 8px 0 0; color: #66798a; font-size: 14px; line-height: 1.6; }
.access-page-actions { display: flex; gap: 8px; flex-shrink: 0; }
.access-button { min-height: 42px; padding: 9px 15px; border: 1px solid #d5e0e6; border-radius: 8px; color: #355268; background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s,border-color .15s,box-shadow .15s; }
.access-button:hover:not(:disabled) { background: #f4f8f9; border-color: #a9c6c7; }
.access-button.primary { border-color: #087f78; background: #087f78; color: #fff; }
.access-button.primary:hover:not(:disabled) { background: #076e68; }
.access-button.small { min-height: 33px; padding: 6px 10px; font-size: 11px; }
.access-button.danger-solid { border-color: #bc4036; background: #bc4036; color: #fff; }
.access-button.danger-solid:hover:not(:disabled) { background: #a7352e; }
.access-button .icon { width: 17px; height: 17px; }
.access-icon-button { width: 33px; min-width: 33px; height: 33px; padding: 7px; border: 1px solid transparent; border-radius: 7px; color: #69818e; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.access-icon-button .icon { width: 16px; height: 16px; }
.access-icon-button:hover:not(:disabled) { color: #087f78; border-color: #c9dfe0; background: #f0f8f7; }
.access-icon-button.danger:hover:not(:disabled) { color: #ad3c33; border-color: #edcac6; background: #fff1ef; }
.access-button:disabled,.access-icon-button:disabled { opacity: .4; cursor: not-allowed; }
:where(.users-access-page,.access-modal) :is(button,a,input,select,textarea):focus-visible { outline: 3px solid #7abeb7; outline-offset: 3px; }
.access-notice { margin-bottom: 13px; padding: 11px 13px; border: 1px solid #bfddd6; border-radius: 8px; color: #08776d; background: #edf8f5; display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.7; }
.access-notice > span { flex: 1; }.access-notice > .icon { flex-shrink: 0; }.access-notice.error { color: #9d382f; background: #fff4f2; border-color: #edc6c0; }
.users-register-panel { border: 1px solid #d9e4e8; border-radius: 10px; background: #fff; }
.access-panel-heading { min-height: 75px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.access-panel-heading h2 { margin: 0; color: #183c52; font-size: 16px; }.access-panel-heading p { margin: 4px 0 0; color: #84949e; font-size: 11px; }
.access-count { border-radius: 6px; padding: 4px 8px; background: #edf5f4; color: #087f78; font-size: 11px; white-space: nowrap; }
.access-list-filter { border-block: 1px solid #e3eaee; background: #f8fafb; }
.access-filter-primary { padding: 14px 16px; display: grid; grid-template-columns: minmax(265px,1fr) minmax(340px,1fr) auto; grid-template-areas: "search controls summary"; align-items: start; gap: 10px 12px; }
.access-search { grid-area: search; min-height: 42px; min-width: 0; padding: 0 12px; border: 1px solid #dce5e9; border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 8px; color: #8b9ca6; }
.access-search input { width: 100%; min-width: 0; height: 40px; border: 0; padding: 0; background: transparent; color: #29495b; font: inherit; font-size: 11px; outline: 0; }.access-search:focus-within { border-color: #76bdb4; box-shadow: 0 0 0 3px #e0f1ee; }.access-search .icon { width: 17px; height: 17px; flex-shrink: 0; }
.access-filter-controls { grid-area: controls; min-width: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.access-select { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 0 10px; border: 1px solid #dce5e9; border-radius: 8px; background: #fff; font-size: 11px; color: #7a8d98; }
.access-select select { min-width: 0; flex: 1; height: 40px; padding: 0 4px; border: 0; color: #355369; background: #fff; font: inherit; cursor: pointer; }.access-select > span { white-space: nowrap; }
.access-filter-summary { grid-area: summary; display: flex; gap: 8px; }.access-filter-summary > span { min-height: 42px; padding: 5px 10px; border: 1px solid #dce6ea; border-radius: 8px; background: #fff; display: flex; align-items: baseline; gap: 5px; }.access-filter-summary strong { font-size: 15px; }.access-filter-summary small { font-size: 10px; color: #7a8d98; }
.access-filter-toggle { display: none; grid-area: toggle; }
.access-filter-chips { padding: 0 16px 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 10px; }.access-filter-chips > span { display: flex; align-items: center; gap: 5px; color: #78909c; }.access-filter-chips .icon { width: 13px; height: 13px; }.access-filter-chips button { padding: 4px 7px; border: 1px solid #cce1df; border-radius: 5px; color: #08776e; background: #edf7f5; display: flex; align-items: center; gap: 6px; font: inherit; cursor: pointer; }.access-filter-chips .clear-filters { border-color: transparent; background: transparent; margin-inline-start: auto; }
.users-table-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.users-table { width: 100%; border-collapse: collapse; text-align: start; }
.users-table th { height: 43px; padding: 10px 16px; border-bottom: 1px solid #e3eaee; color: #78909e; background: #f7fafb; font-size: 10px; font-weight: 600; text-align: start; white-space: nowrap; }
.users-table td { padding: 14px 16px; border-bottom: 1px solid #eaf0f3; vertical-align: middle; }.users-table tbody tr:last-child td { border-bottom: 0; }.users-table tbody tr:hover { background: #f9fcfc; }
.role-label { padding: 3px 6px; border: 1px solid #d4e4e7; border-radius: 5px; background: #f1f7f8; color: #466a79; font-size: 8px; white-space: nowrap; }
.user-created { display: block; margin-top: 6px; font-size: 8px; color: #8c9aa2; }.user-last-login { color: #758b98; font-size: 9px; white-space: nowrap; }.deleted-reason { display: block; margin-top: 5px; font-size: 8px; }
.account-state .icon { width: 14px; height: 14px; }
.access-pagination { min-height: 61px; padding: 12px 17px; border-top: 1px solid #e3eaee; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7b8f9b; font-size: 10px; }
.access-pagination > div { display: flex; align-items: center; gap: 9px; }.access-pagination strong { color: #087f78; font-size: 12px; }.access-pagination small { color: #82949e; font-size: 10px; font-weight: 400; }.access-pagination .access-icon-button { border-color: #dbe5e9; background: #fff; }
.access-loading { min-height: 210px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #728791; font-size: 12px; }.access-loading .icon { animation: access-spin 1s linear infinite; }
.access-empty { padding: 40px 20px; text-align: center; }.access-empty > span { width: 48px; height: 48px; margin: auto; border-radius: 10px; background: #edf6f5; color: #087f78; display: grid; place-items: center; }.access-empty h3 { margin: 14px 0 5px; font-size: 15px; }.access-empty p { margin: 0 0 16px; color: #7c909b; font-size: 12px; }
.access-audit { margin-top: 15px; border: 1px solid #d9e4e8; border-radius: 9px; background: #fff; overflow: hidden; }.access-audit summary { min-height: 55px; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }.access-audit summary > span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }.access-audit summary small { font-size: 9px; color: #82949e; }.access-audit article { padding: 14px 18px; border-top: 1px solid #e3eaee; font-size: 11px; }.access-audit article > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }.access-audit p { margin: 7px 0; line-height: 1.8; overflow-wrap: anywhere; }.access-audit time,.access-audit article small { font-size: 10px; color: #80919b; }.access-audit-empty { padding: 18px; font-size: 12px; color: #80919b; }
.access-modal { width: min(560px,calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #d8e3e8; border-top: 3px solid #087f78; border-radius: 16px; background: #fff; box-shadow: 0 30px 100px #031b3659; overflow: hidden; }
.access-modal[open] { display: flex; flex-direction: column; animation: access-enter .18s ease-out; }
.access-modal::backdrop { background: #061c32a6; backdrop-filter: blur(5px); }
.access-modal-header { flex-shrink: 0; min-height: 84px; padding: 17px 22px; border-bottom: 1px solid #e3eaee; display: flex; align-items: center; gap: 12px; }
.access-modal-icon { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #c9e2dc; border-radius: 10px; color: #08776e; background: #eaf7f3; display: grid; place-items: center; }
.access-modal-header > div { flex: 1; min-width: 0; }.access-modal-header h2 { margin: 0; font-size: 18px; color: #193d52; }.access-modal-header p { margin: 4px 0 0; color: #83949f; font-size: 11px; line-height: 1.6; }.access-modal-header > button { border-color: #dce6ea; width: 36px; height: 36px; flex-shrink: 0; }
.access-modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.access-modal-footer { flex-shrink: 0; min-height: 72px; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #e1e9ed; background: #f9fbfc; }.access-modal-footer small { color: #81919a; font-size: 9.5px; }.access-modal-footer .primary { margin-inline-start: auto; }
.access-modal.danger { border-top-color: #bc4036; }.access-modal.danger .access-modal-icon { color: #ad3c33; border-color: #efcac6; background: #fff0ee; }
.user-editor { padding: 18px 22px 22px; }.user-editor-fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.access-info-banner { padding: 11px 13px; margin: 0 0 16px; border: 1px solid #d0e5e1; border-radius: 9px; background: #f0f8f5; display: flex; align-items: center; gap: 10px; color: #08776e; }.access-info-banner .icon { width: 20px; height: 20px; flex-shrink: 0; }.access-info-banner strong { font-size: 12.5px; }.access-info-banner p { margin: 4px 0 0; font-size: 10.5px; color: #6c8589; line-height: 1.7; }
.access-field { min-width: 0; display: grid; gap: 7px; align-content: start; }.access-field > span { color: #355567; font-size: 11.5px; font-weight: 600; }.access-field b,.user-editor-section-heading b,.role-picker > header b { color: #c9473c; }.access-field em { color: #83939c; font-size: 10px; font-weight: 400; font-style: normal; }.access-field input,.access-field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #cddce2; border-radius: 8px; color: #24485e; background: #fff; font: inherit; font-size: 11.5px; }.access-field textarea { min-height: 86px; resize: vertical; }.access-field input:focus,.access-field textarea:focus { border-color: #81bfb5; outline: 3px solid #e4f2ed; }.access-field > small { margin: 0; font-size: 9.5px; color: #7c8f99; line-height: 1.6; }
.role-check .icon { width: 14px; height: 14px; }.selected-role-summary li .icon,.administrator-exclusive-note .icon { width: 14px; height: 14px; }.role-combination-warning p { font-size: 10px; line-height: 1.6; margin: 4px 0 0; }
.user-status-switch { margin-top: 12px; padding: 10px 11px; border: 1px solid #dce5e8; border-radius: 8px; background: #fafcfd; display: flex; align-items: center; gap: 10px; cursor: pointer; }.user-status-switch input { width: 17px; height: 17px; accent-color: #087f78; }.user-status-switch strong,.user-status-switch small { display: block; }.user-status-switch strong { font-size: 11px; }.user-status-switch small { margin-top: 2px; font-size: 9px; color: #7c8f99; }.session-revoke { margin-top: 12px; }
.user-action-form { padding: 20px 22px; display: grid; gap: 16px; }.user-action-form .access-notice { margin: 0; }.archive-user-target > div { flex: 1; }.archive-user-target > .account-state { flex: 0 0 auto; height: auto; width: auto; }.archive-user-target .account-state .icon { width: 14px; height: 14px; }
.temporary-password { padding: 22px 22px 25px; text-align: center; }.temporary-password > span { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 10px; color: #08766e; background: #e4f3f1; display: grid; place-items: center; }.temporary-password h3 { margin: 0; color: #234458; font-size: 13px; }.temporary-password > p { margin: 6px auto 17px; color: #788b97; font-size: 10.5px; line-height: 1.7; }.temporary-password dl { margin: 0; display: grid; gap: 8px; text-align: start; }.temporary-password dl > div { padding: 10px 12px; border: 1px solid #cddde2; border-radius: 8px; background: #f7fafb; display: flex; align-items: center; gap: 12px; }.temporary-password dt { min-width: 125px; color: #718793; font-size: 10.5px; }.temporary-password dd { min-width: 0; flex: 1; margin: 0; }.temporary-password code { color: #173f57; display: block; font-size: 14px; font-weight: 700; letter-spacing: .035em; overflow-wrap: anywhere; user-select: all; }.temporary-password > small { margin-top: 12px; color: #9a6818; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 9.5px; }.temporary-password > small .icon { width: 14px; height: 14px; }
@keyframes access-spin { to { transform: rotate(360deg); } }
@keyframes access-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.users-access-page { --access-teal: #087f78; --access-navy: #12374d; }
.access-summary { margin-bottom: 13px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.access-summary article { min-height: 92px; padding: 14px; border: 1px solid #d9e4e8; border-radius: 9px; background: #fff; display: flex; align-items: center; gap: 11px; }
.access-summary-icon { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; }
.access-summary-icon.teal { color: #087970; background: #e5f4f1; }.access-summary-icon.navy { color: #183f57; background: #e8eff3; }.access-summary-icon.amber { color: #9b6813; background: #fff3dc; }.access-summary-icon.red { color: #ad3c33; background: #feecea; }
.access-summary small,.access-summary strong,.access-summary p { display: block; }.access-summary small { color: #80919c; font-size: 8px; }.access-summary strong { margin-top: 2px; color: #17364a; font-size: 20px; }.access-summary p { margin: 2px 0 0; color: #82929c; font-size: 7.8px; }
.access-tabs { margin-bottom: 13px; padding: 5px; border: 1px solid #d8e3e7; border-radius: 9px; background: #eef3f5; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
.access-tabs button { min-height: 54px; padding: 9px 13px; border: 0; border-radius: 7px; color: #687d8a; background: transparent; display: flex; align-items: center; gap: 9px; text-align: start; }
.access-tabs button.active { color: var(--access-teal); background: #fff; box-shadow: 0 2px 9px rgba(16,47,68,.075); }.access-tabs button > svg { flex: 0 0 auto; }.access-tabs strong,.access-tabs small { display: block; }.access-tabs strong { font-size: 10px; }.access-tabs small { margin-top: 2px; color: #8997a0; font-size: 7.8px; }
.users-register-panel { overflow: hidden; }.users-toolbar { flex-wrap: wrap; }.users-toolbar .search-field { min-width: 290px; flex: 1; }.users-toolbar .select-label { padding-inline-start: 9px; }.users-toolbar .select-label > span { color: #8997a0; }.users-toolbar .select-label select { min-width: 115px; }
.user-identity { min-width: 180px; display: flex; align-items: center; gap: 9px; }.user-identity > span { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #cfe1e2; border-radius: 8px; color: #087a73; background: linear-gradient(145deg,#e6f4f2,#f5faf9); display: grid; place-items: center; font-size: 10px; font-weight: 700; }.user-identity strong,.user-identity code,.user-identity small { display: block; }.user-identity strong { color: #244456; font-size: 10.8px; }.user-identity code { margin-top: 2px; color: #78909b; direction: ltr; font-size: 7.8px; }.user-identity small { margin-top: 2px; color: var(--access-teal); font-size: 7px; }.user-email { color: #536c7c !important; font-size: 9.5px !important; }.user-email.missing,.missing-email { color: #8c9aa2 !important; direction: rtl; font-style: normal; }.user-role-list { max-width: 240px; display: flex; flex-wrap: wrap; gap: 4px; }.user-role-list .role-label { margin: 0; }.role-label.muted { color: #82929b; background: #f0f4f5; }.mobile-role-list { line-height: 1.7; }
.users-table { min-width: 1060px; }
.account-state { width: max-content; padding: 4px 7px; border: 1px solid; border-radius: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 600; white-space: nowrap; }.account-state.active { border-color: #c6e1dc; color: #08766e; background: #edf8f6; }.account-state.pending { border-color: #edd7ac; color: #936414; background: #fff8e9; }.account-state.locked,.account-state.inactive { border-color: #edc9c5; color: #a43b32; background: #fff3f2; }.account-state.deleted { border-color: #d8dde1; color: #667681; background: #f0f3f4; }
.deleted-user-row > td { background: #fafbfb; color: #778892; }.deleted-user-row .user-identity > span { filter: grayscale(1); opacity: .72; }.deleted-user-row .user-role-list,.deleted-user-row .user-email { opacity: .72; }
.deleted-reason { max-width: 170px; overflow: hidden; color: #93615d !important; text-overflow: ellipsis; white-space: nowrap; }
.user-row-actions { display: flex; align-items: center; gap: 2px; white-space: nowrap; }.user-row-actions .key:hover { color: #8f6218; background: #fff6e5; border-color: #ebd6ad; }.user-row-actions .unlock:hover,.user-row-actions .enable:hover,.access-icon-button.restore:hover { color: #08766e; background: #ecf8f6; border-color: #c5e0db; }.user-row-actions .delete-user { margin-inline-start: 3px; border-inline-start-color: #ead9d6; }.users-list-mobile { display: none; }
.user-archive-modal.danger::before { background: var(--red-600); }
.user-archive-modal.danger .access-modal-icon { color: var(--red-700); background: #fff0ee; border-color: #efcac6; }
.user-archive-form { display: grid; gap: 16px; }
.archive-user-target { padding: 12px 13px; border: 1px solid #dce5e9; border-radius: 9px; background: #f8fafb; display: flex; align-items: center; gap: 11px; }
.archive-user-target > span { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #efd0cd; border-radius: 9px; color: #a53f37; background: #fff1ef; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.archive-user-target small,.archive-user-target strong,.archive-user-target code { display: block; }.archive-user-target small { color: #87969f; font-size: 9px; }.archive-user-target strong { margin-top: 2px; color: #29495b; font-size: 13px; }.archive-user-target code { margin-top: 2px; color: #7a8d98; direction: ltr; font-size: 10px; }
.archive-user-warning { padding: 12px 13px; border: 1px solid #efcac6; border-radius: 9px; color: #9b4038; background: #fff6f5; display: flex; align-items: flex-start; gap: 9px; }.archive-user-warning > svg { margin-top: 1px; flex: 0 0 auto; }.archive-user-warning strong { font-size: 12px; }.archive-user-warning p { margin: 3px 0 0; color: #7a6665; font-size: 10.5px; line-height: 1.7; }
.user-archive-form .access-field > span { font-size: 11.5px; }.user-archive-form .access-field textarea { min-height: 86px; }.user-archive-form .access-field code { padding: 1px 4px; border-radius: 4px; color: #7d3030; background: #fff0ee; direction: ltr; font-size: inherit; }
.roles-workspace { display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); gap: 13px; align-items: start; }
.role-directory,.permission-matrix-panel { border: 1px solid #d9e4e8; border-radius: 10px; background: #fff; overflow: hidden; }
.role-directory > header { min-height: 72px; padding: 14px 15px; border-bottom: 1px solid #e3eaed; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.role-directory h2 { margin: 0; color: #1e3d50; font-size: 13px; }.role-directory header p { margin: 4px 0 0; color: #84949e; font-size: 8px; line-height: 1.5; }.role-directory header > span { padding: 4px 7px; border-radius: 5px; color: #607582; background: #f0f4f6; font-size: 8px; }.role-directory > div { padding: 7px; }
.role-directory > div > button { width: 100%; min-height: 78px; padding: 10px; border: 1px solid transparent; border-radius: 8px; color: #547080; background: transparent; display: grid; grid-template-columns: 34px minmax(0,1fr) 25px; align-items: center; gap: 9px; text-align: start; }.role-directory > div > button:hover { background: #f7fafb; }.role-directory > div > button.active { border-color: #b9ddd8; background: #eff8f7; box-shadow: inset -3px 0 0 var(--access-teal); }.role-directory button > span { width: 34px; height: 34px; border-radius: 7px; color: #5e7a88; background: #edf2f4; display: grid; place-items: center; }.role-directory button.active > span { color: #087970; background: #dff1ee; }.role-directory button strong,.role-directory button small,.role-directory button p { display: block; }.role-directory button strong { color: #294a5c; font-size: 9.5px; }.role-directory button small { margin-top: 3px; color: #84939d; font-size: 7.4px; line-height: 1.45; }.role-directory button p { margin: 5px 0 0; color: #607985; font-size: 7.5px; }.role-directory button em { width: 25px; height: 25px; border-radius: 50%; color: #55707e; background: #edf2f4; display: grid; place-items: center; font-size: 8px; font-style: normal; }
.permission-matrix-panel > header { min-height: 96px; padding: 16px 18px; color: #fff; background: radial-gradient(circle at 88% 10%,rgba(44,190,177,.22),transparent 29%),linear-gradient(125deg,#102f44,#164b60); display: flex; align-items: center; justify-content: space-between; gap: 18px; }.permission-matrix-panel header small { color: #77d0c8; font-size: 8px; }.permission-matrix-panel header h2 { margin: 2px 0 3px; font-size: 15px; }.permission-matrix-panel header p { max-width: 560px; margin: 0; color: #b9ccd5; font-size: 8px; line-height: 1.6; }.permission-matrix-panel header > span { padding: 7px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #d9efed; background: rgba(255,255,255,.06); display: flex; align-items: center; gap: 5px; font-size: 8.5px; white-space: nowrap; }
.permission-groups { padding: 11px 15px 4px; }.permission-groups > section { margin-bottom: 12px; }.permission-groups h3 { margin: 0; padding: 7px 2px; color: #78909c; font-size: 8px; font-weight: 600; }.permission-groups article { min-height: 52px; padding: 8px 9px; border-top: 1px solid #e8edef; display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 8px; opacity: .52; }.permission-groups article.granted { opacity: 1; }.permission-groups article > span { width: 21px; height: 21px; border: 1px solid #d4dfe4; border-radius: 5px; color: transparent; display: grid; place-items: center; }.permission-groups article.granted > span { border-color: #a8d3cd; color: #fff; background: var(--access-teal); }.permission-groups article strong,.permission-groups article small { display: block; }.permission-groups article strong { color: #365466; font-size: 9px; }.permission-groups article small { margin-top: 2px; color: #85949d; font-size: 7.5px; }.permission-groups article code { color: #83939c; direction: ltr; font-size: 7px; }.permission-matrix-panel > footer { margin: 0 15px 14px; padding: 9px 10px; border: 1px solid #ead9b8; border-radius: 7px; color: #936419; background: #fff9ed; display: flex; align-items: flex-start; gap: 7px; }.permission-matrix-panel > footer svg { flex: 0 0 auto; }.permission-matrix-panel > footer p { margin: 0; font-size: 8px; line-height: 1.55; }.roles-loading { min-height: 300px; color: #728791; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; }.roles-loading strong { font-size: 9.5px; }
.user-editor-modal { width: min(100%,900px); max-width: 900px; height: min(748px,calc(100dvh - 48px)); }
.user-editor-modal .access-modal-body > .user-editor { min-height: 0; flex: 1; padding: 18px 22px 22px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 0; }
.user-editor-modal .access-info-banner { min-height: 58px; margin: 0 0 16px; padding: 11px 13px; border-radius: 9px; }
.user-editor-modal .access-info-banner > svg { width: 20px; height: 20px; }
.user-editor-modal .access-info-banner strong { font-size: 12.5px; }
.user-editor-modal .access-info-banner p { font-size: 10.5px; }
.user-editor-account { margin-bottom: 12px; }
.user-editor-section-heading { margin-bottom: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.user-editor-section-heading strong,.user-editor-section-heading small { display: block; }
.user-editor-section-heading strong { color: #29495b; font-size: 13.5px; }
.user-editor-section-heading small { margin-top: 2px; color: #80919b; font-size: 10px; }
.user-editor-section-heading > span { color: #8998a0; font-size: 9.5px; white-space: nowrap; }
.user-editor-section-heading > span b,.role-picker > header strong b { color: #c9473c; }
.user-editor-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.user-editor-fields .access-field { align-content: start; }
.user-editor-fields .access-field.wide { grid-column: 1 / -1; }
.user-editor-fields .access-field > span { font-size: 11.5px; }
.user-editor-fields .access-field > span em { color: #83939c; font-size: 10px; font-style: normal; font-weight: 400; }
.user-editor-fields .access-field input { min-height: 44px; border-radius: 8px; font-size: 11.5px; }
.user-editor-fields .access-field-help { min-height: 15px; margin-top: 1px; color: #7c8f99; font-size: 9.5px; }
.user-editor-fields .access-field-error { margin-top: 0; }
.role-picker { padding: 0; border: 0; background: transparent; }
.role-picker > header { margin-bottom: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.role-picker > header strong,.role-picker > header small { display: block; }
.role-picker > header strong { color: #29495b; font-size: 13.5px; }
.role-picker > header small { margin-top: 2px; color: #80919b; font-size: 10px; }
.role-picker > header > span { padding: 5px 8px; border-radius: 6px; color: #08766e; background: #e5f4f2; font-size: 9.5px; white-space: nowrap; }
.role-picker-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(255px,.7fr); gap: 12px; align-items: stretch; }
.role-picker-options { padding: 10px; border: 1px solid #dce5e9; border-radius: 10px; background: #f8fafb; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; align-content: start; }
.role-option { position: relative; min-height: 58px; padding: 8px 9px; border: 1px solid #d8e3e7; border-radius: 8px; color: #607987; background: #fff; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 8px; text-align: start; cursor: pointer; transition: border-color .15s ease,background .15s ease,box-shadow .15s ease; }
.role-option:hover:not(.disabled) { border-color: #b7d4d1; background: #fbfdfd; }
.role-option.selected { border-color: #88c5be; background: #eef9f7; box-shadow: inset -3px 0 0 var(--access-teal); }
.role-option.disabled { opacity: .5; cursor: not-allowed; }
.role-option > input { position: absolute; opacity: 0; pointer-events: none; }
.role-check { width: 20px; height: 20px; border: 1.5px solid #b4c4cb; border-radius: 5px; color: transparent; background: #fff; display: grid; place-items: center; }
.role-option.selected .role-check { border-color: var(--access-teal); color: #fff; background: var(--access-teal); }
.role-option > input:focus-visible + .role-check { outline: 0; box-shadow: 0 0 0 3px rgba(8,127,120,.16); }
.role-option-copy { min-width: 0; }
.role-option-copy strong,.role-option-copy small { display: block; }
.role-option-copy strong { color: #335365; font-size: 11.5px; }
.role-option-copy small { margin-top: 2px; color: #8997a0; font-size: 9.5px; line-height: 1.5; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.role-option em { color: #718893; font-size: 9.5px; font-style: normal; white-space: nowrap; }
.role-option.selected strong,.role-option.selected em { color: #08766e; }
.selected-role-summary { min-height: 252px; padding: 14px; border: 1px solid #cfe3e0; border-radius: 10px; background: #f3faf9; }
.selected-role-summary > header { color: #08766e; display: flex; align-items: center; gap: 9px; }
.selected-role-summary > header > span { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 8px; color: #08766e; background: #dff1ee; display: grid; place-items: center; }
.selected-role-summary header strong,.selected-role-summary header small { display: block; }
.selected-role-summary header strong { color: #2e5661; font-size: 12px; }
.selected-role-summary header small { margin-top: 1px; color: #66817f; font-size: 10px; }
.selected-role-names { margin: 10px 0; color: #617b83; font-size: 10.5px; line-height: 1.6; }
.selected-role-summary ul { margin: 0; padding: 9px 0 0; border-top: 1px solid #d7e8e5; list-style: none; display: grid; gap: 6px; }
.selected-role-summary li { color: #456864; display: flex; align-items: center; gap: 5px; font-size: 10px; }
.selected-role-summary li svg { flex: 0 0 auto; color: var(--access-teal); }
.remaining-permissions { margin: 8px 0 0; color: var(--access-teal); font-size: 9.5px; font-weight: 600; }
.role-summary-empty { margin: 18px 0 0; color: #7c8f98; font-size: 10px; line-height: 1.7; }
.role-combination-safe,.administrator-exclusive-note { margin: 10px 0 0; padding-top: 9px; border-top: 1px solid #d7e8e5; color: #567672; display: flex; align-items: flex-start; gap: 5px; font-size: 9.5px; line-height: 1.55; }
.role-combination-safe svg,.administrator-exclusive-note svg { flex: 0 0 auto; color: var(--access-teal); }
.role-combination-warning { margin-top: 9px; padding: 10px 11px; border: 1px solid #ead3a8; border-radius: 8px; color: #966618; background: #fff9ed; display: flex; align-items: flex-start; gap: 8px; }
.role-combination-warning > svg { flex: 0 0 auto; }
.role-combination-warning > div { min-width: 0; flex: 1; }
.role-combination-warning strong { color: #875b16; font-size: 11.5px; }
.role-combination-warning ul { margin: 5px 0 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.role-combination-warning li b,.role-combination-warning li span { display: block; }
.role-combination-warning li b { font-size: 10px; }
.role-combination-warning li span { margin-top: 1px; color: #9a762f; font-size: 9.5px; line-height: 1.5; }

.access-modal.user-editor-modal { width: min(900px,calc(100% - 48px)); }
.user-row-actions:not(.mobile-actions) .access-icon-button > span { display: none; }
.user-row-actions.mobile-actions { width: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.user-row-actions.mobile-actions .access-icon-button { width: auto; min-height: 34px; height: auto; flex: 1 1 42%; padding: 7px 9px; gap: 6px; border-color: #d5e0e6; font: inherit; font-size: 11px; font-weight: 600; background: #fff; }
.user-row-actions.mobile-actions .danger { color: #a83b32; border-color: #edcac6; background: #fff4f2; }
.user-row-actions.mobile-actions .delete-user { margin-inline-start: 0; }
.user-row-actions.mobile-actions > .access-button { width: 100%; }
@media (max-width: 1380px) {
    .access-filter-primary { grid-template-columns: minmax(265px,1fr) auto; grid-template-areas: "search summary" "controls controls"; }
}
@media (max-width: 1000px) {
    .access-page-header { align-items: flex-start; }
    .access-page-header h1 { font-size: 26px; }
    .access-page-header p { max-width: 480px; }
    .roles-workspace { grid-template-columns: minmax(250px,.65fr) minmax(0,1.35fr); }
}
@media (max-width: 720px) {
    .access-page-header { flex-direction: column; gap: 16px; margin-bottom: 18px; }
    .access-page-header h1 { font-size: 24px; }.access-page-header p { font-size: 13px; }
    .access-page-actions { width: 100%; }.access-page-actions .access-button { flex: 1; }
    .access-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .access-summary article { min-height: 84px; padding: 10px; gap: 9px; }.access-summary-icon { width: 35px; height: 35px; }.access-summary strong { font-size: 17px; }
    .access-tabs button { padding: 9px 8px; gap: 7px; }.access-tabs button > .icon { width: 18px; height: 18px; }
    .access-tabs strong { font-size: 10px; }.access-tabs small { font-size: 8px; line-height: 1.5; }
    .access-panel-heading { padding: 14px 12px; }.access-panel-heading h2 { font-size: 14px; }.access-panel-heading p { font-size: 10px; }
    .access-filter-primary { padding: 10px; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "search toggle" "controls controls" "summary summary"; gap: 8px; }
    .access-filter-toggle { display: inline-flex; padding-inline: 12px; }.access-filter-toggle.selected { background: #eaf6f4; border-color: #bdded8; }
    .access-filter-controls { display: none; }.access-filter-controls.open { display: grid; }.access-filter-summary { justify-content: space-between; }.access-filter-summary > span { flex: 1; }.access-select { font-size: 10px; padding-inline: 8px; gap: 5px; }.access-search input { font-size: 10px; }
    .access-filter-chips { padding-inline: 10px; }.access-filter-chips > span { width: 100%; }
    .users-table-scroll { display: none; }.users-list-mobile { padding: 11px 10px 3px; display: block; }
    .user-mobile-card { margin-bottom: 9px; padding: 12px; border: 1px solid #dce5e9; border-radius: 9px; background: #fff; }
    .user-mobile-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }.user-mobile-card .user-identity { min-width: 0; }.user-mobile-card .user-identity strong { overflow-wrap: anywhere; }.user-mobile-card code { overflow-wrap: anywhere; }
    .user-mobile-card > dl { margin: 14px 0 11px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.user-mobile-card > dl > div:first-child { grid-column: 1/-1; }.user-mobile-card dt { margin-bottom: 3px; color: #8a99a2; font-size: 9px; }.user-mobile-card dd { margin: 0; color: #3d5869; font-size: 10px; overflow-wrap: anywhere; }
    .user-mobile-card > footer { padding-top: 10px; border-top: 1px solid #e6ecef; display: flex; align-items: center; justify-content: space-between; gap: 6px; }.user-mobile-card > footer > small { font-size: 8px; color: #8a99a2; }.user-mobile-card .access-icon-button { width: 35px; min-width: 35px; height: 35px; }.mobile-deletion-reason { padding: 8px; font-size: 10px; color: #87504b; background: #fff4f3; }
    .access-pagination { padding-inline: 12px; font-size: 9px; }.access-pagination > div { gap: 5px; }
    .roles-workspace { grid-template-columns: 1fr; }.role-directory > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }.role-directory > div > button { grid-template-columns: 26px minmax(0,1fr); min-height: 82px; padding: 8px; gap: 7px; }.role-directory button > span { width: 26px; height: 26px; }.role-directory button > span .icon { width: 17px; height: 17px; }.role-directory button em,.role-directory button small { display: none; }.role-directory button strong { font-size: 10px; }.role-directory button p { font-size: 8px; }
    .permission-matrix-panel > header { padding: 14px; gap: 10px; }.permission-groups { padding-inline: 11px; }.permission-groups article strong { font-size: 10px; }.permission-groups article small { font-size: 9px; line-height: 1.6; }
    .access-modal,.access-modal.user-editor-modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
    .access-modal.user-editor-modal { height: calc(100dvh - 20px); }
    .access-modal-header { min-height: 74px; padding: 13px 14px; gap: 9px; }.access-modal-icon { width: 36px; height: 36px; border-radius: 9px; }.access-modal-header h2 { font-size: 16px; }.access-modal-header p { font-size: 10px; }
    .access-modal-footer { min-height: 64px; padding: 10px 12px; gap: 8px; }.access-modal-footer > small { display: none; }.access-modal-footer .access-button { flex: 1; padding-inline: 9px; font-size: 12px; }
    .user-editor-modal .access-modal-body > .user-editor,.user-action-form { padding: 15px 14px; }.user-editor-section-heading { align-items: flex-start; }.user-editor-section-heading > span { display: none; }.user-editor-fields,.role-picker-layout,.role-picker-options { grid-template-columns: 1fr; }.role-picker > header { align-items: flex-start; flex-direction: column; }.role-picker > header > span { align-self: stretch; text-align: center; }.selected-role-summary { min-height: 0; }.user-editor-fields .access-field.wide { grid-column: auto; }
    .temporary-password { padding-inline: 14px; }.temporary-password dl > div { align-items: stretch; flex-direction: column; gap: 4px; }.archive-user-target { flex-wrap: wrap; }.archive-user-target > .account-state { margin-inline-start: auto; }
    .access-audit summary { padding: 13px 12px; }.access-audit summary > span { font-size: 11px; }.access-audit article { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .access-modal[open],.access-loading .icon { animation: none; } }
