/* EDUHUNT R159 status color reinforcement.
 EDUHUNT R157 COMPLETE ATTENDANCE UI BUNDLE. */
/* EH-OA-V1.4.0: scoped exclusively to the in-portal attendance module. */
#sidebarNav .eh-oa-nav {cursor:pointer;display:flex;align-items:center;gap:12px;width:100%;}
#sidebarNav .eh-oa-nav>svg {width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#sidebarNav .eh-oa-nav.active {background:#164e80;color:#fff;}
#sidebarNav .eh-oa-nav:focus-visible {outline:2px solid #f5c96d;outline-offset:2px;}
#content .eh-oa {--eha-border:#2c4e70;--eha-text:#eaf2fc;--eha-muted:#a8c3d9;--eha-card:#102f4c;--eha-panel:#09263f;--eha-input:#082137;--eha-accent:#fed37a;--eha-blue:#12619a;color:var(--eha-text);font-family:inherit;max-width:1220px;margin:0 auto;padding:5px 2px 36px;line-height:1.5;}
#content .eh-oa * {box-sizing:border-box;}
#content .eh-oa [hidden]{display:none!important;}
#content .eh-oa .eh-oa-top {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;background:linear-gradient(115deg,#113b63,#08646a);border:1px solid #2c7491;padding:20px 24px;border-radius:15px;margin-bottom:14px;}
#content .eh-oa .eh-oa-top h2 {font-size:clamp(21px,3vw,28px);line-height:1.2;font-weight:800;color:#fff;margin:4px 0 6px;}
#content .eh-oa .eh-oa-top p {color:#d3e5ed;margin:0;font-size:13px;}
#content .eh-oa .eh-oa-eyebrow {color:#91def0;letter-spacing:.1em;font-weight:800;font-size:10px;text-transform:uppercase;}
#content .eh-oa .eh-oa-notice {padding:12px 14px;margin:13px 0;border-radius:10px;background:#0d3c51;border:1px solid #2b8192;color:#d7faf8;font-size:13px;}
#content .eh-oa .eh-oa-notice.eh-oa-error {background:#472823;color:#ffe3d8;border-color:#9c5547;}
#content .eh-oa .eh-oa-card {margin:16px 0 20px;background:var(--eha-card);border:1px solid var(--eha-border);box-shadow:0 12px 25px rgba(0,0,0,.12);padding:21px;border-radius:16px;}
#content .eh-oa h3 {font-size:20px;color:#fff;font-weight:800;margin:2px 0 8px;}
#content .eh-oa h4 {font-size:16px;color:#eaf2fc;font-weight:750;margin:16px 0 10px;}
#content .eh-oa p {margin:8px 0;}
#content .eh-oa .eh-oa-muted {font-size:12px;color:var(--eha-muted);line-height:1.55;}
#content .eh-oa .eh-oa-callout {padding:12px 14px;border-left:3px solid var(--eha-accent);border-radius:8px;background:#163951;margin:13px 0;color:#e5f2fd;font-size:13px;}
#content .eh-oa .eh-oa-section-head {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
#content .eh-oa .eh-oa-section-head h3,#content .eh-oa .eh-oa-section-head h4 {margin:0;}
#content .eh-oa .eh-oa-pill {background:#0b5552;border:1px solid #288b85;border-radius:40px;color:#b9f2dc;padding:8px 13px;font-size:12px;font-weight:800;}
#content .eh-oa .eh-oa-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;}
#content .eh-oa .eh-oa-buttons {display:flex;gap:12px;margin:18px 0 10px;}
#content .eh-oa .eh-oa-buttons>button {flex:1;min-height:63px;font-size:17px;}
#content .eh-oa .eh-oa-btn {display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid transparent;padding:10px 14px;min-height:41px;font:inherit;font-size:13px;font-weight:750;cursor:pointer;text-align:center;}
#content .eh-oa .eh-oa-btn.eh-oa-primary {background:#f5c562;color:#102b48;border-color:#e8b957;}
#content .eh-oa .eh-oa-btn.eh-oa-secondary {background:#236496;color:white;border-color:#2772a8;}
#content .eh-oa .eh-oa-btn.eh-oa-quiet {background:#173955;color:#dcebf6;border-color:#446581;}
#content .eh-oa .eh-oa-btn:disabled {opacity:.45;cursor:not-allowed;}
#content .eh-oa .eh-oa-btn:focus-visible,#content .eh-oa input:focus-visible,#content .eh-oa select:focus-visible,#content .eh-oa textarea:focus-visible {outline:2px solid var(--eha-accent);outline-offset:2px;}
#content .eh-oa label {display:block;font-weight:650;font-size:12px;color:#bed8ea;margin:10px 0;}
#content .eh-oa label input:not([type=checkbox]),#content .eh-oa label select,#content .eh-oa label textarea,#content .eh-oa .eh-oa-report-actions input {display:block;width:100%;margin-top:6px;min-height:40px;border-radius:8px;padding:9px 11px;border:1px solid #507089;background:var(--eha-input);color:#f0f7ff;font:inherit;font-size:13px;}
#content .eh-oa label textarea {min-height:85px;resize:vertical;}
#content .eh-oa input[type=checkbox] {width:16px;height:16px;vertical-align:middle;margin-right:8px;accent-color:#ffce73;}
#content .eh-oa .eh-oa-check {margin:12px 0;}
#content .eh-oa .eh-oa-panel {border:1px solid #2d516f;background:var(--eha-panel);padding:17px;border-radius:13px;min-width:0;}
#content .eh-oa .eh-oa-panel h4 {margin:0 0 12px;}
#content .eh-oa .eh-oa-scroll {max-width:100%;overflow:auto;border:1px solid #2d516f;border-radius:11px;margin:10px 0 20px;}
#content .eh-oa .eh-oa-scroll table {border-collapse:collapse;min-width:520px;width:100%;color:var(--eha-text);font-size:12px;}
#content .eh-oa .eh-oa-scroll th,#content .eh-oa .eh-oa-scroll td {padding:10px 12px;text-align:left;border-bottom:1px solid #2d4e69;}
#content .eh-oa .eh-oa-scroll th {background:#19537f;color:#fff;font-weight:800;}
#content .eh-oa .eh-oa-request {padding:10px 12px;border-bottom:1px solid #284961;}
#content .eh-oa .eh-oa-request .eh-oa-btn {margin:4px 7px 2px 0;min-height:32px;}
#content .eh-oa .eh-oa-report-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
#content .eh-oa .eh-oa-report-actions input {width:auto;min-width:150px;max-width:190px;margin:0;}
#content .eh-oa .eh-oa-footnote {margin-top:20px;font-size:11px;color:#92adc1;text-align:center;}
@media(max-width:760px){
 #content .eh-oa {padding:0 0 30px;}
 #content .eh-oa .eh-oa-top {padding:16px;}
 #content .eh-oa .eh-oa-card {padding:14px;}
 #content .eh-oa .eh-oa-grid {grid-template-columns:1fr;}
 #content .eh-oa .eh-oa-buttons {flex-direction:column;}
 #content .eh-oa .eh-oa-section-head {align-items:flex-start;}
 #content .eh-oa .eh-oa-btn {width:auto;}
}
@media(prefers-reduced-motion:reduce){#content .eh-oa *,#sidebarNav .eh-oa-nav {transition:none!important;animation:none!important;}}

/* Only in the Attendance workspace: hide global Rewards promotion banner. */
body.eh-oa-active #content .eh-rewards__banner {display:none!important;}
#content .eh-oa .eh-oa-count {font-size:12px;color:#b8ddf4;font-weight:700;}
#content .eh-oa .eh-oa-notice[hidden] {display:none!important;}
#content .eh-oa .eh-oa-scroll {scrollbar-width:thin;}

/* V1.4 · compact, keyboard accessible attendance requests; collapsed by default. */
#content .eh-oa .eh-oa-request-disclosure {margin-top:20px;border:1px solid #3b6583;border-radius:12px;background:#0b2942;overflow:hidden;}
#content .eh-oa .eh-oa-request-toggle {list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:55px;padding:12px 15px;color:#eaf2fc;}
#content .eh-oa .eh-oa-request-toggle::-webkit-details-marker{display:none;}
#content .eh-oa .eh-oa-request-toggle::marker{content:'';}
#content .eh-oa .eh-oa-request-toggle:hover{background:#133956;}
#content .eh-oa .eh-oa-request-toggle:focus-visible{outline:2px solid #fed37a;outline-offset:-4px;}
#content .eh-oa .eh-oa-request-icon{font-size:21px;line-height:1;flex:none;}
#content .eh-oa .eh-oa-request-label{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1;}
#content .eh-oa .eh-oa-request-label strong{font-size:15px;font-weight:800;}
#content .eh-oa .eh-oa-request-label small{font-size:11px;color:#b4cfe4;line-height:1.35;}
#content .eh-oa .eh-oa-request-chevron{font-size:22px;font-weight:800;transition:transform .18s ease;line-height:1;}
#content .eh-oa .eh-oa-request-disclosure[open] .eh-oa-request-chevron{transform:rotate(180deg);}
#content .eh-oa .eh-oa-request-body{padding:0 15px 16px;border-top:1px solid #315674;}
#content .eh-oa .eh-oa-request-body>.eh-oa-muted{padding-top:8px;}
#content .eh-oa .eh-oa-gps-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#422f22;color:#ffe2b2;border:1px solid #8d6948;padding:12px 14px;margin:14px 0;border-radius:10px;font-size:13px;}
#content .eh-oa .eh-oa-gps-feedback[hidden]{display:none!important;}
#content .eh-oa .eh-oa-gps-feedback p{margin:5px 0 0;line-height:1.5;}
#content .eh-oa .eh-oa-gps-feedback .eh-oa-btn{flex:none;white-space:nowrap;}
@media(max-width:760px){#content .eh-oa .eh-oa-request-toggle{padding:12px;}#content .eh-oa .eh-oa-request-body{padding:0 12px 12px;}#content .eh-oa .eh-oa-gps-feedback{align-items:stretch;flex-direction:column;}#content .eh-oa .eh-oa-gps-feedback .eh-oa-btn{width:100%;}}

/* V1.7: occupy the entire available portal workspace, without changing other modules. */
body.eh-oa-active #content {max-width:none!important;width:100%!important;padding-left:4px!important;padding-right:4px!important;}
body.eh-oa-active #content .eh-oa {max-width:none!important;width:100%!important;margin:0!important;padding:0 2px 26px!important;}
#content .eh-oa .eh-oa-admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px;}
#content .eh-oa .eh-oa-admin-tabs button{min-width:0;min-height:54px;text-align:center;padding:10px;border:1px solid #456b89;border-radius:10px;background:#0d2a46;color:#e5f2ff;font:inherit;font-weight:750;cursor:pointer;}
#content .eh-oa .eh-oa-admin-tabs button.is-active{background:#184d77;border-color:#f6cf75;color:#fff;box-shadow:inset 0 -3px #f6cf75;}
#content .eh-oa .eh-oa-admin-tabs button:focus-visible{outline:3px solid #ffda89;outline-offset:2px;}
#content .eh-oa .eh-oa-admin-page[hidden]{display:none!important;}
#content .eh-oa .eh-oa-admin-page{width:100%;min-width:0;}
#content .eh-oa .eh-oa-report-filters{display:grid;grid-template-columns:minmax(210px,2fr) minmax(130px,1fr) minmax(130px,1fr) auto auto;align-items:end;gap:10px;}
#content .eh-oa .eh-oa-report-filters label{min-width:0;margin:0;}
#content .eh-oa .eh-oa-report-filters .eh-oa-btn{margin-bottom:0;}
#content .eh-oa .eh-oa-staff-directory{border:1px solid #3d6580;border-radius:10px;margin-top:15px;padding:10px 12px;}
#content .eh-oa .eh-oa-staff-directory summary{cursor:pointer;font-weight:700;color:#d8eaff;}
@media(max-width:1030px){#content .eh-oa .eh-oa-report-filters{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){#content .eh-oa .eh-oa-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}#content .eh-oa .eh-oa-report-filters{grid-template-columns:1fr;}body.eh-oa-active #content{padding-left:0!important;padding-right:0!important;}}

/* V2.0: table font increased by 3 typographic points = 4 CSS pixels (12px -> 16px). */
#content .eh-oa .eh-oa-scroll table{font-size:16px;line-height:1.5;}
#content .eh-oa .eh-oa-scroll th,#content .eh-oa .eh-oa-scroll td{padding:11px 12px;vertical-align:top;}
#content .eh-oa .eh-oa-admin-tabs{grid-template-columns:repeat(3,minmax(0,1fr));}
#content .eh-oa .eh-oa-staff-tabs{grid-template-columns:repeat(3,minmax(0,1fr));}
#content .eh-oa .eh-oa-admin-tabs button{font-size:15px;min-height:50px;}
#content .eh-oa .eh-oa-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
#content .eh-oa input[type=checkbox]{display:inline-block!important;width:18px!important;min-height:18px!important;height:18px!important;}
#content .eh-oa .hr2-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0;}
#content .eh-oa .hr2-stat{padding:16px;border:1px solid var(--eha-border);border-radius:12px;background:var(--eha-panel);min-width:0;}
#content .eh-oa .hr2-stat small{display:block;color:var(--eha-muted);font-size:13px;}
#content .eh-oa .hr2-stat strong{display:block;font-size:23px;margin-top:8px;overflow-wrap:anywhere;}
#content .eh-oa .hr2-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;}
#content .eh-oa details{padding:12px;margin:15px 0;border:1px solid var(--eha-border);border-radius:10px;}
#content .eh-oa summary{cursor:pointer;font-weight:750;font-size:16px;}
#content .eh-oa .hr2-approval{margin:15px 0;}
#content .eh-oa .hr2-approval button{margin:6px 6px 6px 0;}
#content .eh-oa .hr2-weekdays{display:flex;gap:12px;flex-wrap:wrap;}
#content .eh-oa .hr2-statement{margin-top:25px;padding-top:16px;border-top:2px solid var(--eha-border);}
#content .eh-oa [data-rq][hidden],#content .eh-oa #hrOTFields[hidden]{display:none!important;}
#ehHrPrintLayer{display:none;}
@media(max-width:760px){#content .eh-oa .eh-oa-admin-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}#content .eh-oa .eh-oa-grid{grid-template-columns:1fr;}#content .eh-oa .hr2-stats{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media print{body.hr2-printing>*{display:none!important;}body.hr2-printing>#ehHrPrintLayer{display:block!important;background:#fff;color:#111;font-family:Arial,sans-serif;font-size:11pt;padding:12mm;width:100%;}#ehHrPrintLayer table{border-collapse:collapse;width:100%;font-size:11pt;}#ehHrPrintLayer td,#ehHrPrintLayer th{padding:8px;border:1px solid #bbb;text-align:left;}#ehHrPrintLayer h1{font-size:22pt;}#ehHrPrintLayer h2{font-size:16pt;}#ehHrPrintLayer tr{break-inside:avoid;}}

/* Two-column payslip components stay readable without sideways scrolling. */
#ehOfficeAttendanceNativePage .hr2-compact table{min-width:0;width:100%;table-layout:fixed}
#ehOfficeAttendanceNativePage .hr2-compact th:first-child,#ehOfficeAttendanceNativePage .hr2-compact td:first-child{width:62%;white-space:normal}
#ehOfficeAttendanceNativePage .hr2-compact th:last-child,#ehOfficeAttendanceNativePage .hr2-compact td:last-child{width:38%;white-space:normal;overflow-wrap:break-word}
@media(max-width:520px){#ehOfficeAttendanceNativePage .hr2-stats{grid-template-columns:1fr}#ehOfficeAttendanceNativePage .hr2-stat strong{white-space:nowrap}}
/* Isolated printable payslip; do not print the dark portal shell. */
@page ehPayslipPage{size:A4;margin:14mm}
@media print{
 html:has(body.hr2-printing){background:#fff!important;color:#111!important}
 body.hr2-printing{margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;height:auto!important;background:#fff!important;color:#111!important}
 body.hr2-printing>#ehHrPrintLayer{page:ehPayslipPage;box-sizing:border-box;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;position:static!important;background:#fff!important;color:#111!important}
 #ehHrPrintLayer *{box-sizing:border-box;color:#111!important;background:#fff!important}
 #ehHrPrintLayer p{white-space:normal!important;overflow-wrap:anywhere;line-height:1.5}
 #ehHrPrintLayer .eh-oa-scroll{overflow:visible!important;max-height:none!important}
 #ehHrPrintLayer table{min-width:0!important;width:100%!important;table-layout:fixed}
 #ehHrPrintLayer td,#ehHrPrintLayer th{white-space:normal!important;overflow-wrap:anywhere}
 #ehHrPrintLayer th:first-child,#ehHrPrintLayer td:first-child{width:65%}
}

/* V2.1 one-office administration and responsive controls */
#content .eh-oa #ehOaOfficeSettings,#content .eh-oa #ehOaMergePanel{margin-top:16px}
#content .eh-oa #ehOaOfficeSettings[hidden],#content .eh-oa #ehOaMergePanel[hidden],#content .eh-oa #ehOaOfficeProblem[hidden]{display:none!important}
#content .eh-oa #ehOaOfficeSettings label[readonly]{opacity:.85}
@media(max-width:700px){#content .eh-oa #ehOaMergePanel .eh-oa-btn,#content .eh-oa #ehOaOfficeSettings .eh-oa-btn{width:100%}}

/* V2.1 compact grouped payroll exception review. Collapsed lists do not block other actions. */
#content .eh-oa .hr2-issue-summary{border:1px solid var(--eha-border,#345370);border-radius:12px;padding:14px;margin:14px 0}
#content .eh-oa .hr2-issue-summary>h4{margin:0 0 8px}
#content .eh-oa .hr2-issue-summary>details{border-top:1px solid var(--eha-border,#345370);padding:9px 2px}
#content .eh-oa .hr2-issue-summary>details summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px}
#content .eh-oa .hr2-issue-summary>details summary span{white-space:nowrap;font-size:.9em;opacity:.8}

/* V2.4 consolidated Super Admin Settings navigation. */
#content .eh-oa #ehOaSettingsTabs.eh-oa-settings-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px;padding:10px;border:1px solid #345c7c;border-radius:12px;background:#0a263f;}
#content .eh-oa #ehOaSettingsTabs.eh-oa-settings-tabs button{font-size:14px;min-height:44px;background:#103753;border-color:#40647f;}
#content .eh-oa #ehOaSettingsTabs.eh-oa-settings-tabs button.is-active{background:#23608d;border-color:#f6cf75;color:#fff;box-shadow:inset 0 -3px #f6cf75;}
#content .eh-oa .hr2-holiday-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
@media(max-width:760px){#content .eh-oa #ehOaSettingsTabs.eh-oa-settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;}}
@media(max-width:380px){#content .eh-oa #ehOaSettingsTabs.eh-oa-settings-tabs{grid-template-columns:1fr;}}

/* EH-OA 2.6: single-row punch buttons across desktop/tablet/mobile.
   Only Office Attendance is affected; hidden dynamic bindings remain intact. */
#content .eh-oa #ehOaMy .eh-oa-buttons {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;flex-direction:row!important;flex-wrap:nowrap!important;
}
#content .eh-oa #ehOaMy .eh-oa-buttons>button {
  min-width:0!important;width:100%!important;max-width:none!important;
  margin:0!important;font-size:clamp(13px,3.5vw,17px)!important;
  padding:10px 5px!important;min-height:55px!important;
}
#content .eh-oa #ehOaMy .eh-oa-section-head[hidden],
#content .eh-oa #ehOaNewRequests[hidden],
#content .eh-oa #ehOaBack[hidden]{display:none!important;}
/* R155: Keep Full Day / Half Day holiday publishing controls in one scrollable row. */
#content .eh-oa .hr26-holiday-scroller {
  overflow-x:auto;overflow-y:hidden;max-width:100%;margin:12px 0 18px;
  -webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;
}
#content .eh-oa .hr26-holiday-entry {
  display:grid!important;
  grid-template-columns:minmax(170px,.9fr) minmax(220px,1.25fr) minmax(135px,.68fr) minmax(135px,.68fr) minmax(170px,.82fr) minmax(150px,.72fr) auto!important;
  align-items:end!important;gap:10px!important;min-width:1160px;
}
#content .eh-oa .hr155-half-day-fields:not([hidden]){display:contents!important;}
#content .eh-oa .hr155-half-day-fields[hidden]{display:none!important;}
#content .eh-oa .hr26-holiday-entry label{min-width:0;margin:0!important;}
#content .eh-oa .hr26-holiday-entry input,
#content .eh-oa .hr26-holiday-entry select{width:100%;min-width:0;}
#content .eh-oa .hr26-holiday-entry button{
  min-height:40px!important;white-space:nowrap!important;margin:0 0 1px!important;
}
#content .eh-oa .hr26-future-table{margin-top:8px;}
#content .eh-oa .hr26-future-table h4{margin:8px 0 10px;}
#content .eh-oa .hr26-future-table p{margin:10px 0;}
#content .eh-oa .hr26-calendar-review{margin-top:15px;}
@media(max-width:760px){
  #content .eh-oa #ehOaMy .eh-oa-buttons{gap:7px!important;}
  #content .eh-oa #ehOaMy .eh-oa-buttons>button{min-height:52px!important;}
  #content .eh-oa .hr26-holiday-entry{gap:8px!important;min-width:1160px;}
}

/* V2.7 admin-reviewed daily status choices. A purely presentation-specific palette. */
#ehOfficeAttendanceNativePage .eh-oa-manual-setup,
#ehOfficeAttendanceNativePage .eh-oa-mark-panel{padding:15px;border-radius:11px;border:1px solid #507aa0;background:#103e57;margin:14px 0;max-width:100%;}
#ehOfficeAttendanceNativePage .eh-oa-manual-setup{border-color:#e2b455;background:#352d24;}
#ehOfficeAttendanceNativePage .eh-oa-manual-setup strong{font-size:15px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-panel>h4{margin:2px 0 8px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-panel p{color:#d1e3f0;font-size:13px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-panel label{max-width:700px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-panel-actions{display:flex;gap:12px;flex-wrap:wrap;}
#ehOfficeAttendanceNativePage .eh-oa-status-cell{min-width:300px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions{display:flex;gap:5px;flex-wrap:nowrap;align-items:center;}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice,
#ehOfficeAttendanceNativePage .eh-oa-mark-badge{display:inline-flex;align-items:center;justify-content:center;
  padding:5px 8px;min-width:36px;min-height:31px;border-radius:7px;border:1px solid transparent;
  font-size:12px;font-weight:850;line-height:1.15;letter-spacing:.02em;white-space:nowrap;}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice{cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice:disabled{opacity:.44;cursor:not-allowed;}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice.is-current{box-shadow:0 0 0 2px #f6d37e,0 0 0 4px #102f4c;}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice:focus-visible{outline:2px solid #fff;outline-offset:2px;}
#ehOfficeAttendanceNativePage .eh-oa-mark-P{background:#1d995d;color:#fff;border-color:#2fb976;}
#ehOfficeAttendanceNativePage .eh-oa-mark-A{background:#bc3542;color:#fff;border-color:#f26c70;}
#ehOfficeAttendanceNativePage .eh-oa-mark-CL,
#ehOfficeAttendanceNativePage .eh-oa-mark-SL{background:#f3c956;color:#172a3b;border-color:#efd36b;}
#ehOfficeAttendanceNativePage .eh-oa-mark-HD{background:#f39bcd;color:#3e1533;border-color:#f8bfe1;}
#ehOfficeAttendanceNativePage .eh-oa-mark-OFF{background:#2d5677;color:#e3f2fd;border-color:#477494;}
#ehOfficeAttendanceNativePage .eh-oa-current-mark{display:block;color:#c4dfea;font-size:11px;margin-bottom:6px;}
#ehOfficeAttendanceNativePage .eh-oa-raw-status{display:block;color:#a6c2d4;font-size:10px;margin-top:5px;}
@media(max-width:720px){
  #ehOfficeAttendanceNativePage .eh-oa-mark-actions{gap:4px;}
  #ehOfficeAttendanceNativePage .eh-oa-mark-choice{min-width:32px;padding:5px;}
  #ehOfficeAttendanceNativePage .eh-oa-mark-panel-actions{flex-direction:column;}
  #ehOfficeAttendanceNativePage .eh-oa-mark-panel-actions button{width:100%;}
}

/* Payroll list: employee names are the only view-statement controls. */
#ehOfficeAttendanceNativePage .hr27-employee-link{background:transparent;color:#bfe8ff;border:0;padding:4px 2px;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:800;cursor:pointer;text-align:left;}
#ehOfficeAttendanceNativePage .hr27-employee-link:hover{color:#fff;}
#ehOfficeAttendanceNativePage .hr27-employee-link:focus-visible{outline:2px solid #ffcf75;outline-offset:3px;border-radius:2px;}
#ehOfficeAttendanceNativePage .hr27-summary{border:1px solid #2e5b72;border-radius:9px;padding:10px 12px;margin:12px 0;background:#103958;color:#edf7ff;}

#content .eh-oa .eh-oa-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 14px;}
#content .eh-oa .eh-oa-summary-grid-staff{margin:8px 0 16px;}
#content .eh-oa .eh-oa-summary-card{border:1px solid #3d6782;border-radius:12px;padding:12px 14px;background:#103853;color:#eef8ff;min-width:0;}
#content .eh-oa .eh-oa-summary-card small{display:block;font-size:11px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#add0e1;margin-bottom:8px;}
#content .eh-oa .eh-oa-summary-card strong{display:block;font-size:28px;line-height:1;font-weight:900;color:#fff;}
#content .eh-oa .eh-oa-summary-working{background:linear-gradient(180deg,#174767,#12364f);}
#content .eh-oa .eh-oa-summary-present{background:linear-gradient(180deg,#176442,#11452f);}
#content .eh-oa .eh-oa-summary-leave{background:linear-gradient(180deg,#6b355d,#4f2745);}
#content .eh-oa .eh-oa-summary-permission{background:linear-gradient(180deg,#695325,#4d3d1c);}

#ehOfficeAttendanceNativePage .eh-oa-mark-clear{border:1px solid #64819c;background:transparent;color:#d7eafb;
  border-radius:6px;padding:4px 7px;font-size:11px;cursor:pointer;}
#ehOfficeAttendanceNativePage .eh-oa-mark-clear:hover{background:#305575;}
#ehOfficeAttendanceNativePage .eh-oa-mark-clear:disabled{opacity:.45;cursor:not-allowed;}


/* EduHunt Attendance V2.9: mobile-first read-only calendar and dashboard punch.
   Scoped to Office Attendance and authenticated dashboard only. */
#content .eh-oa #ehOaMy .eh-oa-v29-legacy-punch[hidden]{display:none!important;}
#content .eh-oa #ehOaMy .eh-oa-month-panel{margin:4px 0 20px;padding:14px 12px;border-radius:13px;border:1px solid #376b85;background:#092942;}
#content .eh-oa .eh-oa-month-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px;}
#content .eh-oa .eh-oa-month-head h4{margin:0!important;font-size:16px;}
#content .eh-oa .eh-oa-month-head strong{font-size:14px;color:#ffdb88;}
#content .eh-oa .eh-oa-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;max-width:100%;}
#content .eh-oa .eh-oa-cal-weekday{text-align:center;font-size:10px;font-weight:850;color:#aed1df;padding:4px 0;letter-spacing:.025em;}
#content .eh-oa .eh-oa-cal-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:49px;padding:4px 1px;border:1px solid #436782;border-radius:8px;background:#143e57;color:#e7f1fa;font-family:inherit;cursor:pointer;line-height:1;}
#content .eh-oa .eh-oa-cal-number{font-size:15px;font-weight:800;}
#content .eh-oa .eh-oa-cal-symbol{font-size:9px;font-weight:900;min-height:11px;line-height:1.1;white-space:nowrap;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-P{background:#208450;border-color:#37b779;color:#fff;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-A{background:#b83d50;border-color:#f27c83;color:#fff;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-HD{background:#ed9cca;border-color:#ffd3ec;color:#342236;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-CL,#content .eh-oa .eh-oa-cal-day.eh-oa-cal-SL{background:#f1c863;border-color:#ffe6a5;color:#2e2930;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-SUN{background:#5b7184;border-color:#8aa1b3;color:#fff;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-HOL{background:#f09bcf;border-color:#ffcde7;color:#3a1530;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-OFF{background:#47637a;border-color:#68869b;color:#fff;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-DUTY{background:#266b87;border-color:#52b6ca;color:#fff;}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-FUTURE{background:#102e43;border-color:#2e5268;color:#7e9aab;}
#content .eh-oa .eh-oa-cal-day.is-today{outline:2px solid #fbd477;outline-offset:1px;}
#content .eh-oa .eh-oa-cal-day.is-selected{box-shadow:inset 0 0 0 2px white;}
#content .eh-oa .eh-oa-cal-day.is-faded{opacity:.28;}
#content .eh-oa .eh-oa-cal-day:focus-visible{outline:3px solid #ffe8a2;outline-offset:1px;}
#content .eh-oa .eh-oa-calendar-selected{font-size:12px;color:#cde4f2;margin:11px 0;}
#content .eh-oa .eh-oa-cal-guide-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:800;color:#ffdaed;margin:12px 0 8px;}
#content .eh-oa .eh-oa-cal-guide-label small{font-size:10px;color:#adcedd;font-weight:500;}
#content .eh-oa .eh-oa-calendar-legend{display:flex;gap:7px;flex-wrap:wrap;}
#content .eh-oa .eh-oa-cal-legend-btn{border:1px solid #52718c;background:#153650;color:#eef6ff;border-radius:8px;padding:5px 7px;display:flex;align-items:center;gap:5px;cursor:pointer;font:inherit;font-size:10px;}
#content .eh-oa .eh-oa-cal-legend-btn strong{display:inline-flex;min-width:25px;min-height:25px;border-radius:6px;background:var(--ehlegend);align-items:center;justify-content:center;color:#11283a;padding:3px;}
#content .eh-oa .eh-oa-cal-legend-btn[aria-pressed=true]{border-color:#ffd77e;box-shadow:0 0 0 1px #ffd77e;}
#content .eh-oa .eh-oa-cal-legend-btn:focus-visible{outline:2px solid white;outline-offset:1px;}
#content .eh-oa .eh-oa-recent{margin-top:18px;}
#content .eh-oa .eh-oa-recent h4{margin:0 0 8px;}
#content .eh-oa #ehOaHistory table{min-width:0!important;width:100%!important;table-layout:fixed;font-size:12px;}
#content .eh-oa #ehOaHistory td,#content .eh-oa #ehOaHistory th{padding:9px 7px!important;overflow-wrap:anywhere;white-space:normal;}
#content .eh-oa #ehOaHistory td:nth-child(1),#content .eh-oa #ehOaHistory th:nth-child(1){width:24%;}
#content .eh-oa #ehOaHistory td:nth-child(2),#content .eh-oa #ehOaHistory th:nth-child(2){width:21%;}
#content .eh-oa #ehOaHistory td:nth-child(3),#content .eh-oa #ehOaHistory th:nth-child(3){width:21%;}
#content .eh-oa #ehOaHistory td:nth-child(4),#content .eh-oa #ehOaHistory th:nth-child(4){width:34%;}

/* Office attendance shortcuts on normal dashboards; no floating overlays. */
#content .eh-oa-dashboard-punch{box-sizing:border-box;width:100%;border:1px solid #2d6883;border-radius:13px;background:#113852;padding:14px;margin:14px 0 22px;color:#f3f7ff;}
#content .eh-oa-dashboard-punch *{box-sizing:border-box;}
#content .eh-oa-dashboard-punch-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:11px;font-size:13px;}
#content .eh-oa-dashboard-punch-head>strong{font-size:15px;}
#content .eh-oa-dashboard-punch-head>span{color:#a9dfe4;font-weight:700;}
#content .eh-oa-dashboard-punch-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#content .eh-oa-dashboard-punch-buttons>button{width:100%;min-width:0;min-height:52px;border:1px solid transparent;border-radius:10px;padding:10px 8px;font:inherit;font-weight:800;font-size:16px;cursor:pointer;}
#content .eh-oa-dashboard-punch-buttons>button[data-oa-dash=IN]{background:#f4ca6c;color:#142e41;}
#content .eh-oa-dashboard-punch-buttons>button[data-oa-dash=OUT]{background:#256b9f;color:#fff;}
#content .eh-oa-dashboard-punch-buttons>button:disabled{opacity:.45;cursor:not-allowed;}
#content .eh-oa-dashboard-punch-buttons>button:focus-visible{outline:3px solid #feeab1;outline-offset:3px;}
#content .eh-oa-dashboard-punch-message{font-size:12px;color:#c3e2ef;margin:9px 0 0;line-height:1.5;}
#content .eh-oa-dashboard-punch-message.is-error{color:#ffd5bb;}
@media(max-width:620px){
 #content .eh-oa-dashboard-punch{padding:12px;margin:15px 0 22px;}
 #content .eh-oa-dashboard-punch-head>strong{font-size:14px;}
 #content .eh-oa-dashboard-punch-buttons{gap:8px;}
 #content .eh-oa-dashboard-punch-buttons>button{font-size:14px;min-height:53px;}
 #content .eh-oa .eh-oa-cal-weekday{font-size:9px;}
 #content .eh-oa .eh-oa-month-grid{gap:3px;}
 #content .eh-oa .eh-oa-cal-day{min-height:42px;border-radius:6px;}
 #content .eh-oa .eh-oa-cal-number{font-size:13px;}
 #content .eh-oa .eh-oa-cal-guide-label{flex-direction:column;align-items:flex-start;gap:3px;}
 #content .eh-oa .eh-oa-cal-legend-btn{font-size:9px;padding:4px;}
}

/* EH-OA V3.0: presentation only. Historical punch, leave and payroll logic unchanged. */
#ehOfficeAttendanceNativePage .eh-oa-mark-choice.eh-oa-mark-neutral{
  background:transparent!important;color:inherit!important;border:1px solid #6d859c!important;
  box-shadow:none!important;border-radius:8px;min-height:34px;
}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice.eh-oa-mark-neutral.is-previous{
  box-shadow:inset 0 0 0 2px #d7bc72!important;
  border-color:#d7bc72!important;
}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice.eh-oa-mark-neutral:hover:not(:disabled){
  background:rgba(129,156,182,.17)!important;
}
#ehOfficeAttendanceNativePage .eh-oa-mark-modify,
#ehOfficeAttendanceNativePage .eh-oa-mark-cancel{
  min-height:33px;margin-left:7px;padding:5px 12px;border-radius:8px;
  border:1px solid #7596b3;background:#1d4c70;color:#fff;
  cursor:pointer;font:inherit;font-weight:700;
}
#ehOfficeAttendanceNativePage .eh-oa-mark-modify:disabled{opacity:.5;cursor:not-allowed}
#ehOfficeAttendanceNativePage .eh-oa-mark-cancel{background:transparent;color:inherit}
#ehOfficeAttendanceNativePage .eh-oa-status-cell .eh-oa-mark-badge{min-height:32px;vertical-align:middle}
#ehOfficeAttendanceNativePage .eh-oa-current-mark{display:block;margin:0 0 7px;font-weight:700;color:#f4d686}
#ehOfficeAttendanceNativePage .eh-oa-raw-status{display:block;margin:5px 0 0;opacity:.82}
#ehOfficeAttendanceNativePage .eh-oa-status-cell button:focus-visible{outline:3px solid #f6cf75;outline-offset:2px}
#content .eh-oa #ehOaStaffTabs.eh-oa-staff-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
#content .eh-oa #ehOaStaffTabs.eh-oa-staff-tabs button{
  min-width:0;width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;
  font-size:clamp(11px,2.7vw,15px);padding:8px 5px;line-height:1.25;
  min-height:47px;
}
#content .eh-oa .eh-oa-month-switch{display:flex;align-items:center;gap:7px;margin-left:auto}
#content .eh-oa .eh-oa-month-switch button{
  width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border-radius:7px;border:1px solid #567c9a;background:#214d70;color:#fff;
  font-size:24px;line-height:1;cursor:pointer;
}
#content .eh-oa .eh-oa-month-switch button:focus-visible{outline:2px solid #ffdf95;outline-offset:2px}
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-NONE{background:#143e57;color:#e6f0f8}
#content .eh-oa-dashboard-punch .eh-oa-dash-calendar-open{
  display:inline-flex;align-items:center;justify-content:center;margin-top:10px;
  border:1px solid #6d9bbb;border-radius:9px;padding:8px 13px;
  background:#244f70;color:#fff;font:inherit;font-weight:750;
  cursor:pointer;min-height:40px;
}
#content .eh-oa-dashboard-punch .eh-oa-dash-calendar-open:focus-visible{outline:3px solid #f5d47d;outline-offset:2px}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-mark-choice.eh-oa-mark-neutral{
  border-color:#76909f!important;color:#223b50!important;background:#fff!important;
}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-mark-modify{
  background:#245d80;color:#fff;
}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-current-mark{color:#684b12}
@media(max-width:420px){
  #content .eh-oa #ehOaStaffTabs.eh-oa-staff-tabs{gap:4px!important}
  #content .eh-oa #ehOaStaffTabs.eh-oa-staff-tabs button{padding:7px 3px;font-size:11px;min-height:52px}
  #content .eh-oa .eh-oa-month-switch{gap:4px;margin-left:0}
  #content .eh-oa .eh-oa-month-switch button{width:32px;height:32px}
  #content .eh-oa .eh-oa-month-grid{gap:3px}
  #content .eh-oa .eh-oa-status-cell button{margin-top:4px}
}

/* EH-OA V3.1: compact one-click attendance status and optional HD balance source. */
#ehOfficeAttendanceNativePage .eh-oa-mark-actions{flex-wrap:wrap;}
#ehOfficeAttendanceNativePage .eh-oa-half-leave-select{
  width:auto!important;min-width:58px!important;max-width:74px!important;
  min-height:34px!important;padding:5px 3px!important;margin:0!important;
  border:1px solid #66849f;border-radius:7px;background:#183c57;color:#f1f6ff;
  font-size:12px;font-weight:700;cursor:pointer;flex:none;
}
#ehOfficeAttendanceNativePage .eh-oa-half-leave-select:disabled{opacity:.48;cursor:not-allowed;}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-half-leave-select{
  background:#fff;color:#152a40;border-color:#6a8ba8;
}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice[aria-busy="true"]{
  cursor:progress;min-width:72px;
}

