.representation-card{margin-top:28px;padding:26px;border:1px solid rgba(180,98,47,.42);border-radius:6px;background:linear-gradient(135deg,#fff,var(--papel))}
.representation-head{display:flex;align-items:start;justify-content:space-between;gap:24px}
.representation-head h2{margin:0;font-size:30px}
.security-chip{display:inline-block;flex:0 0 auto;border-radius:999px;background:#e7f2eb;color:var(--verde);padding:7px 11px;font-size:11px;font-weight:750}
.representation-form{margin-top:20px;padding:20px;border:1px solid var(--linha);border-radius:5px;background:#fff}
.representation-form>.field{max-width:620px;margin-top:0}
.representation-powers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.representation-powers>div{padding:15px;border:1px solid var(--linha);border-radius:4px;background:var(--papel)}
.representation-powers span,.representation-powers strong{display:block}
.representation-powers span{color:var(--cinza);font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.representation-powers strong{margin-top:5px;font-size:14px}
.consent-row{display:flex;align-items:flex-start;gap:11px;margin-top:18px;padding:15px;border-left:3px solid var(--cobre);background:#f8f3ef;font-size:13px}
.consent-row input{width:18px;height:18px;flex:0 0 auto;margin-top:2px}
.representation-actions{display:flex;align-items:center;gap:16px;margin-top:18px}
.representation-actions small{max-width:62ch;color:var(--cinza)}
.representation-history{margin-top:24px}
.representation-history h3{margin:0;font:24px var(--serif)}
.representation-list{display:grid;gap:10px}
.representation-item{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(210px,.8fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--linha);border-radius:5px;background:#fff}
.representation-item strong,.representation-item span,.representation-item small{display:block}
.representation-item span,.representation-item small{color:var(--cinza);font-size:12px}
.representation-item .status-chip{width:max-content;margin-bottom:5px}
.representation-item-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.representation-item-actions .button{min-height:40px;padding:8px 12px;font-size:12px}
.button.danger{border-color:#d7aaa5;color:var(--vermelho)}
.representations-admin-card{margin-top:24px;border-color:rgba(180,98,47,.42)}
.representations-admin-card .admin-row{grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr) minmax(170px,.65fr)}
.representations-admin-card .role-chip{margin-bottom:5px}
@media(max-width:820px){.representation-head,.representation-actions{align-items:stretch;flex-direction:column}.security-chip{width:max-content}.representation-powers{grid-template-columns:1fr}.representation-item{grid-template-columns:1fr}.representation-item-actions{justify-content:flex-start}}
@media(max-width:680px){.representations-admin-card .admin-row{grid-template-columns:1fr}}
