/* Attorney portfolios extend the selected A layout and its existing type/color system. */
.attorney-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}
.attorney-card{display:block;background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);padding:22px;transition:border-color .15s,box-shadow .15s}
.attorney-card:hover{border-color:#aebfac;box-shadow:0 4px 18px #244f4609}
.attorney-card-head{display:flex;align-items:center;gap:13px}
.attorney-card-head>div{min-width:0;flex:1}
.attorney-card-head h2{font-size:16px;letter-spacing:-.3px;overflow-wrap:anywhere}
.attorney-card-head p{font-size:10px;color:var(--muted);margin-top:5px}
.attorney-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#e5ede2;color:#48633f;font-size:12px;font-weight:750}
.attorney-avatar.large{width:62px;height:62px;font-size:18px;border-radius:17px}
.attorney-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:25px 0 21px}
.attorney-stats dt{font-size:10px;color:var(--muted)}
.attorney-stats dd{font-size:25px;font-weight:650;margin:5px 0 0;letter-spacing:-.8px}
.attorney-card-foot{border-top:1px solid var(--border);padding-top:15px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}
.attorney-card-foot strong{color:var(--accent);white-space:nowrap}
.profile-identity{display:flex;align-items:center;gap:18px;min-width:0}
.profile-identity>div{min-width:0}
.profile-identity h1{overflow-wrap:anywhere}
.profile-selector{display:grid;gap:6px;font-size:10px;color:var(--muted);max-width:300px;min-width:190px}
.profile-selector select{width:100%;text-overflow:ellipsis}
.profile-heading .heading-actions{align-items:end;flex-wrap:wrap;justify-content:flex-end}
.profile-note{font-size:11px;line-height:1.7;color:var(--muted);margin:16px 0 20px}
.profile-toolbar{margin-bottom:0;flex-wrap:wrap}
.profile-toolbar .view-toggle button{padding:9px 12px}
.profile-heading+.read-only{margin-bottom:24px}
@media(min-width:1450px){.attorney-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.profile-heading{flex-direction:column;align-items:stretch}.profile-heading .heading-actions{justify-content:flex-start}.profile-identity h1{font-size:25px}}
@media(max-width:600px){.attorney-grid{grid-template-columns:minmax(0,1fr)}.attorney-card{padding:18px}.profile-identity{gap:12px}.attorney-avatar.large{width:46px;height:46px;font-size:13px}.profile-selector{max-width:100%;min-width:0;flex:1}.profile-toolbar{align-items:stretch}.profile-toolbar .search-field{max-width:none;width:100%}.profile-toolbar .view-toggle{width:100%}.profile-toolbar .view-toggle button{flex:1;justify-content:center;padding:8px 6px;font-size:10px}.profile-heading .heading-actions{width:100%}}