@media(max-width:900px){#content .eh-oa .eh-oa-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:520px){#content .eh-oa .eh-oa-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}#content .eh-oa .eh-oa-summary-card{padding:10px;}#content .eh-oa .eh-oa-summary-card strong{font-size:22px;}}

/* EH-OA-V3.3: sticky date/name while horizontally scrolling the report only.
   The real dates and timestamps remain unchanged in MySQL. */
#content .eh-oa #ehOaStaffHistory .eh-oa-mark-table,
#content .eh-oa #ehOaReport .eh-oa-mark-table{
  min-width:800px;
  border-collapse:separate;
  border-spacing:0;
}
#content .eh-oa #ehOaStaffHistory .eh-oa-mark-table th:first-child,
#content .eh-oa #ehOaReport .eh-oa-mark-table th:first-child{
  position:sticky;left:0;top:0;z-index:5;background:#19537f;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  min-width:98px;width:98px;box-shadow:2px 0 0 #48708e;
}
#content .eh-oa #ehOaStaffHistory .eh-oa-mark-table td:first-child,
#content .eh-oa #ehOaReport .eh-oa-mark-table td:first-child{
  position:sticky;left:0;z-index:2;background:#102f4c;
  white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
  min-width:98px;width:98px;box-shadow:2px 0 0 #345875;
}
#content .eh-oa #ehOaStaffHistory .eh-oa-mark-table th:not(:first-child),
#content .eh-oa #ehOaReport .eh-oa-mark-table th:not(:first-child){position:sticky;top:0;z-index:3;}
#content .eh-oa #ehOaStaffHistory,
#content .eh-oa #ehOaReport{overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;}

