/* Account management: edit one account at a time without shrinking its controls. */
.account-table-wrap{overflow:auto}
.account-table .account-login-id{color:var(--ink);font-weight:800;white-space:nowrap}
.account-table .account-sequence-cell{width:54px;min-width:54px;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap}
.account-table .number-cell{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.account-table .account-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.account-table .account-edit-button,.account-table .account-delete-button{display:grid!important;place-items:center;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;font-size:19px!important}
.account-table .account-inactive-row{color:var(--muted);background:#fafbfc}
.account-table .account-inactive-row .account-login-id{color:var(--muted)}
.account-status-badge.active{background:#e8f5e9;color:#287a3d}
.account-status-badge.inactive{background:#fff0f0;color:var(--danger)}
.permission-audit-card{margin-top:18px}
.account-editor-modal{width:min(840px,100%)}
.account-editor-modal .card-head{margin-bottom:18px}
.account-editor-modal .card-head small{display:block;color:var(--muted);font-size:13px;font-weight:700;margin-bottom:4px}
.account-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.account-editor-grid .field{margin:0}
.account-editor-grid input,.account-editor-grid select{width:100%;min-height:44px}
.account-editor-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin-top:22px}
.account-editor-actions.two-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-editor-actions.four-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
.account-editor-actions button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0!important;max-width:none!important;height:52px!important;padding:0 12px!important;font-size:14px!important;font-weight:800!important;white-space:nowrap}
.account-create-notice{margin-bottom:18px}
.permission-scope-select{min-width:170px;width:100%;padding:8px 10px;font-size:13px;font-weight:700}
.account-scope-heading{margin:22px 0 10px;font-size:15px}
.account-scope-table select{min-width:150px}
.account-exception-table tr:has(option:checked:not([value="inherit"])) :is(select,td:last-child strong){color:#ab2029}
.account-exception-table select:has(option:checked:not([value="inherit"])){border-color:#ab2029;background-color:#fff3f3;font-weight:700}
.account-exception-table select option{color:var(--ink);background:#fff}
@media(max-width:760px){.account-editor-actions.four-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.account-editor-modal{padding:20px 16px}.account-editor-grid{grid-template-columns:1fr}.account-editor-actions{gap:7px}.account-editor-actions button{height:48px!important;padding:0 6px!important;font-size:12px!important}.account-table{min-width:900px}}
.account-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.account-toolbar .employee-filter-chips{margin:0}.account-toolbar input[type=search]{width:min(260px,100%);min-height:38px;padding:0 12px}.account-chip-divider{width:1px;align-self:stretch;margin:4px 2px;background:var(--line)}
.account-table .account-display-name{display:none}.account-table .account-grade-code{font-weight:800}.account-table .account-status-badge{white-space:nowrap}.account-table .account-muted{color:var(--muted)}.account-exception-chip{display:inline-block;padding:2px 8px;border-radius:999px;background:#fff4e0;color:#8a5a00;font-size:12px;font-weight:800}
.account-audit-actions{display:flex;gap:8px;flex:0 0 auto}.permission-audit-card.is-folded #permissionAuditBody,.permission-audit-card:not(.is-folded) #permissionAuditSummary{display:none}
@media(max-width:720px){.account-table{min-width:0!important;width:100%}.account-table th:nth-child(1),.account-table td:nth-child(1),.account-table th:nth-child(3),.account-table td:nth-child(3),.account-table th:nth-child(5),.account-table td:nth-child(5),.account-table th:nth-child(6),.account-table td:nth-child(6),.account-table .account-grade-name,.permission-audit-card .card-head small:not(.settings-fold-summary){display:none}.account-table .account-display-name{display:block;margin-top:2px;color:var(--muted);font-size:12px}.account-table th,.account-table td{padding-left:6px;padding-right:6px}.account-table .account-status-badge{font-size:11px;padding:3px 7px}.permission-audit-card .card-head{flex-wrap:wrap}.account-toolbar input[type=search]{width:100%}.account-table .account-edit-button,.account-table .account-delete-button{width:38px!important;min-width:38px!important;height:38px!important}}
