:root{--red:#cc0000;--ink:#202a34;--muted:#65717d;--line:#dce2e7;--surface:#f4f6f8;--radius:12px;--hr-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body.hr-app{margin:0!important;max-width:none!important;padding:0!important;background:#f5f7f9!important;color:var(--ink);font-family:var(--hr-font)!important;font-size:14px;line-height:1.55}
.hr-app a{color:inherit}.hr-app button,.hr-app input,.hr-app select{font:inherit}.hr-app button,.hr-app a,.hr-app input,.hr-app select,.hr-app summary{touch-action:manipulation}.hr-app :focus-visible{outline:3px solid #3776a8;outline-offset:3px}.hr-app [hidden]{display:none!important}
.hr-app .bm{display:none}html[lang="bm"] .hr-app .bm{display:initial}html[lang="bm"] .hr-app .en{display:none}
/* Explicit shared-shell metrics prevent broad page header/nav/button rules leaking in. */
body.hr-app .hr-shell-header,body.hr-app #hr-navigation{box-sizing:border-box;font:14px/1.4 var(--hr-font);letter-spacing:normal;text-transform:none;box-shadow:none;float:none;width:100%;max-width:none;margin:0;}
body.hr-app .hr-shell-header{display:flex;position:relative;align-items:center;justify-content:space-between;gap:16px;height:78px;min-height:78px;padding:0 max(24px,calc((100vw - 1280px)/2));background:#fff;color:#202a34;border:0;border-bottom:1px solid #edf0f3;border-radius:0;}
body.hr-app .hr-shell-brand{display:flex;align-items:center;gap:16px;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;text-decoration:none;color:#202a34;flex-shrink:0;font:14px/1.4 var(--hr-font);}
body.hr-app .hr-brand-mark{display:block;margin:0;padding:0 16px 0 0;border:0;border-right:1px solid #dce2e7;font:italic 850 24px/30px var(--hr-font);letter-spacing:-1px;color:#cc0000;background:transparent;}
body.hr-app .hr-brand-copy{display:flex;flex-direction:column;gap:3px;margin:0;padding:0;line-height:1.3;}
body.hr-app .hr-brand-copy strong{display:block;margin:0;padding:0;font:750 16px/1.3 var(--hr-font);letter-spacing:normal;color:#202a34;}
body.hr-app .hr-brand-copy small{display:block;margin:0;padding:0;font:500 11px/1.3 var(--hr-font);letter-spacing:normal;color:#65717d;}
body.hr-app .hr-shell-actions{display:flex;gap:8px;align-items:center;margin:0;padding:0;flex-shrink:0;}
body.hr-app .hr-shell-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:auto;min-height:44px;margin:0;padding:8px 12px;border:0;background:transparent;border-radius:7px;font:600 12px/1.4 var(--hr-font);letter-spacing:normal;text-transform:none;color:#65717d;cursor:pointer;box-shadow:none;}
body.hr-app .hr-shell-actions button:hover{background:#f4f6f8;color:#202a34;}
body.hr-app .hr-shell-actions .hr-menu-button{display:none;}
body.hr-app .hr-shell-actions .hr-updates-icon{display:none;}
body.hr-app #hr-navigation{display:flex;position:static;align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:24px;padding:0 max(24px,calc((100vw - 1280px)/2));background:#fff;color:#65717d;border:0;border-bottom:1px solid #dce2e7;border-radius:0;min-height:51px;white-space:nowrap;overflow:visible;}
body.hr-app #hr-navigation .hr-shell-link{display:flex;position:static;align-items:center;flex:0 0 auto;box-sizing:border-box;min-height:51px;margin:0;padding:12px 0;border:0;border-bottom:3px solid transparent;text-decoration:none;font:600 13px/1.4 var(--hr-font);letter-spacing:normal;text-transform:none;color:#65717d;border-radius:0;background:transparent;box-shadow:none;}
body.hr-app #hr-navigation .hr-shell-link:hover{color:#202a34;background:#f4f6f8;}
body.hr-app #hr-navigation .hr-shell-link[aria-current="page"]{color:#cc0000;border-bottom-color:#cc0000;background:transparent;}
body.hr-app .hr-main{max-width:1328px;margin:0 auto;padding:28px 24px 48px}.hr-app .skip{position:absolute;left:16px;top:-90px;z-index:1000;background:#fff;padding:10px 18px;color:var(--ink);border:2px solid var(--red)}.hr-app .skip:focus{top:10px}
#hr-updates-dialog{border:1px solid var(--line);border-radius:16px;padding:24px;width:min(620px,calc(100% - 32px));max-height:82vh;box-shadow:0 24px 70px #1525362b;color:var(--ink);font:14px/1.6 var(--hr-font)}#hr-updates-dialog::backdrop{background:#172a3c66;backdrop-filter:blur(2px)}.hr-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.hr-dialog-heading h2{margin:0;font-size:22px;letter-spacing:-.4px}.hr-dialog-heading button{width:44px;height:44px;border:0;background:var(--surface);border-radius:50%;font-size:26px;cursor:pointer}#hr-updates-dialog .hr-release-history{margin:0;border:0;padding:0;max-width:none;background:#fff}#hr-updates-dialog .hr-release-history summary{display:none}#hr-updates-dialog .hr-release-history ol{padding:0 0 0 22px}#hr-updates-dialog .hr-release-history li{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid var(--line)}#hr-updates-dialog .hr-release-history h2{font-size:16px;line-height:1.4;color:var(--ink);letter-spacing:0;text-transform:none}#hr-updates-dialog .hr-release-history time{font-size:11px;color:var(--muted)}#hr-updates-dialog .hr-release-history p{font-size:13px;color:var(--muted);margin:8px 0}
.hr-attendance[data-view-state="loading"] .hr-updates-trigger,.hr-attendance[data-view-state="signed-out"] .hr-updates-trigger,.hr-attendance[data-view-state="denied"] .hr-updates-trigger{display:none}
/* A compact navigation panel keeps the bar stable at phone and tablet widths. */
@media(max-width:1100px){
body.hr-app .hr-shell-header{padding:0 20px;}
body.hr-app .hr-shell-actions .hr-menu-button{display:inline-flex;color:#202a34;border:1px solid #dce2e7;}
body.hr-app #hr-navigation{display:none;position:absolute;z-index:100;top:78px;right:16px;left:auto;width:min(360px,calc(100% - 32px));min-height:0;max-height:calc(100dvh - 94px);overflow:auto;padding:8px;flex-direction:column;gap:0;white-space:normal;border:1px solid #dce2e7;border-radius:10px;box-shadow:0 12px 32px #202a3426;}
body.hr-app #hr-navigation.is-open{display:flex;}
body.hr-app #hr-navigation .hr-shell-link{min-height:44px;padding:12px;border:0;border-radius:6px;font-size:13px;}
body.hr-app #hr-navigation .hr-shell-link[aria-current="page"]{background:#fff1f0;border:0;}
body.hr-app .hr-main{padding:24px 20px 40px;}
}
@media(max-width:700px){
body.hr-app .hr-shell-header{height:68px;min-height:68px;padding:0 16px;gap:8px;}
body.hr-app .hr-brand-mark{font-size:21px;padding-right:10px;}
body.hr-app .hr-shell-brand{gap:10px;}
body.hr-app .hr-brand-copy strong{font-size:14px;}
body.hr-app .hr-brand-copy small{font-size:10px;max-width:145px;}
body.hr-app .hr-shell-actions{gap:4px;}
body.hr-app .hr-shell-actions button{padding:8px;font-size:11px;}
body.hr-app #hr-navigation{top:68px;max-height:calc(100dvh - 84px);}
body.hr-app .hr-main{padding:22px 16px 36px;}
#hr-updates-dialog{padding:18px;}
}
@media(max-width:420px){
body.hr-app .hr-shell-actions .hr-updates-trigger{width:44px;height:44px;padding:12px;}
body.hr-app .hr-shell-actions .hr-updates-icon{display:block;flex-shrink:0;}
/* Keep the bilingual text as the button name while presenting a compact icon. */
body.hr-app .hr-shell-actions .hr-updates-trigger span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
}
@media print{.hr-shell-header,.hr-shell-nav,#hr-updates-dialog,.hr-shell-actions{display:none!important}body.hr-app .hr-main{padding:0;max-width:none}body.hr-app{background:#fff!important}}
/* Keep native reference controls usable on touch screens. */
.hr-reference .hr-main button,.hr-reference .hr-main input,.hr-reference .hr-main select,.hr-reference .hr-main summary,.hr-reference .hr-ref-actions a,.hr-reference .hr-doc-chooser a{min-height:44px}

.hr-reference .tbl-scroll{outline-offset:3px}