@media(max-width:760px){
  /* CSV remains available on desktops and tablets but is hidden on narrow mobiles. */
  #content .eh-oa #ehOaStaffCsv,
  #content .eh-oa #ehOaCsv{display:none!important;}
}

/* Make payroll controls and inline feedback usable in both themes. */
#content .eh-oa #hrPayInlineMessage[hidden]{display:none!important;}
#content .eh-oa .hr27-payroll-table .hr27-employee-link{min-height:30px;}
body[data-desktop-theme="light"] #content .eh-oa #ehOaStaffHistory .eh-oa-mark-table td:first-child,
body[data-desktop-theme="light"] #content .eh-oa #ehOaReport .eh-oa-mark-table td:first-child{
  background:#eef5fb;color:#183853;
}

/* V3.4: both Sundays and published festival/public holidays use sky blue. */
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-SUN,
#content .eh-oa .eh-oa-cal-day.eh-oa-cal-HOL {background:#72caed!important;border-color:#a7e5ff!important;color:#10304a!important;}
#content .eh-oa .eh-oa-summary-grid,
#content .eh-oa .eh-oa-summary-grid-staff{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(3px,1.1vw,12px)!important;}
#content .eh-oa .eh-oa-summary-card{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;min-width:0!important;padding:clamp(5px,1.25vw,14px)!important;}
#content .eh-oa .eh-oa-summary-card small{font-size:clamp(8px,0.8vw,11px)!important;line-height:1.15!important;margin-bottom:6px!important;overflow-wrap:anywhere;}
#content .eh-oa .eh-oa-summary-card strong{font-size:clamp(18px,2vw,28px)!important;line-height:1.12!important;}
@media(max-width:440px){
 #content .eh-oa .eh-oa-summary-card{padding:7px 3px!important;min-height:77px!important;}
 #content .eh-oa .eh-oa-summary-card small{font-size:8px!important;letter-spacing:0!important;line-height:1.18!important;}
 #content .eh-oa .eh-oa-summary-card strong{font-size:22px!important;}
}


