.fa-authorizations { margin: 0 0 18px; color: #0b2447; }
.fa-authorizations .fa-auth-heading { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.fa-authorizations .fa-auth-heading h3 { margin: 0 0 5px; color: #0b2447; font: 800 18px/1.4 "Manrope", sans-serif; letter-spacing: -.02em; }
.fa-authorizations .fa-auth-heading p { margin: 0; color: #758493; font-size: 12px; line-height: 1.6; }
.fa-authorizations .fa-auth-controls { display: grid; gap: 16px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fa-authorizations .fa-auth-permissions { border: 1px solid #e0e6eb; border-radius: 8px; overflow: hidden; }
.fa-authorizations .fa-auth-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 226px) 110px; align-items: center; gap: 14px; padding: 16px 14px; border-bottom: 1px solid #edf0f2; }
.fa-authorizations .fa-auth-row:last-child { border-bottom: 0; }
.fa-authorizations .fa-auth-purpose { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.fa-authorizations .fa-auth-icon { flex: 0 0 31px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 7px; background: #f0f5f8; color: #557f95; }
.fa-authorizations svg { width: 17px; height: 17px; flex: 0 0 auto; }
.fa-authorizations .fa-auth-purpose label { color: #0b2447; font-size: 13px; font-weight: 800; cursor: pointer; }
.fa-authorizations .fa-auth-purpose p { margin: 4px 0 0; color: #758493; font-size: 11px; line-height: 1.5; }
.fa-authorizations .fa-auth-row select { min-width: 0; font-size: 11px; padding-right: 4px; }
.fa-authorizations .fa-auth-state { display: inline-flex; gap: 5px; align-items: center; color: #7b8793; font-size: 10px; white-space: nowrap; }
.fa-authorizations .fa-auth-state i { width: 5px; height: 5px; border-radius: 50%; background: #a1adb6; }
.fa-authorizations .fa-auth-state.is-ok { color: #31725a; }
.fa-authorizations .fa-auth-state.is-ok i { background: #448b69; }
.fa-authorizations .fa-auth-state.is-no { color: #9b4545; }
.fa-authorizations .fa-auth-state.is-no i { background: #b66e64; }
.fa-authorizations .fa-auth-scope { padding: 12px 14px; border: 1px solid #e7ecf0; border-radius: 8px; background: #f8fafb; font-size: 12px; }
.fa-authorizations .fa-auth-scope ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: #466077; font-size: 12px; }
.fa-authorizations .fa-auth-scope li { display: flex; align-items: center; gap: 6px; }
.fa-authorizations .fa-auth-scope svg { width: 14px; height: 14px; color: #598296; }
.fa-authorizations .fa-auth-record-fields { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }
.fa-authorizations .fa-auth-record-fields label { min-width: 0; }
.fa-authorizations .fa-auth-record-fields small { color: #758493; font-size: 11px; font-weight: 400; }
.fa-authorizations .agency-form .fa-auth-confirm { display: flex; gap: 10px; align-items: flex-start; padding: 14px 15px; border: 1px solid #dce5ed; border-radius: 8px; color: #0b2447; font-size: 13px; line-height: 1.6; cursor: pointer; }
.fa-authorizations .fa-auth-confirm input { flex: 0 0 17px; width: 17px; height: 17px; min-height: 17px; margin: 3px 0 0; accent-color: #0b2447; }
.fa-authorizations .fa-auth-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 17px; border-top: 1px solid #edf0f2; }
.fa-authorizations .fa-auth-footer p { max-width: 490px; margin: 0; color: #758493; font-size: 11px; line-height: 1.6; }
.fa-authorizations .fa-auth-footer button { flex: 0 0 auto; }
.fa-authorizations .fa-auth-warning { margin: 0; padding: 12px 14px; border: 1px solid #eedbad; border-radius: 8px; background: #fff7e5; color: #8b682f; font-size: 12px; line-height: 1.6; }
.fa-authorizations [hidden] { display: none !important; }
@media (max-width: 700px) {
  .fa-authorizations .fa-auth-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 15px; }
  .fa-authorizations .fa-auth-purpose { grid-column: 1 / -1; }
  .fa-authorizations .fa-auth-record-fields { grid-template-columns: minmax(0, 1fr); }
  .fa-authorizations .fa-auth-footer { flex-direction: column; align-items: stretch; }
  .fa-authorizations .fa-auth-footer button { width: 100%; }
}
