body.local-efcusers {
    background: #eef2f6;
}

body.local-efcusers #page {
    background: transparent;
}

body.local-efcusers #page-header {
    display: none;
}

body.local-efcusers #page.drawers .main-inner {
    background: transparent;
    margin-top: 0;
    max-width: none;
    padding: 0;
}

body.local-efcusers #region-main-box,
body.local-efcusers #region-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.efc-users-shell {
    --paper: #fff;
    --ground: #eef2f6;
    --ink: #17212b;
    --deep: #172838;
    --blue: #4f7da8;
    --blue-dark: #355e83;
    --blue-light: #9bc8f0;
    --muted: #66717d;
    --line: rgba(36, 55, 72, .13);
    color: var(--ink);
    font-family: "Barlow", "Aptos", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    margin: 0 auto;
    max-width: none;
    padding: 20px;
    width: 100%;
}

.efc-users-shell *,
.efc-users-shell *::before,
.efc-users-shell *::after {
    box-sizing: border-box;
}

.efc-users-shell h1,
.efc-users-shell h2,
.efc-users-shell strong,
.efc-users-shell button {
    font-family: "Barlow Condensed", "Arial Narrow", "PingFang SC", sans-serif;
}

.efc-users-hero {
    background: linear-gradient(125deg, #142433 0%, #1b3349 58%, #28587d 100%);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20, 40, 58, .18);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.efc-users-hero::after {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
    height: 300px;
    position: absolute;
    right: -78px;
    top: -168px;
    width: 300px;
}

.efc-users-kicker,
.efc-users-panel > header > span,
.efc-users-directory-header > div > span {
    color: var(--blue-light);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 10px;
}

.efc-users-hero h1 {
    color: #fff;
    font-size: clamp(1.15rem, 1.35vw, 1.4rem);
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0 0 8px;
}

.efc-users-hero h1 em {
    color: rgba(255, 255, 255, .58);
    font-size: .62em;
    font-style: normal;
    font-weight: 500;
}

.efc-users-hero p {
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    line-height: 1.45;
    margin: 0 0 3px;
}

.efc-users-hero .efc-users-cn {
    color: rgba(255, 255, 255, .5);
    font-size: .82rem;
}

.efc-users-hero-link {
    align-self: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    color: #fff !important;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-weight: 600;
    letter-spacing: .04em;
    margin-top: 14px;
    padding: 6px 0;
    position: relative;
    text-decoration: none !important;
    z-index: 1;
}

.efc-users-hero-link span { color: var(--blue-light); margin-left: 8px; }

.efc-users-metrics {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.efc-users-metrics article {
    align-items: center;
    background: rgba(8, 23, 36, .2);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 8px;
    display: grid;
    gap: 3px 5px;
    grid-template-columns: auto 1fr;
    padding: 8px;
}

.efc-users-metrics article > span {
    color: var(--blue-light);
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: .7rem;
    letter-spacing: .12em;
}

.efc-users-metrics small {
    color: rgba(255, 255, 255, .62);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.8em;
    min-width: 0;
    font-size: .66rem;
    line-height: 1.4;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
}
.efc-users-metrics strong { color: #fff; font-size: 1.15rem; font-weight: 600; grid-column: 1 / -1; line-height: 1; }

.efc-users-workspace {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(390px, 440px) minmax(0, 1fr);
}

.efc-users-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.efc-users-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
}

.efc-users-panel h2 {
    color: var(--deep);
    font-size: 1.42rem;
    font-weight: 650;
    margin: 0 0 3px;
}

.efc-users-panel header p { color: var(--muted); font-size: .78rem; margin: 0; }

.efc-users-create > header {
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
    padding-bottom: 16px;
}

.efc-users-create {
    padding-bottom: 20px;
    padding-right: 20px;
}

.efc-users-create form .form-group {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10px;
}

.efc-users-create form .form-group > .col-md-3 {
    flex: 0 0 145px;
    max-width: 145px;
    width: 145px;
}

.efc-users-create form .form-group > .col-md-9 {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    width: auto;
}

.efc-users-create form [data-passwordunmask="wrapper"],
.efc-users-create form [data-passwordunmask="wrapper"] > .d-flex {
    min-width: 0;
    width: 292px;
}

.efc-users-create form [data-passwordunmask="edit"] {
    flex: 0 0 250px;
    max-width: 250px;
    min-width: 0;
    width: 250px;
}

.efc-users-create form [data-passwordunmask="unmask"] {
    flex: 0 0 auto;
}

.efc-users-create form #fitem_id_passwordpolicy {
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
    width: 100%;
}

.efc-users-create form #fitem_id_passwordpolicy > .col-md-3 {
    display: none;
}