/* EduHunt Attendance PRO V5 | R147 photo-review cleanup + complete dark/light theme parity. */
#ehOfficeAttendanceNativePage{
  --ehpro-page:#071827;
  --ehpro-panel:#0a2033;
  --ehpro-panel-2:#0d2941;
  --ehpro-card:#0b2439;
  --ehpro-card-hover:#0e2d47;
  --ehpro-input:#061b2d;
  --ehpro-border:#315873;
  --ehpro-border-strong:#3e7193;
  --ehpro-text:#f2f8ff;
  --ehpro-muted:#b7ccdd;
  --ehpro-soft:#90abc0;
  --ehpro-heading:#ffffff;
  --ehpro-blue:#2c88c5;
  --ehpro-blue-strong:#176ca7;
  --ehpro-gold:#f5c85f;
  --ehpro-shadow:0 14px 34px rgba(0,0,0,.28);
  --ehpro-photo-bg:#061522;
  --ehpro-missing:#102d45;
  --ehpro-focus:#ffd36a;
}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage,
body[data-theme="light"] #ehOfficeAttendanceNativePage,
html[data-theme="light"] #ehOfficeAttendanceNativePage{
  --ehpro-page:#f4f7fc;
  --ehpro-panel:#ffffff;
  --ehpro-panel-2:#edf4fb;
  --ehpro-card:#ffffff;
  --ehpro-card-hover:#f7fbff;
  --ehpro-input:#ffffff;
  --ehpro-border:#c7d6e5;
  --ehpro-border-strong:#94b1ca;
  --ehpro-text:#152b42;
  --ehpro-muted:#536b82;
  --ehpro-soft:#6a8095;
  --ehpro-heading:#102a45;
  --ehpro-blue:#1672ad;
  --ehpro-blue-strong:#0b5d96;
  --ehpro-gold:#d59c19;
  --ehpro-shadow:0 10px 26px rgba(17,59,93,.10);
  --ehpro-photo-bg:#e8eef5;
  --ehpro-missing:#edf2f8;
  --ehpro-focus:#b97900;
}

