/* Perfis e permissões (quadro por área) e administradores gerais */
.rp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.rp-chip { font-size: .82rem; padding: 4px 10px; border-radius: 999px; border: 1px solid #e3e3e3; background: #fff; }
.rp-scroll { overflow-x: auto; }
.rp-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.rp-table th { background: #f4f2fa; color: #444; font-weight: 600; padding: 10px 8px; text-align: center; white-space: nowrap; }
.rp-table th:first-child { text-align: left; }
.rp-table th small { display: block; font-weight: 400; color: #888; font-size: .72rem; }
.rp-table td { border-bottom: 1px solid #eee; padding: 8px; }
.rp-area { font-weight: 500; white-space: nowrap; }
.rp-g td { background: #faf9fd; color: #7c3aed; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 12px; }
.rp-c { text-align: center; white-space: nowrap; cursor: help; }
.rp-c span { font-size: 1rem; }
.rp-m { color: #2f8a4c; font-weight: 600; }
.rp-u { color: #2f6fd0; }
.rp-r { color: #8a6d00; }
.rp-n { color: #bbb; }
.rp-c.rp-edit { cursor: pointer; transition: background .12s; }
.rp-c.rp-edit:hover, .rp-c.rp-edit:focus { background: #f4f0ff; outline: none; box-shadow: inset 0 0 0 1px #c9b8f5; }
.rp-c.rp-changed::after, .rp-dot { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7c3aed; margin-left: 5px; vertical-align: middle; }
.rp-reset { display: block; margin: 4px auto 0; font: inherit; font-size: .7rem; font-weight: 500; color: #7c3aed; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-transform: none; letter-spacing: 0; }
.rp-table th small.rp-custom { color: #7c3aed; }
.rp-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rp-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.rp-acts { max-height: none; }
.rp-acts label.rp-opt { display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.rp-acts label.rp-opt input { width: auto; margin: 0; flex: 0 0 auto; }
.rp-acts label.rp-opt small { font-weight: 400; }
.rp-chip.rp-m { background: #e5f6ea; border-color: #bfe5c9; }
.rp-chip.rp-u { background: #e0f2fe; border-color: #b9e0f7; }
.rp-chip.rp-r { background: #fff6dc; border-color: #f1dc9a; }
.pa-box { margin-bottom: 16px; }
.pa-form { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 16px 12px; }
.pa-form input { flex: 1 1 260px; padding: 10px 12px; border: 1px solid #d5d5d5; border-radius: 8px; font: inherit; }
