.identity-page {padding:28px;max-width:1100px;box-sizing:border-box}
.identity-page form {display:flex;flex-wrap:wrap;align-items:end;gap:16px}
.identity-page label {display:flex;flex-direction:column;gap:7px;min-width:180px;flex:1}
.identity-page input,.identity-page select {box-sizing:border-box;max-width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:7px;font:inherit;background:white}
.identity-page button {padding:11px 18px;background:#15334e;color:white;border:0;border-radius:7px;font:inherit;cursor:pointer}
.identity-page h1 {margin-top:0}.identity-page details {margin-top:20px}
.identity-page .permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;width:100%;margin:10px 0 18px}
.identity-page .permission-grid label{min-width:0;font-size:13px;font-weight:600}
.identity-page .user-access{border-top:1px solid #e2e7ee;padding-top:12px}
.identity-page .user-access summary{font-weight:600;cursor:pointer}
.identity-page .user-access form{margin:16px 0 24px}
.identity-page .access-form{display:block}
.identity-page .identity-fields{display:flex;gap:16px;flex-wrap:wrap;max-width:700px}
.identity-page .identity-fields label{display:flex;flex-direction:column}
.identity-page .permission-table input{width:20px;height:20px;min-width:20px;margin:0;accent-color:#15334e}
.identity-page .access-hint{color:#415166;font-size:14px;margin:14px 0}
.identity-page .access-warning{color:#8a4b00;background:#fff4da;border:1px solid #efd29a;padding:10px 12px;border-radius:6px}
.identity-page .permission-table-wrap{overflow-x:auto;width:100%;margin:16px 0 22px}
.identity-page .permission-table{border-collapse:collapse;width:100%;min-width:650px;table-layout:fixed}
.identity-page .permission-table th,.identity-page .permission-table td{border:1px solid #cbd5e1;padding:10px 8px;text-align:center;vertical-align:middle}
.identity-page .permission-table thead th{background:#eaf0f6;font-weight:700}
.identity-page .permission-table th:first-child{width:170px;text-align:left}
.identity-page .permission-table tbody th{font-weight:600;background:#f7f9fb}
.identity-page .permission-table td input{display:block;margin:auto}
.identity-page .permission-table input[type=hidden]{display:none}
.identity-page .company-table{width:max-content;min-width:100%;table-layout:auto}
.identity-page .company-table th:not(:first-child),.identity-page .company-table td:not(:first-child){min-width:170px}
.identity-page .company-table th:first-child{width:170px;min-width:170px}
.identity-page .company-table-wrap{max-width:100%}
.identity-page .company-table input:disabled{opacity:.5;cursor:not-allowed}
.identity-page .super-admin-choice{display:flex;flex-direction:row;align-items:center;gap:9px;font-weight:700;margin:18px 0;min-width:0}
.identity-page .super-admin-choice input{width:20px;height:20px;padding:0;flex:0 0 auto;accent-color:#15334e}
