/* Employee hours shares the Production buttons, frames and typography. */
#employee-hours-panel{min-width:0;margin-top:24px}
#employee-hours-panel h2{font-size:1.625rem;color:var(--green)}
#employee-hours-panel fieldset{padding:0;margin:0;border:0;min-width:0}
#employee-hours-panel .eh-week-picker{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}
#employee-hours-panel .eh-week-picker label{margin:0;min-width:160px}
#employee-hours-panel .eh-week-picker .button{min-height:46px}
#employee-hours-panel .eh-week-label{width:100%;font-weight:700;margin:0;color:var(--green)}
#employee-hours-panel .eh-table{width:100%;overflow-x:auto}
#employee-hours-panel table{width:100%;border-collapse:collapse;font-size:1rem}
#employee-hours-panel :is(th,td){padding:10px 6px;border:1px solid #bcc8ae;vertical-align:middle;text-align:center}
#employee-hours-panel th:first-child{text-align:left}
#employee-hours-panel :is(thead,tfoot){background:#e6edda;color:var(--green)}
#employee-hours-panel th{font-size:.9375rem}
#employee-hours-panel td.eh-output{background:#f1f4e6;white-space:nowrap}
#employee-hours-panel .eh-rate{white-space:nowrap;font-size:.875rem}
#employee-hours-panel .eh-table input{box-sizing:border-box;width:100%;min-width:58px;min-height:46px;padding:8px 5px;text-align:center;font-size:1rem;margin:0}
#employee-hours-panel .eh-rates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#employee-hours-panel .eh-rates span{display:block;margin-top:7px;font-size:.9375rem;line-height:1.5}
#employee-hours-panel .eh-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px}
#employee-hours-panel .eh-status{margin-right:auto;font-size:1rem}
#employee-hours-panel .eh-status[data-saved=true]{color:#23703b;font-weight:700}
#employee-hours-panel .eh-status[data-saved=true]::before{content:'';display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;background:#2d9a4c}
#employee-hours-panel .eh-history-list{display:grid;gap:10px}
#employee-hours-panel .eh-history-week{text-align:left;white-space:normal}
@media screen and (max-width:850px){
 #employee-hours-panel .eh-rates{grid-template-columns:repeat(2,minmax(0,1fr))}
 #employee-hours-panel .eh-table{overflow:visible}
 #employee-hours-panel :is(table,tbody,tfoot){display:block}
 #employee-hours-panel thead{display:none}
 #employee-hours-panel tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px;padding:14px;border:1px solid #bcc8ae;border-radius:14px}
 #employee-hours-panel tbody :is(th,td){border:0;padding:0;text-align:left;min-width:0}
 #employee-hours-panel tbody th{grid-column:1/-1;font-size:1.25rem}
 #employee-hours-panel tbody .eh-rate{grid-column:1/-1}
 #employee-hours-panel td[data-label]::before{content:attr(data-label);display:block;font-size:.875rem;font-weight:600;margin-bottom:5px}
 #employee-hours-panel td.eh-output{padding:10px;border-radius:8px;font-size:1.125rem}
 #employee-hours-panel tfoot tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}
 #employee-hours-panel tfoot th{grid-column:1/-1}
 #employee-hours-panel tfoot :is(th,td){border:0;padding:0;text-align:left}
 #employee-hours-panel tfoot :is(.eh-empty,.eh-daily-total){display:none}
}
@media print{
 body.production-page[data-production-panel="employee-hours"] :is(.production-header-frame,.production-nav,#plan-status,#weekly-totals){display:none!important}
 body.production-page[data-production-panel="employee-hours"] #employee-hours-panel :is(.eh-week-picker,.eh-actions,[data-eh-history],[data-eh-rates-section]){display:none!important}
 #employee-hours-panel .eh-table{overflow:visible}
}
