/* Header controls may grow with surveys, badges and translated labels. */
#employeeView>.employee-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}
#employeeView .employee-header .brand-heading{min-width:0}
#employeeView .employee-header h1{white-space:normal;overflow-wrap:normal}
#employeeView .employee-navigation{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}
#employeeView .employee-navigation>*{flex-shrink:0}
#employeeView .employee-navigation>[data-notifications]{order:0}
#employeeView .employee-navigation>.employee-menu{order:1}
#employeeView .employee-navigation>[data-surveys]{order:2}
body .site-live-notice{flex-basis:100%;grid-column:1/-1;max-width:none;margin:0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.employee-statistics{border:1px solid var(--line);border-radius:16px;background:var(--surface-solid);padding:16px;margin:0 0 16px;color:var(--text)}
.own-stat-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.own-stat-heading h2{margin:0;font-size:16px}.own-stat-heading>span,.own-stat-values span,.own-stat-pending{font-size:12px;color:var(--muted)}
.own-stat-values{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.own-stat-values>div{display:grid;gap:5px}.own-stat-values strong{font-size:22px;font-variant-numeric:tabular-nums;line-height:1.3}.own-stat-values small{font-size:13px;font-weight:400}
.own-stat-types{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.own-stat-types>span{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:9px;padding:7px 10px;font-size:13px}.own-stat-types strong{font-variant-numeric:tabular-nums}.own-stat-pending{display:block;margin-top:12px}
#reportAccessDialog{width:min(900px,calc(100vw - 24px));padding:0;background:var(--surface-solid);color:var(--text);border:1px solid var(--line);border-radius:16px;max-height:calc(100dvh - 24px);overflow:auto}
.report-access-card{padding:20px}.report-access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-access-heading h2{margin:0;font-size:20px}
.report-access-form{display:grid;gap:16px;margin-top:18px}.report-access-form fieldset{margin:0;border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0}.report-access-form legend{padding:0 6px;font-size:14px;font-weight:600}.access-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.access-fields>label{display:grid;gap:6px;font-size:13px}.access-fields input,.access-fields select{width:100%;min-width:0;box-sizing:border-box}.access-choices{display:flex;flex-wrap:wrap;gap:12px}.access-choices label,.access-people label{display:flex;align-items:center;gap:8px;font-size:14px}.report-access-card input[type=checkbox]{width:18px;height:18px;margin:0;flex:none}.access-people{display:grid;gap:10px;max-height:220px;overflow:auto;margin-top:10px;padding:4px}.access-people small{color:var(--muted)}.access-search{width:100%;box-sizing:border-box;margin-top:10px}.access-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.access-help{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}.access-count{font-size:13px;color:var(--muted)}.access-grants{display:grid;gap:10px;margin-top:14px}.access-grant{padding:12px;border:1px solid var(--line);border-radius:10px;display:grid;gap:8px}.access-grant p{margin:0;font-size:13px;overflow-wrap:anywhere}.access-grant button{justify-self:start}.access-status{font-size:13px;margin:12px 0;white-space:pre-wrap}.access-status:empty{display:none}
#reportAccessDialog [hidden]{display:none!important}
#reportAccessDialog{background:var(--surface-solid,#fff)!important;box-shadow:0 24px 90px #0005}
#reportAccessDialog .icon-btn{min-width:44px;min-height:44px}
@media(max-width:760px){
 #employeeView>.employee-header{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}
 #employeeView .employee-header .brand-heading{width:100%;gap:8px}
 #employeeView .employee-navigation{width:100%;justify-content:flex-start;flex-wrap:wrap;display:flex}
 #employeeView .employee-navigation>[data-notifications],#employeeView .employee-navigation>.employee-menu>summary,#employeeView .employee-navigation>[data-surveys]{min-height:44px;box-sizing:border-box}
 #employeeView .employee-navigation>[data-surveys]{font-size:14px;padding:10px 14px;max-width:100%}
 #employeeView .employee-navigation .employee-menu-items{left:0;right:auto;max-width:calc(100vw - 48px);box-sizing:border-box}
 .access-fields{grid-template-columns:minmax(0,1fr)}.report-access-card{padding:14px}.own-stat-values{gap:10px;grid-template-columns:1.6fr 1fr 1fr}.own-stat-values strong{font-size:19px}.employee-statistics{padding:14px}
 #reportAccessDialog :is(input,select){font-size:16px}
}

#employeeView .employee-navigation>[data-own-statistics]{order:3;min-height:44px;font-size:14px;padding:10px 12px}
#ownStatisticsDialog{width:min(680px,calc(100vw - 24px))}#ownStatisticsDialog .employee-statistics{border:0;padding:0;margin:0}.own-stat-close{display:block;margin-left:auto}.own-workday-action{margin:0 0 12px}.own-workday-action .btn{min-height:44px}
@media(max-width:480px){.own-workday-action .btn{width:100%}#employeeView .employee-navigation{gap:6px}#employeeView .employee-navigation>[data-own-statistics],#employeeView .employee-navigation>[data-surveys]{font-size:13px;padding:9px}}
