/* Responsive, bidirectional employee experience */
.ess-experience-page{max-width:1150px;margin:auto;padding:clamp(14px,3vw,30px);color:var(--bs-body-color,#243246)}
.ess-exp-heading{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:23px}
.ess-exp-heading h1{font-size:clamp(1.4rem,2.6vw,2rem);font-weight:800;line-height:1.4}
.ess-exp-heading small{color:#167554}.ess-exp-heading p{color:#5f6e7d;max-width:660px}
.ess-exp-filter,.ess-exp-panel{background:#fff;border:1px solid #e1e8ee;box-shadow:0 5px 28px #13253a09;border-radius:15px;padding:clamp(16px,2.4vw,24px)}
.ess-exp-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0}
.ess-exp-filter label{font-weight:700}.ess-exp-filter select{flex:1;min-width:180px;max-width:400px}
.ess-exp-two-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ess-exp-panel{min-width:0}.ess-exp-panel h2{font-size:1.1rem;font-weight:750;margin:0 0 17px}
.ess-exp-panel label{display:block;font-size:.9rem;font-weight:600;margin:12px 0 5px}
.ess-exp-panel label.form-check{display:flex;align-items:center;gap:8px}
.ess-exp-panel label.form-check input{margin:0}
.ess-exp-days{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 15px}
.ess-exp-days button,.ess-exp-days span{background:#f1f4f8;border:1px solid #d7dfe7;border-radius:8px;min-width:37px;text-align:center;padding:7px 9px;font-size:.85rem}
.ess-exp-days .is-selected{background:#dcf6e7;border-color:#61c18a;color:#106a38;font-weight:700}
.ess-exp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.ess-exp-stat{background:#f8fafc;border:1px solid #e0e9ef;border-radius:12px;padding:17px;min-width:0}
.ess-exp-stat span{display:block;color:#607080;font-size:.85rem;margin-bottom:7px}
.ess-exp-stat strong{display:block;font-size:1.25rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ess-exp-table-wrap{overflow-x:auto;border-radius:12px;border:1px solid #e2e8ed}
.ess-exp-table-wrap table{margin:0;min-width:500px}
.ess-exp-totals{padding:16px 0;font-weight:700}
.ess-exp-empty{padding:30px;text-align:center;background:#f7f9fa;border:1px dashed #cad6dc;border-radius:12px;color:#516171}
.ess-exp-cards{display:grid;gap:13px}.ess-exp-info{padding:15px;color:#596e7b}
[dir="ltr"] .ess-exp-heading,[dir="ltr"] .ess-exp-panel{text-align:left}
[dir="rtl"] .ess-exp-heading,[dir="rtl"] .ess-exp-panel{text-align:right}
@media(max-width:760px){.ess-exp-two-cols{grid-template-columns:1fr}.ess-exp-stats{grid-template-columns:1fr 1fr}.ess-exp-filter{align-items:stretch;flex-direction:column}.ess-exp-filter select{max-width:none;width:100%}.ess-experience-page{padding-bottom:115px}}
@media(max-width:400px){.ess-exp-stats{grid-template-columns:1fr}}
@media print{.qess-topbar,.qess-mobile-nav,.ess-exp-filter,.ess-exp-heading button,.admin-sidebar{display:none!important}.ess-experience-page{max-width:none;padding:0}.ess-exp-table-wrap{overflow:visible}}

@media(max-width:700px){.qess-mobile-nav{display:flex;overflow-x:auto;overflow-y:hidden;gap:5px;justify-content:flex-start;scrollbar-width:thin}.qess-mobile-nav a,.qess-mobile-nav button{min-width:64px;flex:0 0 64px}.qess-main{padding-bottom:115px}}
[dir="ltr"].admin-shell .admin-sidebar{left:0;right:auto}
[dir="ltr"].admin-shell .admin-content{margin-left:270px;margin-right:0}
@media(max-width:900px){[dir="ltr"].admin-shell .admin-content{margin:0}}

/* Comfortable mobile actions and visible keyboard focus. */
.ess-experience-page button,.qess-mobile-nav a,.qess-icon-btn{min-height:44px;min-width:44px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #008d88;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Pay statements and location history share a compact report workspace. */
.ess-report-page{--report-teal:#087f83;--report-ink:#18344b;--report-muted:#718396;--report-border:#e4ebf1;color:var(--report-ink)}
.ess-report-page .ess-report-heading{align-items:center;margin-bottom:25px;gap:20px}.ess-report-title{display:flex;align-items:center;gap:16px;min-width:0}.ess-report-title>div{min-width:0}.ess-report-title small{font-size:11px;color:var(--report-teal);font-weight:700}.ess-report-title h1{font-size:clamp(23px,2.4vw,30px);margin:4px 0 8px;line-height:1.45}.ess-report-title p{font-size:13px;line-height:1.8;margin:0;color:var(--report-muted)}.ess-report-icon{width:57px;height:57px;flex:0 0 57px;display:grid;place-items:center;background:#e7f5f3;color:var(--report-teal);border-radius:18px;font-size:26px}.ess-report-heading h1:focus{outline:none}
.ess-report-actions,.ess-report-page .ess-salary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.ess-report-page .btn{min-height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:700;padding:10px 15px}.ess-report-page .btn-light{background:#fff;border:1px solid var(--report-border);color:#5e7488}.ess-report-page .btn-outline-primary{color:var(--report-teal);border-color:#bededb;background:#f8fdfc}.ess-report-page .btn-outline-primary:hover{background:#e5f4f1;color:var(--report-teal)}
.ess-report-page .ess-report-controls{display:grid;grid-template-columns:minmax(250px,1fr) auto;align-items:center;gap:24px;margin:0 0 22px;border:1px solid var(--report-border);border-radius:18px;padding:23px 25px;box-shadow:0 5px 25px #18344b04}.ess-report-page .ess-attendance-controls{grid-template-columns:minmax(160px,.7fr) minmax(300px,1.2fr) auto}.ess-report-period-field{min-width:0}.ess-report-period-field label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;font-weight:700;margin:0 0 9px}.ess-report-period-field label small{font-size:10px;font-weight:400;color:var(--report-muted)}.ess-period-picker{display:flex;gap:7px;align-items:center}.ess-period-picker .form-select{min-width:0;width:100%;max-width:none;flex:1;min-height:48px;border:1px solid #e0e8ef;border-radius:11px;background-color:#f8fafc;font-size:13px;color:var(--report-ink);box-shadow:none}.ess-period-step{width:42px;min-width:42px;min-height:46px;border:1px solid var(--report-border);border-radius:11px;background:#fff;color:#6e8294;display:grid;place-items:center;cursor:pointer}.ess-period-step:disabled{opacity:.35;cursor:default}.ess-period-range{display:block;margin-top:8px;color:var(--report-muted);font-size:11px;font-variant-numeric:tabular-nums}.ess-report-control-meta{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:14px}.ess-report-count{font-size:11px;color:var(--report-muted);white-space:nowrap}.ess-report-page .ess-attendance-person{display:flex;align-items:center;gap:12px;min-width:0}.ess-report-person-icon{width:45px;height:45px;flex:0 0 45px;border-radius:14px;display:grid;place-items:center;background:#eaf6f4;color:var(--report-teal);font-size:21px}.ess-attendance-person>div{display:grid;gap:3px;min-width:0}.ess-attendance-person small{font-size:10px;color:var(--report-muted)}.ess-attendance-person strong{font-size:14px;overflow-wrap:anywhere}.ess-attendance-person div>span{font-size:10px;color:var(--report-muted);text-align:start}
.ess-report-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:285px;padding:36px 25px;background:#fff;border:1px solid var(--report-border);border-radius:20px;text-align:center;box-shadow:0 7px 30px #18344b04}.ess-report-empty-icon{width:67px;height:67px;display:grid;place-items:center;border-radius:22px;background:#edf7f6;color:#269a96;font-size:31px;margin-bottom:19px}.ess-report-empty h2{font-size:19px;font-weight:750;margin:0 0 12px;line-height:1.6}.ess-report-empty p{max-width:500px;font-size:13px;line-height:1.9;color:var(--report-muted);margin:0 0 23px}.ess-report-empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.ess-report-loading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center;min-height:230px;padding:30px;color:var(--report-muted);font-size:13px;background:#fff;border-radius:18px;border:1px solid var(--report-border)}.ess-report-skeleton{flex:0 0 100%;height:90px;border-radius:12px;background:linear-gradient(100deg,#f2f5f8,#f9fafc,#f2f5f8)}
.ess-report-error{display:flex;align-items:center;gap:14px;padding:18px 20px;border:1px solid #f0dcc3;border-radius:16px;background:#fffaf1;margin-bottom:18px}.ess-report-error>i{font-size:23px;color:#bb8438}.ess-report-error>div{flex:1;min-width:0}.ess-report-error strong{font-size:14px}.ess-report-error p{font-size:12px;line-height:1.8;color:#876f50;margin:4px 0 0}.ess-report-notice{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.8;padding:13px 16px;border-radius:12px;background:#edf6fb;color:#4e7489;margin:0 0 17px}
.ess-report-page .ess-report-sheet{background:#fff;border:1px solid var(--report-border);border-radius:20px;padding:25px;box-shadow:0 7px 30px #18344b04}.ess-report-sheet-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:24px}.ess-report-sheet-heading small{font-size:11px;color:var(--report-muted)}.ess-report-sheet-heading h2{font-size:19px;font-weight:750;line-height:1.6;margin:5px 0}.ess-report-sheet-heading p{margin:5px 0 0;color:var(--report-muted);font-size:12px}.ess-report-badge{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:6px 9px;background:#f0f4f7;color:#607588;font-size:11px;white-space:nowrap}.ess-report-badge.posted,.ess-report-badge.earning{background:#e9f6ef;color:#238468}.ess-report-badge.preview,.ess-report-badge.deduction{background:#fff3e3;color:#ae7a2c}.ess-pay-summary{display:grid;grid-template-columns:1fr 1.4fr;gap:16px;margin:0 0 25px}.ess-pay-net{background:linear-gradient(130deg,#123e51,#078b88);color:#fff;border-radius:16px;padding:23px;display:grid;gap:8px}.ess-pay-net>span{font-size:12px;color:#c1e4e3}.ess-pay-net strong{font-size:32px;line-height:1.5;font-weight:800;text-align:start;font-variant-numeric:tabular-nums}.ess-pay-net small{font-size:10px;color:#b8d9da}.ess-pay-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ess-pay-breakdown>div{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px;border:1px solid var(--report-border);border-radius:16px;background:#fbfcfd;min-width:0}.ess-pay-breakdown span{font-size:12px;color:var(--report-muted);display:flex;align-items:center;gap:6px}.ess-pay-breakdown strong{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:start}.ess-report-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:12px}.ess-report-section-title h3{font-size:15px;font-weight:750;margin:0}.ess-report-section-title>span{font-size:11px;color:var(--report-muted)}.ess-report-page .ess-exp-table-wrap{border-color:var(--report-border);border-radius:13px}.ess-report-page .table{margin:0}.ess-report-page .table th{background:#f7f9fc;color:#748598;font-size:11px;font-weight:600;padding:15px;border-bottom:1px solid var(--report-border)}.ess-report-page .table td{padding:17px 15px;font-size:13px;color:var(--report-ink);border-color:#eff3f6}.ess-salary-number{text-align:end;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.ess-report-table-empty{padding:28px!important;color:var(--report-muted)!important;text-align:center}.ess-salary-note,.ess-report-footnote{color:var(--report-muted);font-size:11px;line-height:1.9;margin:17px 0 0}.ess-report-footnote i{margin-inline-end:5px}.ess-history-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px}.ess-history-stats>div{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--report-border);border-radius:13px;min-width:0}.ess-history-stat-icon{width:39px;height:39px;flex:0 0 39px;border-radius:12px;background:#edf2fa;color:#7296bd;display:grid;place-items:center;font-size:20px}.ess-history-stat-icon.in{background:#e8f6f0;color:#299679}.ess-history-stat-icon.out{background:#fff4e4;color:#c49750}.ess-history-stats small{display:block;font-size:10px;color:var(--report-muted);line-height:1.6}.ess-history-stats strong{display:block;font-size:24px;line-height:1.5}.ess-record-location summary{color:var(--report-teal);font-size:12px;cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px}.ess-record-location summary::-webkit-details-marker{display:none}.ess-record-location bdi{display:block;margin-top:9px;font-size:11px;color:var(--report-muted);white-space:nowrap}.ess-report-page .ess-print-only{display:none}
@media(max-width:950px){.ess-report-page .ess-attendance-controls{grid-template-columns:1fr 1.5fr}.ess-attendance-controls .ess-report-control-meta{grid-column:1/-1;justify-content:space-between}.ess-report-heading{align-items:start!important}}
@media(max-width:650px){.ess-report-page .ess-report-controls,.ess-report-page .ess-attendance-controls{grid-template-columns:minmax(0,1fr);padding:18px;gap:17px}.ess-report-title{align-items:flex-start;gap:12px}.ess-report-icon{width:45px;height:45px;flex-basis:45px;font-size:22px;border-radius:14px}.ess-report-title h1{font-size:22px}.ess-report-title p{font-size:12px}.ess-report-actions{width:100%;justify-content:flex-start}.ess-report-control-meta{justify-content:space-between;grid-column:auto}.ess-report-page .ess-report-sheet{padding:18px}.ess-pay-summary{grid-template-columns:1fr}.ess-pay-net strong{font-size:30px}.ess-pay-breakdown>div{padding:17px}.ess-pay-breakdown strong{font-size:19px}.ess-report-sheet-heading{flex-wrap:wrap}.ess-history-stats{gap:7px}.ess-history-stats>div{flex-direction:column;align-items:flex-start;gap:7px;padding:12px}.ess-history-stats strong{font-size:22px}.ess-report-error{flex-wrap:wrap}.ess-report-error .btn{margin-inline-start:auto}.ess-report-page .ess-pay-lines{min-width:0;width:100%}.ess-pay-lines th,.ess-pay-lines td{padding:12px 9px!important}.ess-pay-lines td:first-child{overflow-wrap:anywhere}.ess-report-page .ess-attendance-table{min-width:0;width:100%}.ess-attendance-table thead{display:none}.ess-attendance-table tbody,.ess-attendance-table tr{display:block}.ess-attendance-table tr{padding:10px 13px;border-bottom:1px solid var(--report-border)}.ess-attendance-table td{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 0!important;border:0}.ess-attendance-table td::before{content:attr(data-label);font-size:11px;color:var(--report-muted)}.ess-report-empty{padding:30px 20px;min-height:280px}}
@media print{.ess-report-page .ess-report-heading,.ess-report-page .ess-report-controls,.ess-report-page .ess-report-error{display:none!important}.ess-report-page .ess-report-sheet{border:0;box-shadow:none;padding:0;break-inside:auto}.ess-report-page .ess-exp-table-wrap{overflow:visible!important}.ess-report-page .table{min-width:0!important}.ess-report-page .table tr{break-inside:avoid}.ess-report-page .ess-pay-net{background:#fff;color:#111;border:1px solid #ddd}.ess-report-page .ess-pay-net>span,.ess-report-page .ess-pay-net small{color:#444}.ess-report-page .ess-print-only{display:inline}.ess-report-page .ess-record-location{display:none}.ess-report-page .ess-attendance-table thead{display:table-header-group}.ess-report-page .ess-attendance-table tbody{display:table-row-group}.ess-report-page .ess-attendance-table tr{display:table-row}.ess-report-page .ess-attendance-table td{display:table-cell}.ess-report-page .ess-attendance-table td::before{content:none}}

.ess-report-page .ess-salary-number{text-align:right}.ess-report-page[dir="rtl"] .ess-period-range,.ess-report-page[dir="rtl"] .ess-pay-net strong,.ess-report-page[dir="rtl"] .ess-pay-breakdown strong{text-align:right}.ess-report-page[dir="ltr"] .ess-period-range,.ess-report-page[dir="ltr"] .ess-pay-net strong,.ess-report-page[dir="ltr"] .ess-pay-breakdown strong{text-align:left}