.efc-users-create form #fitem_id_passwordpolicy > .col-md-9 {
    margin-left: 0;
    max-width: 100%;
    padding-left: 0;
    width: 100%;
}

.efc-users-create form #fitem_id_forcepasswordchange,
.efc-users-create form #fgroup_id_buttonar {
    display: block;
    text-align: left;
}

.efc-users-create form #fgroup_id_buttonar {
    margin-bottom: 0 !important;
}

.efc-users-create form #fitem_id_forcepasswordchange > .col-md-3,
.efc-users-create form #fgroup_id_buttonar > .col-md-3 {
    display: none;
}

.efc-users-create form #fitem_id_forcepasswordchange > .col-md-9,
.efc-users-create form #fgroup_id_buttonar > .col-md-9 {
    margin-left: 0;
    max-width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
}

.efc-users-create form #fitem_id_forcepasswordchange .felement {
    display: block;
    text-align: left;
}

.efc-users-create form #fitem_id_forcepasswordchange .form-check {
    margin-left: 0;
    padding-left: 24px;
    text-align: left;
}

.efc-users-create form #fitem_id_forcepasswordchange .form-check-label {
    font-size: .76rem;
    text-align: left;
    white-space: nowrap;
}

.efc-users-create form .fitem:has(#id_forcepasswordchange) {
    display: block !important;
}

.efc-users-create form .fitem:has(#id_forcepasswordchange) > .col-md-3 {
    display: none !important;
}

.efc-users-create form .fitem:has(#id_forcepasswordchange) > .col-md-9 {
    flex: none !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.efc-users-create form .form-check:has(#id_forcepasswordchange) {
    align-items: center;
    display: flex !important;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

.efc-users-create form #id_forcepasswordchange {
    flex: 0 0 auto;
    margin: 0 !important;
    position: static !important;
}

.efc-users-create form label[for="id_forcepasswordchange"] {
    line-height: 1.3;
    margin: 0 !important;
}

.efc-users-create form .efc-users-checkbox-row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

.efc-users-create form .efc-users-checkbox-row > .col-md-3 {
    display: none !important;
}

.efc-users-create form .efc-users-checkbox-row > .col-md-9,
.efc-users-create form .efc-users-checkbox-row .felement {
    margin: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.efc-users-create form .efc-users-checkbox-row .form-check {
    align-items: center;
    display: flex !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.efc-users-create form #fgroup_id_buttonar .d-flex {
    flex-wrap: nowrap !important;
    gap: 8px;
    justify-content: flex-end !important;
    padding-right: 15px;
    width: 100%;
}

.efc-users-create form #fgroup_id_buttonar fieldset,
.efc-users-create form #fgroup_id_buttonar .felement {
    display: block;
    max-width: none;
    width: 100%;
}

.efc-users-create form #fitem_id_forcepasswordchangenotice {
    display: block;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}

.efc-users-create form #fitem_id_forcepasswordchangenotice > .col-md-3 {
    display: none;
}

