.device .ws-page .tm-people-list{margin:14px 0 0}
.device .ws-page .tm-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #34313621;min-width:0}
.device .ws-page .tm-person>div{min-width:0}
.device .ws-page .tm-person strong{display:block;font:500 17px/1.3 "Source Sans 3",sans-serif;color:#343136}
.device .ws-page .tm-person a{display:block;font:400 14px/1.4 "Source Sans 3",sans-serif;color:#3F7771;overflow-wrap:anywhere;text-decoration:none;margin-top:4px}
.device .ws-page .tm-person button{flex:0 0 auto;min-height:40px!important;padding:5px 0!important;border:0!important;background:none!important;color:#3F7771!important;font:500 14px/1.3 Manrope,sans-serif!important}
.device .ws-page .tm-demo{font:400 12px/1.4 "Source Sans 3",sans-serif!important;color:#343136C7!important;margin:18px 0 0!important}
.device .ws-page :is(#tm-team-choice,#tm-memory-team,#tm-memory-project){margin-bottom:9px!important}
.device .ws-page .tm-team-projects{margin-top:24px}
.device .ws-page .tm-project{border:1px solid #6C869543;border-left:3px solid #6C8695;border-radius:9px;background:#6C86950B;padding:12px;margin:10px 0}
.device .ws-page .tm-project p{font-size:15px!important;color:#343136C7!important}
.device .ws-page .tm-project-tasks summary{display:flex;justify-content:space-between;align-items:center;list-style:none;min-height:42px;font:500 14px/1.3 Manrope,sans-serif;color:#3F7771;cursor:pointer}
.device .ws-page .tm-project-tasks summary::-webkit-details-marker{display:none}
.device .ws-page .tm-project-tasks button{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto 8px;align-items:center;gap:9px;min-height:44px;border:0;border-top:1px solid #6C869533;background:none;text-align:left;padding:10px 0;color:#343136;font:400 15px/1.35 "Source Sans 3",sans-serif!important}
.device .ws-page .tm-project-tasks button>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.device .ws-page .tm-project-tasks button small{font-size:11px!important;color:#3F7771!important}
.tm-project-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid #6C869533;padding-top:8px;margin-top:6px}
.device .ws-page .tm-project-actions button,dialog#sheet.audit-panel .tm-project-actions button{background:none!important;border:0!important;color:#3F7771!important;font:500 14px/1.3 Manrope,sans-serif!important;padding:6px 0!important;min-height:40px!important}
.device .ws-page .tm-project-actions button.tm-danger,dialog#sheet.audit-panel .tm-project-actions button.tm-danger{color:#DB1C4B!important;margin-left:auto}
.device .ws-page .tm-memory-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:10px}
.device .ws-page .tm-memory-context label{margin:0!important;font-size:13px!important}
.device .ws-page .tm-memory-context select{margin-top:6px!important;font-size:14px!important}
.device .ws-page .tm-memory-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}
.device .ws-page .tm-memory-top button{font-size:14px!important;padding:10px!important;min-width:0}
.device .ws-page .tm-memory-items{margin-top:15px}
.device .ws-page .tm-memory-note{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #34313621;border-radius:0!important;background:#FFFFFF;text-align:left;padding:12px 0;color:#343136}
.device .ws-page .tm-memory-note>span:first-child{min-width:0}
.device .ws-page .tm-memory-note strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:400 16px/1.35 "Source Sans 3",sans-serif}
.device .ws-page .tm-memory-note small{display:block;margin-top:5px}
.device .ws-page .tm-memory-items .ws-memory-item>summary{grid-template-columns:26px minmax(0,1fr) 10px}
.device .ws-page .tm-proposal{padding:10px 0;border-bottom:1px solid #34313621}
.device .ws-page .tm-proposal strong{font:500 15px/1.4 "Source Sans 3",sans-serif}
.device .ws-page .tm-proposal p{margin:5px 0!important;font-size:14px!important}
.device .ws-page .tm-proposal>div{display:flex;gap:12px;margin-top:8px}
.device .ws-page .tm-proposal button{min-height:40px!important;font-size:14px!important;padding:5px 0!important;background:none!important;border:0!important;color:#3F7771!important}
dialog#sheet.audit-panel .tm-role-lab{border-top:1px solid #34313621;margin-top:12px;padding-top:4px}
dialog#sheet.audit-panel .tm-role-lab>summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;list-style:none;cursor:pointer;font:500 14px/1.3 Manrope,sans-serif;color:#3F7771}
dialog#sheet.audit-panel .tm-role-lab>summary::-webkit-details-marker{display:none}
dialog#sheet.audit-panel .tm-role-lab label{display:block;font:500 14px/1.4 "Source Sans 3",sans-serif;margin:9px 0 6px;color:#343136}
dialog#sheet.audit-panel .tm-file-control{display:inline-flex!important;align-items:center;gap:8px;border:1px solid #3F777157;border-radius:7px;min-height:40px;padding:7px 10px;position:relative;cursor:pointer;color:#3F7771!important;font:500 14px/1.3 Manrope,sans-serif!important}
dialog#sheet.audit-panel .tm-file-control input{position:absolute!important;width:1px!important;height:1px!important;clip:rect(0,0,0,0)!important;overflow:hidden!important;opacity:0!important}
dialog#sheet.audit-panel #tm-project-description{min-height:90px!important;height:90px!important}
dialog#sheet.audit-panel #tm-memory-text{min-height:120px!important}

/* Project groups, contact directory and compact memory composers. */
.device .ws-page .tm-my-project-team{border:1px solid #3431362B;border-radius:12px;background:#FFFFFF;margin-bottom:12px;overflow:hidden}
.device .ws-page .tm-my-project-team>summary{display:flex;align-items:center;gap:10px;padding:15px;cursor:pointer;list-style:none;color:#3F7771}
.device .ws-page .tm-my-project-team>summary::-webkit-details-marker{display:none}
.device .ws-page .tm-my-project-team>summary>span{margin-left:auto;font-size:13px;white-space:nowrap}
.device .ws-page .tm-my-project-content{padding:0 14px 14px}
.device .ws-page .tm-my-project-content .tm-project{margin:0;padding:12px 0;border:0;border-top:1px solid #34313624;border-radius:0}
.device .ws-page .tm-directory-team{margin:0 0 20px;padding:16px;border:1px solid #34313627;border-radius:14px;background:#B8818210}
.device .ws-page .tm-directory-team h2{font:700 22px/1.2 Manrope,sans-serif!important;color:#3F7771!important;margin:0 0 12px!important}
.device .ws-page .tm-directory-project{padding:12px 0;border-top:1px solid #34313626}
.device .ws-page .tm-directory-project h3{font:700 18px/1.25 Manrope,sans-serif!important;margin:0 0 4px!important;color:#343136!important}
.device .ws-page .tm-directory-project>p{margin:0 0 10px!important;font:400 15px/1.45 "Source Sans 3",sans-serif!important;color:#343136C7!important}
.device .ws-page .tm-contact-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #34313623;min-width:0}
.device .ws-page .tm-contact-line>span{display:grid;gap:2px;min-width:0}
.device .ws-page .tm-contact-line strong{font:500 16px/1.3 Manrope,sans-serif}
.device .ws-page .tm-contact-line a{font:400 14px/1.4 "Source Sans 3",sans-serif;color:#3F7771;overflow-wrap:anywhere;min-width:0}
.device .ws-page button.tm-memory-search-open{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;margin:16px 0!important}
#sheet .tm-memory-balloon{position:relative;border:1px solid #3F777165;border-radius:12px;background:#FFFFFF;margin:12px 0}
#sheet .tm-memory-balloon textarea{display:block;box-sizing:border-box;width:100%;min-height:140px;border:0!important;background:transparent!important;border-radius:12px!important;margin:0!important;padding:14px!important;resize:vertical}
#sheet .tm-memory-balloon:has(.tm-memory-mic) textarea{padding-bottom:58px!important}
#sheet .tm-memory-mic{position:absolute;right:9px;bottom:9px;width:42px!important;min-height:42px!important;display:grid;place-items:center;border:0!important;border-radius:10px;background:#3F777117;color:#3F7771;padding:8px!important}
#sheet .tm-memory-mic svg{width:23px;height:23px}
#sheet .tm-memory-search-results{margin-top:20px;border-top:1px solid #34313626;padding-top:14px}
#sheet .tm-memory-search-results article{padding:12px 0;border-bottom:1px solid #34313626}
#sheet .tm-memory-search-results :is(h4,p){margin:0 0 7px;line-height:1.45}
@media(max-width:420px){.device .ws-page .tm-contact-line{align-items:flex-start;flex-direction:column;gap:5px}.device .ws-page .tm-my-project-team>summary{flex-wrap:wrap}.device .ws-page .tm-my-project-team>summary>span{margin-left:34px}}

/* Shared card treatment taken from the mansionari cards. */
.device .ws-page :is(.tm-directory-team,.tm-my-project-team,.ws-role-card){border:1px solid #34313621!important;border-left:3px solid #B88182!important;border-radius:10px!important;background:#FFFFFF!important}
.device .ws-page .tm-directory-team .entity-info-team-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.device .ws-page .tm-directory-team .entity-info-team-heading h2{margin:0!important;min-width:0}
.device .ws-page .tm-directory-team .entity-info-team-heading .ws-icon{flex-shrink:0}

/* Profile uses the same header, icon rows and demo box as Notifications. */
dialog#sheet.audit-panel:has(.compact-profile-menu) .sheet-head button#close-sheet{position:static!important;flex:0 0 36px!important;min-width:36px!important;width:36px!important;height:40px!important;min-height:40px!important;margin:-6px -5px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:7px!important;box-shadow:none!important;color:#3F7771!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-menu-row{box-sizing:border-box!important;display:grid!important;grid-template-columns:26px minmax(0,1fr) 20px!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:72px!important;margin:0!important;padding:14px 10px!important;border:0!important;border-bottom:1px solid #34313621!important;border-radius:0 0 8px 8px!important;background:#FFFFFF!important;box-shadow:none!important;text-align:left!important;color:#343136!important;cursor:pointer!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-row-copy{display:block!important;min-width:0!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-row-copy strong{display:block!important;font:500 17px/1.3 Manrope,sans-serif!important;color:#343136!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-row-copy small{display:block!important;margin:3px 0 0!important;font:500 13px/1.35 Manrope,sans-serif!important;color:#343136C7!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu :is(.profile-row-icon,.compact-profile-avatar){box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important;aspect-ratio:1!important;color:#3F7771!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .compact-profile-avatar{border:1px solid #3F777166!important;border-radius:50%!important;background:#3F777117!important;font:500 17px/1 Manrope,sans-serif!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .compact-profile-avatar img{width:26px!important;height:26px!important;object-fit:cover!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-row-chevron{width:20px!important;height:26px!important;color:#3F7771!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .tm-role-lab{margin:16px 0 8px!important;padding:10px!important;border:1px solid #34313621!important;border-radius:8px!important;background:#34313609!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .tm-role-lab>summary{display:list-item!important;list-style:disclosure-closed inside!important;min-height:28px!important;padding:0!important;font:500 15px/1.3 Manrope,sans-serif!important;color:#3F7771!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .tm-role-lab[open]>summary{list-style-type:disclosure-open!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .tm-role-lab>summary::-webkit-details-marker{display:inline!important}
dialog#sheet.audit-panel #sheet-body .compact-profile-menu .profile-demo-note{margin:12px 0 0!important}
