.hr-workforce-view { padding: 0; }
.hr-shell { --hr-navy:#172a52; --hr-blue:#3157c8; --hr-teal:#168a7a; --hr-gold:#eea82f; --hr-red:#c74955; display:grid; gap:18px; color:#17233d; }
.hr-hero { position:relative; overflow:hidden; display:flex; justify-content:space-between; gap:20px; padding:26px 28px; border-radius:24px; color:#fff; background:linear-gradient(125deg,#172a52 0%,#3157c8 62%,#168a7a 130%); box-shadow:0 18px 45px rgba(32,55,112,.18); }
.hr-hero::after { content:""; position:absolute; width:260px; height:260px; right:-70px; bottom:-160px; border:38px solid rgba(255,255,255,.08); border-radius:50%; }
.hr-hero h2 { margin:4px 0 5px; color:#fff; font-size:clamp(25px,3vw,38px); }
.hr-hero p { margin:0; color:#dfe8ff; max-width:760px; }
.hr-role-badge { align-self:flex-start; white-space:nowrap; padding:9px 14px; border:1px solid rgba(255,255,255,.26); background:rgba(255,255,255,.12); border-radius:999px; font-weight:800; }
.hr-tabs { display:flex; gap:7px; overflow-x:auto; padding:7px; background:#fff; border:1px solid #dbe2ef; border-radius:16px; box-shadow:0 8px 24px rgba(24,42,78,.06); }
.hr-tab { flex:0 0 auto; border:0; background:transparent; color:#66738a; padding:11px 16px; border-radius:11px; font-weight:800; cursor:pointer; }
.hr-tab.active { color:#fff; background:linear-gradient(120deg,var(--hr-navy),var(--hr-blue)); box-shadow:0 7px 18px rgba(49,87,200,.22); }
.hr-kpis { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:13px; }
.hr-kpi { position:relative; overflow:hidden; min-height:112px; padding:18px; background:#fff; border:1px solid #dce3ef; border-radius:19px; box-shadow:0 9px 25px rgba(30,50,88,.06); }
.hr-kpi::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:var(--tone,var(--hr-blue)); }
.hr-kpi span { display:block; color:#738097; font-size:12px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.hr-kpi strong { display:block; margin-top:10px; font-size:30px; color:#17233d; }
.hr-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr); gap:16px; align-items:start; }
.hr-card { background:#fff; border:1px solid #dce3ef; border-radius:20px; padding:20px; box-shadow:0 10px 28px rgba(30,50,88,.06); }
.hr-card-header { display:flex; justify-content:space-between; align-items:center; gap:14px; padding-bottom:15px; border-bottom:1px solid #e6ebf3; }
.hr-card-header h3 { margin:2px 0 0; font-size:20px; }
.hr-eyebrow { margin:0; color:#778399; font-size:11px; font-weight:900; letter-spacing:.09em; text-transform:uppercase; }
.hr-actions { display:flex; flex-wrap:wrap; gap:9px; }
.hr-button { border:1px solid #ccd6e6; background:#fff; color:#24365f; padding:10px 14px; border-radius:11px; font-weight:800; cursor:pointer; }
.hr-button.primary { color:#fff; border-color:var(--hr-navy); background:var(--hr-navy); }
.hr-button.success { color:#fff; border-color:var(--hr-teal); background:var(--hr-teal); }
.hr-button.warn { color:#fff; border-color:#b66e13; background:#b66e13; }
.hr-button.danger { color:#a73140; border-color:#edcbd0; background:#fff3f4; }
.hr-button:disabled { opacity:.45; cursor:not-allowed; }
.hr-form { display:grid; gap:13px; margin-top:16px; }
.hr-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.hr-form-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.hr-form label { display:grid; gap:6px; color:#5f6c83; font-size:12px; font-weight:850; }
.hr-form input,.hr-form select,.hr-form textarea { width:100%; min-height:42px; padding:10px 11px; border:1px solid #ccd6e5; border-radius:10px; background:#fbfcff; color:#17233d; font:inherit; }
.hr-form textarea { min-height:84px; resize:vertical; }
.hr-date-field { min-width:270px; }
.hr-date-toggle { display:flex; align-items:center; gap:7px; color:#6b7890; font-size:11px; font-weight:800; }
.hr-date-toggle input { width:16px; min-height:16px; margin:0; padding:0; }
.hr-date-field .ethiopian-date-select { display:grid; grid-template-columns:76px minmax(135px,1fr) 92px; gap:7px; }
.hr-date-field .ethiopian-date-select.hidden { display:none; }
.hr-date-field .ethiopian-date-select select { width:100%; min-height:42px; padding:8px; border:1px solid #ccd6e5; border-radius:10px; background:#fbfcff; color:#17233d; font:inherit; }
.hr-datetime-field { min-width:0; margin:0; padding:12px; border:1px solid #dce3ef; border-radius:13px; }
.hr-datetime-field legend { padding:0 6px; color:#24365f; font-size:12px; font-weight:900; }
.hr-datetime-grid { display:grid; grid-template-columns:minmax(250px,1fr) 120px; gap:10px; align-items:end; }
.hr-attendance-date { align-items:end; }
.hr-attendance-date .hr-date-field { min-width:300px; }
.hr-attendance-help { margin:6px 0 0; color:#69768c; font-size:12px; }
.hr-attendance-table { min-width:980px; }
.hr-attendance-table th:nth-child(1) { min-width:190px; }
.hr-attendance-table th:nth-child(6) { min-width:300px; }
.hr-one-touch-actions { display:flex; flex-wrap:wrap; gap:8px; }
.hr-touch-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; min-width:132px; padding:10px 15px; border:0; border-radius:13px; color:#fff; font-size:13px; font-weight:900; cursor:pointer; box-shadow:0 7px 16px rgba(23,42,82,.14); transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease; }
.hr-touch-button:hover { transform:translateY(-1px); box-shadow:0 10px 20px rgba(23,42,82,.2); }
.hr-touch-button:active { transform:translateY(1px); }
.hr-touch-button:disabled { opacity:.5; cursor:wait; transform:none; }
.hr-touch-button span { display:grid; place-items:center; width:23px; height:23px; border-radius:50%; background:rgba(255,255,255,.2); font-size:13px; }
.hr-touch-button.morning { background:linear-gradient(135deg,#08705e,#18a086); }
.hr-touch-button.evening { background:linear-gradient(135deg,#172a52,#3157c8); }
.hr-touch-button.absent { background:linear-gradient(135deg,#b73546,#d95a67); }
.hr-action-complete { display:inline-flex; align-items:center; min-height:42px; padding:0 13px; border-radius:12px; background:#e9f7f3; color:#08705e; font-weight:900; }
.hr-correct-button { min-height:42px; padding-inline:12px; color:#65728a; background:#f8faff; }
.hr-document-upload { display:grid; gap:11px; padding:15px; border:1px solid #dce3ef; border-radius:14px; background:#f8faff; }
.hr-document-upload p { margin:4px 0 0; }
.hr-document-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:9px; }
.hr-document-item { display:flex; justify-content:space-between; gap:10px; padding:11px 12px; border:1px solid #d4ddeb; border-radius:11px; background:#fff; color:#24365f; text-decoration:none; }
.hr-document-item span { color:#748198; font-size:11px; }
.hr-document-empty { padding:14px; border:1px dashed #ccd6e5; border-radius:10px; }
.hr-file-picker { display:flex!important; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px dashed #99abd0; border-radius:11px; background:#fff; color:#24365f!important; }
.hr-file-picker input { width:auto; min-height:0; padding:0; border:0; background:transparent; }
.hr-table-wrap { overflow:auto; margin-top:14px; border:1px solid #e0e6ef; border-radius:14px; }
.hr-table { width:100%; border-collapse:collapse; min-width:760px; }
.hr-table th { padding:12px; background:#f5f7fb; color:#6a768b; font-size:11px; letter-spacing:.06em; text-transform:uppercase; text-align:left; }
.hr-table td { padding:13px 12px; border-top:1px solid #e6ebf2; vertical-align:top; }
.hr-table tbody tr:hover { background:#fafcff; }
.hr-table tbody tr.hr-attendance-missing { background:#fffaf0; }
.hr-table tbody tr.hr-attendance-missing td:nth-child(2),.hr-table tbody tr.hr-attendance-missing td:nth-child(3) { color:#9a6b20; font-style:italic; }
.hr-pill { display:inline-flex; align-items:center; padding:5px 9px; border-radius:999px; background:#e9efff; color:#294598; font-size:11px; font-weight:900; }
.hr-pill.green { background:#e2f5ef; color:#08705e; }
.hr-pill.red { background:#ffeaec; color:#ad3342; }
.hr-pill.amber { background:#fff1d4; color:#98600e; }
.hr-person { display:flex; align-items:center; gap:10px; }
.hr-avatar { display:grid; place-items:center; width:36px; height:36px; border-radius:12px; background:linear-gradient(135deg,#dfe7ff,#d8f6ef); color:#21386f; font-weight:900; }
.hr-avatar.has-photo,.hr-employee-photo.has-photo,.hr-profile-photo.has-photo,.hr-photo-editor-preview.has-photo { position:relative; }
.hr-avatar.has-photo>span,.hr-employee-photo.has-photo>span,.hr-profile-photo.has-photo>span,.hr-photo-editor-preview.has-photo>span { position:absolute; inset:0; display:grid; place-items:center; }
.hr-avatar img,.hr-employee-photo img,.hr-profile-photo img,.hr-photo-editor-preview img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; }
.hr-employee-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(285px,1fr)); gap:14px; margin-top:16px; }
.hr-employee-card { display:grid; gap:13px; padding:16px; border:1px solid #dce3ef; border-radius:17px; background:linear-gradient(145deg,#fff,#f7f9fd); box-shadow:0 8px 22px rgba(30,50,88,.05); }
.hr-employee-profile-button { display:grid; grid-template-columns:58px minmax(0,1fr) auto; align-items:center; gap:12px; padding:0; border:0; background:transparent; color:inherit; text-align:left; cursor:pointer; }
.hr-employee-photo { display:grid; place-items:center; width:58px; height:58px; overflow:hidden; border-radius:17px; background:linear-gradient(135deg,#dfe7ff,#d8f6ef); color:#21386f; font-size:18px; font-weight:900; }
.hr-employee-card-copy { display:grid; min-width:0; gap:2px; }
.hr-employee-card-copy strong { overflow:hidden; color:#17233d; font-size:16px; text-overflow:ellipsis; white-space:nowrap; }
.hr-employee-card-copy small { color:#59677f; }
.hr-employee-card-copy em { color:#8490a5; font-size:11px; font-style:normal; font-weight:800; }
.hr-employee-card-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; padding:10px; border-radius:10px; background:#eef3fa; color:#66748b; font-size:11px; }
.hr-directory-empty { display:grid; gap:7px; margin-top:16px; padding:55px 20px; border:1px dashed #cbd5e5; border-radius:15px; background:#fafcff; }
.hr-directory-empty strong { color:#24365f; font-size:18px; }
.hr-directory-empty span { color:#748198; }
.hr-directory-notice { margin-top:14px; padding:12px 14px; border:1px solid #b9e2d6; border-radius:11px; background:#e9f7f3; }
.hr-photo-editor { display:grid; grid-template-columns:100px 1fr; align-items:center; gap:18px; padding:15px; border:1px solid #dce3ef; border-radius:15px; background:#f8faff; }
.hr-photo-editor-preview { display:grid; place-items:center; width:100px; height:100px; overflow:hidden; border:4px solid #fff; border-radius:25px; background:linear-gradient(135deg,#dfe7ff,#d8f6ef); box-shadow:0 7px 20px rgba(30,50,88,.12); color:#21386f; font-size:28px; font-weight:900; }
.hr-profile-shell { display:grid; gap:18px; }
.hr-profile-header { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; padding:20px; border-radius:18px; background:linear-gradient(125deg,#172a52,#3157c8); color:#fff; }
.hr-profile-identity { display:flex; align-items:center; gap:17px; }
.hr-profile-identity h2 { margin:3px 0; color:#fff; }
.hr-profile-identity p { margin:0; color:#dce6ff; }
.hr-profile-badges { display:flex; gap:7px; margin-top:10px; }
.hr-profile-photo { display:grid; place-items:center; width:112px; height:112px; flex:0 0 112px; overflow:hidden; border:5px solid rgba(255,255,255,.9); border-radius:28px; background:#e6edff; color:#21386f; font-size:30px; font-weight:900; box-shadow:0 10px 28px rgba(0,0,0,.2); }
.hr-profile-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.hr-profile-panel { padding:18px; border:1px solid #dce3ef; border-radius:16px; background:#fff; }
.hr-profile-panel h3 { margin:4px 0 14px; }
.hr-profile-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; margin:0; }
.hr-profile-details div { padding:10px 0; border-top:1px solid #e8edf4; }
.hr-profile-details dt { color:#8894a8; font-size:11px; }
.hr-profile-details dd { margin:4px 0 0; color:#17233d; font-weight:800; }
.hr-profile-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:10px; }
.hr-profile-stats div { display:grid; gap:3px; padding:12px; border-radius:11px; background:#eef3fa; }
.hr-profile-stats strong { color:#24439d; font-size:22px; }
.hr-profile-stats span { color:#748198; font-size:11px; }
.hr-muted { color:#748198; font-size:12px; }
.hr-empty { padding:30px 16px; text-align:center; color:#78849a; }
.hr-punch-panel { display:grid; grid-template-columns:repeat(2,minmax(120px,1fr)); gap:11px; margin-top:16px; }
.hr-punch { min-height:100px; padding:14px; border:1px solid #d9e1ee; border-radius:15px; background:#f9fbff; text-align:left; }
.hr-punch.done { background:#e9f7f3; border-color:#a8ddcf; }
.hr-punch strong,.hr-punch span { display:block; }
.hr-punch span { margin-top:7px; color:#6e7a90; font-size:12px; }
.hr-score { font-size:24px; font-weight:900; color:#24439d; }
.hr-progress { height:8px; overflow:hidden; border-radius:999px; background:#e8edf5; }
.hr-progress i { display:block; height:100%; background:linear-gradient(90deg,var(--hr-blue),var(--hr-teal)); border-radius:inherit; }
.hr-alert-list { display:grid; gap:10px; margin-top:14px; }
.hr-alert { padding:12px; border-left:4px solid var(--hr-gold); border-radius:10px; background:#fff8e9; }
.hr-message { min-height:20px; margin:8px 0 0; color:#5f6c83; font-weight:700; }
.hr-message.error { color:#b02f40; }.hr-message.success { color:#08705e; }
.hr-modal-backdrop { position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:20px; background:rgba(12,22,44,.62); }
.hr-modal-backdrop.hidden { display:none; }
.hr-modal { width:min(920px,100%); max-height:92vh; overflow:auto; padding:23px; background:#fff; border-radius:21px; box-shadow:0 28px 80px rgba(0,0,0,.25); }
.hr-report-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-top:15px; }
.hr-report-tile { padding:17px; border:1px solid #dce4ef; border-radius:14px; background:linear-gradient(145deg,#fff,#f7f9fd); }
.hr-report-tile h4 { margin:0 0 7px; }.hr-report-tile p { margin:0; color:#748198; font-size:13px; }
.hr-intake-grid { grid-template-columns:1fr 1fr; }
.hr-intake-list { display:grid; gap:10px; margin-top:16px; }
.hr-intake-list article { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:13px; border:1px solid #dce3ef; border-radius:13px; background:#f9fbff; }
.hr-intake-list article>div:first-child { display:grid; gap:4px; }
.hr-intake-list article span { color:#748198; font-size:11px; }
.hr-share-link { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:end; margin-top:15px; padding:13px; border-radius:13px; background:#e9f7f3; }
.hr-share-link label { display:grid; gap:5px; color:#08705e; font-size:12px; font-weight:850; }
.hr-share-link input { width:100%; padding:10px; border:1px solid #a9dacf; border-radius:9px; background:#fff; }
.hr-intake-details { margin:16px 0; }
.hr-intake-details dd { white-space:pre-wrap; }
.hr-intake-photo { width:120px; height:120px; margin:16px auto 0; overflow:hidden; border:4px solid #fff; border-radius:25px; box-shadow:0 8px 24px rgba(20,42,82,.18); }
.hr-intake-photo img { width:100%; height:100%; object-fit:cover; }
.hr-public-intake { --hr-navy:#172a52; --hr-blue:#3157c8; --hr-teal:#168a7a; --hr-gold:#eea82f; --hr-red:#c74955; position:fixed; inset:0; z-index:10000; overflow:auto; padding:36px 18px; background:#eef2f8; color:#17233d; }
.hr-public-card { width:min(1080px,100%); margin:auto; padding:26px; border:1px solid #dce3ef; border-radius:24px; background:#fff; box-shadow:0 25px 70px rgba(20,42,82,.14); }
.hr-public-card.compact { width:min(620px,100%); text-align:center; }
.hr-public-header { display:flex; justify-content:space-between; gap:20px; padding:25px; border-radius:19px; color:#fff; background:linear-gradient(125deg,#172a52,#3157c8); }
.hr-public-header h1 { margin:4px 0; font-size:32px; }
.hr-public-header p { margin:0; color:#dfe8ff; }
.hr-public-header>span { align-self:flex-start; padding:9px 13px; border:1px solid rgba(255,255,255,.35); border-radius:999px; font-weight:850; }
.hr-public-form section { padding:18px; border:1px solid #e0e6ef; border-radius:16px; background:#fafcff; }
.hr-public-form section h2 { margin:0 0 14px; font-size:18px; }
.hr-subsection { margin-top:16px; padding-top:15px; border-top:1px solid #e3e8f1; }
.hr-subsection h3 { margin:0 0 11px; font-size:15px; }
.hr-repeat-block { margin-top:16px; padding:15px; border:1px solid #dce3ef; border-radius:14px; background:#fff; }
.hr-repeat-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:11px; }
.hr-repeat-heading h3 { margin:0; font-size:15px; }
.hr-repeat-rows { display:grid; gap:10px; }
.hr-repeat-row { display:grid; grid-template-columns:repeat(4,minmax(120px,1fr)) 36px; gap:9px; align-items:end; padding:11px; border:1px solid #e3e8f1; border-radius:12px; background:#f8faff; }
.hr-repeat-remove { width:36px; height:42px; border:1px solid #edcbd0; border-radius:9px; background:#fff3f4; color:#a73140; font-size:21px; cursor:pointer; }
.hr-intake-review-section { margin:15px 0; padding:15px; border:1px solid #dce3ef; border-radius:14px; }
.hr-intake-review-section h3 { margin:0; }
.hr-public-consent { display:flex!important; grid-template-columns:auto 1fr; align-items:flex-start; gap:10px!important; padding:14px; border-radius:12px; background:#fff7e7; }
.hr-public-consent input { width:18px!important; min-height:18px!important; }
.hr-public-form>.hr-actions { justify-content:center; padding:8px 0 2px; }
.hr-public-form>.hr-actions .hr-button.primary { min-width:220px; min-height:48px; background:#172a52; border-color:#172a52; color:#fff; font-size:15px; box-shadow:0 8px 20px rgba(23,42,82,.2); }
.hr-public-card footer { margin-top:18px; color:#748198; font-size:12px; text-align:center; }
.hr-public-loading { padding:70px 20px; text-align:center; font-weight:800; }
.hr-public-success { display:grid; place-items:center; width:70px; height:70px; margin:0 auto 16px; border-radius:50%; background:#e2f5ef; color:#08705e; font-size:34px; font-weight:900; }
@media (max-width:1150px){.hr-kpis{grid-template-columns:repeat(3,1fr)}.hr-grid{grid-template-columns:1fr}.hr-form-grid.three{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.hr-repeat-row{grid-template-columns:repeat(2,minmax(120px,1fr)) 36px}.hr-repeat-remove{grid-column:3;grid-row:1}}
@media (max-width:720px){.hr-hero{padding:21px;flex-direction:column}.hr-kpis{grid-template-columns:repeat(2,1fr)}.hr-form-grid,.hr-form-grid.three{grid-template-columns:1fr}.hr-punch-panel{grid-template-columns:repeat(2,1fr)}.hr-report-grid,.hr-intake-grid{grid-template-columns:1fr}.hr-datetime-grid{grid-template-columns:1fr}.hr-date-field .ethiopian-date-select{grid-template-columns:68px minmax(118px,1fr) 82px}.hr-attendance-date{width:100%}.hr-attendance-date .hr-date-field{min-width:100%}.hr-attendance-date>.hr-button{width:100%;min-height:46px}.hr-touch-button{min-width:145px;min-height:52px}.hr-profile-header,.hr-profile-identity,.hr-public-header{flex-direction:column}.hr-profile-layout{grid-template-columns:1fr}.hr-profile-details{grid-template-columns:1fr}.hr-photo-editor{grid-template-columns:1fr}.hr-employee-card-meta{grid-template-columns:1fr}.hr-share-link{grid-template-columns:1fr}.hr-intake-list article{align-items:flex-start;flex-direction:column}.hr-public-intake{padding:12px}.hr-public-card{padding:14px}.hr-repeat-row{grid-template-columns:1fr 36px}.hr-repeat-row label{grid-column:1}.hr-repeat-remove{grid-column:2;grid-row:1}.hr-repeat-heading{align-items:flex-start;flex-direction:column}}
@media (max-width:680px){.hr-date-field .ethiopian-date-select{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) minmax(0,1fr);gap:6px}.hr-kpis,.hr-punch-panel{grid-template-columns:1fr}.hr-tabs{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.hr-button,.hr-tab,.hr-repeat-remove{min-height:44px}.hr-modal-backdrop{padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.hr-public-intake{padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}}
