.pa { --pa-blue: #1d4ed8; --pa-border: #dce2ec; --pa-muted: #475569; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; font-family: Inter, "Segoe UI", sans-serif; color: #172337; }
.pa-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; padding: clamp(14px, 2.4vw, 24px); border: 1px solid var(--pa-border); border-radius: 12px; background: #fff; }
.pa h2, .pa h3 { letter-spacing: -.025em; }
.pa-muted { color: var(--pa-muted); }
.pa-role { justify-self: start; padding: 5px 10px; border-radius: 6px; background: #eaf0ff; color: #1e40af; font-weight: 650; }
.pa-rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pa-rights li { padding: 9px 11px; border: 1px solid var(--pa-border); border-radius: 8px; }
.pa button, .pa select { min-height: 40px; }
.pa button.pa-primary { background: var(--pa-blue); border-color: var(--pa-blue); color: #fff; }
.pa button.pa-primary:hover:not(:disabled) { background: #1e40af; }
.pa :focus-visible { outline: 3px solid var(--pa-blue); outline-offset: 2px; }
.pa-form, .pa-bar { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.pa-form label { min-width: min(100%, 14rem); }
.pa-check { display: inline-flex; min-height: 40px; min-width: 40px; align-items: center; justify-content: center; cursor: pointer; }
.pa-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--pa-blue); }
.pa-scroll { width: 100%; min-width: 0; max-width: 100%; overflow: auto; border: 1px solid var(--pa-border); border-radius: 8px; }
.pa-scroll table th, .pa-scroll table td { padding: 8px 12px; white-space: normal; }
.pa-scroll table tbody th { font-weight: 650; }
.pa-table-center { text-align: center; }
.pa-status:empty { display: none; }
.pa-status:not(:empty) { padding: 10px 13px; border-radius: 8px; background: #eaf0ff; color: #1e40af; }
.pa-status.pa-error { background: #fee4e2; color: #9b2016; }
.pa-audit-value { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 560px) { .pa-form label { flex: 1 1 100%; } .pa-scroll table { min-width: 32rem; } }