.efc-users-create form #fitem_id_forcepasswordchangenotice > .col-md-9,
.efc-users-create form #fitem_id_forcepasswordchangenotice .felement,
.efc-users-create form #fitem_id_forcepasswordchangenotice .form-control-static {
    margin-left: 0 !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left;
    width: 100% !important;
}

.efc-users-create form .efc-users-notice-line {
    display: block;
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.5;
}

.efc-users-create form #fgroup_id_buttonar .btn {
    align-items: center;
    background: #2448e8 !important;
    border-color: #2448e8 !important;
    color: #fff !important;
    display: flex;
    flex-direction: row;
    flex: 0 1 auto;
    font-size: .86rem;
    gap: 6px;
    line-height: 1.25;
    margin: 0;
    min-height: 36px;
    padding: 6px 14px;
    transition: background-color .15s ease, border-color .15s ease, font-weight .15s ease;
    white-space: nowrap;
}

.efc-users-create form #fgroup_id_buttonar .btn:hover,
.efc-users-create form #fgroup_id_buttonar .btn:focus {
    background: #132da8 !important;
    border-color: #132da8 !important;
    color: #fff !important;
    font-weight: 700;
}

.efc-users-create form .col-form-label {
    color: var(--deep);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .02em;
    max-width: none;
    padding-bottom: 0;
    padding-right: 12px;
    padding-top: 0;
    white-space: nowrap;
}

.efc-users-create form .form-control {
    border: 1px solid rgba(36, 55, 72, .2);
    border-radius: 6px;
    min-height: 36px;
}

.efc-users-create form input.form-control[type="text"],
.efc-users-create form input.form-control[type="email"] {
    max-width: 100%;
    width: 100%;
}

.efc-users-create form .form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(79, 125, 168, .13);
}

.efc-users-create form .fdescription.required,
.efc-users-create form .form-control-feedback { display: none; }

.efc-users-create form .btn-primary {
    background: var(--deep);
    border-color: var(--deep);
}

.efc-users-create form .btn-secondary {
    background: #fff;
    border-color: rgba(36, 55, 72, .22);
    color: var(--deep);
}

