.benchmark-profile{padding-bottom:32px;margin-bottom:32px;border-bottom:var(--hairline) solid var(--line)}
.profile-summary{max-width:74ch}
.profile-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 32px;margin:24px 0}
.profile-facts div{min-width:0}
.profile-facts div:last-child{grid-column:1/-1}
.profile-facts dt{font-size:var(--type-meta);line-height:1.5;color:var(--muted);margin-bottom:4px}
.profile-facts dd{margin:0;font-size:var(--type-body);line-height:1.6;font-variant-numeric:tabular-nums}
.profile-skills{line-height:1.7}
.profile-skills strong{display:block;font-size:var(--type-meta);font-weight:var(--weight-label);color:var(--muted);margin-bottom:4px}
.profile-actions{display:flex;gap:8px 24px;flex-wrap:wrap;align-items:baseline;margin-top:20px}
.profile-detail{min-width:0}
.profile-detail summary{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer;list-style:none;font-size:var(--type-meta);font-weight:var(--weight-label);color:var(--ink)}
.profile-detail summary::-webkit-details-marker{display:none}
.profile-detail summary:hover{color:var(--article-accent)}
.profile-detail summary:focus-visible{outline-offset:3px}
.profile-detail[open]{flex-basis:100%}
.profile-detail[open] summary svg{transform:rotate(45deg)}
.profile-detail-content{padding-block:16px;max-width:74ch}
.profile-topic+.profile-topic{margin-top:28px;padding-top:24px;border-top:var(--hairline) solid var(--line)}
.profile-topic h3{margin:0 0 12px;font-size:var(--type-body);font-weight:var(--weight-strong);line-height:1.6}
.profile-topic p{margin:0;line-height:1.8}
.profile-topic p+p{margin-top:12px}
.profile-dialog{padding:0;margin:auto;width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);border:var(--hairline) solid var(--line-strong);border-radius:0;background:var(--surface);color:var(--ink);font:inherit;overflow:hidden}
.profile-dialog[open]{display:flex;flex-direction:column}
.profile-dialog::backdrop{background:var(--backdrop)}
.profile-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;border-bottom:var(--hairline) solid var(--line);flex-shrink:0}
.profile-dialog-header #profile-dialog-title{margin:0;font-size:var(--type-heading);line-height:1.5;font-weight:var(--weight-label)}
.profile-dialog-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:0;border-radius:var(--control-radius);background:transparent;color:var(--muted);cursor:pointer}
.profile-dialog-close:hover{background:var(--surface-hover);color:var(--ink)}
.profile-dialog-body{overflow:auto;overscroll-behavior:contain;padding:24px 32px 32px;scrollbar-color:var(--line-strong) var(--surface);scrollbar-gutter:stable}
.profile-dialog-body:focus-visible{outline-offset:-3px}
.profile-dialog-body .profile-detail-content{padding:0;margin-inline:auto}
@media(max-width:540px){
  .benchmark-profile{padding-bottom:24px;margin-bottom:24px}
  .profile-facts{gap:16px 20px;margin:20px 0}
  .profile-actions{gap:0 20px;margin-top:16px}
  .profile-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
  .profile-dialog-header{padding:8px 12px 8px 20px}
  .profile-dialog-body{padding:20px}
}
@media print{
  .profile-actions{display:block}
  .profile-detail-content{display:block!important;content-visibility:visible!important}
  .profile-detail summary svg,.profile-dialog{display:none!important}
}
