#settings {max-width:48rem;margin-inline:auto}
#settings>h1 {font-size:clamp(2.25rem,5vw,3.75rem);letter-spacing:-.05em;margin:0 0 1.5rem}
.profilehead,.profileteam,#settings .profilerow>summary {display:flex;align-items:center;gap:1rem}
.profilehead {justify-content:space-between;padding:0 0 1.75rem}
.profilehead .personavatar {width:3.5rem;height:3.5rem;font-size:1.25rem}
.profilehead .personname {font-size:1.25rem}
.profilehead .personhandle,#settings .profilerow small,#settings .profileteam small {display:block;font-size:.9375rem;font-weight:400;opacity:.75}
#editidentity {color:var(--red);min-height:44px;flex:none}
#profileidentity,.profileteam span,.profilerow summary span {min-width:0;overflow-wrap:anywhere}
#settings .profilerow,#settings .profileteam {border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;color:inherit;margin:0;width:100%;box-shadow:none}
#settings .profilerow:last-child {border-bottom:1px solid var(--line)}
#settings .profilerow>summary,#settings .profileteam {font:inherit;font-size:1.05rem;font-weight:650;list-style:none;cursor:pointer;text-align:left;padding:1rem .25rem;min-height:3.5rem}
#settings .profilerow>summary::-webkit-details-marker {display:none}
#settings .profilerow>summary:after {content:none}
.profilerow summary svg,.profileteam svg {width:1.5rem;height:1.5rem;flex:none}
.profilerow summary i,.profileteam i {width:.55rem;height:.55rem;border:solid currentColor;border-width:1px 1px 0 0;transform:rotate(45deg);margin-left:auto;margin-right:.4rem;flex:none}
.profilerow[open]>summary i {transform:rotate(135deg)}
#profiletheme {margin-left:auto}
#profiletheme+i {margin-left:0}
#settings .profilerow .card {border:0;box-shadow:none;padding:1rem 0;background:transparent}
#notificationpanel{width:min(100%,34rem);border:1px solid var(--line);padding:1.5rem;color:var(--ink);background:var(--paper,Canvas)}
#notificationpanel .dialoghead h2{font-size:2.15rem;letter-spacing:-.045em}
#notificationpanel h3{margin:1.5rem 0 .5rem;font-size:1.2rem}
#notificationpanel #notificationempty{padding:2rem 0;color:var(--muted)}
.bellrow{position:relative;border-top:1px solid var(--line);padding:.2rem 0}
.bellrow[data-unread=true]::before{content:'';width:.46rem;height:.46rem;background:#d90825;border-radius:50%;position:absolute;left:0;top:1.6rem}
#notificationpanel .bellline{display:flex;align-items:flex-start;gap:.8rem;padding:1.05rem .15rem 1rem 1rem;width:100%;color:inherit;background:transparent;border:0;text-align:left;font:inherit}
#notificationpanel button.bellline{cursor:pointer}
.bellline svg{width:1.45rem;height:1.45rem;flex:none;fill:none;stroke:currentColor;stroke-width:1.65}
.noticecopy{min-width:0;flex:1;overflow-wrap:anywhere}
.noticecopy>*{display:block;margin-bottom:.2rem}
.noticecopy small,.noticecopy>span{font-size:.94rem;color:var(--muted)}
.noticecopy .noticepreview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ink)}
.bellline>b{align-self:center;color:var(--muted)}
.bellactions{margin:0 0 1rem 3.25rem}
.bellactions button{min-height:44px;background:transparent;color:var(--accent-ink);border:0;margin-right:1rem;font-weight:650;cursor:pointer}
#notificationdetail p{overflow-wrap:anywhere;white-space:pre-wrap}
#notificationdetail table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
#notificationdetail :is(th,td){padding:.7rem 0;text-align:left;border-bottom:1px solid var(--line)}
@media(max-width:640px){:root #notificationpanel,:root[data-look=modern] #notificationpanel{inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;border:0;padding:max(1.25rem,env(safe-area-inset-top)) 1.2rem max(1.25rem,env(safe-area-inset-bottom));box-sizing:border-box}}
#bellnavigation{display:none}
@media(max-width:640px){
 #notificationpanel[open]{display:flex;flex-direction:column}
 #notificationpanel #bellnavigation{display:flex;position:sticky;bottom:0;gap:.1rem;flex:none;margin:auto -1.2rem 0;padding:.5rem .4rem;background:var(--paper);border-top:1px solid var(--line);z-index:1}
 #bellnavigation button{flex:1;display:grid;justify-items:center;align-content:center;gap:.25rem;min-height:44px;background:none;color:var(--ink);border:0;font:500 .75rem system-ui;cursor:pointer}
 #bellnavigation svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
}