.efc-users-create form .btn {
    border-radius: 5px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.efc-users-form-note {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.55;
    margin: 10px 0 0;
    padding-top: 14px;
}

.efc-users-directory { min-width: 0; }

.efc-users-directory-header {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.efc-users-search {
    display: grid;
    gap: 7px;
    grid-template-columns: minmax(200px, 1fr) 118px auto;
    width: min(100%, 610px);
}

.efc-users-search input,
.efc-users-search select,
.efc-users-search button {
    border: 1px solid rgba(36, 55, 72, .2);
    border-radius: 5px;
    font-size: .78rem;
    min-height: 39px;
    padding: 0 11px;
}

.efc-users-search button {
    background: var(--deep);
    border-color: var(--deep);
    color: #fff;
    font-weight: 600;
}

.efc-users-table-wrap { overflow-x: auto; }
.efc-users-table { border-collapse: collapse; min-width: 1080px; table-layout: fixed; width: 100%; }

.efc-users-table th,
.efc-users-table td {
    width: 15%;
}

.efc-users-table th {
    border-bottom: 1px solid rgba(36, 55, 72, .22);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 10px 9px;
    text-transform: uppercase;
}

.efc-users-table td {
    border-bottom: 1px solid rgba(36, 55, 72, .09);
    padding: 12px 9px;
    vertical-align: middle;
}

.efc-users-table th:nth-child(2),
.efc-users-table td:nth-child(2) {
    padding-left: 9px;
}

.efc-users-person { align-items: center; display: flex; gap: 11px; min-width: 0; }
.efc-users-person > a:first-child {
    flex: 0 0 42px;
    height: 42px;
    min-width: 42px;
    width: 42px;
}
.efc-users-person .userpicture,
.efc-users-person .userinitials {
    border-radius: 50%;
    flex: 0 0 42px;
    height: 42px;
    max-width: 42px;
    min-width: 42px;
    object-fit: cover;
    overflow: hidden;
    white-space: nowrap;
    width: 42px;
}
.efc-users-person > span { display: flex; flex-direction: column; min-width: 0; }
.efc-users-person strong { color: var(--deep); font-size: .92rem; font-weight: 600; }
.efc-users-person small {
    color: var(--muted);
    font-size: .7rem;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
}

.efc-users-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .69rem;
    font-weight: 650;
    padding: 5px 9px;
    white-space: nowrap;
}

.efc-users-status::before { border-radius: 50%; content: ""; height: 6px; margin-right: 6px; width: 6px; }
.efc-users-status--active { background: #e8f4ed; color: #2e6b47; }
.efc-users-status--active::before { background: #4f966b; }
.efc-users-status--suspended { background: #f5e8e7; color: #8a443f; }
.efc-users-status--suspended::before { background: #b7635d; }
.efc-users-access { color: var(--deep); font-size: .86rem; font-weight: 600; white-space: nowrap; }

.efc-users-actions {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
}
.efc-users-actions a,
.efc-users-actions button {
    align-items: center;
    justify-content: center;
    background: #edf3fa;
    border: 1px solid #c9d8e8;
    border-radius: 6px;
    color: var(--blue-dark) !important;
    display: inline-flex;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 32px;
    padding: 6px 8px;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s, box-shadow .15s;
    cursor: pointer;
}
.efc-users-actions a.is-edit { grid-column: 1; }
.efc-users-actions .is-share { grid-column: 2; background: #eef0fa; border-color: #d3d8ef; color: #4d5ca8 !important; }
.efc-users-actions a.is-suspend { grid-column: 3; background: #fbefed; border-color: #edcfca; color: #8a443f !important; }
.efc-users-actions a.is-activate,
.efc-users-actions .is-share.is-copied { background: #eaf5ee; border-color: #c4dfce; color: #2e6b47 !important; }
.efc-users-actions a.is-activate { grid-column: 3; }
.efc-users-actions a:hover,
.efc-users-actions button:not(:disabled):hover { filter: brightness(.96); box-shadow: 0 2px 5px rgba(23, 40, 56, .1); }
.efc-users-actions :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.efc-users-actions .is-share:disabled { cursor: wait; opacity: .65; }
.efc-users-actions .is-share.is-copied { cursor: default; opacity: 1; }

.efc-users-directory .pagination { margin: 18px 0 0; }
.efc-users-directory .page-link { color: var(--blue-dark); font-size: .75rem; }
.efc-users-directory .page-item.active .page-link { background: var(--deep); border-color: var(--deep); }

.efc-users-empty { color: var(--muted); padding: 54px 20px; text-align: center; }
.efc-users-empty strong { color: var(--deep); display: block; font-size: 1.15rem; }
.efc-users-empty p { font-size: .78rem; margin: 6px 0 0; }

@media (max-width: 1100px) {
    .efc-users-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .efc-users-shell { padding: 20px; }
    .efc-users-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .efc-users-directory-header { align-items: stretch; flex-direction: column; }
    .efc-users-search { grid-template-columns: 1fr 1fr; }
    .efc-users-search input { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
    .efc-users-metrics { grid-template-columns: 1fr; }
    .efc-users-search { grid-template-columns: 1fr; }
    .efc-users-search input { grid-column: auto; }
}

.efc-users-share-shell { max-width: 1180px; }

.efc-users-back {
    color: var(--blue-dark) !important;
    display: inline-block;
    font-size: .78rem;
    margin-bottom: 14px;
    text-decoration: none !important;
}

.efc-users-share-hero {
    background: linear-gradient(125deg, #142433 0%, #1b3349 58%, #28587d 100%);
    border-radius: 14px;
    color: #fff;
    margin-bottom: 18px;
    padding: clamp(26px, 3vw, 42px);
}

.efc-users-share-hero > span,
.efc-users-share-label {
    color: var(--blue-light);
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 10px;
}

.efc-users-share-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    margin: 0 0 14px;
}

.efc-users-share-hero h1 em { color: rgba(255, 255, 255, .58); font-size: .66em; font-style: normal; }
.efc-users-share-hero p { color: rgba(255, 255, 255, .68); font-size: .82rem; margin: 2px 0; }
.efc-users-share-grid { align-items: start; display: grid; gap: 18px; grid-template-columns: 340px minmax(0, 1fr); }
.efc-users-share-person .efc-users-person { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.efc-users-share-person .efc-users-person > a:first-child,
.efc-users-share-person .userpicture,
.efc-users-share-person .userinitials {
    flex-basis: 56px;
    height: 56px;
    max-width: 56px;
    min-width: 56px;
    width: 56px;
}

.efc-users-share-notice {
    background: #f1f5f8;
    border-left: 3px solid var(--blue);
    margin-top: 18px;
    padding: 13px 15px;
}

.efc-users-share-notice strong { color: var(--deep); font-size: .86rem; }
.efc-users-share-notice p { color: var(--muted); font-size: .72rem; line-height: 1.45; margin: 5px 0 0; }
.efc-users-share-form > header { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 15px; }
.efc-users-share-form > header > span { color: var(--blue); }
.efc-users-share-form form .form-control { border: 1px solid rgba(36, 55, 72, .2); border-radius: 6px; }
.efc-users-share-form form .btn-primary { background: var(--deep); border-color: var(--deep); }

.efc-users-credential-card {
    background: #f4f7fa;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 1px;
    overflow: hidden;
}

.efc-users-credential-card > div { background: #fff; display: grid; gap: 12px; grid-template-columns: 170px minmax(0, 1fr); padding: 14px 16px; }
.efc-users-credential-card small { color: var(--muted); font-size: .72rem; }
.efc-users-credential-card strong { color: var(--deep); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; overflow-wrap: anywhere; }
.efc-users-credential-card .efc-users-secret { color: #8a443f; font-size: 1rem; }

.efc-users-share-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.efc-users-share-actions button,
.efc-users-share-actions a {
    background: #fff;
    border: 1px solid rgba(36, 55, 72, .2);
    border-radius: 5px;
    color: var(--deep) !important;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: .8rem;
    font-weight: 600;
    min-height: 39px;
    padding: 9px 14px;
    text-decoration: none !important;
}

.efc-users-share-actions .efc-users-share-primary { background: #176b43; border-color: #176b43; color: #fff !important; }
.efc-users-share-actions [data-share-status] { color: var(--muted); flex-basis: 100%; font-size: .72rem; margin: 3px 0 0; }
.efc-users-share-warning { color: #8a443f; font-size: .72rem; line-height: 1.5; margin: 14px 0 0; }

.efc-account-recovery {
    margin: 2.5rem auto;
    max-width: 760px;
    padding: 0 1.25rem;
}

.efc-account-recovery-card {
    border: 1px solid rgba(36, 55, 72, .14);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(36, 55, 72, .1);
    padding: clamp(1.35rem, 4vw, 2.5rem);
}

.efc-account-recovery-card h1 small { color: var(--muted); font-size: .6em; }
.efc-account-recovery-card li { margin-bottom: 1rem; }
.efc-account-recovery-card .alert { margin: 1.5rem 0; }

@media (max-width: 820px) {
    .efc-users-share-grid { grid-template-columns: 1fr; }
    .efc-users-credential-card > div { grid-template-columns: 1fr; gap: 4px; }
}
.efc-users-category { display: flex; align-items: center; gap: 6px; margin: 0; }
.efc-users-category select { min-width: 88px; padding: 6px 22px 6px 10px; border: 1px solid #c9d6e5; border-radius: 8px; background: #f3f6fa; color: #34475b; font-size: .78rem; font-weight: 600; }
.efc-users-category select[data-category="EKI"] { background: #e7f3eb; color: #276345; }
.efc-users-category select[data-category="IFD"] { background: #e9f1ff; color: #315e9a; }
.efc-users-category select[data-category="OSSD"] { background: #f0eafa; color: #71529a; }
.efc-users-category select[data-category="TEST"] { background: #fff2de; color: #8c631e; }
.efc-users-category button { padding: 5px 8px; border: 1px solid #c9d6e5; border-radius: 6px; background: #fff; color: #34475b; font-size: .72rem; white-space: nowrap; }
.efc-users-category :focus-visible { outline: 2px solid #315e9a; outline-offset: 2px; }

/* The identity column remains complete; the other four columns share equal width. */
.efc-users-table th:first-child,
.efc-users-table td:first-child { width: 40%; }
.efc-users-person > span { flex: 1; }
.efc-users-person strong,
.efc-users-person small { white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
.efc-users-person strong { line-height: 1.5; }
.efc-users-person small { line-height: 1.6; }
.efc-users-category { flex-direction: column; align-items: flex-start; gap: 4px; }
.efc-users-category select { width: 96px; cursor: pointer; }
.efc-users-category [role="status"] { font-size: .65rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.efc-users-category [role="status"]:empty { display: none; }
.efc-users-category select:disabled { opacity: .65; cursor: wait; }
.efc-users-access { white-space: normal; line-height: 1.5; }
.efc-users-actions { gap: 8px; justify-content: start; }

/* Keep every account field on the same label/control grid in both languages. */
.efc-users-create form :is(#fitem_id_username, #fitem_id_firstname, #fitem_id_lastname, #fitem_id_email, #fitem_id_category) {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0 0 10px !important;
    width: 100%;
}
.efc-users-create form :is(#fitem_id_username, #fitem_id_firstname, #fitem_id_lastname, #fitem_id_email, #fitem_id_category) > :is(.col-md-3, .col-md-9) {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    padding: 0 !important;
}
.efc-users-create form :is(#fitem_id_username, #fitem_id_firstname, #fitem_id_lastname, #fitem_id_email, #fitem_id_category) label {
    margin: 0;
    padding: 0;
    white-space: normal;
    text-align: left;
}
.efc-users-create form :is(#id_username, #id_firstname, #id_lastname, #id_email, #id_category) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    border: 1px solid rgba(36, 55, 72, .2);
    border-radius: 6px;
    font-size: .85rem;
}

.efc-users-category-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 6px;
}

/* Let the user directory use the available viewport width. */
body.efc-users-fullwidth #page {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.efc-users-fullwidth #page .main-inner,
body.efc-users-fullwidth #page-content {
    max-width: none !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.efc-users-fullwidth .efc-users-shell {
    padding-left: 0;
    padding-right: 0;
}

/* Category values are short; keep their controls compact. */
.efc-users-create form #id_category {
    width: 100px;
    max-width: 100%;
    height: 32px;
    min-height: 32px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.efc-users-category select {
    width: 84px;
    min-width: 84px;
    padding: 4px 20px 4px 8px;
    border-radius: 6px;
}

/* Compact category controls and two-row actions. */
.efc-users-create form #id_category {
    width: 84px;
    height: 30px;
    min-height: 30px;
}
.efc-users-category select {
    width: 100px;
    min-width: 100px;
    padding: 3px 28px 3px 10px;
}
.efc-users-actions {
    grid-template-columns: repeat(2, max-content);
    gap: 4px;
    justify-content: start;
    width: auto;
}
.efc-users-actions a,
.efc-users-actions button {
    min-height: 26px;
    padding: 3px 6px;
    font-size: .66rem;
    border-radius: 4px;
}
.efc-users-actions a.is-suspend,
.efc-users-actions a.is-activate {
    grid-column: 1;
    grid-row: 2;
}
