.hr-wrap{max-width:1260px;margin:auto;padding:20px;color:#1b304d}.hr-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.hr-heading h1{font-size:25px;margin:0}.hr-heading p{margin:4px 0;color:#6a7890}.hr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hr-card{display:flex;align-items:center;gap:16px;text-align:left;background:white;border:1px solid #e1e8f2;border-radius:13px;padding:23px;min-height:105px;color:#183456;cursor:pointer}.hr-card strong,.hr-card small,.hr-person small{display:block}.hr-card small{margin-top:7px;color:#66758a}.hr-icon{font-size:25px}.hr-arrow{margin-left:auto;font-size:26px}.hr-tabs{display:flex;gap:10px;border-bottom:1px solid #dce4ed;margin-bottom:18px;padding-bottom:12px}.hr-tabs span{padding:9px 12px;color:#718198}.hr-tabs .selected{color:#143e75;border-bottom:2px solid #143e75}.hr-panel{background:white;border:1px solid #e1e8f2;border-radius:13px;padding:20px;margin:16px 0}.hr-panel h3{margin:0 0 16px}.hr-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hr-stats>div{padding:18px;border:1px solid #e1e8f2;border-radius:12px;background:#fff}.hr-stats strong{display:block;font-size:25px;margin-top:7px}.hr-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.hr-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.hr-form input,.hr-form select,.hr-form textarea,.hr-panel>input{padding:11px;border:1px solid #ccd7e5;border-radius:8px;min-width:0;background:white;color:#182f50}.hr-form textarea{min-height:95px}.hr-btn{border:1px solid #cbd7e5;border-radius:8px;background:white;color:#173e6e;padding:10px 15px;cursor:pointer;font-weight:600}.hr-btn.primary{background:#163d70;color:white;border-color:#163d70}.hr-btn:disabled{opacity:.5;cursor:default}.hr-person{border:1px solid #e1e8f2;border-radius:12px;padding:17px;background:#fff;display:flex;flex-direction:column;gap:9px;overflow-wrap:anywhere}.hr-person small{color:#64748b}.hr-person p{white-space:pre-wrap;margin:0}.hr-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0}.hr-table{overflow:auto}.hr-table table{border-collapse:collapse;width:100%;font-size:13px}.hr-table th,.hr-table td{padding:12px;border-bottom:1px solid #e5ebf2;text-align:left;white-space:nowrap}@media(max-width:700px){.hr-wrap{padding:12px}.hr-grid,.hr-form{grid-template-columns:1fr}.hr-heading h1{font-size:21px}.hr-stats>div{padding:10px}.hr-stats strong{font-size:19px}.hr-panel{padding:13px}}

.hr-wrap [hidden]{display:none!important}
.wl-quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.wl-quick-actions button{background:#163d70;color:white;border:0;border-radius:9px;padding:11px 16px;cursor:pointer;font-weight:600}

/* Administration & HR V1 compact responsive correction */
.hr-wrap{max-width:1220px;padding:14px 18px}.hr-heading{margin-bottom:12px}.hr-heading h1{font-size:22px}.hr-heading p{display:none}.hr-grid{gap:11px}.hr-card{min-height:78px;padding:15px 17px;border-radius:11px;box-shadow:0 2px 8px #18345609}.hr-icon{font-size:22px}.hr-panel{padding:17px;margin:12px 0;border-radius:11px}.hr-panel h3{font-size:16px;margin-bottom:12px}.hr-form{gap:11px}.hr-person{padding:13px;gap:7px}.hr-stats>div{padding:12px}.hr-stats strong{font-size:22px}.hr-hint{font-size:12px;color:#6a7890;margin:-6px 0 12px}.hr-status{font-size:12px;font-weight:700;text-transform:capitalize}.hr-status-pending{color:#a3680a}.hr-status-approved{color:#13754a}.hr-status-rejected{color:#ad3641}
@media(max-width:700px){.hr-wrap{padding:10px 9px 95px}.hr-heading{align-items:flex-start}.hr-heading h1{font-size:19px}.hr-heading .hr-btn{padding:8px 9px;font-size:12px}.hr-tabs{overflow-x:auto;gap:2px;white-space:nowrap}.hr-tabs span{padding:8px 10px;font-size:12px}.hr-grid,.hr-form{grid-template-columns:1fr;gap:9px}.hr-card{padding:12px;min-height:68px}.hr-panel{padding:12px}.hr-stats{gap:6px}.hr-stats>div{padding:9px;font-size:11px}.hr-stats strong{font-size:18px}.hr-actions .hr-btn{flex:0 1 auto}#wlBottomNav{overflow-x:auto;justify-content:space-between!important;gap:2px!important}#wlBottomNav button{flex:1 0 0;min-width:0;font-size:10px!important;padding:6px 1px!important}#wlBottomNav .wl-nav-icon{font-size:18px!important}}

/* Heavens Estate HR: consistent navy/white compact design */
.hr-wrap{color:#182e4f;max-width:1240px}.hr-heading{padding:3px 0 12px;border-bottom:1px solid #e4eaf2}.hr-heading h1{font-size:23px;font-weight:750;letter-spacing:-.4px}.hr-tabs{background:#fff;border:1px solid #e2e8f1;border-radius:12px;padding:6px;gap:4px}.hr-tabs span{border-radius:8px;padding:10px 14px}.hr-tabs .selected{background:#18385f;color:#fff;border-bottom:0}.hr-card,.hr-panel,.hr-person,.hr-stats>div{border-color:#dfe7f0;box-shadow:0 3px 12px rgba(16,43,79,.045)}.hr-card{transition:box-shadow .15s,border-color .15s}.hr-card:hover{border-color:#adc1d8;box-shadow:0 6px 18px rgba(16,43,79,.09)}.hr-icon{background:#edf3fa;color:#193e6c;width:43px;height:43px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.hr-panel h3{font-weight:750;color:#163457}.hr-form input:focus,.hr-form select:focus,.hr-form textarea:focus{outline:2px solid #b2c9e4;outline-offset:1px}.hr-form label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:9px}.hr-form input[type=checkbox]{width:17px;height:17px;flex-shrink:0}.hr-btn{transition:background .15s}.hr-btn:hover:not(:disabled){background:#edf3fa}.hr-btn.primary:hover:not(:disabled){background:#244c7c}.hr-count,.hr-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#b33440;color:#fff;font-size:11px;font-weight:750;margin-left:8px;line-height:1}.hr-nav-count{margin-left:auto}.hr-card .hr-count{vertical-align:middle}.hr-person{background:linear-gradient(180deg,#fff,#fcfdff)}.hr-status{display:inline-block;align-self:flex-start;padding:4px 9px;border-radius:99px;background:#f1f5fa}.hr-status-pending{background:#fff4dc}.hr-status-approved{background:#e7f7ee}.hr-status-rejected{background:#fde9eb}
@media(max-width:700px){.hr-heading h1{font-size:20px}.hr-tabs{overflow:auto}.hr-card{min-height:72px}.hr-icon{width:37px;height:37px}.hr-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.hr-stats>div{overflow-wrap:anywhere}.hr-panel{margin:10px 0}.hr-form{gap:12px}.hr-form label:has(input[type=checkbox]){min-height:36px}#wlBottomNav [data-wl-nav="navHR"]{position:relative}#wlBottomNav .hr-nav-count{position:absolute;top:0;right:0;min-width:15px;height:15px;font-size:9px;padding:0 3px}}


/* HR visual alignment with the user's legacy Heavens Estate screenshots, 2026-11-06 */
.hr-wrap{max-width:none!important;width:100%;padding:24px 30px 80px!important;background:#f0f4f9;color:#102d50;min-height:calc(100vh - 80px);box-sizing:border-box;font-family:inherit}
.hr-heading{padding:0!important;margin:0 0 16px!important;border:0!important;align-items:center}
.hr-heading h1{font-size:32px!important;font-weight:750!important;letter-spacing:-.7px;line-height:1.2;color:#102d50}
.hr-heading p{display:block!important;color:#8196b4!important;font-size:14px;margin-top:10px!important}
.hr-panel{background:#fff;border:1px solid #d8e4f2;border-radius:16px!important;box-shadow:none!important;padding:20px 18px 28px!important;margin:12px 0!important}
.hr-panel h3{font-size:19px!important;color:#123151!important;font-weight:750!important;margin:0 0 18px!important}
.hr-panel:has(#hrCreate) h3,.hr-panel:has(#hrStaffSearch) h3{padding-left:52px;position:relative;min-height:34px;display:flex;align-items:center}
.hr-panel:has(#hrCreate) h3:before,.hr-panel:has(#hrStaffSearch) h3:before{content:'+';position:absolute;left:0;top:0;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#eaf1f9;color:#153a67;font-size:19px;font-weight:400}
.hr-panel:has(#hrStaffSearch) h3:before{content:'♙'}
.hr-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px!important}
.hr-form label{font-size:14px!important;color:#1a3b65;font-weight:700!important;gap:8px!important}
.hr-form input:not([type=checkbox]),.hr-form select,.hr-form textarea,.hr-panel>input,.hr-panel input[type=month]{min-height:44px;border:1px solid #d6e3f2!important;border-radius:10px!important;padding:10px 12px!important;background:#fff;color:#143253;box-sizing:border-box;max-width:100%}
.hr-panel>input{width:min(480px,100%);margin-bottom:14px}
.hr-form input:focus,.hr-form select:focus,.hr-panel>input:focus{outline:2px solid #9bbce1;outline-offset:1px}
.hr-btn{border:1px solid #d8e3f1!important;border-radius:9px!important;padding:11px 17px!important;background:#fff;color:#23466f;font-weight:700!important;min-height:42px;box-shadow:none!important}
.hr-btn.primary{background:#3e5a7f!important;color:white!important;border-color:#3e5a7f!important}
.hr-btn:hover:not(:disabled){background:#eaf1fa!important}.hr-btn.primary:hover:not(:disabled){background:#2c466b!important}
.hr-stats{gap:10px!important;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0 14px}
.hr-stats>div{background:#f6f9fd!important;border:1px solid #dce7f4!important;border-radius:12px!important;box-shadow:none!important;padding:16px 15px!important;color:#667f9f;font-size:14px}
.hr-stats strong{color:#102e55!important;font-size:25px!important;font-weight:800;margin-top:5px!important}
.hr-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.hr-person{background:#fff!important;border:1px solid #d7e4f2!important;border-radius:16px!important;box-shadow:0 3px 9px rgba(20,55,95,.035)!important;padding:17px!important;gap:10px!important}
.hr-person>strong{font-size:16px;color:#0e3055}.hr-person>small{font-size:13px;color:#748cad}.hr-person>p{color:#244567;font-size:14px;line-height:1.5}
.hr-person .hr-btn{min-height:39px}.hr-person .hr-actions{margin:3px 0 0}
.hr-status{font-weight:750;text-transform:capitalize;padding:5px 11px!important;border-radius:20px!important}
.hr-status-approved{color:#06763d;background:#dff8e9!important}.hr-status-pending{color:#96640c;background:#fff2d3!important}.hr-status-rejected{color:#b52e42;background:#ffeaed!important}
.hr-table{border:1px solid #e0e9f4;border-radius:12px}.hr-table table{font-size:13px!important}.hr-table th{background:#eef3fa;color:#375579;text-transform:uppercase;letter-spacing:.35px;font-size:11px!important}.hr-table th,.hr-table td{padding:13px 12px!important;border-bottom:1px solid #e6edf5!important}
.hr-actions{gap:9px!important;margin:12px 0 16px!important}.hr-actions label{font-size:13px;color:#17385e}
.hr-card{min-height:96px!important;border-radius:14px!important;background:#fff!important;border:1px solid #d9e5f2!important;box-shadow:0 2px 8px rgba(20,55,95,.04)!important;padding:20px!important}
.hr-card strong{font-size:16px}.hr-card small{font-size:13px;color:#7890ac}.hr-icon{width:44px!important;height:44px!important;border-radius:11px!important;background:#e9f0f9!important}
.hr-tabs{border:1px solid #dce6f3!important;background:#fff;border-radius:12px;margin-bottom:16px}
.hr-count,.hr-nav-count{background:#b71f25!important;color:#fff!important}
/* Match legacy order on Staff Management: create first, then counters, then current accounts. */
.hr-wrap:has(#hrCreate){display:flex;flex-direction:column}
.hr-wrap:has(#hrCreate)>.hr-heading{order:0}
.hr-wrap:has(#hrCreate)>.hr-panel:has(#hrCreate){order:1}
.hr-wrap:has(#hrCreate)>.hr-stats{order:2;margin:0 0 2px!important}
.hr-wrap:has(#hrCreate)>.hr-panel:has(#hrStaffSearch){order:3}
/* Present counters visually integrated with the account listing */
.hr-wrap:has(#hrCreate)>.hr-stats{background:white;border:1px solid #d8e4f2;border-bottom:0;border-radius:16px 16px 0 0;padding:16px 18px 4px}
.hr-wrap:has(#hrCreate)>.hr-panel:has(#hrStaffSearch){border-radius:0 0 16px 16px!important;margin-top:0!important;border-top:0}
@media(max-width:800px){
.hr-wrap{padding:13px 11px 96px!important;min-height:0}
.hr-heading h1{font-size:24px!important}.hr-heading p{font-size:12px}
.hr-heading .hr-btn{font-size:12px;padding:9px!important;min-height:36px}
.hr-panel{padding:15px 12px 18px!important;border-radius:13px!important}
.hr-panel h3{font-size:17px!important}
.hr-grid,.hr-form{grid-template-columns:1fr!important;gap:10px!important}
.hr-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.hr-stats>div{font-size:11px!important;padding:11px 8px!important;overflow-wrap:anywhere}
.hr-stats strong{font-size:20px!important}
.hr-person{padding:13px!important}
.hr-card{min-height:76px!important;padding:12px!important}
.hr-actions{flex-wrap:wrap}.hr-actions .hr-btn{max-width:100%}
.hr-form input,.hr-form select,.hr-form textarea{width:100%}
.hr-table{overflow-x:auto;max-width:100%}
.hr-wrap:has(#hrCreate)>.hr-stats{padding:10px 9px 0}
}

/* HE ADMIN HR NAV V1: isolated navigation; no global mobile dropdown conversion */
.hr-nav-panel{background:#fff;border:1px solid #aec0d7;border-radius:14px;padding:15px;margin-top:12px;max-width:100%;min-width:0}
.hr-section-label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#64748b}
.hr-section-label select{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;background:#fff;color:#173653;border:1px solid #9fb3cc;border-radius:10px;padding:12px;font:inherit;font-size:13px}
.hr-nav-functions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.hr-nav-functions .hr-card{min-width:0;min-height:60px;padding:12px;border-color:#9fb3cc;border-radius:10px;gap:10px;box-shadow:none}
.hr-nav-functions .hr-icon{width:30px;height:30px;font-size:16px}
.hr-nav-functions .hr-card small,.hr-nav-functions .hr-arrow{display:none}
.hr-nav-functions .hr-card strong{font-size:13px}
@media(max-width:700px){.hr-nav-panel{padding:12px}.hr-nav-functions{grid-template-columns:minmax(0,1fr);gap:7px}.hr-nav-functions .hr-card{min-height:42px;padding:8px 10px}.hr-nav-functions .hr-icon{width:23px;height:23px;font-size:13px}.hr-nav-functions .hr-card strong{font-size:12px}}

/* HR final: responsive controls and attendance register */
.hr-wrap,.hr-wrap *{box-sizing:border-box}.hr-att-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.hr-att-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:650;min-width:180px}.hr-att-controls input,.hr-att-controls select{min-height:42px;border:1px solid #9eb3cf;border-radius:8px;padding:8px;max-width:100%;width:100%;background:#fff;color:#173d6d}.hr-att-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.hr-att-summary>div{border:1px solid #a9bdd6;border-radius:11px;padding:12px;background:#f7faff}.hr-att-summary small{display:block;color:#536b86}.hr-att-summary strong{display:block;font-size:23px;color:#143e70;margin-top:4px}.hr-att-staff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}.hr-att-person{display:flex;flex-wrap:wrap;gap:10px;padding:13px;border:1px solid #b7c9de;border-radius:10px}.hr-att-person strong{flex-basis:100%}.hr-att-person span{font-size:12px}.hr-att-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hr-att-row{border:1px solid #bdcce0;border-radius:10px;padding:12px;display:flex;gap:7px;flex-wrap:wrap;align-items:center;background:#fff}.hr-att-row strong{flex-basis:100%}.hr-att-row span{font-size:12px}.hr-att-present{color:#18704b;font-weight:700}.hr-att-absent{color:#b03c43;font-weight:700}.hr-wrap .hr-panel{max-width:100%}.hr-wrap input,.hr-wrap select,.hr-wrap textarea{max-width:100%}@media(max-width:700px){.hr-att-controls{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.hr-att-controls label{min-width:0}.hr-att-controls .hr-btn{min-width:0;padding:9px 6px;font-size:12px}.hr-att-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-att-staff,.hr-att-rows{grid-template-columns:1fr}.hr-att-row{flex-direction:column;align-items:flex-start}.hr-att-row strong{flex-basis:auto}.hr-wrap .hr-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V1.2 attendance: prevent clipped month/year and staff selector labels */
.hr-att-controls{align-items:stretch!important}.hr-att-controls label{min-width:230px!important;flex:1 1 245px!important;max-width:100%!important}.hr-att-controls input[type="month"]{min-width:205px!important;width:100%!important;padding:9px 14px!important;font-size:14px!important;box-sizing:border-box!important}.hr-att-controls select{min-width:0!important;width:100%!important;padding:9px 30px 9px 12px!important;text-overflow:ellipsis!important;box-sizing:border-box!important}.hr-att-controls .hr-btn{align-self:end;min-height:43px}@media(max-width:700px){.hr-att-controls{display:grid!important;grid-template-columns:minmax(0,1fr)!important}.hr-att-controls label{min-width:0!important;width:100%!important}.hr-att-controls input[type="month"]{min-width:0!important;width:100%!important}.hr-att-controls .hr-btn{width:100%}}
