/* Profile summaries and readable full-profile dialogs, 17 October 2026. */
.profiles-page .leadership-directors-grid{align-items:start}
.profiles-page .leadership-profile .profile-summary{margin:18px 0;color:var(--muted)}
.profiles-page .profile-summary{line-height:1.65}
.profiles-page .profile-view-button{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid var(--navy);border-radius:4px;background:var(--navy);color:#fff;font:inherit;font-weight:600;text-align:left}
.profiles-page .profile-view-button:hover{background:#1e4058}
.profiles-page .team-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.profiles-page .team-summary-grid .team-summary-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-content:start;align-items:center;min-height:0;padding:22px;border-radius:4px;border-top:3px solid var(--green);box-shadow:none;transform:none}
.profiles-page .team-summary-card picture,.profiles-page .team-summary-card .team-thumb{width:80px;height:80px}
.profiles-page .team-summary-card strong{color:var(--navy)}
.profiles-page .team-summary-card small{color:var(--muted);margin-top:6px}
.profiles-page .team-summary-card .profile-summary,.profiles-page .team-summary-card .profile-view-label{grid-column:1/-1;display:block;line-height:1.65;color:var(--muted)}
.profiles-page .team-summary-card .profile-view-label{color:var(--navy);font-weight:600;text-decoration:underline;text-underline-offset:4px;align-self:end}
.profiles-page .team-summary-grid .team-summary-card:hover{background:#eef2f5!important;border-color:var(--green)}
html:has(.cma-profile-dialog[open]){overflow:hidden}
.cma-profile-dialog{width:min(860px,calc(100% - 28px));max-width:860px;max-height:86vh;max-height:86dvh;overflow-y:auto;overscroll-behavior:contain;margin:auto;padding:28px;border:1px solid var(--line);border-radius:6px;background:var(--paper,#ffffff)!important;color:var(--ink)!important;box-shadow:0 20px 70px #102c4355}
.cma-profile-dialog:not([open]){display:none}
.cma-profile-dialog::backdrop{background:#102c43b8;backdrop-filter:blur(2px)}
.cma-profile-dialog .profile-dialog-toolbar{position:sticky;top:-28px;z-index:2;display:flex;justify-content:flex-end;margin:-28px -28px 20px;padding:14px 28px;border-bottom:1px solid var(--line);background:var(--paper,#ffffff)}
.cma-profile-dialog .profile-close{position:static;float:none;min-height:44px;padding:9px 16px;border:1px solid var(--navy);border-radius:4px;background:var(--navy)!important;color:#fff!important;font:inherit}
.cma-profile-dialog h2{clear:both;padding-top:0;margin-bottom:8px;text-align:left;color:var(--navy)}
.cma-profile-dialog .role{text-align:left;clear:both;margin:0 0 18px;color:var(--muted);font-weight:600}
.cma-profile-dialog picture{display:block;width:160px;max-width:100%;margin:18px 0}
.cma-profile-dialog .profile-photo{display:block;width:160px;height:auto;max-height:none;margin:18px 0;border:0;border-radius:4px;background:transparent;object-fit:contain}
.cma-profile-dialog .profile-photo.placeholder-photo{width:104px;height:104px;padding:12px}
.cma-profile-dialog .profile-facts,.cma-profile-dialog .leadership-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:22px 0;padding:18px 0;border-block:1px solid var(--line)}
.cma-profile-dialog .profile-facts div,.cma-profile-dialog .leadership-facts div{margin:0;padding:0;border:0;background:transparent}
.cma-profile-dialog dt{font-weight:600;color:var(--navy)}
.cma-profile-dialog dd{margin:6px 0 0;color:var(--muted)}
.cma-profile-dialog .profile-copy{clear:both;line-height:1.75;overflow-wrap:anywhere}
.cma-profile-dialog .profile-copy h3{margin:26px 0 12px;color:var(--navy)}
.cma-profile-dialog .profile-copy p{margin:0 0 18px;color:var(--muted)}
.cma-profile-dialog .profile-copy p:last-child{margin-bottom:0}
.cma-profile-dialog.is-open{position:fixed;inset:7vh 14px auto;z-index:1001}
@media(max-width:1000px){.profiles-page .team-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.profiles-page .team-summary-grid{grid-template-columns:minmax(0,1fr)}.cma-profile-dialog{padding:20px;max-height:90vh;max-height:90dvh}.cma-profile-dialog .profile-dialog-toolbar{top:-20px;margin:-20px -20px 20px;padding:12px 20px}.cma-profile-dialog .profile-facts,.cma-profile-dialog .leadership-facts{grid-template-columns:minmax(0,1fr)}}
