body[data-role-accent="admin"] { --role-accent: #334A67; }
html[data-theme="dark"] body[data-role-accent="admin"] { --role-accent: #A7BCD9; }
body[data-role-accent="lab_manager"] { --role-accent: #4C43A6; }
html[data-theme="dark"] body[data-role-accent="lab_manager"] { --role-accent: #B7ADFF; }
body[data-role-accent="direction_head"] { --role-accent: #175C99; }
html[data-theme="dark"] body[data-role-accent="direction_head"] { --role-accent: #86BEF5; }
body[data-role-accent="engineer"] { --role-accent: #006B73; }
html[data-theme="dark"] body[data-role-accent="engineer"] { --role-accent: #77D4D5; }
body[data-role-accent="registrar"] { --role-accent: #875500; }
html[data-theme="dark"] body[data-role-accent="registrar"] { --role-accent: #F1BD65; }
body[data-role-accent="technical_writer"] { --role-accent: #743B78; }
html[data-theme="dark"] body[data-role-accent="technical_writer"] { --role-accent: #DBA7DF; }
body[data-role-accent="clerk"] { --role-accent: #8E4F36; }
html[data-theme="dark"] body[data-role-accent="clerk"] { --role-accent: #E5AB90; }
body[data-role-accent="aup"] { --role-accent: #326347; }
html[data-theme="dark"] body[data-role-accent="aup"] { --role-accent: #9AD0AC; }
body[data-role-accent="quality_manager"] { --role-accent: #59642A; }
html[data-theme="dark"] body[data-role-accent="quality_manager"] { --role-accent: #C2CE85; }
body[data-role-accent="trainee"] { --role-accent: #67538D; }
html[data-theme="dark"] body[data-role-accent="trainee"] { --role-accent: #C8B7EC; }
body[data-role-accent="customer"] { --role-accent: #126A93; }
html[data-theme="dark"] body[data-role-accent="customer"] { --role-accent: #8BCDE8; }

body[data-role-accent] > header {
    border-block-start: 3px solid var(--role-accent);
}
body[data-role-accent] .account-role-accent {
    color: var(--role-accent);
    font-weight: 650;
}
body[data-role-accent] #site-navigation a.active {
    color: var(--role-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

html body[data-role-accent="engineer"] > header .account-dropdown > summary > .account-role-accent {
    color: #a7efc0;
}
html body .account-dropdown-menu .role-option.active {
    background: #e8f5ff;
    color: #07548b;
}
html[data-theme="dark"] body .account-dropdown-menu .role-option.active {
    background: #153550;
    color: #bce8ff;
}
html body .account-dropdown-menu .role-option.active > :is(span, strong) { color: inherit; }