/* Staff punch card remains deliberately high contrast in both themes. */
#ehOaProMyPunch{background:linear-gradient(138deg,#071d48 0%,#12376c 65%,#074b78 100%);border:1px solid #f9c952;border-radius:20px;padding:20px;color:#fff;box-shadow:0 14px 34px rgba(6,24,63,.24);margin:0 0 20px}
.eh-pro-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:1.05rem}
#ehOaProMyPunch [data-dash-status]{color:#ffe18b;font-size:.85rem;font-weight:800}
#ehOaProMyPunch .eh-pro-help{color:#e6efff;line-height:1.5}
.eh-pro-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.eh-pro-action-grid button{border:0;border-radius:14px;background:linear-gradient(180deg,#ffe987,#ffc62e);color:#11213d;font-size:.94rem;font-weight:850;min-height:54px;padding:12px 16px;box-shadow:0 5px 0 rgba(82,48,0,.23);cursor:pointer}
.eh-pro-action-grid button:nth-child(2){background:#e8f2fb;color:#122c58}
.eh-pro-action-grid button:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.25);box-shadow:none}
#ehOaProMyPunch .eh-oa-dashboard-punch-message{color:#f5faff;margin:13px 0 0;font-size:.9rem;line-height:1.45}
#ehOaProMyPunch .is-error{color:#ffdbd8!important}
.eh-pro-own-photo{display:block;margin:12px 0;width:94px;height:94px;border-radius:15px;object-fit:cover;border:3px solid #ffdf72}
.eh-pro-own-photo[hidden]{display:none!important}

/* The Photo Review workspace uses one coherent theme instead of a light island. */
#ehOaAdmin[data-theme],
#ehOaAdmin{color:var(--ehpro-text)}
#ehOaAdmin [data-eh-oa-page="PHOTOS"]{
  background:var(--ehpro-page);
  color:var(--ehpro-text);
  padding:18px;
  border:1px solid var(--ehpro-border);
  border-radius:17px;
  margin-top:10px;
  box-shadow:var(--ehpro-shadow);
}
#ehOaAdmin [data-eh-oa-page="PHOTOS"] *{box-sizing:border-box}
#ehOaAdmin .eh-pro-photo-heading{
  background:linear-gradient(112deg,#0a2d61,#155d97 58%,#0c4b78);
  color:#fff;
  border:1px solid #2f78a7;
  border-radius:15px;
  padding:18px 20px;
  margin:0 0 14px;
  box-shadow:0 9px 24px rgba(0,0,0,.18);
}
#ehOaAdmin .eh-pro-photo-heading h3{font-size:1.22rem;font-weight:900;margin:0;color:#fff;line-height:1.3}
/* Defensive cleanup if an older cached renderer briefly paints the removed copy. */
#ehOaAdmin .eh-pro-photo-heading>.eh-oa-muted,
#ehOaAdmin .eh-pro-place{display:none!important}

#ehProSetup,
#ehProAdminPanel{color:var(--ehpro-text)}
#ehProSetup.eh-oa-panel{
  background:var(--ehpro-panel);
  border-color:var(--ehpro-border);
  box-shadow:var(--ehpro-shadow);
}
#ehProSetup h4{color:var(--ehpro-heading)!important}
#ehProSetup .eh-oa-muted{color:var(--ehpro-muted)!important}

.eh-pro-admin-filters{
  display:grid;
  grid-template-columns:minmax(160px,1fr) auto minmax(170px,1fr) minmax(210px,1.35fr);
  align-items:end;
  gap:12px;
  margin:12px 0 0;
  padding:15px;
  border:1px solid var(--ehpro-border);
  border-radius:14px 14px 0 0;
  background:var(--ehpro-panel);
}
.eh-pro-admin-filters label{display:grid;gap:6px;color:var(--ehpro-text)!important;font-size:.86rem;font-weight:800;margin:0!important}
.eh-pro-admin-filters input,
.eh-pro-admin-filters select{
  width:100%;
  min-width:0;
  height:45px;
  border:1px solid var(--ehpro-border-strong)!important;
  border-radius:11px!important;
  background:var(--ehpro-input)!important;
  color:var(--ehpro-text)!important;
  padding:9px 12px!important;
  font:inherit;
  font-size:.95rem!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  color-scheme:dark;
}
body[data-desktop-theme="light"] .eh-pro-admin-filters input,
body[data-desktop-theme="light"] .eh-pro-admin-filters select,
body[data-theme="light"] .eh-pro-admin-filters input,
body[data-theme="light"] .eh-pro-admin-filters select,
html[data-theme="light"] .eh-pro-admin-filters input,
html[data-theme="light"] .eh-pro-admin-filters select{color-scheme:light}
.eh-pro-admin-filters input::placeholder{color:var(--ehpro-soft);opacity:1}
.eh-pro-admin-filters option{background:var(--ehpro-input);color:var(--ehpro-text)}
.eh-pro-admin-filters input:focus,
.eh-pro-admin-filters select:focus{outline:2px solid var(--ehpro-focus)!important;outline-offset:2px;border-color:var(--ehpro-focus)!important}
.eh-pro-admin-filters .eh-oa-btn{min-height:45px!important;margin:0!important;box-shadow:none}

