.duty-profile-summary{padding:12px 14px;border-bottom:1px solid var(--line,#ddd);font-size:13px;line-height:1.5;max-width:min(360px,90vw)}
.duty-profile-summary h3{margin:0 0 6px;font-size:14px}
.duty-profile-summary p{margin:5px 0}
.duty-profile-account{font-weight:600;overflow-wrap:anywhere}
.duty-profile-rights,.duty-profile-indicators{color:var(--muted,#667);overflow-wrap:anywhere}
.duty-profile-duties summary{cursor:pointer;font-weight:600;margin-top:8px}
.duty-profile-duties ul{margin:7px 0 0;padding-left:19px;max-height:210px;overflow:auto}
.duty-profile-duties li{margin:0 0 8px;overflow-wrap:anywhere}
.duty-profile-duties strong,.duty-profile-duties small{display:block}
.duty-profile-duties small{color:var(--muted,#667)}
/* Historical identity follows the surface it sits on across all four themes. */
#report-view .rw-record-who{color:inherit!important;opacity:.9}
html[data-design=tech] #report-view .rw-record-table td .rw-record-who{color:#dcecf5!important;opacity:1}

@media(min-width:700px){#person-menu:has(.duty-profile-summary){width:360px;max-width:calc(100vw - 32px)}}
.duty-profile-summary{padding:10px 14px;font-size:13px;max-width:none}
.duty-profile-line{line-height:1.6;margin:4px 0;overflow-wrap:anywhere}
.mast-right .person-button:has(#person-role:empty){grid-template-rows:auto}
.mast-right .person-button:has(#person-role:empty) .v54-person-settings{grid-row:1}
.mast-right #person-role{max-width:260px}
@media(max-width:680px){.mast-right #person-role{max-width:130px}}

.duty-profile-summary{border-bottom:0}

.demo-account span{white-space:normal;overflow-wrap:anywhere}.demo-account-account{font-variant-numeric:tabular-nums}
