
/* Targeted visual overrides. Loaded last; theme-scoped where requested. */
html[data-theme="light"] .erp-feature .people-visual,
html[data-theme="light"] .people-feature .people-visual {
 background:linear-gradient(145deg,#e5f3fb,#c9e4f5)!important;
 color:#235b7a!important;border:1px solid #b5d5e8!important;
 box-shadow:0 10px 26px #235c771a!important;
}
html[data-theme="light"] .erp-feature .people-visual span,
html[data-theme="light"] .people-feature .people-visual span {color:#235b7a!important}
html[data-theme="light"] .erp-feature .people-avatar{color:#1375a9!important}
html[data-theme="light"] .erp-feature .people-lines i{background:#9cc8e1!important}
/* Remove the back button tile including its hover/focus and pseudo backgrounds. */
html body .page-back-button,html body .page-back-button:hover,
html body .page-back-button:focus,html body .page-back-button:active{
 background:transparent!important;background-color:transparent!important;
 background-image:none!important;border:0!important;box-shadow:none!important;
 outline:0!important;filter:none!important;text-shadow:none!important;
}
html body .page-back-button::before,html body .page-back-button::after,
html body .page-back-button:hover::before,html body .page-back-button:hover::after{
 background:transparent!important;background-image:none!important;
 box-shadow:none!important;
}
html body .page-back-button .back-chevron{
 width:26px!important;height:26px!important;stroke:#f4b940!important;
 filter:drop-shadow(0 1px 1px #986b2b44)!important;transform:none!important;
}
html body .page-back-button:hover .back-chevron{
 filter:drop-shadow(0 0 2px #e4ad4c88)!important;transform:none!important;
}
html body .page-back-button .back-label{display:none!important}
/* The image chooser stays directly BELOW its label, aligned to the RIGHT in RTL. */
.sinaa-profile-dialog .sinaa-profile-upload-label{
 display:grid!important;grid-template-columns:max-content 1fr!important;
 gap:8px!important;justify-content:start!important;align-items:center!important;
}
.sinaa-profile-dialog .sinaa-profile-upload-label .sinaa-profile-file-picker{
 grid-column:1!important;grid-row:2!important;justify-self:start!important;
 padding:6px 10px!important;font-size:11px!important;
}
.sinaa-profile-dialog .sinaa-profile-upload-label .sinaa-profile-file-name{
 grid-column:2!important;grid-row:2!important;justify-self:start!important;
}
html[data-theme="light"] .sinaa-profile-dialog .sinaa-profile-file-picker{
 background:#e4f3fa!important;color:#175a79!important;border-color:#9cc8e0!important;
}
/* Status chips: all known operating cards, not only .active variants. */
html[data-theme="light"] .org-portal .basic-definition-card .op-status,
html[data-theme="light"] .org-portal .basic-definition-card .basic-status,
html[data-theme="light"] .org-portal .operating-page .op-status,
html[data-theme="light"] .org-portal .operating-page .status-pill,
html[data-theme="light"] .org-portal .operating-page .op-badge,
html[data-theme="light"] .org-portal .operating-page .op-chip,
html[data-theme="light"] .org-portal .operating-page .badge.active{
 background:#e2f5eb!important;color:#176b4e!important;
 border:1px solid #c2e4d2!important;box-shadow:none!important;
}
html[data-theme="light"] .org-portal .operating-page .inactive,
html[data-theme="light"] .org-portal .operating-page .is-inactive{
 background:#f9ebdf!important;color:#8e542d!important;border-color:#ead1bb!important;
}
/* Light employee search: actual element is input#emSearch, not .em-search-input. */
html[data-theme="light"] #emRoot #emSearch,
html[data-theme="light"] .em-shell #emSearch,
html[data-theme="light"] .em-unified-toolbar .em-search-wrap input[type="search"]{
 background:#f5f9fc!important;background-color:#f5f9fc!important;
 color:#183f57!important;border:1px solid #c5d9e6!important;
}
html[data-theme="light"] #emRoot #emSearch::placeholder{color:#668397!important}
html[data-theme="light"] #emRoot .em-menu-toggle{border-color:#b9d1df!important}
/* Dark employee filters: borders just a shade lighter than the input surface. */
html[data-theme="dark"] #emRoot .em-unified-toolbar .em-filter-trigger,
html[data-theme="dark"] #emRoot .em-unified-toolbar .em-search-wrap input,
html[data-theme="dark"] #emRoot .em-unified-toolbar .em-menu-toggle{
 border:1px solid #28465b!important;box-shadow:none!important;
}
html[data-theme="light"] #emRoot .em-unified-toolbar .em-filter-trigger{
 border:1px solid #d1dfe9!important;box-shadow:none!important;
}
#emRoot .em-table thead th{font-weight:750!important}

/* Keep the actual SVG back arrow visible in both themes */
html body .page-back-button .back-chevron,html body .page-back-button .page-back-icon{display:block!important;visibility:visible!important;opacity:1!important;}

/* Back navigation: do not suppress pseudo-element arrow borders */
html body .page-back-button::before,html body .page-back-button::after{visibility:visible!important;opacity:1!important}