.eh-pro-bulk-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 15px 15px;
  margin:0 0 14px;
  border:1px solid var(--ehpro-border);
  border-top:0;
  border-radius:0 0 14px 14px;
  background:var(--ehpro-panel-2);
}
.eh-pro-bulk-row #ehProAdminCount{margin-right:auto;color:var(--ehpro-text)!important;font-weight:850}
.eh-pro-bulk-row .eh-oa-btn{min-height:43px!important;border-radius:10px!important}
.eh-pro-bulk-row .eh-oa-secondary{background:var(--ehpro-blue-strong)!important;border-color:#3b8fc1!important;color:#fff!important}
.eh-pro-bulk-row .eh-oa-primary{background:linear-gradient(180deg,#ffe08a,#f2c45c)!important;border-color:#d7a737!important;color:#1c2c3e!important}
.eh-pro-bulk-row .eh-oa-btn:disabled{opacity:.46!important;filter:saturate(.55)}

.eh-pro-review-list{display:grid;gap:14px}
.eh-pro-staff-card{
  border-radius:15px;
  background:var(--ehpro-card);
  border:1px solid var(--ehpro-border);
  padding:16px;
  color:var(--ehpro-text);
  box-shadow:var(--ehpro-shadow);
  transition:border-color .16s ease,background .16s ease,transform .16s ease;
}
.eh-pro-staff-card:hover{background:var(--ehpro-card-hover);border-color:var(--ehpro-border-strong)}
.eh-pro-staff-head{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--ehpro-border);padding-bottom:11px}
.eh-pro-staff-name{font-size:1rem;font-weight:900;color:var(--ehpro-heading);flex:1;min-width:0;word-break:break-word}
.eh-pro-select{appearance:auto!important;-webkit-appearance:checkbox!important;width:22px!important;height:22px!important;min-width:22px!important;margin:0!important;accent-color:#25a4e1;flex:none;cursor:pointer}
.eh-pro-select:disabled{cursor:not-allowed;opacity:.58}
.eh-pro-pill{font-size:.76rem;font-weight:850;letter-spacing:.02em;border-radius:999px;padding:6px 10px;white-space:nowrap;background:#153b5c;color:#dff2ff;border:1px solid #356886}
.eh-pro-pill.pending{background:#5b4312;color:#ffe7a5;border-color:#9a7526}
.eh-pro-pill.approved{background:#123d2b;color:#bff7d5;border-color:#2e7752}
.eh-pro-pill.rejected{background:#4b2029;color:#ffd1d7;border-color:#8f4654}
body[data-desktop-theme="light"] .eh-pro-pill,
body[data-theme="light"] .eh-pro-pill,
html[data-theme="light"] .eh-pro-pill{background:#eaf1fa;color:#194881;border-color:#c4d5e8}
body[data-desktop-theme="light"] .eh-pro-pill.pending,
body[data-theme="light"] .eh-pro-pill.pending,
html[data-theme="light"] .eh-pro-pill.pending{background:#fff3d4;color:#815405;border-color:#ead39a}
body[data-desktop-theme="light"] .eh-pro-pill.approved,
body[data-theme="light"] .eh-pro-pill.approved,
html[data-theme="light"] .eh-pro-pill.approved{background:#e3f6e9;color:#0a6736;border-color:#b9dfc7}
body[data-desktop-theme="light"] .eh-pro-pill.rejected,
body[data-theme="light"] .eh-pro-pill.rejected,
html[data-theme="light"] .eh-pro-pill.rejected{background:#fce5e8;color:#a11f36;border-color:#e8bdc5}

.eh-pro-staff-body{display:grid;grid-template-columns:minmax(210px,auto) minmax(0,1fr);gap:18px;align-items:start;margin-top:13px}
.eh-pro-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(96px,150px));gap:10px;align-items:start}
.eh-pro-photo-proof{display:grid;gap:6px;min-width:0}
.eh-pro-staff-sub{color:var(--ehpro-muted);font-size:.82rem;line-height:1.45}
.eh-pro-photo-proof>.eh-pro-staff-sub{font-weight:750;color:var(--ehpro-muted)}
.eh-pro-selfie,
.eh-pro-selfie-missing{
  width:100%;
  max-width:150px;
  aspect-ratio:1/1.12;
  min-height:118px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--ehpro-border-strong);
  background:var(--ehpro-photo-bg);
  box-shadow:0 5px 14px rgba(0,0,0,.18);
}
.eh-pro-selfie-missing{display:grid;place-content:center;text-align:center;color:var(--ehpro-muted);padding:10px;font-size:.82rem;line-height:1.45;box-shadow:none;background:var(--ehpro-missing)}
.eh-pro-staff-fields{display:grid;gap:8px;min-width:0;color:var(--ehpro-text);font-size:.94rem;line-height:1.48;word-break:break-word;padding:4px 0}
.eh-pro-staff-fields a{color:#66c4ff;text-decoration:underline;text-underline-offset:3px;font-weight:800;max-width:max-content}
body[data-desktop-theme="light"] .eh-pro-staff-fields a,
body[data-theme="light"] .eh-pro-staff-fields a,
html[data-theme="light"] .eh-pro-staff-fields a{color:#0b5ab6}
.eh-pro-staff-time{font-weight:850;color:var(--ehpro-heading);font-variant-numeric:tabular-nums}
.eh-pro-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:13px}
.eh-pro-btn{border:1px solid transparent;border-radius:12px;min-height:43px;font-weight:800;font-size:.91rem;padding:11px 16px;cursor:pointer}
.eh-pro-btn.primary,.eh-pro-btn.approve{background:linear-gradient(120deg,#1769a8,#2389c5);color:#fff;border-color:#3e92c4}
.eh-pro-btn.secondary{background:#153652;border:1px solid #3f6987;color:#e8f5ff}
.eh-pro-btn.reject{background:#4a2029;border:1px solid #8d4654;color:#ffd6dc}
body[data-desktop-theme="light"] .eh-pro-btn.secondary,
body[data-theme="light"] .eh-pro-btn.secondary,
html[data-theme="light"] .eh-pro-btn.secondary{background:#eff3fa;border-color:#c5d2e6;color:#1a3b63}
body[data-desktop-theme="light"] .eh-pro-btn.reject,
body[data-theme="light"] .eh-pro-btn.reject,
html[data-theme="light"] .eh-pro-btn.reject{background:#fff1f1;border-color:#f0c3cb;color:#a0253b}
.eh-pro-btn:disabled{cursor:not-allowed;opacity:.46}
.eh-pro-btn:focus-visible,.eh-pro-select:focus-visible{outline:2px solid var(--ehpro-focus);outline-offset:3px}

/* Camera and confirmation dialogs now match the selected portal theme. */
.eh-pro-overlay{position:fixed;inset:0;background:rgba(1,9,20,.82);z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:14px;overflow-y:auto;backdrop-filter:blur(7px)}
.eh-pro-dialog{position:relative;width:min(94vw,530px);max-height:min(94dvh,880px);overflow-y:auto;border-radius:20px;background:var(--ehpro-panel);color:var(--ehpro-text);padding:24px;box-shadow:0 25px 90px rgba(0,0,0,.52);border:2px solid #efbe43}
.eh-pro-dialog-title{font-size:1.36rem;font-weight:900;margin:0 35px 13px 0;color:var(--ehpro-heading);line-height:1.3}
.eh-pro-close{position:absolute;top:13px;right:15px;font-size:25px;width:35px;height:35px;display:grid;place-items:center;border:1px solid var(--ehpro-border);background:var(--ehpro-panel-2);border-radius:9px;color:var(--ehpro-text);cursor:pointer}
.eh-pro-dialog p{font-size:.92rem;line-height:1.5}.eh-pro-dialog label{display:grid;font-weight:800;font-size:.89rem;gap:6px;margin:12px 0;color:var(--ehpro-text)}
.eh-pro-dialog input:not([type=checkbox]),.eh-pro-dialog select,.eh-pro-dialog textarea{width:100%;border:1px solid var(--ehpro-border-strong);border-radius:11px;background:var(--ehpro-input);color:var(--ehpro-text);min-height:43px;padding:10px 12px;font-size:16px;color-scheme:dark}
body[data-desktop-theme="light"] .eh-pro-dialog input:not([type=checkbox]),
body[data-desktop-theme="light"] .eh-pro-dialog select,
body[data-desktop-theme="light"] .eh-pro-dialog textarea,
body[data-theme="light"] .eh-pro-dialog input:not([type=checkbox]),
body[data-theme="light"] .eh-pro-dialog select,
body[data-theme="light"] .eh-pro-dialog textarea,
html[data-theme="light"] .eh-pro-dialog input:not([type=checkbox]),
html[data-theme="light"] .eh-pro-dialog select,
html[data-theme="light"] .eh-pro-dialog textarea{color-scheme:light}
.eh-pro-dialog textarea{min-height:68px;resize:vertical}
.eh-pro-help{color:var(--ehpro-muted);font-size:.86rem}
.eh-pro-camera{width:100%;aspect-ratio:4/3;border-radius:14px;margin:12px 0;overflow:hidden;background:#061b3f;display:grid;place-content:center;border:1px solid var(--ehpro-border)}
.eh-pro-camera video,.eh-pro-camera img{display:block;width:100%;height:100%;object-fit:cover;grid-area:1/1}
.eh-pro-camera [hidden]{display:none!important}
.eh-pro-confirm-id{font-size:2rem;font-weight:900;letter-spacing:.22em;text-align:center;padding:15px;border-radius:11px;color:#102b5a;background:#fff0b8;border:1px dashed #d59f14;font-variant-numeric:tabular-nums}
.eh-pro-warning{color:#ffd59a;background:#4c3215;padding:11px 13px;border-left:4px solid #ffba38;border-radius:8px}
body[data-desktop-theme="light"] .eh-pro-warning,
body[data-theme="light"] .eh-pro-warning,
html[data-theme="light"] .eh-pro-warning{color:#843e00;background:#fff5de}
.eh-pro-dialog .eh-pro-confirm-checkbox{display:flex;align-items:flex-start;gap:11px;background:var(--ehpro-panel-2);padding:14px;border-radius:10px;border:1px solid var(--ehpro-border)}
.eh-pro-confirm-checkbox input{width:22px;height:22px;flex:none;accent-color:#2da7df}
.eh-pro-checkout .eh-pro-actions .eh-pro-btn{width:100%;min-height:50px}

@media(max-width:900px){
  .eh-pro-staff-body{grid-template-columns:1fr}
  .eh-pro-photo-pair{grid-template-columns:repeat(2,minmax(90px,150px))}
}
@media(max-width:760px){
  #ehOaAdmin [data-eh-oa-page="PHOTOS"]{padding:13px;border-radius:14px}
  .eh-pro-admin-filters{grid-template-columns:1fr 1fr}
  .eh-pro-admin-filters label:last-child{grid-column:1/-1}
  .eh-pro-admin-filters button{min-height:45px}
  .eh-pro-staff-card{padding:13px}
  .eh-pro-section-head{font-size:.94rem}
}
@media(max-width:520px){
  .eh-pro-admin-filters{grid-template-columns:1fr;padding:12px}
  .eh-pro-admin-filters label:last-child{grid-column:auto}
  .eh-pro-bulk-row{padding:11px 12px 13px}
  .eh-pro-bulk-row #ehProAdminCount{width:100%;margin-right:0}
  .eh-pro-bulk-row .eh-oa-btn{flex:1;min-width:130px}
  .eh-pro-action-grid{grid-template-columns:1fr}
  .eh-pro-dialog{padding:18px}
  .eh-pro-staff-head{gap:8px;flex-wrap:wrap}
  .eh-pro-staff-name{min-width:calc(100% - 44px)}
  .eh-pro-pill{margin-left:33px}
  .eh-pro-photo-pair{grid-template-columns:1fr 1fr;gap:8px}
  .eh-pro-selfie,.eh-pro-selfie-missing{max-width:none;min-height:105px}
  .eh-pro-staff-fields{font-size:.88rem}
}
@media(max-width:360px){.eh-pro-photo-pair{grid-template-columns:1fr}.eh-pro-pill{margin-left:0}.eh-pro-staff-name{min-width:0}}
@media(prefers-reduced-motion:reduce){.eh-pro-overlay{backdrop-filter:none}.eh-pro-staff-card{transition:none}}


/* EDUHUNT R156 ATTENDANCE UI RESTORE
   Presentation-only fail-safe for R155. No payroll/attendance calculations here. */

body.eh-oa-active #content .eh-rewards__banner,
body.eh-oa-active #content [data-rewards-banner],
body.eh-oa-active #content .rewards-360-banner{display:none!important}

#ehOfficeAttendanceNativePage{
  --r156-bg:#071827;--r156-panel:#0b2a43;--r156-panel2:#0f3654;
  --r156-border:#315b78;--r156-text:#f4f8ff;--r156-muted:#b7cde0;
  --r156-blue:#225f8d;--r156-blue2:#0e456f;--r156-gold:#f3c75e;
  color:var(--r156-text)!important;width:100%!important;max-width:none!important;
}
#ehOfficeAttendanceNativePage[hidden]{display:none!important}
#ehOfficeAttendanceNativePage *{box-sizing:border-box}
#ehOfficeAttendanceNativePage .eh-oa-card{
  background:#123754!important;border:1px solid var(--r156-border)!important;
  color:var(--r156-text)!important;border-radius:16px!important;padding:20px!important;
  margin:14px 0!important;box-shadow:none!important;
}
#ehOfficeAttendanceNativePage .eh-oa-muted{color:var(--r156-muted)!important}

/* Top attendance navigation: always visible, clickable and clearly active. */
#ehOfficeAttendanceNativePage #ehOaAdminTabs,
#ehOfficeAttendanceNativePage #ehOaStaffTabs{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:8px!important;margin:14px 0 18px!important;padding:0!important;
}
#ehOfficeAttendanceNativePage #ehOaStaffTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#ehOfficeAttendanceNativePage #ehOaAdminTabs[hidden],
#ehOfficeAttendanceNativePage #ehOaStaffTabs[hidden]{display:none!important}
#ehOfficeAttendanceNativePage #ehOaAdminTabs button,
#ehOfficeAttendanceNativePage #ehOaStaffTabs button,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button{
  appearance:none!important;-webkit-appearance:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;min-height:48px!important;
  padding:9px 10px!important;border:1px solid #416a88!important;border-radius:10px!important;
  background:#0c2d49!important;color:#edf7ff!important;font:inherit!important;
  font-size:14px!important;font-weight:800!important;line-height:1.2!important;
  cursor:pointer!important;opacity:1!important;pointer-events:auto!important;
  text-align:center!important;white-space:normal!important;
}
#ehOfficeAttendanceNativePage #ehOaAdminTabs button:hover,
#ehOfficeAttendanceNativePage #ehOaStaffTabs button:hover,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button:hover{background:#15486f!important;border-color:#6b9cbe!important}
#ehOfficeAttendanceNativePage #ehOaAdminTabs button.is-active,
#ehOfficeAttendanceNativePage #ehOaStaffTabs button.is-active,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button.is-active{
  background:#215f8e!important;border-color:var(--r156-gold)!important;color:#fff!important;
  box-shadow:inset 0 -3px var(--r156-gold)!important;
}
#ehOfficeAttendanceNativePage #ehOaAdminTabs button:focus-visible,
#ehOfficeAttendanceNativePage #ehOaStaffTabs button:focus-visible,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button:focus-visible{outline:3px solid #ffdf8a!important;outline-offset:2px!important}

/* Settings sub-navigation. */
#ehOfficeAttendanceNativePage #ehOaSettingsTabs{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;margin:0 0 16px!important;padding:9px!important;
  border:1px solid var(--r156-border)!important;border-radius:12px!important;background:#09243a!important;
}
#ehOfficeAttendanceNativePage #ehOaSettingsTabs[hidden]{display:none!important}

/* Only the selected page is visible. */
#ehOfficeAttendanceNativePage [data-eh-oa-page][hidden]{display:none!important}
#ehOfficeAttendanceNativePage [data-eh-oa-page]:not([hidden]){display:block!important}

/* Restore Date-wise / Staff-wise cards, filters and action buttons. */
#ehOfficeAttendanceNativePage .eh-oa-section-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:12px!important;flex-wrap:wrap!important;margin-bottom:12px!important;
}
#ehOfficeAttendanceNativePage .eh-oa-section-head h4{margin:0!important;color:#fff!important;font-size:18px!important}
#ehOfficeAttendanceNativePage .eh-oa-report-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
#ehOfficeAttendanceNativePage .eh-oa-report-actions input,
#ehOfficeAttendanceNativePage .eh-oa-report-actions select,
#ehOfficeAttendanceNativePage label input,
#ehOfficeAttendanceNativePage label select,
#ehOfficeAttendanceNativePage label textarea{
  background:#082238!important;color:#f5f9ff!important;border:1px solid #4d7390!important;
  border-radius:9px!important;min-height:42px!important;padding:9px 12px!important;font:inherit!important;
}
#ehOfficeAttendanceNativePage .eh-oa-btn{
  appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;padding:9px 14px!important;border-radius:9px!important;
  border:1px solid #3676a5!important;background:#246b9f!important;color:#fff!important;
  font:inherit!important;font-weight:800!important;cursor:pointer!important;opacity:1!important;pointer-events:auto!important;
}
#ehOfficeAttendanceNativePage .eh-oa-btn.eh-oa-primary{background:#f4c75e!important;border-color:#e0ad36!important;color:#142c3f!important}
#ehOfficeAttendanceNativePage .eh-oa-btn:disabled{opacity:.45!important;cursor:not-allowed!important}

/* Restore table presentation and horizontal scrolling. */
#ehOfficeAttendanceNativePage .eh-oa-scroll,
#ehOfficeAttendanceNativePage #ehOaReport,
#ehOfficeAttendanceNativePage #ehOaStaffHistory{
  width:100%!important;max-width:100%!important;overflow:auto!important;
  border:1px solid #315a77!important;border-radius:12px!important;background:#10334f!important;
}
#ehOfficeAttendanceNativePage table{
  width:100%!important;border-collapse:collapse!important;border-spacing:0!important;
  color:#eef7ff!important;background:#123754!important;font-size:14px!important;
}
#ehOfficeAttendanceNativePage table th{
  background:#1f618f!important;color:#fff!important;font-weight:900!important;
  padding:12px 14px!important;text-align:left!important;border-right:1px solid #467797!important;
  border-bottom:1px solid #477a9a!important;white-space:nowrap!important;
}
#ehOfficeAttendanceNativePage table td{
  background:#123754!important;color:#eef7ff!important;padding:12px 14px!important;
  border-right:1px solid #315a77!important;border-bottom:1px solid #315a77!important;
  vertical-align:middle!important;
}
#ehOfficeAttendanceNativePage table tr:last-child td{border-bottom:0!important}
#ehOfficeAttendanceNativePage table th:last-child,
#ehOfficeAttendanceNativePage table td:last-child{border-right:0!important}
#ehOfficeAttendanceNativePage .eh-oa-mark-table{min-width:900px!important}
#ehOfficeAttendanceNativePage .eh-oa-status-cell{min-width:300px!important}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions{display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice,
#ehOfficeAttendanceNativePage .eh-oa-mark-badge{
  min-width:38px!important;min-height:34px!important;padding:6px 8px!important;border-radius:8px!important;
  border:1px solid #6688a1!important;background:#173b57!important;color:#fff!important;font-weight:850!important;
}
#ehOfficeAttendanceNativePage .eh-oa-half-leave-select{
  min-height:34px!important;background:#082238!important;color:#fff!important;border:1px solid #6688a1!important;border-radius:8px!important;
}

/* Photo Review fail-safe dark layout. */
#ehOfficeAttendanceNativePage [data-eh-oa-page="PHOTOS"]{background:#071827!important;color:#f3f8ff!important;border-radius:14px!important;padding:16px!important}
#ehOfficeAttendanceNativePage .eh-pro-admin-filters{background:#0b2a43!important;border-color:#315873!important}
#ehOfficeAttendanceNativePage .eh-pro-bulk-row{background:#0e314c!important;border-color:#315873!important}
#ehOfficeAttendanceNativePage .eh-pro-staff-card{background:#0b263d!important;border-color:#315873!important;color:#f3f8ff!important}
#ehOfficeAttendanceNativePage .eh-pro-staff-head{border-color:#315873!important}
#ehOfficeAttendanceNativePage .eh-pro-select{appearance:auto!important;-webkit-appearance:checkbox!important;pointer-events:auto!important}

/* Light-theme parity. */
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage,
body[data-theme="light"] #ehOfficeAttendanceNativePage{
  --r156-text:#17324a;--r156-muted:#5c7489;
}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-card,
body[data-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-card{background:#fff!important;color:#17324a!important;border-color:#c6d7e5!important}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage table td,
body[data-theme="light"] #ehOfficeAttendanceNativePage table td{background:#fff!important;color:#17324a!important;border-color:#d4e0ea!important}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage label input,
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage label select,
body[data-theme="light"] #ehOfficeAttendanceNativePage label input,
body[data-theme="light"] #ehOfficeAttendanceNativePage label select{background:#fff!important;color:#17324a!important}

@media(max-width:1100px){
  #ehOfficeAttendanceNativePage #ehOaAdminTabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:760px){
  #ehOfficeAttendanceNativePage .eh-oa-card{padding:14px!important}
  #ehOfficeAttendanceNativePage #ehOaAdminTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  #ehOfficeAttendanceNativePage #ehOaSettingsTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #ehOfficeAttendanceNativePage #ehOaStaffTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #ehOfficeAttendanceNativePage #ehOaAdminTabs button,
  #ehOfficeAttendanceNativePage #ehOaSettingsTabs button,
  #ehOfficeAttendanceNativePage #ehOaStaffTabs button{font-size:12px!important;min-height:46px!important;padding:8px 5px!important}
}
@media(max-width:430px){
  #ehOfficeAttendanceNativePage #ehOaAdminTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #ehOfficeAttendanceNativePage #ehOaSettingsTabs{grid-template-columns:1fr 1fr!important}
}


/* ============================================================
   EDUHUNT R157 SELF-CONTAINED ATTENDANCE UI RESTORE
   Loaded last. It does not calculate attendance, leave or payroll.
   ============================================================ */
body.eh-oa-active #content{max-width:none!important;width:100%!important;padding:18px 22px 34px!important;overflow-x:hidden!important}
body.eh-oa-active #content #ehOfficeAttendanceNativePage{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;color:#f3f8ff!important}
#ehOfficeAttendanceNativePage[hidden],#ehOfficeAttendanceNativePage [hidden]{display:none!important}
#ehOfficeAttendanceNativePage *{box-sizing:border-box!important}

/* One reliable navigation system. */
#ehOfficeAttendanceNativePage #ehOaStaffTabs,
#ehOfficeAttendanceNativePage #ehOaAdminTabs,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs{
  position:relative!important;z-index:5!important;pointer-events:auto!important;
}
#ehOfficeAttendanceNativePage #ehOaStaffTabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:14px 0 16px!important}
#ehOfficeAttendanceNativePage #ehOaAdminTabs{display:grid!important;grid-template-columns:repeat(7,minmax(135px,1fr))!important;gap:9px!important;margin:14px 0 16px!important}
#ehOfficeAttendanceNativePage #ehOaSettingsTabs{display:grid!important;grid-template-columns:repeat(4,minmax(150px,1fr))!important;gap:9px!important;margin:0 0 18px!important;padding:10px!important;border:1px solid #315b78!important;border-radius:14px!important;background:#0a2942!important}
#ehOfficeAttendanceNativePage #ehOaStaffTabs[hidden],#ehOfficeAttendanceNativePage #ehOaAdminTabs[hidden],#ehOfficeAttendanceNativePage #ehOaSettingsTabs[hidden]{display:none!important}
#ehOfficeAttendanceNativePage #ehOaStaffTabs button,
#ehOfficeAttendanceNativePage #ehOaAdminTabs button,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button{
  appearance:none!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;width:100%!important;min-height:50px!important;padding:10px 12px!important;border:1px solid #416a88!important;
  border-radius:11px!important;background:#0d304d!important;color:#eef8ff!important;font:inherit!important;font-weight:850!important;font-size:14px!important;
  line-height:1.25!important;text-align:center!important;white-space:normal!important;cursor:pointer!important;pointer-events:auto!important;opacity:1!important;
  touch-action:manipulation!important;user-select:none!important;
}
#ehOfficeAttendanceNativePage #ehOaStaffTabs button:hover,
#ehOfficeAttendanceNativePage #ehOaAdminTabs button:hover,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button:hover{background:#174e75!important;border-color:#73a9ca!important}
#ehOfficeAttendanceNativePage #ehOaStaffTabs button.is-active,
#ehOfficeAttendanceNativePage #ehOaAdminTabs button.is-active,
#ehOfficeAttendanceNativePage #ehOaSettingsTabs button.is-active{
  background:#286b9c!important;border-color:#f2c45f!important;color:#fff!important;box-shadow:inset 0 -3px #f2c45f!important;
}

/* Selected page is the only visible page. */
#ehOfficeAttendanceNativePage [data-eh-oa-page]{width:100%!important;min-width:0!important}
#ehOfficeAttendanceNativePage [data-eh-oa-page][hidden]{display:none!important}
#ehOfficeAttendanceNativePage [data-eh-oa-page]:not([hidden]){display:block!important}
#ehOfficeAttendanceNativePage #ehOaMy:not([hidden]),
#ehOfficeAttendanceNativePage #ehHrLEAVEStaff:not([hidden]),
#ehOfficeAttendanceNativePage #ehHrEARNINGS:not([hidden]){display:block!important}

/* Cards and forms, including Leave & Permissions / My Earnings. */
#ehOfficeAttendanceNativePage .eh-oa-card,
#ehOfficeAttendanceNativePage #ehHrLEAVEStaff,
#ehOfficeAttendanceNativePage #ehHrEARNINGS{
  width:100%!important;min-width:0!important;background:#123754!important;color:#f3f8ff!important;
  border:1px solid #315b78!important;border-radius:16px!important;padding:20px!important;margin:14px 0!important;box-shadow:none!important;
}
#ehOfficeAttendanceNativePage #ehHrLEAVEStaff:empty,
#ehOfficeAttendanceNativePage #ehHrEARNINGS:empty{min-height:78px!important}
#ehOfficeAttendanceNativePage h3{margin:0 0 14px!important;color:#fff!important;font-size:22px!important;line-height:1.25!important}
#ehOfficeAttendanceNativePage h4{color:#f4f8ff!important}
#ehOfficeAttendanceNativePage .eh-oa-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;align-items:end!important}
#ehOfficeAttendanceNativePage label{display:block!important;min-width:0!important;color:#c8deef!important;font-weight:750!important;font-size:13px!important;margin:10px 0!important}
#ehOfficeAttendanceNativePage label input:not([type=checkbox]),
#ehOfficeAttendanceNativePage label select,
#ehOfficeAttendanceNativePage label textarea,
#ehOfficeAttendanceNativePage .eh-oa-report-actions input,
#ehOfficeAttendanceNativePage .eh-oa-report-actions select{
  display:block!important;width:100%!important;min-width:0!important;min-height:44px!important;margin-top:6px!important;padding:10px 12px!important;
  border:1px solid #4e7896!important;border-radius:9px!important;background:#082238!important;color:#f5f9ff!important;font:inherit!important;
}
#ehOfficeAttendanceNativePage label textarea{min-height:94px!important;resize:vertical!important}
#ehOfficeAttendanceNativePage input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;pointer-events:auto!important;accent-color:#f2c45f!important}
#ehOfficeAttendanceNativePage .eh-oa-btn,
#ehOfficeAttendanceNativePage button.eh-oa-btn{
  appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;padding:9px 14px!important;border:1px solid #3979a7!important;border-radius:9px!important;background:#236b9f!important;
  color:#fff!important;font:inherit!important;font-weight:850!important;cursor:pointer!important;pointer-events:auto!important;opacity:1!important;touch-action:manipulation!important;
}
#ehOfficeAttendanceNativePage .eh-oa-btn.eh-oa-primary{background:#f2c45f!important;border-color:#dfac38!important;color:#142d41!important}
#ehOfficeAttendanceNativePage .eh-oa-btn.eh-oa-secondary{background:#236b9f!important;color:#fff!important}
#ehOfficeAttendanceNativePage .eh-oa-btn:disabled{opacity:.45!important;cursor:not-allowed!important}
#ehOfficeAttendanceNativePage details{border:1px solid #315b78!important;border-radius:11px!important;padding:0 12px 12px!important;margin:12px 0!important;background:#0d304b!important}
#ehOfficeAttendanceNativePage details>summary{cursor:pointer!important;pointer-events:auto!important;padding:12px 0!important;font-weight:850!important;color:#fff!important}
#ehOfficeAttendanceNativePage .hr2-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:16px 0!important}
#ehOfficeAttendanceNativePage .hr2-stat{min-width:0!important;padding:16px!important;border:1px solid #315b78!important;border-radius:12px!important;background:#0b2b44!important}
#ehOfficeAttendanceNativePage .hr2-stat small{display:block!important;color:#bcd2e4!important;font-size:13px!important}
#ehOfficeAttendanceNativePage .hr2-stat strong{display:block!important;color:#fff!important;font-size:25px!important;margin-top:7px!important}

/* Staff attendance summary. */
#ehOfficeAttendanceNativePage .eh-oa-summary-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:14px 0 16px!important}
#ehOfficeAttendanceNativePage .eh-oa-summary-card{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-width:0!important;min-height:86px!important;padding:12px!important;border:1px solid #3b6480!important;border-radius:12px!important;background:#174763!important;text-align:center!important}
#ehOfficeAttendanceNativePage .eh-oa-summary-card small{font-size:11px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.03em!important;color:#d7e9f5!important}
#ehOfficeAttendanceNativePage .eh-oa-summary-card strong{font-size:28px!important;color:#fff!important;margin-top:5px!important}
#ehOfficeAttendanceNativePage .eh-oa-summary-present{background:#176a42!important}.eh-oa-summary-leave{background:#71365d!important}.eh-oa-summary-permission{background:#745923!important}

/* Full calendar restoration. */
#ehOfficeAttendanceNativePage .eh-oa-month-panel{width:100%!important;margin:14px 0!important;padding:16px!important;border:1px solid #315b78!important;border-radius:14px!important;background:#0b2c46!important;overflow:hidden!important}
#ehOfficeAttendanceNativePage .eh-oa-month-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:12px!important}
#ehOfficeAttendanceNativePage .eh-oa-month-head h4{margin:0!important;font-size:18px!important;color:#fff!important}
#ehOfficeAttendanceNativePage .eh-oa-month-switch{display:flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important}
#ehOfficeAttendanceNativePage .eh-oa-month-switch button{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;border:1px solid #5a84a2!important;border-radius:8px!important;background:#215579!important;color:#fff!important;font-size:24px!important;cursor:pointer!important;pointer-events:auto!important}
#ehOfficeAttendanceNativePage .eh-oa-month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;width:100%!important;max-width:100%!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-weekday{display:flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;color:#c9dfed!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-blank{display:block!important;min-height:50px!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day{appearance:none!important;-webkit-appearance:none!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:0!important;min-height:52px!important;padding:5px 2px!important;border:1px solid #416b86!important;border-radius:8px!important;background:#143d57!important;color:#fff!important;cursor:pointer!important;pointer-events:auto!important;font:inherit!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-number{font-size:15px!important;font-weight:900!important;line-height:1!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-symbol{font-size:10px!important;font-weight:900!important;line-height:1!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.is-today{outline:2px solid #f1c460!important;outline-offset:1px!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.is-selected{box-shadow:inset 0 0 0 2px #fff!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-P{background:#218c52!important;border-color:#45ad71!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-A{background:#a8384b!important;border-color:#cb6070!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-REV{background:#9a5b16!important;border-color:#efb14e!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-HD{background:#8d4778!important;border-color:#d082bb!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-CL,#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-SL{background:#d5aa43!important;border-color:#f0cd78!important;color:#173047!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-SUN,#ehOfficeAttendanceNativePage .eh-oa-cal-day.eh-oa-cal-HOL{background:#72caed!important;border-color:#a7e5ff!important;color:#10304a!important}
#ehOfficeAttendanceNativePage .eh-oa-calendar-selected{min-height:20px!important;color:#c7ddec!important;font-size:12px!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-guide-label{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:12px!important;color:#fff!important;font-weight:850!important}
#ehOfficeAttendanceNativePage .eh-oa-calendar-legend{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:8px!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-legend-btn{appearance:none!important;display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;padding:7px 8px!important;border:1px solid #416b86!important;border-radius:8px!important;background:#123b56!important;color:#fff!important;font:inherit!important;font-size:11px!important;cursor:pointer!important;pointer-events:auto!important;text-align:left!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-legend-btn strong{min-width:28px!important;color:#fff!important}
#ehOfficeAttendanceNativePage .eh-oa-cal-legend-btn[aria-pressed="true"]{outline:2px solid #f2c45f!important;outline-offset:1px!important}

/* Reports and photo review. */
#ehOfficeAttendanceNativePage .eh-oa-scroll,#ehOfficeAttendanceNativePage #ehOaReport,#ehOfficeAttendanceNativePage #ehOaStaffHistory{width:100%!important;max-width:100%!important;overflow:auto!important;border:1px solid #315b78!important;border-radius:12px!important;background:#10334f!important}
#ehOfficeAttendanceNativePage table{width:100%!important;border-collapse:collapse!important;border-spacing:0!important;color:#eef7ff!important;background:#123754!important;font-size:14px!important}
#ehOfficeAttendanceNativePage table th{background:#1f618f!important;color:#fff!important;font-weight:900!important;padding:12px 14px!important;text-align:left!important;border-right:1px solid #477797!important;border-bottom:1px solid #477797!important;white-space:nowrap!important}
#ehOfficeAttendanceNativePage table td{background:#123754!important;color:#eef7ff!important;padding:12px 14px!important;border-right:1px solid #315b78!important;border-bottom:1px solid #315b78!important;vertical-align:middle!important}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions{display:flex!important;gap:6px!important;align-items:center!important;flex-wrap:wrap!important}
#ehOfficeAttendanceNativePage .eh-oa-mark-choice,#ehOfficeAttendanceNativePage .eh-oa-mark-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:38px!important;min-height:34px!important;padding:6px 8px!important;border:1px solid #6688a1!important;border-radius:8px!important;background:#173b57!important;color:#fff!important;font-weight:850!important;cursor:pointer!important;pointer-events:auto!important}
#ehOfficeAttendanceNativePage .eh-oa-half-leave-select{min-width:68px!important;min-height:34px!important;background:#082238!important;color:#fff!important;border:1px solid #6688a1!important;border-radius:8px!important;pointer-events:auto!important}
#ehOfficeAttendanceNativePage .eh-pro-admin-filters{display:grid!important;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr) minmax(220px,1.3fr)!important;gap:12px!important;align-items:end!important;padding:14px!important;border:1px solid #315873!important;border-radius:12px!important;background:#0b2a43!important}
#ehOfficeAttendanceNativePage .eh-pro-bulk-row{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;margin:12px 0!important;padding:10px 12px!important;border:1px solid #315873!important;border-radius:11px!important;background:#0e314c!important}
#ehOfficeAttendanceNativePage .eh-pro-bulk-row>span{margin-right:auto!important}
#ehOfficeAttendanceNativePage .eh-pro-review-list{display:grid!important;gap:14px!important}
#ehOfficeAttendanceNativePage .eh-pro-staff-card{padding:16px!important;border:1px solid #315873!important;border-radius:14px!important;background:#0b263d!important;color:#f3f8ff!important}
#ehOfficeAttendanceNativePage .eh-pro-staff-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding-bottom:12px!important;border-bottom:1px solid #315873!important}
#ehOfficeAttendanceNativePage .eh-pro-select{appearance:auto!important;-webkit-appearance:checkbox!important;width:20px!important;height:20px!important;pointer-events:auto!important}
#ehOfficeAttendanceNativePage .eh-pro-staff-body{display:grid!important;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr)!important;gap:16px!important;padding-top:14px!important}
#ehOfficeAttendanceNativePage .eh-pro-photo-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#ehOfficeAttendanceNativePage .eh-pro-selfie,#ehOfficeAttendanceNativePage .eh-pro-selfie-missing{width:100%!important;max-width:220px!important;aspect-ratio:1/1!important;border-radius:12px!important;object-fit:cover!important;border:1px solid #416b86!important}
#ehOfficeAttendanceNativePage .eh-pro-selfie-missing{display:flex!important;align-items:center!important;justify-content:center!important;background:#173b57!important;color:#c8ddeb!important}
#ehOfficeAttendanceNativePage .eh-pro-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:12px!important}
#ehOfficeAttendanceNativePage .eh-pro-btn{min-height:40px!important;padding:8px 13px!important;border-radius:9px!important;border:1px solid #4e7896!important;background:#236b9f!important;color:#fff!important;font-weight:850!important;cursor:pointer!important;pointer-events:auto!important}
#ehOfficeAttendanceNativePage .eh-pro-btn.approve{background:#168d56!important}.eh-pro-btn.reject{background:#a63c4c!important}

/* Light theme. */
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage,
body[data-theme="light"] #ehOfficeAttendanceNativePage{color:#17324a!important}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-card,
body[data-theme="light"] #ehOfficeAttendanceNativePage .eh-oa-card,
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage #ehHrLEAVEStaff,
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage #ehHrEARNINGS{background:#fff!important;color:#17324a!important;border-color:#c6d7e5!important}
body[data-desktop-theme="light"] #ehOfficeAttendanceNativePage table td,
body[data-theme="light"] #ehOfficeAttendanceNativePage table td{background:#fff!important;color:#17324a!important;border-color:#d4e0ea!important}

@media(max-width:1200px){#ehOfficeAttendanceNativePage #ehOaAdminTabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}#ehOfficeAttendanceNativePage .eh-oa-calendar-legend{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){body.eh-oa-active #content{padding:10px!important}#ehOfficeAttendanceNativePage #ehOaAdminTabs,#ehOfficeAttendanceNativePage #ehOaSettingsTabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}#ehOfficeAttendanceNativePage .eh-oa-grid,#ehOfficeAttendanceNativePage .eh-pro-admin-filters,#ehOfficeAttendanceNativePage .eh-pro-staff-body{grid-template-columns:1fr!important}#ehOfficeAttendanceNativePage .hr2-stats,#ehOfficeAttendanceNativePage .eh-oa-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){#ehOfficeAttendanceNativePage #ehOaStaffTabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}#ehOfficeAttendanceNativePage #ehOaStaffTabs button{font-size:11px!important;padding:7px 3px!important}#ehOfficeAttendanceNativePage .eh-oa-month-panel{padding:10px!important}#ehOfficeAttendanceNativePage .eh-oa-month-grid{gap:3px!important}#ehOfficeAttendanceNativePage .eh-oa-cal-day{min-height:44px!important;border-radius:6px!important}#ehOfficeAttendanceNativePage .eh-oa-cal-number{font-size:13px!important}#ehOfficeAttendanceNativePage .eh-oa-cal-symbol{font-size:8px!important}#ehOfficeAttendanceNativePage .eh-oa-calendar-legend{grid-template-columns:1fr!important}#ehOfficeAttendanceNativePage .eh-pro-photo-pair{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* EDUHUNT R159 — explicit attendance status colour coding.
   Saved/final status is solid; available manual choices use colour-coded borders/text
   so the meaning is clear without implying they are already selected. */
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-P{background:#168a4f!important;color:#fff!important;border-color:#29bd74!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-A{background:#b72f3d!important;color:#fff!important;border-color:#f0646e!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-HD{background:#d99113!important;color:#fff!important;border-color:#f5bd42!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-CL{background:#2468b8!important;color:#fff!important;border-color:#4f9ae8!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-SL{background:#7047b8!important;color:#fff!important;border-color:#a47ae8!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-badge.eh-oa-mark-OFF{background:#236879!important;color:#fff!important;border-color:#54a5b7!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-choice-P{border-color:#2fb976!important;color:#79e3a8!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-choice-A{border-color:#e35c67!important;color:#ff969e!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-choice-HD{border-color:#e8a72e!important;color:#ffd070!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-choice-CL{border-color:#4b8ed8!important;color:#8fc3ff!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-choice-SL{border-color:#8e6ad0!important;color:#c0a8f1!important;}
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-mark-choice:hover:not(:disabled),
#ehOfficeAttendanceNativePage .eh-oa-mark-actions .eh-oa-mark-choice:focus-visible{filter:brightness(1.14);box-shadow:0 0 0 2px rgba(255,255,255,.10)!important;}
#ehOfficeAttendanceNativePage .eh-oa-summary-present{background:linear-gradient(180deg,#176a42,#0e4c30)!important;}
#ehOfficeAttendanceNativePage .eh-oa-summary-leave{background:linear-gradient(180deg,#73385f,#532944)!important;}
#ehOfficeAttendanceNativePage .eh-oa-summary-permission{background:linear-gradient(180deg,#765b25,#564116)!important;}
