        .ews-app{--ink:#172033;--muted:#667085;--line:#e6eaf0;--bg:#f6f8fb;--blue:#2563eb;--green:#16a34a;--cyan:#0891b2;--yellow:#d97706;--purple:#7c3aed;--red:#dc2626;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);border-radius:18px;min-height:520px;overflow:hidden}.ews-app *{box-sizing:border-box}
        .ews-shell{display:grid;grid-template-columns:220px 1fr;min-height:650px}.ews-side{background:#101828;color:#fff;padding:22px 14px}.ews-brand{font-size:18px;font-weight:800;padding:8px 10px 22px}.ews-nav a{display:block;color:#cbd5e1;text-decoration:none;padding:11px 12px;border-radius:9px;margin:3px 0}.ews-nav a:hover,.ews-nav a.active{background:#1d2939;color:#fff}.ews-main{padding:26px;min-width:0}.ews-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.ews-title{font-size:26px;font-weight:800;margin:0}.ews-sub{color:var(--muted);margin-top:4px}.ews-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.ews-stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.ews-stat .n{font-size:28px;font-weight:800}.ews-stat .l{color:var(--muted);font-size:13px;margin-top:3px}.ews-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;margin-top:18px}.ews-card h3{margin:0 0 14px}.ews-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ews-btn{display:inline-block;border:0;background:var(--blue);color:#fff;text-decoration:none;border-radius:9px;padding:9px 13px;font-weight:700;cursor:pointer}.ews-btn.secondary{background:#eef2f6;color:var(--ink)}.ews-btn.danger{background:#fee2e2;color:#991b1b}.ews-grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ews-form label{display:block;font-weight:700;font-size:13px;margin:12px 0}.ews-form input,.ews-form select,.ews-form textarea{width:100%;padding:9px 10px;border:1px solid #d0d5dd;border-radius:8px;margin-top:5px;background:#fff}.ews-week{overflow:auto}.ews-table{width:100%;border-collapse:separate;border-spacing:0;min-width:800px}.ews-table th,.ews-table td{border-bottom:1px solid var(--line);padding:12px 10px;text-align:left}.ews-table th{background:#f8fafc;font-size:12px;color:#475467}.ews-table td:first-child,.ews-table th:first-child{position:sticky;left:0;background:#fff;z-index:1}.ews-person{font-weight:800}.ews-domain{font-size:11px;color:var(--muted)}.ews-status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 8px;font-size:11px;font-weight:800;white-space:nowrap}.Office{background:#dcfce7;color:#166534}.WFH{background:#dbeafe;color:#1d4ed8}.Vacation{background:#fef3c7;color:#92400e}.Business-Trip{background:#ede9fe;color:#6d28d9}.Absent{background:#fee2e2;color:#991b1b}.Not-Set{background:#f2f4f7;color:#667085}.ews-legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.ews-legend span{font-size:11px;padding:5px 8px;border-radius:20px}.ews-drop{border:2px dashed #cbd5e1;border-radius:14px;padding:28px;text-align:center;background:#fafcff}.ews-preview td,.ews-preview th{font-size:12px}.ews-valid{background:#ecfdf3}.ews-invalid{background:#fef2f2}.ews-error{color:#b91c1c;font-weight:700}.ews-notice{padding:11px 13px;border-radius:9px;background:#eff6ff;margin:10px 0}.ews-actions{display:flex;gap:8px;flex-wrap:wrap}.ews-mobile-nav{display:none}
        
    
/* V3.5.5 Attendance / Sign In-Out UI */
.ews-time-card{max-width:860px;margin:10px auto;background:linear-gradient(180deg,#fff 0%,#fbfaff 100%);border:1px solid #e4e7ec;border-radius:20px;padding:26px;box-shadow:0 10px 32px rgba(16,24,40,.06);text-align:left}
.ews-time-date{text-align:left;color:#667085;font-size:11px;font-weight:800;letter-spacing:.02em;margin-bottom:17px}
.ews-time-employee{justify-content:space-between;background:#fff;border:1px solid #eaecf0;border-radius:14px;padding:14px 16px;margin-bottom:14px;box-shadow:0 3px 10px rgba(16,24,40,.03)}
.ews-time-employee strong{font-size:16px;color:#101828}.ews-time-employee span{font-size:10px}.ews-time-employee b{background:#f3e8ff;color:#5b21b6;border:1px solid #eadcff}
.ews-time-actions{grid-template-columns:repeat(3,1fr);gap:10px}
.ews-time-btn{border-radius:13px;padding:15px 10px;font-size:13px;box-shadow:0 3px 8px rgba(16,24,40,.08);transition:transform .15s ease,box-shadow .15s ease}.ews-time-btn:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(16,24,40,.12)}
.ews-time-btn.sign-in{background:#5b21b6}.ews-time-btn.late{background:#d97706}.ews-time-btn.out{background:#344054}
.ews-time-window{max-width:none;margin:12px 0 0;padding:11px 13px;border-radius:10px;font-size:10px;line-height:1.45}.ews-time-window.open{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.ews-time-window.closed{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.ews-time-history{margin-top:18px;background:#fff;border:1px solid #eaecf0;border-radius:13px;padding:14px;text-align:left}.ews-time-history h3{font-size:12px;color:#344054;margin:0 0 6px}.ews-time-row{font-size:11px;padding:10px 4px}.ews-time-block{text-align:center;padding:42px 15px}.ews-time-block h2{font-size:20px;color:#101828}.ews-time-block p{font-size:12px}
.ews-bulk-head{background:linear-gradient(135deg,#fff,#fbfaff);border-radius:15px;border:1px solid #e4e7ec;padding:18px 20px;box-shadow:0 5px 18px rgba(16,24,40,.04);align-items:center}.ews-bulk-head h2{font-size:20px!important;color:#101828}.ews-bulk-head p{font-size:11px!important;color:#667085!important;line-height:1.45}
.ews-week-picker{background:#fff;border:1px solid #eaecf0;border-radius:10px;padding:8px}.ews-week-picker label{font-size:10px}.ews-week-picker input{padding:7px;margin-top:3px;font-size:11px}.ews-week-picker .ews-btn{padding:8px 10px;font-size:10px}
.ews-quickbar{padding:13px;background:#f8fafc;border:1px solid #eaecf0;border-radius:13px}.ews-quick-help{font-size:10px}.ews-day-action{background:#fff}.ews-day-action label{font-size:10px}.ews-day-action select{font-size:10px}
.ews-bulk-table-wrap{border-radius:13px}.ews-bulk-table th{font-size:10px;padding:11px 9px;background:#fafafa}.ews-bulk-table td{padding:9px 7px}.ews-att-cell{font-size:10px;padding:7px;width:115px}
.ews-savebar{font-size:10px}.ews-save-all{font-size:11px!important}
@media(max-width:700px){
 .ews-time-card{padding:16px;border-radius:15px}.ews-time-date{margin-bottom:12px}.ews-time-employee{display:grid;grid-template-columns:1fr auto;gap:5px;padding:12px}.ews-time-employee span{grid-column:1}.ews-time-employee b{grid-column:2;grid-row:1/3;align-self:center}.ews-time-actions{grid-template-columns:1fr}.ews-time-btn{padding:13px}.ews-time-window{font-size:9px}
 .ews-bulk-head{padding:14px}.ews-bulk-head h2{font-size:18px!important}.ews-quickbar{align-items:stretch}.ews-day-action{flex:1 1 135px}.ews-savebar{display:block}.ews-save-all{width:100%;margin-top:8px}
}
.ews-time-window{margin:14px auto 0;padding:10px 14px;border-radius:9px;font-size:13px;max-width:560px}.ews-time-window.open{background:#ecfdf3;color:#166534}.ews-time-window.closed{background:#fff7ed;color:#9a3412}.ews-time-card{max-width:760px;margin:18px auto;background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 8px 30px rgba(16,24,40,.06);text-align:center}.ews-time-date{font-weight:800;color:#667085;margin-bottom:22px}.ews-time-block{padding:35px 15px}.ews-time-icon{font-size:42px;margin-bottom:10px}.ews-time-block h2{margin:0 0 8px}.ews-time-block p{color:#667085;max-width:560px;margin:0 auto;line-height:1.6}.ews-time-employee{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:28px}.ews-time-employee span{color:#667085}.ews-time-employee b{padding:6px 10px;border-radius:20px;background:#dcfce7;color:#166534;font-size:12px}.ews-time-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ews-time-btn{width:100%;border:0;border-radius:12px;padding:18px 10px;color:#fff;font-weight:800;font-size:16px;cursor:pointer}.ews-time-btn:disabled{opacity:.45;cursor:not-allowed}.ews-time-btn.sign-in{background:#16a34a}.ews-time-btn.late{background:#d97706}.ews-time-btn.out{background:#dc2626}.ews-time-history{margin-top:28px;border-top:1px solid var(--line);padding-top:18px;text-align:left}.ews-time-history h3{margin:0 0 10px}.ews-time-row{display:flex;justify-content:space-between;padding:11px 4px;border-bottom:1px solid #f0f2f5}.ews-time-success{background:#ecfdf3!important;color:#027a48}.ews-time-error{background:#fef2f2!important;color:#b42318}@media(max-width:700px){.ews-time-card{padding:20px}.ews-time-actions{grid-template-columns:1fr}}.ews-bulk-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:16px}
    .ews-week-picker{display:flex;align-items:end;gap:10px}.ews-week-picker label{font-weight:700;font-size:13px;color:#344054}
    .ews-week-picker input{display:block;margin-top:5px;padding:9px;border:1px solid #d0d5dd;border-radius:8px}
    .ews-quickbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px}.ews-chip{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:7px 12px;cursor:pointer;font-size:12px}.ews-chip:hover{background:#f2f4f7}.ews-chip.secondary{background:#f9fafb}
    
    .ews-quick-help{font-size:12px;color:#667085;margin-right:5px}
    .ews-day-action{display:inline-flex;align-items:center;gap:5px;border:1px solid #e4e7ec;background:#f8fafc;border-radius:9px;padding:5px 7px}
    .ews-day-action label{font-size:11px;font-weight:800;color:#344054}.ews-day-action label small{display:block;font-weight:500;color:#667085}
    .ews-day-action select{border:1px solid #d0d5dd;border-radius:6px;padding:5px;font-size:11px;background:#fff}
    .ews-bulk-table-wrap{overflow:auto;border:1px solid #e4e7ec;border-radius:12px}.ews-bulk-table{border-collapse:separate;border-spacing:0;min-width:980px;width:100%;background:#fff}.ews-bulk-table th,.ews-bulk-table td{padding:10px;border-right:1px solid #eaecf0;border-bottom:1px solid #eaecf0;text-align:center}.ews-bulk-table th{background:#f8fafc;font-size:12px;color:#475467}.ews-bulk-table th small{font-weight:500}.ews-bulk-table td.ews-sticky,.ews-bulk-table th.ews-sticky{position:sticky;left:0;z-index:2;background:#fff;text-align:left;min-width:180px}.ews-bulk-table th.ews-sticky{background:#f8fafc}.ews-bulk-table td.ews-sticky small{display:block;color:#667085;font-size:11px;margin-top:3px}.ews-att-cell{width:125px;padding:8px 5px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;font-size:12px}.ews-savebar{display:flex;justify-content:space-between;align-items:center;padding-top:15px;color:#667085;font-size:13px}.ews-save-all{font-size:14px}.ews-csv-details{margin-top:16px}.ews-csv-details summary{cursor:pointer;display:flex;gap:12px;align-items:center;justify-content:space-between}.ews-csv-details summary span{color:#667085;font-size:12px;font-weight:400}.ews-csv-inside{padding-top:16px}
    @media(max-width:700px){.ews-bulk-head{display:block}.ews-week-picker{margin-top:15px}.ews-savebar{display:block}.ews-save-all{margin-top:10px;width:100%}}
    .ews-pdf-btn{background:#111827!important;color:#fff!important}.ews-wa-btn{background:#128c7e!important;color:#fff!important}.ews-pdf-only{display:none}
        @media print{
            body{background:#fff!important}
            .ews-app{background:#fff!important;min-height:0!important;border-radius:0!important}
            .ews-side,.ews-mobile-nav,.ews-top,.ews-toolbar,.ews-legend,.ews-pdf-btn,.ews-no-print{display:none!important}
            .ews-shell{display:block!important;min-height:0!important}
            .ews-main{padding:0!important}
            .ews-card{border:0!important;box-shadow:none!important;margin:0!important;padding:8px!important}
            .ews-week{overflow:visible!important}
            .ews-table{min-width:0!important;font-size:10px!important}
            .ews-table th,.ews-table td{padding:6px!important}
            .ews-table th:first-child,.ews-table td:first-child{position:static!important}
            .ews-pdf-only{display:block!important;text-align:center;margin-bottom:10px}
            @page{size:A4 landscape;margin:10mm}
        }
        @media(max-width:1000px){.ews-cards{grid-template-columns:repeat(2,1fr)}.ews-shell{grid-template-columns:180px 1fr}}@media(max-width:700px){.ews-shell{display:block}.ews-side{display:none}.ews-mobile-nav{display:flex;overflow:auto;background:#101828;padding:8px}.ews-mobile-nav a{color:#fff;text-decoration:none;padding:9px 11px;white-space:nowrap}.ews-main{padding:16px}.ews-cards,.ews-grid2{grid-template-columns:1fr}.ews-title{font-size:21px}}





        .ews-schedule-info,.ews-swap-hint{display:flex;align-items:center;gap:11px;background:#f8f5ff;border:1px solid #eadcff;border-radius:12px;padding:10px 13px;margin:0 0 10px;color:#344054}.ews-schedule-info>span,.ews-swap-hint>span{width:32px;height:32px;border-radius:9px;background:#fff;display:grid;place-items:center;font-size:17px}.ews-schedule-info strong,.ews-swap-hint strong{display:block;font-size:11px;color:#4c1d95}.ews-schedule-info small,.ews-swap-hint small{display:block;font-size:10px;color:#667085;margin-top:2px}.ews-schedule-table th.today{background:#f3e8ff;color:#5b21b6}.ews-schedule-table td.today{background:#fcfaff}.ews-schedule-table tr.current-user td:first-child{border-left:3px solid #5b21b6;background:#fcfaff}.ews-schedule-table tr.team-manager td{background:#fff8e7}.ews-schedule-table tr.team-manager td:first-child{border-left:3px solid #d97706}.ews-manager-badge{display:inline-block;margin-left:6px;background:#ffedd5;color:#9a3412;border:1px solid #fed7aa;border-radius:999px;padding:2px 6px;font-size:8px;font-weight:850;vertical-align:middle}.ews-att-table tbody tr.team-manager td{background:#fff8e7}.ews-att-table tbody tr.team-manager td:first-child{border-left:3px solid #d97706}.ews-att-table tbody tr.current-user td:first-child{box-shadow:inset 3px 0 0 #5b21b6;background:#fcfaff}.ews-att-mobile-card.team-manager{background:#fff8e7;border-left:3px solid #d97706}.ews-att-mobile-card.current-user{box-shadow:inset 3px 0 0 #5b21b6}.ews-me-badge{display:inline-block;margin-left:6px;background:#f3e8ff;color:#5b21b6;border-radius:999px;padding:2px 6px;font-size:8px;font-weight:850;vertical-align:middle}.ews-swap-hint{margin-top:10px;margin-bottom:0;background:#fff;border-color:#e4e7ec}.ews-swap-hint>span{background:#ecfdf3;color:#15803d}
        @media(max-width:700px){.ews-schedule-info{align-items:flex-start}.ews-swap-hint{align-items:flex-start}.ews-schedule-info small,.ews-swap-hint small{line-height:1.4}.ews-schedule-table tr.current-user td:first-child{border-left-width:3px}}

.ews-swap-week-empty{padding:12px 0;color:#98a2b3;font-size:10px}        .ews-swap-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:15px 17px;margin-top:12px;box-shadow:0 4px 14px rgba(16,24,40,.035)}.ews-swap-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.ews-swap-panel-head h3{margin:3px 0;font-size:16px;color:#101828}.ews-swap-panel-head p{margin:0;color:#667085;font-size:11px}.ews-swap-form-wrap{margin-top:13px;padding-top:13px;border-top:1px solid #eaecf0}.ews-swap-form{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;align-items:end}.ews-swap-form label{display:block;font-size:10px;font-weight:800;color:#475467;margin-bottom:4px}.ews-swap-form select{width:100%;height:36px;border:1px solid #d0d5dd;border-radius:8px;padding:0 9px;font-size:11px;background:#fff}.ews-swap-form-actions{display:flex;gap:6px}.ews-swap-form-actions .ews-btn{font-size:10px;padding:9px 11px;white-space:nowrap}.ews-swap-message{margin-top:10px;padding:9px 11px;border-radius:9px;font-size:11px;font-weight:700}.ews-swap-message.success{background:#ecfdf3;color:#15803d}.ews-swap-message.error{background:#fef2f2;color:#b42318}.ews-swap-requests{margin-top:15px;border-top:1px solid #eaecf0;padding-top:13px}.ews-swap-requests-title{font-size:11px;font-weight:850;color:#344054;margin-bottom:7px}.ews-swap-request{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #eaecf0;border-radius:10px;padding:9px 10px;margin-top:7px}.ews-swap-request-main{display:flex;align-items:center;gap:9px}.ews-swap-avatar{width:30px;height:30px;border-radius:9px;background:#f3e8ff;color:#5b21b6;display:grid;place-items:center;font-weight:900}.ews-swap-request-main strong{display:block;font-size:11px;color:#101828}.ews-swap-request-main span{display:block;font-size:9px;color:#667085;margin-top:2px}.ews-swap-request-right{display:flex;align-items:center;gap:5px}.ews-swap-state{font-size:8px;font-weight:850;border-radius:999px;padding:4px 7px;background:#f2f4f7;color:#667085}.ews-swap-state.pending{background:#fff7ed;color:#c2410c}.ews-swap-state.accepted{background:#ecfdf3;color:#15803d}.ews-swap-state.rejected,.ews-swap-state.cancelled{background:#fef2f2;color:#b42318}.ews-swap-small{border:0;border-radius:7px;padding:5px 7px;font-size:9px;font-weight:800;cursor:pointer}.ews-swap-small.accept{background:#5b21b6;color:#fff}.ews-swap-small.reject{background:#f2f4f7;color:#344054}
        .ews-schedule-page{max-width:1120px;margin:0 auto}.ews-schedule-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}.ews-schedule-head h2{margin:4px 0 3px;font-size:26px;color:#101828}.ews-schedule-head p{margin:0;color:#667085;font-size:12px}.ews-week-nav{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:4px}.ews-week-nav a{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;text-decoration:none;color:#5b21b6;font-size:22px}.ews-week-nav a:hover{background:#f3e8ff}.ews-week-nav span{font-size:11px;font-weight:800;color:#344054;padding:0 5px}
        .ews-schedule-tools{background:#fff;border:1px solid #e4e7ec;border-radius:13px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;box-shadow:0 4px 14px rgba(16,24,40,.035)}.ews-schedule-tools form{display:flex;align-items:center;gap:7px;margin:0}.ews-schedule-tools label{font-size:11px;font-weight:700;color:#475467}.ews-schedule-tools input{height:34px;border:1px solid #d0d5dd;border-radius:8px;padding:0 8px;font-size:11px}.ews-schedule-tools .ews-btn{font-size:11px;padding:8px 11px}.ews-schedule-tool-actions{display:flex;gap:6px}.ews-schedule-legend{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 10px}.ews-schedule-legend span{font-size:9px;font-weight:800;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#667085}.ews-schedule-legend .Office{background:#ecfdf3;color:#15803d}.ews-schedule-legend .WFH{background:#eff6ff;color:#2563eb}.ews-schedule-legend .Vacation{background:#fff7ed;color:#c2410c}.ews-schedule-legend .Business-Trip{background:#f3e8ff;color:#7c3aed}.ews-schedule-legend .Absent{background:#fef2f2;color:#dc2626}
        .ews-schedule-card{padding:0;overflow:hidden;border-radius:14px}.ews-schedule-table-wrap{overflow:auto}.ews-schedule-table{min-width:760px;border-collapse:separate;border-spacing:0}.ews-schedule-table th{background:#fafafa;color:#475467;font-size:10px;font-weight:800;padding:12px 10px;border-bottom:1px solid #eaecf0}.ews-schedule-table th:first-child{min-width:160px;text-align:left}.ews-schedule-table th small{display:block;color:#98a2b3;font-size:9px;margin-top:3px;font-weight:600}.ews-schedule-table td{padding:11px 8px;text-align:center;border-bottom:1px solid #f0f2f5;font-size:10px}.ews-schedule-table tbody tr:hover{background:#fcfaff}.ews-schedule-table .ews-person{text-align:left;font-size:11px;font-weight:800;color:#101828}.ews-schedule-table .ews-domain{text-align:left;font-size:9px;color:#98a2b3;margin-top:2px}.ews-schedule-empty{padding:45px 20px;text-align:center;color:#667085}.ews-schedule-empty div{font-size:35px}.ews-schedule-empty strong{display:block;color:#344054;margin-top:7px}.ews-schedule-empty span{display:block;font-size:11px;margin-top:4px}
        @media(max-width:700px){.ews-schedule-head{align-items:flex-start}.ews-schedule-head h2{font-size:21px}.ews-week-nav{margin-top:3px}.ews-week-nav span{display:none}.ews-week-nav a{width:30px;height:30px}.ews-schedule-tools{display:block;padding:10px}.ews-schedule-tools form{width:100%}.ews-schedule-tools form label{flex:1}.ews-schedule-tools input{width:100%;box-sizing:border-box}.ews-schedule-tools form .ews-btn{white-space:nowrap}.ews-schedule-tool-actions{margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.ews-schedule-tool-actions .ews-btn:last-child{grid-column:1/-1}.ews-schedule-legend{gap:5px}.ews-schedule-legend span{font-size:8px;padding:4px 7px}.ews-schedule-table{min-width:690px}}
        .ews-employee-today{background:#fff;border:1px solid #e4e7ec;border-left:4px solid #5b21b6;border-radius:15px;padding:20px;box-shadow:0 5px 18px rgba(16,24,40,.04);margin-bottom:14px}.ews-employee-today-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.ews-personal-label{font-size:10px;font-weight:850;letter-spacing:.08em;color:#7c3aed}.ews-employee-today h3{margin:5px 0 3px;font-size:25px;color:#101828}.ews-employee-today-head p{margin:0;color:#667085;font-size:12px}.ews-personal-status{padding:7px 10px;border-radius:999px;font-size:10px;font-weight:850}.ews-personal-status.working{background:#ecfdf3;color:#15803d}.ews-personal-status.neutral{background:#f2f4f7;color:#667085}.ews-personal-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid #eaecf0;margin-top:17px;padding-top:15px}.ews-personal-meta div{background:#fafafa;border:1px solid #eaecf0;border-radius:10px;padding:10px}.ews-personal-meta span{display:block;color:#667085;font-size:10px}.ews-personal-meta b{display:block;color:#101828;font-size:12px;margin-top:4px}.ews-personal-action{display:inline-block;margin-top:13px;font-size:11px;padding:8px 12px}.ews-my-week-list{display:grid;gap:7px}.ews-my-week-list div{display:flex;justify-content:space-between;align-items:center;background:#fafafa;border:1px solid #eaecf0;border-radius:9px;padding:9px 10px;font-size:11px}.ews-my-week-list b{color:#5b21b6}.ews-my-week-empty{font-size:11px;color:#667085;padding:12px 0}.ews-dash-inline-link{display:inline-block;margin-top:11px;color:#5b21b6;text-decoration:none;font-size:11px;font-weight:800}.ews-employee-dashboard-empty{padding:30px}.ews-employee-dashboard-empty h2{margin:0 0 7px}.ews-employee-dashboard-empty p{color:#667085;margin:0;font-size:13px}
        @media(max-width:700px){.ews-employee-today{padding:15px}.ews-employee-today-head{display:block}.ews-personal-status{display:inline-block;margin-top:10px}.ews-employee-today h3{font-size:22px}.ews-personal-meta{grid-template-columns:1fr 1fr}.ews-personal-meta div:first-child{grid-column:1/-1}.ews-personal-action{width:100%;text-align:center;box-sizing:border-box}}
        .ews-dashboard{max-width:1100px;margin:0 auto}
        .ews-dash-welcome{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.ews-dash-kicker{font-size:11px;font-weight:800;color:#7c3aed;text-transform:uppercase;letter-spacing:.05em}.ews-dash-welcome h2{margin:4px 0 4px;font-size:27px;color:#101828}.ews-dash-welcome p{margin:0;color:#667085;font-size:13px}
        .ews-dash-notif{position:relative;width:46px;height:46px;display:grid;place-items:center;background:#fff;border:1px solid #e4e7ec;border-radius:14px;text-decoration:none;font-size:21px;box-shadow:0 4px 14px rgba(16,24,40,.05)}.ews-dash-notif span{position:absolute;right:-4px;top:-5px;background:#5b21b6;color:#fff;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;font-size:9px;font-weight:800;border:2px solid #f7f7fb}
        .ews-dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.ews-dash-stat{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:15px;display:flex;align-items:center;gap:11px;box-shadow:0 4px 14px rgba(16,24,40,.035)}.ews-dash-stat .n{font-size:24px;font-weight:850;color:#101828;line-height:1}.ews-dash-stat .l{font-size:11px;color:#667085;margin-top:4px}.ews-dash-stat-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:18px}.ews-dash-stat-icon.purple{background:#f3e8ff}.ews-dash-stat-icon.green{background:#ecfdf3}.ews-dash-stat-icon.blue{background:#eff6ff}.ews-dash-stat-icon.orange{background:#fff7ed}
        .ews-dash-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:14px}.ews-dash-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:18px;box-shadow:0 4px 14px rgba(16,24,40,.035)}.ews-dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px}.ews-dash-card-head h3{margin:0;font-size:16px;color:#101828}.ews-dash-card-head p{margin:4px 0 0;font-size:11px;color:#667085}.ews-dash-card-head>span{width:34px;height:34px;border-radius:10px;background:#f3e8ff;display:grid;place-items:center}.ews-moments-card{margin-bottom:14px;background:linear-gradient(135deg,#fff 0%,#fbf9ff 100%);border-color:#e8ddff}.ews-moments-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ews-moment-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #eee8ff;border-radius:12px;background:#fff}.ews-moment-icon{width:36px;height:36px;border-radius:10px;background:#f5efff;display:grid;place-items:center;font-size:18px;flex:0 0 auto}.ews-moment-item strong{display:block;font-size:13px;color:#101828}.ews-moment-item p{margin:3px 0 0;font-size:11px;color:#667085;line-height:1.45}
        .ews-dash-week-line{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:4px}.ews-dash-week-line strong{display:block;font-size:13px}.ews-dash-week-line small{display:block;color:#667085;font-size:11px;margin-top:4px}.ews-dash-week-line .ews-btn{font-size:11px;padding:8px 11px;white-space:nowrap}
        .ews-dash-actions{display:grid;grid-template-columns:1fr;gap:7px}.ews-dash-actions a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#344054;background:#fafafa;border:1px solid #eaecf0;border-radius:9px;padding:9px 10px;font-size:11px;font-weight:750}.ews-dash-actions a:hover{background:#f8f2ff;color:#5b21b6}.ews-dash-actions a span{font-size:15px}.ews-dash-actions a b{margin-left:auto;background:#5b21b6;color:#fff;border-radius:999px;padding:3px 6px;font-size:9px}
        .ews-dash-status{margin-top:0}.ews-dash-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ews-dash-bars>div>div{display:flex;justify-content:space-between;font-size:11px;color:#475467;margin-bottom:7px}.ews-dash-bars b{color:#101828}.ews-dash-bars i{height:7px;background:#f2f4f7;border-radius:99px;display:block;overflow:hidden}.ews-dash-bars em{display:block;height:100%;background:#7c3aed;border-radius:99px}.ews-dash-bars em.blue{background:#3b82f6}.ews-dash-bars em.orange{background:#f97316}
        @media(max-width:700px){.ews-moments-list{grid-template-columns:1fr}.ews-moment-item{padding:10px}.ews-dashboard{max-width:none}.ews-dash-welcome{margin-bottom:14px}.ews-dash-welcome h2{font-size:22px}.ews-dash-welcome p{font-size:11px}.ews-dash-stats{grid-template-columns:repeat(2,1fr);gap:8px}.ews-dash-stat{padding:12px}.ews-dash-stat .n{font-size:21px}.ews-dash-stat .l{font-size:10px}.ews-dash-stat-icon{width:35px;height:35px;font-size:16px}.ews-dash-grid{grid-template-columns:1fr;gap:10px}.ews-dash-card{padding:14px}.ews-dash-week-line{align-items:flex-start}.ews-dash-week-line .ews-btn{padding:9px 10px}.ews-dash-bars{grid-template-columns:1fr;gap:11px}}
        /* BA Team visual refresh */
        .ews-app{--purple:#5b21b6;--purple2:#7c3aed;--purple-soft:#f3e8ff;--ink:#101828;--muted:#667085;--line:#e4e7ec;--bg:#f7f7fb}
        .ews-side{background:#fff;color:var(--ink);border-right:1px solid #eaecf0}
        .ews-brand{padding:8px 10px 24px;display:block!important;color:var(--ink)!important}
        .ews-brand-name{display:block;font-size:20px;font-weight:850;color:var(--purple);line-height:1.1}
        .ews-brand-product{display:block;font-size:11px;color:var(--muted);font-weight:700;margin-top:3px}
        .ews-nav a{color:#344054}
        .ews-nav a:hover,.ews-nav a.active{background:var(--purple-soft);color:var(--purple);font-weight:800}
        .ews-main{background:var(--bg)}
        .ews-btn{background:var(--purple)}.ews-btn:hover{background:#4c1d95}
        .ews-btn.secondary{background:#f2f0f5;color:#344054}
        .ews-login-logo{color:var(--purple)}.ews-login-logo span{display:block;font-size:12px;color:var(--muted);margin-top:3px}

        .ews-notifications-page{max-width:1050px;margin:0 auto}
        .ews-notif-intro{display:flex;align-items:center;gap:14px;margin-bottom:16px}
        .ews-notif-intro-icon{width:48px;height:48px;border-radius:14px;background:var(--purple);color:#fff;display:grid;place-items:center;font-size:23px;box-shadow:0 8px 20px rgba(91,33,182,.16)}
        .ews-notif-intro h2{margin:0;font-size:25px;line-height:1.15}.ews-notif-intro p{margin:4px 0 0;color:var(--muted);font-size:13px}

        .ews-push-card{background:#fff;border:1px solid var(--line);border-left:4px solid var(--purple);border-radius:14px;padding:16px 18px;margin:0 0 16px;box-shadow:0 5px 18px rgba(16,24,40,.04)}
        .ews-push-main{display:flex;align-items:center;gap:13px}.ews-push-icon{width:44px;height:44px;border-radius:50%;background:var(--purple-soft);color:var(--purple);display:grid;place-items:center;font-size:21px}
        .ews-push-copy{flex:1;min-width:0}.ews-push-copy strong{display:block;font-size:16px;color:var(--ink)}.ews-push-copy span{display:block;color:var(--muted);font-size:12px;margin-top:3px}
        .ews-push-status{display:none!important;align-items:center;gap:6px;background:#ecfdf3;color:#15803d;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}
        .ews-push-status.enabled{display:inline-flex!important}.ews-push-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e}
        .ews-push-card button{border:1px solid #7c3aed;border-radius:8px;background:#fff;color:var(--purple);padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer}
        .ews-push-device{border-top:1px solid #eaecf0;margin-top:13px;padding-top:11px;font-size:12px;color:#344054}

        .ews-notifications-card{margin-top:0;padding:0;overflow:hidden;border-radius:14px;box-shadow:0 5px 18px rgba(16,24,40,.04)}
        .ews-notifications-head{padding:15px 18px;border-bottom:1px solid #eaecf0;display:flex;align-items:center;justify-content:space-between;gap:10px}
        .ews-notifications-head h2{font-size:18px!important}.ews-unread-count{display:inline-block;margin-left:7px;background:var(--purple-soft);color:var(--purple);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}
        .ews-notification{display:grid;grid-template-columns:8px 42px 1fr auto;gap:11px;align-items:center;padding:15px 18px;border-bottom:1px solid #f0f2f5;background:#fff}
        .ews-notification.unread{background:#fcfaff}.ews-notification:hover{background:#faf7ff}
        .ews-notification-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#f3f7ff;color:#2563eb;font-size:18px;font-weight:800}
        .ews-notification-icon.success{background:#ecfdf3;color:#16a34a}.ews-notification-icon.warning{background:#fff7ed;color:#ea580c}.ews-notification-icon.error{background:#fef2f2;color:#dc2626}
        .ews-notification-title{font-size:13px;font-weight:800;color:var(--ink)}.ews-notification-message{font-size:12px;color:#475467;margin-top:3px;line-height:1.45}.ews-notification-time{font-size:10px;color:#98a2b3;margin-top:5px}
        .ews-notification-read{border:0;background:transparent;color:var(--purple);font-size:10px;font-weight:800;cursor:pointer}
        @media(max-width:700px){
            .ews-main{padding:14px 12px 82px}.ews-top{margin-bottom:13px}.ews-title{font-size:21px}.ews-sub{font-size:11px}
            .ews-notifications-page{max-width:none}.ews-notif-intro{margin-bottom:12px}.ews-notif-intro-icon{width:44px;height:44px}.ews-notif-intro h2{font-size:21px}.ews-notif-intro p{font-size:11px}
            .ews-push-card{padding:14px;border-radius:13px}.ews-push-main{align-items:flex-start}.ews-push-icon{width:40px;height:40px;font-size:19px}.ews-push-copy strong{font-size:15px}.ews-push-copy span{font-size:11px}
            .ews-push-status{order:3}.ews-push-card button{padding:7px 10px}
            .ews-push-device{font-size:11px}
            .ews-notifications-card{border-radius:13px}.ews-notifications-head{padding:13px 14px}.ews-notifications-head h2{font-size:17px!important}
            .ews-notification{grid-template-columns:7px 40px 1fr;gap:9px;padding:13px 14px}.ews-notification-icon{width:40px;height:40px}.ews-notification-read{grid-column:3;text-align:left;padding:2px 0}.ews-notification-message{font-size:11px}
        }
        @media(max-width:700px){
            .ews-app{border-radius:0;min-height:100vh;margin:0;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);overflow:visible}
            .ews-shell{display:block;min-height:0}
            .ews-side{display:none}
            .ews-main{padding:14px 12px 86px}
            .ews-top{margin-bottom:14px;align-items:flex-start}
            .ews-title{font-size:21px;line-height:1.25}
            .ews-sub{font-size:12px}
            .ews-card{border-radius:12px;padding:14px;margin-top:12px}
            .ews-toolbar{display:grid;grid-template-columns:1fr;gap:9px}
            .ews-toolbar form,.ews-toolbar form label{width:100%}
            .ews-toolbar input[type=date]{width:100%;min-height:44px}
            .ews-btn{min-height:44px;padding:11px 14px;text-align:center;width:100%;font-size:14px}
            .ews-actions{display:grid;grid-template-columns:1fr;gap:8px}
            .ews-actions .ews-btn{width:100%}
            .ews-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
            .ews-stat{padding:13px;border-radius:12px;min-width:0}
            .ews-stat .n{font-size:23px}
            .ews-stat .l{font-size:11px;line-height:1.25}
            .ews-grid2{grid-template-columns:1fr;gap:8px}
            .ews-time-card{padding:16px 12px;margin:12px 0;border-radius:14px}
            .ews-time-block{padding:24px 6px}
            .ews-time-icon{font-size:36px}
            .ews-time-block h2{font-size:20px;line-height:1.3}
            .ews-time-block p{font-size:13px}
            .ews-time-actions{grid-template-columns:1fr;gap:9px}
            .ews-time-btn{min-height:56px;font-size:16px}
            .ews-time-window{font-size:12px}
            .ews-time-row{padding:12px 2px;font-size:13px}
            .ews-week{overflow:visible}
            .ews-week .ews-table{display:block;min-width:0;width:100%;border-spacing:0}
            .ews-week .ews-table thead{display:none}
            .ews-week .ews-table tbody,.ews-week .ews-table tr{display:block;width:100%}
            .ews-week .ews-table tr{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff;overflow:hidden}
            .ews-week .ews-table td{display:flex;justify-content:space-between;align-items:center;width:100%;min-width:0;border:0;border-bottom:1px solid var(--line);padding:11px 10px;text-align:right}
            .ews-week .ews-table td:last-child{border-bottom:0}
            .ews-week .ews-table td:first-child{display:block;position:static;background:#f8fafc;padding:12px 10px;text-align:left}
            .ews-week .ews-table td:not(:first-child)::before{content:attr(data-label);font-size:11px;font-weight:800;color:var(--muted);margin-right:12px;text-align:left}
            .ews-week .ews-table td:not(:first-child) .ews-status{margin-left:auto}
            .ews-legend{gap:5px}
            .ews-legend span{font-size:10px;padding:5px 7px}
            .ews-mobile-nav{position:fixed;z-index:9999;left:0;right:0;bottom:0;display:flex;justify-content:space-around;gap:2px;background:#101828;border-top:1px solid #344054;padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 25px rgba(16,24,40,.18)}
            .ews-mobile-nav a{flex:1;min-width:0;color:#cbd5e1;text-decoration:none;padding:6px 3px 5px;border-radius:9px;text-align:center;font-size:10px;line-height:1.15;white-space:normal}
            .ews-mobile-nav a.active{background:#1d2939;color:#fff}
            .ews-mobile-icon{display:block;font-size:17px;line-height:1.1;margin-bottom:3px}
            .ews-form input,.ews-form select,.ews-form textarea{min-height:44px;font-size:16px}
            .ews-form button{width:100%;min-height:44px}
            .ews-table{font-size:12px}
            .ews-table th,.ews-table td{padding:9px 8px}
        }
    
        
/* V3.5.6 CLEAN ATTENDANCE */
.ews-attendance-page{max-width:1180px;margin:0 auto;padding:2px 0 24px;color:#101828}
.ews-attendance-page .ews-att-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:6px 0 18px}
.ews-attendance-page .ews-dash-kicker{font-size:10px;font-weight:900;letter-spacing:.08em;color:#6d28d9}
.ews-attendance-page .ews-att-head h1{margin:3px 0 4px;font-size:30px;line-height:1.1}.ews-attendance-page .ews-att-head p{margin:0;color:#667085;font-size:12px}
.ews-att-week-nav{display:flex;align-items:center;gap:7px}.ews-week-arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;color:#344054;text-decoration:none;font-size:23px}
.ews-att-week-control{min-width:220px;height:40px}
.ews-att-week-form{width:100%;height:100%;margin:0}
.ews-att-week-range{height:40px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e4e7ec;border-radius:10px;background:#fff;cursor:pointer;position:relative;overflow:hidden}
.ews-att-week-range strong{font-size:11px;pointer-events:none}
.ews-att-week-range span{pointer-events:none}
.ews-att-week-range input[type="date"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;z-index:2}
.ews-att-week-range:after{content:"";position:absolute;right:9px;width:7px;height:7px;border-right:1px solid #667085;border-bottom:1px solid #667085;transform:rotate(45deg);pointer-events:none}
.ews-att-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.ews-att-stat{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e4e7ec;border-radius:13px;padding:13px 15px}.ews-att-stat>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:17px;font-weight:900}.ews-att-stat b{display:block;font-size:21px;line-height:1}.ews-att-stat small{display:block;margin-top:4px;font-size:9px;color:#667085;font-weight:800}
.ews-att-stat.present>span{background:#ecfdf3;color:#16a34a}.ews-att-stat.late>span{background:#fff7ed;color:#d97706}.ews-att-stat.absent>span{background:#fef2f2;color:#dc2626}.ews-att-stat.leave>span{background:#f3e8ff;color:#7c3aed}
.ews-att-controls{display:grid;grid-template-columns:205px minmax(0,1fr);align-items:center;gap:12px;background:linear-gradient(90deg,#faf8ff,#fff);border:1px solid #e4e7ec;border-radius:13px;padding:11px 12px;margin-bottom:12px}.ews-att-control-title strong{display:block;font-size:11px}.ews-att-control-title span{display:block;font-size:8px;color:#667085;margin-top:3px}
.ews-day-quick-actions{display:grid;grid-template-columns:repeat(5,minmax(75px,1fr));gap:6px}.ews-day-quick{background:#fff;border:1px solid #e4e7ec;border-radius:8px;padding:5px}.ews-day-quick.is-today{border-color:#c4b5fd;background:#faf7ff}.ews-day-quick label{display:block;text-align:center;font-size:8px;font-weight:900}.ews-day-quick label small{display:block;font-size:7px;color:#98a2b3;margin-top:2px}.ews-day-quick select{width:100%;height:27px;margin-top:4px;border:1px solid #e4e7ec;border-radius:6px;background:#fff;font-size:8px;color:#344054}
.ews-att-table-wrap{background:#fff;border:1px solid #e4e7ec;border-radius:14px;overflow:auto}.ews-att-table{width:100%;min-width:900px;border-collapse:separate;border-spacing:0}.ews-att-table th{background:#fafafa;border-bottom:1px solid #eaecf0;padding:10px 7px;text-align:center;font-size:9px;color:#475467}.ews-att-table th.employee-col{text-align:left;padding-left:13px;width:185px}.ews-att-table th small{display:block;font-size:7px;font-weight:500;color:#98a2b3;margin-top:3px}.ews-att-table th em{display:inline-block;margin-top:3px;padding:2px 5px;border-radius:999px;background:#6d28d9;color:#fff;font-size:6px;font-style:normal}.ews-att-table th.is-today{background:#f7f3ff}
.ews-att-table td{border-bottom:1px solid #f0f2f5;padding:8px 6px;text-align:center;vertical-align:top}.ews-att-table tr:last-child td{border-bottom:0}.ews-att-employee{display:flex;align-items:center;gap:8px;text-align:left!important;padding-left:13px!important}.ews-att-avatar{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f3e8ff;color:#5b21b6;display:grid;place-items:center;font-size:10px;font-weight:900}.ews-att-employee strong{display:block;font-size:10px}.ews-att-employee small{display:block;font-size:7px;color:#667085;margin-top:2px}.ews-att-day{position:relative;transition:background .16s ease,box-shadow .16s ease}.ews-att-day:hover{background:#fbfcfe;box-shadow:inset 0 1px 0 #eef2f6,inset 0 -1px 0 #eef2f6}.ews-att-day.is-today{background:#fcfaff;box-shadow:inset 1px 0 0 #ddd6fe,inset -1px 0 0 #ddd6fe}.ews-plan-office{background:linear-gradient(180deg,#fbfdff 0%,#fff 58%)}.ews-plan-wfh{background:linear-gradient(180deg,#fcfbff 0%,#fff 58%)}.ews-plan-vacation,.ews-plan-leave,.ews-plan-general-leave{background:linear-gradient(180deg,#fffdf7 0%,#fff 58%)}.ews-plan-business-trip{background:linear-gradient(180deg,#faffff 0%,#fff 58%)}.ews-att-cell:hover{border-color:#98a2b3}.ews-att-result{position:relative}.ews-att-result.present,.ews-att-result.late,.ews-att-result.absent{font-weight:850}.ews-att-result small{display:inline-block;font-size:7px;color:#667085}.ews-att-plan-legend{border-top:1px solid #f0f2f5;padding-top:7px}.ews-att-plan-legend i{box-shadow:0 0 0 2px rgba(255,255,255,.8)}
.ews-att-cell,.ews-mobile-att-cell{width:100%;min-width:102px;height:31px;border:1px solid #dbe1e8;border-radius:7px;background:#fff;padding:0 7px;font-size:8px;font-weight:700;color:#344054;cursor:pointer;appearance:auto;-webkit-appearance:menulist}.ews-att-cell:focus,.ews-mobile-att-cell:focus{outline:none;border-color:#7c3aed;box-shadow:0 0 0 2px rgba(124,58,237,.1)}
.ews-att-result{font-size:8px;font-weight:800;margin-top:5px;white-space:nowrap}.ews-att-result small{font-weight:600;margin-left:2px}.ews-att-result.present{color:#15803d}.ews-att-result.late{color:#c2410c}.ews-att-result.absent{color:#b42318}.ews-att-result.leave{color:#7c3aed}.ews-att-result.trip{color:#2563eb}.ews-att-result.pending{color:#667085}.ews-att-result.muted{color:#98a2b3}
.ews-att-savebar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 2px}.ews-att-savebar span{font-size:8px;color:#667085}.ews-att-savebar .ews-save-all{font-size:10px;padding:9px 14px}.ews-att-mobile{display:none}
@media(max-width:700px){.ews-attendance-page .ews-att-head{display:block}.ews-att-week-nav{margin-top:10px;width:100%;justify-content:space-between}.ews-att-week-control{flex:1;min-width:0}.ews-att-summary{grid-template-columns:repeat(4,1fr);gap:5px}.ews-att-stat{display:block;text-align:center;padding:8px 3px}.ews-att-stat>span{width:27px;height:27px;margin:0 auto 4px;font-size:13px}.ews-att-stat b{font-size:16px}.ews-att-stat small{font-size:7px}.ews-att-controls{grid-template-columns:1fr;padding:10px}.ews-day-quick-actions{grid-template-columns:repeat(5,72px);overflow-x:auto}.ews-att-table-wrap{display:none}.ews-att-mobile{display:block}.ews-att-mobile-card{background:#fff;border:1px solid #e4e7ec;border-radius:13px;margin-bottom:8px;overflow:hidden}.ews-att-mobile-card summary{list-style:none;display:flex;align-items:center;gap:9px;padding:11px 12px;cursor:pointer}.ews-att-mobile-card summary::-webkit-details-marker{display:none}.ews-att-mobile-card summary>div:nth-child(2){flex:1}.ews-att-mobile-card summary strong{display:block;font-size:11px}.ews-att-mobile-card summary small{display:block;font-size:8px;color:#667085;margin-top:2px}.ews-att-mobile-card summary>span{font-size:20px;color:#98a2b3}.ews-att-mobile-days{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;padding:9px;border-top:1px solid #f0f2f5}.ews-att-mobile-day{text-align:center;padding:5px 2px;border-radius:7px}.ews-att-mobile-day.is-today{background:#faf7ff}.ews-att-mobile-day header b{display:block;font-size:8px}.ews-att-mobile-day header small{font-size:7px;color:#98a2b3}.ews-att-mobile-day select{margin-top:5px;min-width:0;height:32px;font-size:8px}.ews-att-mobile-day .ews-att-result{white-space:normal;line-height:1.2}.ews-att-savebar{position:sticky;bottom:72px;z-index:20;display:block;background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:10px;margin-top:10px}.ews-att-savebar span{display:block;margin-bottom:7px}.ews-att-savebar .ews-save-all{width:100%;min-height:42px}}
.ews-attendance-page .ews-schedule-select{appearance:auto!important;-webkit-appearance:menulist!important;pointer-events:auto!important;cursor:pointer!important;touch-action:manipulation!important}
.ews-attendance-page .ews-mobile-att-cell{display:block!important;width:100%!important;min-width:0!important;opacity:1!important;visibility:visible!important}
.ews-status.General-Leave{background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important}.ews-schedule-legend .General-Leave{background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important}

.ews-break-card{margin-top:16px;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dbe5f0;border-radius:16px;padding:16px;box-shadow:0 6px 20px rgba(16,24,40,.05)}
.ews-break-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ews-break-kicker{font-size:9px;font-weight:900;letter-spacing:.08em;color:#2563eb}.ews-break-head h3{margin:4px 0 4px;font-size:17px;color:#101828}.ews-break-head p{margin:0;color:#667085;font-size:11px;line-height:1.5}.ews-break-count{min-width:70px;text-align:center;background:#eff6ff;border:1px solid #dbeafe;border-radius:12px;padding:9px}.ews-break-count strong{display:block;font-size:22px;color:#1d4ed8}.ews-break-count span{font-size:9px;color:#475467;font-weight:700}
.ews-break-live{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:14px;border-radius:13px;background:#101828;color:#fff}.ews-break-live>div:first-child{display:grid;grid-template-columns:auto auto;column-gap:10px;align-items:center}.ews-break-live-label{font-size:9px;font-weight:900;color:#93c5fd;grid-column:1/-1}.ews-break-live strong{font-size:28px;letter-spacing:.03em}.ews-break-live small{font-size:9px;color:#98a2b3}.ews-break-limit{text-align:right}.ews-break-limit span,.ews-break-limit small{display:block;color:#98a2b3;font-size:9px}.ews-break-limit strong{font-size:12px;color:#fff}
.ews-break-form{margin-top:12px}.ews-break-btn{width:100%;border:0;border-radius:11px;padding:12px 14px;font-weight:800;color:#fff;cursor:pointer}.ews-break-btn.start{background:#2563eb}.ews-break-btn.start span{opacity:.8;font-size:10px;margin-left:5px}.ews-break-btn.resume{background:#16a34a}.ews-break-exhausted{padding:11px;border-radius:10px;background:#f0fdf4;color:#166534;font-size:11px;font-weight:700;margin-top:12px}.ews-break-history-title{margin-top:12px;padding-top:12px;border-top:1px solid #eaecf0;font-size:10px;font-weight:900;color:#475467}.ews-break-history-row{display:flex;justify-content:space-between;gap:10px}

.ews-notification-bell{position:relative!important;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #e6eaf0;border-radius:12px;background:#fff;text-decoration:none;font-size:20px;box-shadow:0 2px 8px rgba(16,24,40,.05)}
.ews-notification-bell span{position:absolute!important;top:-5px!important;right:-5px!important;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#dc2626;color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;border:2px solid #fff;z-index:2}
.ews-notifications-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ews-notification{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #eef0f3}
.ews-notification:last-child{border-bottom:0}.ews-notification.read{opacity:.72}
.ews-notification-icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 34px}
.ews-notification-icon.info{background:#eff6ff;color:#2563eb}.ews-notification-icon.success{background:#ecfdf3;color:#16a34a}.ews-notification-icon.warning{background:#fff7ed;color:#d97706}.ews-notification-icon.error{background:#fef2f2;color:#dc2626}
.ews-notification-body{flex:1;min-width:0}.ews-notification-title{font-weight:800;display:flex;align-items:center;gap:7px}.ews-notification-message{color:#475467;margin-top:4px;line-height:1.5;font-size:13px}.ews-notification-time{color:#98a2b3;font-size:11px;margin-top:6px}.ews-unread-dot{width:7px;height:7px;background:#2563eb;border-radius:50%;display:inline-block}
.ews-notification-read{border:0;background:transparent;color:#2563eb;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.ews-empty-notifications{padding:50px 15px;text-align:center;color:#98a2b3;display:flex;flex-direction:column;gap:8px}.ews-empty-notifications strong{color:#344054;font-size:16px}
@media(max-width:700px){.ews-notification-bell{width:40px;height:40px}.ews-notifications-head{align-items:flex-start}.ews-notification-read{font-size:10px}}

    .ews-brand-tagline{display:inline-block;margin-left:6px;font-size:10px;font-weight:600;letter-spacing:.1px;opacity:.72}
    .ews-login-logo,.ews-login-brand{letter-spacing:-.4px}
    
.ews-vac-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.ews-vac-section-head h3{margin:0}.ews-vac-view-all{font-size:12px;color:#5b21b6;text-decoration:none;font-weight:700;white-space:nowrap}.ews-vac-view-all:hover{text-decoration:underline}.ews-vac-view-all-wrap{margin-top:12px;padding-top:12px;border-top:1px solid #eaecf0}.ews-vac-view-all-button{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#faf9ff;color:#5b21b6;text-decoration:none;font-weight:700;font-size:13px}.ews-vac-view-all-button:hover{background:#f5f3ff}.ews-empty-state{padding:28px 20px;text-align:center;border:1px dashed #dcdcde;border-radius:10px;background:#fafafa;margin:10px 0}.ews-empty-icon{width:42px;height:42px;margin:0 auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f0f0f1;color:#646970;font-size:22px}.ews-empty-title{font-size:16px;font-weight:600;color:#1d2327}.ews-empty-text{margin:6px auto 0;max-width:520px;color:#646970;line-height:1.5}.ews-empty-action{display:inline-block;margin-top:14px;text-decoration:none!important}.ews-submit-loading{opacity:.72!important;cursor:wait!important;pointer-events:none!important}.ews-submit-loading .ews-btn-spinner{display:inline-block!important}.ews-btn-spinner{display:none;width:14px;height:14px;margin-right:7px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:ewsSpin .65s linear infinite}@keyframes ewsSpin{to{transform:rotate(360deg)}}

.ews-ux-modal{position:fixed;inset:0;z-index:100000;background:rgba(16,24,40,.48);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.ews-ux-modal-card{position:relative;width:min(440px,100%);background:#fff;border-radius:18px;padding:26px;box-shadow:0 24px 70px rgba(16,24,40,.25);text-align:center}
.ews-ux-modal-card h3{margin:12px 0 8px;font-size:21px;line-height:1.25;color:#101828}.ews-ux-modal-card p{margin:0;color:#475467;font-size:14px;line-height:1.6}
.ews-ux-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#667085;font-size:26px;line-height:1;cursor:pointer}
.ews-ux-icon{width:42px;height:42px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px}
.ews-ux-modal[data-type="error"] .ews-ux-icon{background:#f04438;color:#fff}.ews-ux-modal[data-type="warning"] .ews-ux-icon{background:#f79009;color:#fff}.ews-ux-modal[data-type="success"] .ews-ux-icon{background:#12b76a;color:#fff}.ews-ux-modal[data-type="info"] .ews-ux-icon{background:#2e90fa;color:#fff}
.ews-ux-actions{display:flex;justify-content:center;gap:9px;margin-top:20px}.ews-ux-actions button{min-width:90px;border:0;border-radius:10px;padding:10px 18px;font-weight:700;cursor:pointer}.ews-ux-ok,.ews-ux-confirm{background:#2563eb;color:#fff}.ews-ux-cancel{background:#f2f4f7;color:#344054}

@media(max-width:700px){html,body{overflow-x:hidden!important}.ews-main{width:100%;min-width:0}.ews-top{width:100%;}.ews-notification-bell{flex:0 0 auto}}

/* V3.15.2 mobile PWA polish */
.ews-notification-bell .ews-bell-icon{position:static!important;min-width:0!important;width:auto!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:20px!important;display:inline!important;line-height:1!important}
.ews-notification-bell .ews-bell-count{position:absolute!important;top:-6px!important;right:-6px!important;z-index:10!important;min-width:19px!important;width:auto!important;height:19px!important;padding:0 5px!important;margin:0!important;border-radius:999px!important;background:#dc2626!important;color:#fff!important;border:2px solid #fff!important;font-size:10px!important;font-weight:800!important;line-height:15px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
@media(max-width:700px){
  .ews-app{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important}
  .ews-main{padding:16px!important;width:100%!important;box-sizing:border-box!important}
  .ews-dashboard{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
  .ews-top{width:100%!important;box-sizing:border-box!important}
  .ews-top .ews-notification-bell{width:40px!important;height:40px!important;flex:0 0 40px!important}
}

.ews-notification-open{display:inline-flex;align-items:center;gap:3px;margin-top:7px;color:#2563eb;font-size:11px;font-weight:800;text-decoration:none}.ews-notification-open:hover{text-decoration:underline}.ews-notification-open:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}

/* V3.18.13 Notification UX v2 */
.ews-notifications-title-wrap{display:flex;flex-direction:column;gap:9px;min-width:0}.ews-notification-tabs{display:inline-flex;align-items:center;gap:3px;background:#f6f7fb;border:1px solid #eaecf0;border-radius:9px;padding:3px;width:max-content}.ews-notification-tabs a{display:inline-flex;align-items:center;padding:5px 10px;border-radius:7px;color:#667085;text-decoration:none;font-size:10px;font-weight:800;line-height:1}.ews-notification-tabs a.active{background:#fff;color:var(--purple);box-shadow:0 1px 3px rgba(16,24,40,.08)}.ews-notification[data-notification-open]{cursor:pointer}.ews-notification[data-notification-open]:focus-visible{outline:2px solid var(--purple);outline-offset:-2px}.ews-notification.unread .ews-notification-title{font-weight:900}.ews-empty-notifications-icon{font-size:24px;line-height:1;margin-bottom:2px}.ews-empty-notifications strong{font-size:16px}.ews-empty-notifications span{font-size:12px}
@media(max-width:700px){.ews-notifications-title-wrap{width:100%}.ews-notifications-head{flex-direction:column}.ews-notifications-head>form{align-self:flex-end}.ews-notification-tabs a{padding:6px 11px}}

.ews-notification-bell-wrap{position:relative;display:inline-flex;z-index:50}.ews-notification-bell-wrap .ews-notification-bell{position:relative!important;cursor:pointer}.ews-notification-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:350px;background:#fff;border:1px solid #e6eaf0;border-radius:16px;box-shadow:0 18px 45px rgba(16,24,40,.14);overflow:hidden}.ews-bell-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #eef0f3}.ews-bell-head strong{font-size:14px;color:var(--ink)}.ews-bell-head span{font-size:10px;font-weight:800;color:var(--purple)}.ews-bell-list{max-height:360px;overflow:auto}.ews-bell-item{position:relative;display:flex;gap:10px;padding:12px 14px;text-decoration:none;color:inherit;border-bottom:1px solid #f0f2f5}.ews-bell-item:hover{background:#faf7ff}.ews-bell-item.unread{background:#fcfaff}.ews-bell-item-icon{width:32px;height:32px;flex:0 0 32px;border-radius:9px;display:grid;place-items:center;background:#f3f7ff;font-size:14px}.ews-bell-item-body{min-width:0;display:flex;flex-direction:column;gap:2px;padding-right:8px}.ews-bell-item-body strong{font-size:11px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ews-bell-item-body span{font-size:10px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ews-bell-item-body small{font-size:9px;color:#98a2b3;margin-top:2px}.ews-bell-item-dot{width:7px;height:7px;position:absolute;right:13px;top:17px;border-radius:50%;background:#2563eb}.ews-bell-empty{padding:28px 16px;text-align:center;display:flex;flex-direction:column;gap:4px}.ews-bell-empty strong{font-size:13px;color:#344054}.ews-bell-empty span{font-size:10px;color:#98a2b3}.ews-bell-footer{display:block;padding:12px 15px;text-align:center;border-top:1px solid #eef0f3;color:var(--purple);font-size:11px;font-weight:800;text-decoration:none}.ews-bell-footer:hover{background:#faf7ff}@media(max-width:700px){.ews-notification-dropdown{position:fixed;top:58px;right:10px;left:10px;width:auto;max-width:none}.ews-notification-bell-wrap{z-index:100}}

/* Sign In / Out location permission gate */
.ews-location-gate{position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.72);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(4px)}
.ews-location-gate-card{width:min(440px,100%);background:#fff;border-radius:20px;padding:30px 26px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.22);border:1px solid #eaecf0}
.ews-location-icon{font-size:42px;line-height:1;margin-bottom:12px}
.ews-location-gate-card h2{margin:0 0 10px;color:#101828;font-size:22px}
.ews-location-gate-card p{margin:0 auto 18px;color:#667085;font-size:14px;line-height:1.6;max-width:370px}
.ews-location-spinner{width:28px;height:28px;margin:0 auto;border:3px solid #e4e7ec;border-top-color:#5b21b6;border-radius:50%;animation:ewsLocationSpin .8s linear infinite}
.ews-location-retry{border:0;border-radius:10px;padding:12px 18px;background:#5b21b6;color:#fff;font-weight:800;cursor:pointer;font-size:14px}
.ews-location-gate.is-ready{opacity:0;transition:opacity .2s ease;pointer-events:none}
@keyframes ewsLocationSpin{to{transform:rotate(360deg)}}
/* V3.20.4 Attendance UI / Team Filter / Schedule Color Enhancement */
.ews-att-summary{grid-template-columns:repeat(5,minmax(0,1fr))}
.ews-att-stat{min-height:58px;transition:transform .15s ease,box-shadow .15s ease}
.ews-att-stat:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(16,24,40,.06)}
.ews-att-stat.people>span{background:#eef4ff;color:#315ea8}.ews-att-stat.rate>span{background:#f2f4f7;color:#344054}
.ews-att-tools{display:flex;gap:8px;align-items:center;justify-content:flex-end}
.ews-att-search{height:36px;min-width:210px;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #d0d5dd;border-radius:9px;padding:0 10px;color:#667085}
.ews-att-search span{font-size:17px;line-height:1}.ews-att-search input{width:100%;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:11px;color:#101828}
.ews-att-filter{height:36px;display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #d0d5dd;border-radius:9px;padding:0 8px 0 10px;color:#667085;font-size:9px;font-weight:800;min-width:145px}.ews-att-filter select{border:0!important;background:transparent!important;box-shadow:none!important;padding:0 18px 0 0!important;height:30px;font-size:10px;color:#344054;font-weight:700}
.ews-att-day-name{font-weight:900;font-size:10px;color:#344054}.ews-att-day-meta{margin-top:5px;font-size:6.5px;line-height:1.25;color:#98a2b3;font-weight:600}.ews-att-day-meta b{color:#667085}
/* V3.20.8 Attendance Controls — separate header, quick actions and legend */
.ews-att-controls{grid-template-columns:1fr;align-items:stretch}
.ews-att-control-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}
.ews-att-control-title{min-width:0}
.ews-att-tools{flex:0 0 auto}
.ews-day-quick-actions{grid-column:1;width:100%;max-width:480px}
.ews-att-plan-legend{grid-column:1;margin-top:1px;padding-top:8px}
/* V3.20.7 Attendance Planned Schedule — use the schedule select itself as the visual indicator */
.ews-plan-office .ews-att-cell{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8;box-shadow:inset 3px 0 0 #3b82f6}
.ews-plan-wfh .ews-att-cell{background:#f5f3ff;border-color:#ddd6fe;color:#6d28d9;box-shadow:inset 3px 0 0 #8b5cf6}
.ews-plan-vacation .ews-att-cell,.ews-plan-leave .ews-att-cell,.ews-plan-general-leave .ews-att-cell{background:#fffbeb;border-color:#fde68a;color:#92400e;box-shadow:inset 3px 0 0 #f59e0b}
.ews-plan-business-trip .ews-att-cell{background:#ecfeff;border-color:#a5f3fc;color:#0e7490;box-shadow:inset 3px 0 0 #06b6d4}
.ews-plan-not-set .ews-att-cell{background:#fff;border-color:#dbe1e8;color:#344054;box-shadow:inset 3px 0 0 #d0d5dd}
.ews-att-cell{margin:0 1px 5px;min-height:31px;border-radius:8px;padding:0 8px 0 10px;font-size:8.5px;font-weight:800;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .12s ease}
.ews-att-cell:hover{transform:translateY(-1px);border-color:#98a2b3;box-shadow:inset 3px 0 0 #98a2b3,0 2px 5px rgba(16,24,40,.05)}
.ews-plan-office .ews-att-cell:hover{border-color:#93c5fd;box-shadow:inset 3px 0 0 #3b82f6,0 2px 5px rgba(37,99,235,.08)}
.ews-plan-wfh .ews-att-cell:hover{border-color:#c4b5fd;box-shadow:inset 3px 0 0 #8b5cf6,0 2px 5px rgba(124,58,237,.08)}
.ews-plan-vacation .ews-att-cell:hover,.ews-plan-leave .ews-att-cell:hover,.ews-plan-general-leave .ews-att-cell:hover{border-color:#fcd34d;box-shadow:inset 3px 0 0 #f59e0b,0 2px 5px rgba(245,158,11,.08)}
.ews-plan-business-trip .ews-att-cell:hover{border-color:#67e8f9;box-shadow:inset 3px 0 0 #06b6d4,0 2px 5px rgba(6,182,212,.08)}
.ews-att-team-label{display:inline-block;margin-top:3px;padding:2px 5px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:6.5px;font-weight:800;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ews-att-plan-legend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:7px;padding-left:1px}.ews-att-plan-legend span{display:inline-flex;align-items:center;gap:4px;font-size:7px;color:#667085;font-weight:700}.ews-att-plan-legend i{width:7px;height:7px;border-radius:2px;display:inline-block;border:1px solid transparent}.ews-att-plan-legend i.office{background:#eff6ff;border-color:#bfdbfe}.ews-att-plan-legend i.wfh{background:#f5f3ff;border-color:#ddd6fe}.ews-att-plan-legend i.leave{background:#fffbeb;border-color:#fde68a}.ews-att-plan-legend i.trip{background:#ecfeff;border-color:#a5f3fc}
.ews-att-day{transition:background .15s ease}.ews-att-day:hover{background:#fafbfc}.ews-att-day.is-today:hover{background:#f9f5ff}
.ews-att-employee-row.is-hidden{display:none}
@media(max-width:900px){.ews-att-control-head{align-items:stretch;flex-direction:column;gap:8px}.ews-att-tools{width:100%;justify-content:stretch}.ews-att-search{flex:1}.ews-att-filter{min-width:135px}.ews-day-quick-actions{max-width:none}
.ews-att-controls{grid-template-columns:1fr}.ews-att-tools{justify-content:stretch}.ews-att-search{flex:1}.ews-att-filter{min-width:135px}}
@media(max-width:700px){.ews-att-summary{grid-template-columns:repeat(3,1fr)}.ews-att-tools{width:100%;overflow:hidden}.ews-att-search{min-width:0;width:100%}.ews-att-filter{flex:0 0 135px}ews-att-mobile-day .ews-att-result{font-size:7px}.ews-att-stat.rate,.ews-att-stat.people{min-height:54px}}

/* Reports v1.0 visual refresh */
.ews-reports-page{max-width:1180px;margin:0 auto}.ews-reports-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.ews-reports-head h2{margin:0;font-size:28px;line-height:1.15;color:#101828}.ews-reports-head p{margin:5px 0 0;color:#667085;font-size:12px}.ews-reports-head-badge{background:#f3e8ff;color:#5b21b6;border:1px solid #ddd6fe;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.ews-report-tabs{display:flex;gap:4px;border-bottom:1px solid #e4e7ec;margin-bottom:12px}.ews-report-tab{padding:10px 14px;text-decoration:none;color:#667085;font-size:11px;font-weight:800;border-bottom:2px solid transparent}.ews-report-tab:hover{color:#5b21b6}.ews-report-tab.active{color:#2563eb;border-bottom-color:#2563eb}.ews-report-filter-card,.ews-report-summary-card,.ews-report-results-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;box-shadow:0 4px 14px rgba(16,24,40,.035);padding:17px;margin-top:12px}.ews-report-filter-head h3,.ews-report-section-head h3{margin:0;color:#101828;font-size:15px}.ews-report-filter-head p,.ews-report-section-head p{margin:4px 0 0;color:#667085;font-size:10px}.ews-report-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.ews-report-section-head>span{color:#667085;font-size:10px;white-space:nowrap}.ews-report-section-head>span i{font-style:normal;margin:0 4px;color:#c0c5ce}.ews-report-section-head h3 small{font-weight:600;color:#98a2b3}.ews-report-period-grid{display:grid;grid-template-columns:1fr 1fr 2.1fr;gap:12px;margin-top:13px}.ews-report-filter-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;align-items:end;margin-top:12px}.ews-report-filter-card label{display:block;font-size:10px;font-weight:800;color:#475467}.ews-report-filter-card input,.ews-report-filter-card select{display:block;width:100%;box-sizing:border-box;height:38px;margin-top:5px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:0 10px;font-size:11px;color:#101828}.ews-report-generate .ews-btn{width:100%;height:38px;padding:0 14px}.ews-report-quick>span{display:block;font-size:10px;font-weight:800;color:#475467;margin-bottom:5px}.ews-report-quick>div{display:flex;gap:6px;flex-wrap:wrap}.ews-report-quick a{display:inline-flex;align-items:center;height:38px;padding:0 10px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:#475467;text-decoration:none;font-size:10px;font-weight:750;white-space:nowrap}.ews-report-quick a:hover{border-color:#a78bfa;background:#faf5ff;color:#5b21b6}.ews-report-summary-card{padding-bottom:14px}.ews-report-summary-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin-top:12px}.ews-report-summary-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.ews-report-summary-item{border:1px solid #eaecf0;border-radius:11px;padding:11px 9px;display:flex;align-items:center;gap:8px;min-width:0}.ews-report-summary-item>span{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;font-size:14px;font-weight:900}.ews-report-summary-item b{display:block;font-size:19px;line-height:1;color:#101828}.ews-report-summary-item small{display:block;margin-top:3px;color:#667085;font-size:9px;white-space:nowrap}.ews-report-summary-item.green>span{background:#dcfce7;color:#15803d}.ews-report-summary-item.amber>span{background:#fef3c7;color:#b45309}.ews-report-summary-item.red>span{background:#fee2e2;color:#b42318}.ews-report-summary-item.blue>span{background:#dbeafe;color:#2563eb}.ews-report-summary-item.purple>span{background:#ede9fe;color:#7c3aed}.ews-report-summary-item.cyan>span{background:#e0f2fe;color:#0369a1}.ews-report-summary-item.gray>span{background:#f2f4f7;color:#667085}.ews-report-results-card{padding:0;overflow:hidden}.ews-report-results-card>.ews-report-section-head{padding:16px 17px;border-bottom:1px solid #eaecf0;align-items:center}.ews-report-table-wrap{overflow:auto}.ews-report-table{width:100%;border-collapse:separate;border-spacing:0;min-width:900px}.ews-report-table th{background:#f8fafc;color:#475467;font-size:9px;text-transform:none;font-weight:850;padding:11px 10px;text-align:left;border-bottom:1px solid #e4e7ec;white-space:nowrap}.ews-report-table td{padding:10px;border-bottom:1px solid #f0f2f5;font-size:10px;color:#344054;vertical-align:middle}.ews-report-table tbody tr:hover{background:#fcfaff}.ews-report-table td:first-child{min-width:135px}.ews-report-table td strong{display:block;color:#101828;font-size:10px}.ews-report-table td small{display:block;color:#98a2b3;font-size:8px;margin-top:2px}.ews-report-status,.ews-report-planned{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:850;white-space:nowrap}.ews-report-status b{font-size:9px}.ews-report-statuses{display:flex;flex-wrap:wrap;gap:5px;align-items:center}.ews-report-status.present{background:#ecfdf3;color:#15803d;border-color:#bbf7d0}.ews-report-status.late{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.ews-report-status.absent{background:#fef2f2;color:#b42318;border-color:#fecaca}.ews-report-status.leave{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.ews-report-status.trip{background:#f5f3ff;color:#7c3aed;border-color:#ddd6fe}.ews-report-status.pending{background:#f2f4f7;color:#667085;border-color:#e4e7ec}.ews-report-status.neutral{background:#f2f4f7;color:#667085;border-color:#e4e7ec}.ews-report-status.missing{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.ews-report-planned.neutral{background:#f2f4f7;color:#667085;border-color:#e4e7ec}.ews-report-empty{text-align:center!important;padding:40px 20px!important;color:#667085!important}.ews-report-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:9px;color:#667085}.ews-report-pagination>div{display:flex;gap:4px}.ews-report-pagination a{min-width:27px;height:27px;padding:0 6px;display:grid;place-items:center;border:1px solid #e4e7ec;border-radius:7px;color:#475467;text-decoration:none;font-weight:800;font-size:9px}.ews-report-pagination a.active{background:#2563eb;color:#fff;border-color:#2563eb}.ews-report-pagination a:hover{border-color:#93c5fd}.ews-workforce-table td:not(:first-child){font-weight:800;color:#344054}.ews-workforce-table th:not(:first-child),.ews-workforce-table td:not(:first-child){text-align:center}
@media(max-width:900px){.ews-report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ews-report-period-grid{grid-template-columns:1fr 1fr}.ews-report-quick{grid-column:1/-1}.ews-report-filter-grid{grid-template-columns:1fr 1fr}.ews-report-generate{grid-column:1/-1}.ews-report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.ews-reports-head h2{font-size:23px}.ews-reports-head-badge{display:none}.ews-report-tabs{overflow:auto}.ews-report-tab{white-space:nowrap}.ews-report-filter-card,.ews-report-summary-card{padding:13px}.ews-report-period-grid,.ews-report-filter-grid{grid-template-columns:1fr;gap:8px}.ews-report-quick{grid-column:auto}.ews-report-quick>div{display:grid;grid-template-columns:repeat(2,1fr)}.ews-report-quick a{justify-content:center}.ews-report-summary-grid,.ews-report-summary-grid.four{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ews-report-summary-item{padding:9px}.ews-report-summary-item b{font-size:17px}.ews-report-section-head{display:block}.ews-report-section-head>span{display:block;margin-top:5px}.ews-report-results-card>.ews-report-section-head .ews-btn{display:block;margin-top:10px;width:100%;box-sizing:border-box;text-align:center}.ews-report-pagination{display:block}.ews-report-pagination>div{margin-top:8px}}

/* Reports V3.22.3 — visual polish only */
.ews-reports-page{max-width:1180px;padding-bottom:28px}
.ews-reports-head{margin-bottom:16px}
.ews-reports-head h2{font-size:30px;letter-spacing:-.02em}
.ews-reports-head p{font-size:12px;color:#667085}
.ews-reports-head-badge{padding:8px 12px;font-size:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.ews-report-tabs{gap:8px;margin-bottom:14px}
.ews-report-tab{padding:11px 16px;font-size:11px;border-bottom-width:2px}
.ews-report-tab.active{color:#155eef}
.ews-report-filter-card,.ews-report-summary-card,.ews-report-results-card{border-color:#e6e8ef;border-radius:16px;box-shadow:0 5px 18px rgba(16,24,40,.035)}
.ews-report-filter-card{padding:19px 19px 18px}
.ews-report-filter-head h3,.ews-report-section-head h3{font-size:16px;letter-spacing:-.01em}
.ews-report-filter-head p,.ews-report-section-head p{font-size:10px;line-height:1.45}
.ews-report-period-grid{gap:14px;margin-top:15px}
.ews-report-filter-grid{gap:14px;margin-top:14px}
.ews-report-filter-card input,.ews-report-filter-card select{height:40px;border-color:#d7dbe5;border-radius:10px;font-size:11px;transition:border-color .15s ease,box-shadow .15s ease}
.ews-report-filter-card input:focus,.ews-report-filter-card select:focus{border-color:#8b9cff;box-shadow:0 0 0 3px rgba(37,99,235,.08);outline:none}
.ews-report-quick a{height:40px;border-radius:10px;padding:0 11px;transition:all .15s ease}
.ews-report-quick a.active{background:#eff6ff;border-color:#93c5fd;color:#155eef;box-shadow:inset 0 0 0 1px rgba(37,99,235,.06)}
.ews-report-generate .ews-btn{height:40px;border-radius:10px;font-weight:800;box-shadow:0 2px 4px rgba(2,122,72,.12)}
.ews-report-summary-card{padding:17px 17px 15px}
.ews-report-summary-grid{gap:10px;margin-top:14px}
.ews-report-summary-item{min-height:58px;padding:10px 11px;border-radius:12px;background:#fff;transition:transform .12s ease,box-shadow .12s ease}
.ews-report-summary-item:hover{transform:translateY(-1px);box-shadow:0 3px 10px rgba(16,24,40,.045)}
.ews-report-summary-item>span{width:31px;height:31px;border-radius:10px}
.ews-report-summary-item b{font-size:20px;letter-spacing:-.02em}
.ews-report-summary-item small{font-size:9px}
.ews-report-results-card>.ews-report-section-head{padding:17px 18px}
.ews-report-results-card>.ews-report-section-head .ews-btn.secondary{border-radius:10px;padding:9px 13px;font-weight:800;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.ews-report-table{min-width:920px}
.ews-report-table th{padding:12px 11px;background:#f7f9fc;color:#344054;font-size:9px;border-bottom-color:#dde2ea}
.ews-report-table td{padding:12px 11px;font-size:10px}
.ews-report-table tbody tr:last-child td{border-bottom:0}
.ews-report-table tbody tr:hover{background:#fbfcff}
.ews-report-table td strong{font-size:10px}
.ews-report-status,.ews-report-planned{padding:5px 9px;border-radius:999px}
.ews-report-pagination{border-top:1px solid #f0f2f5}
.ews-workforce-table th:not(:first-child),.ews-workforce-table td:not(:first-child){min-width:82px}
.ews-workforce-table td:not(:first-child){font-size:11px}
@media(max-width:900px){.ews-report-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.ews-report-period-grid{grid-template-columns:1fr 1fr}.ews-report-filter-grid{gap:10px}}
@media(max-width:700px){.ews-reports-page{padding-bottom:18px}.ews-reports-head h2{font-size:25px}.ews-report-filter-card{padding:15px}.ews-report-summary-card{padding:14px}.ews-report-summary-item{min-height:54px}}

/* V3.22.41 - mobile top profile menu */
.ews-mobile-top-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.ews-profile-menu{position:relative;display:block} /* desktop and mobile (3.31.23) */
.ews-profile-menu-trigger{width:40px;height:40px;border:1px solid var(--line,#e4e7ec);border-radius:12px;background:#fff;color:#172033;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px rgba(16,24,40,.05);padding:0;overflow:hidden}.ews-profile-menu-avatar{width:100%;height:100%;display:block;object-fit:cover}.ews-profile-menu-initials{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#3158c8}.ews-profile-menu-item-icon{width:20px;display:inline-flex;justify-content:center;flex:0 0 20px}
.ews-profile-menu-trigger:focus-visible{outline:2px solid #7c3aed;outline-offset:2px}
.ews-profile-menu-dropdown{position:absolute;right:0;top:46px;width:170px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 14px 35px rgba(16,24,40,.16);padding:6px;z-index:10020}
.ews-profile-menu-dropdown a{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;color:#344054;text-decoration:none;font-size:13px;font-weight:700}
.ews-profile-menu-dropdown a:hover{background:#f5f3ff;color:#5b21b6}
@media(max-width:700px){
  .ews-mobile-top-actions{display:flex}
  .ews-profile-menu{display:block}
}


/* V3.22.53 — Smart Nudges */
.ews-smart-nudges-card{margin:0 0 22px;background:#fff;border:1px solid #e6e8ec;border-radius:16px;padding:18px;box-shadow:0 3px 12px rgba(16,24,40,.04)}
.ews-smart-nudges-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.ews-smart-nudges-head h3{margin:4px 0 0;font-size:18px;color:#172b24}.ews-smart-nudges-head>span{font-size:20px}
.ews-smart-nudges-list{display:grid;gap:10px}.ews-smart-nudge{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border:1px solid #eceef1;border-radius:12px;background:#fafbfc}.ews-smart-nudge-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff;font-size:18px;flex:0 0 34px}.ews-smart-nudge-body{min-width:0;flex:1}.ews-smart-nudge-body strong{display:block;color:#1d2939;font-size:14px}.ews-smart-nudge-body p{margin:3px 0 8px;color:#667085;font-size:13px;line-height:1.45}.ews-smart-nudge-actions{display:flex;align-items:center;gap:12px}.ews-smart-nudge-actions .ews-btn{min-height:34px;padding:7px 12px;font-size:12px}.ews-smart-nudge-dismiss{font-size:12px;color:#98a2b3;text-decoration:none}.ews-smart-nudge-dismiss:hover{color:#475467;text-decoration:underline}
@media(max-width:640px){.ews-smart-nudges-card{padding:15px;border-radius:14px}.ews-smart-nudge{padding:12px}.ews-smart-nudge-actions{flex-wrap:wrap}}

.ews-achievement-icon.circle{border-radius:50%}.ews-achievement-icon.shield{border-radius:12px 12px 18px 18px;clip-path:polygon(50% 0,90% 15%,90% 58%,50% 100%,10% 58%,10% 15%)}.ews-achievement-icon.star{border-radius:12px;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 95%,50% 72%,21% 95%,32% 57%,2% 35%,39% 35%)}.ews-achievement-icon.ribbon{border-radius:10px 10px 16px 16px}

/* Employee Polls */
.ews-poll-card{background:linear-gradient(135deg,#fff7f8 0%,#fff 72%);border:1px solid #f0dfe4;border-radius:18px;padding:20px;margin:0 0 16px;box-shadow:0 5px 18px rgba(16,24,40,.04)}
.ews-poll-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ews-poll-kicker{display:inline-block;font-size:10px;font-weight:850;letter-spacing:.08em;color:#d92d52}.ews-poll-head h3{margin:5px 0 4px;color:#101828;font-size:21px}.ews-poll-head p{margin:0;color:#667085;font-size:12px}.ews-poll-icon{width:44px;height:44px;border-radius:14px;background:#fff;border:1px solid #f0dfe4;display:flex;align-items:center;justify-content:center;font-size:23px;flex:0 0 auto}.ews-poll-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.ews-poll-option{position:relative;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #eaecf0;border-radius:13px;padding:13px;cursor:pointer;font-size:13px;color:#344054;transition:.15s}.ews-poll-option:hover{border-color:#b8c8f7;box-shadow:0 3px 10px rgba(16,24,40,.04)}.ews-poll-option input{position:absolute;opacity:0}.ews-poll-radio{width:18px;height:18px;border:2px solid #98a2b3;border-radius:50%;position:relative;flex:0 0 auto}.ews-poll-option input:checked + .ews-poll-radio{border-color:#3158c8}.ews-poll-option input:checked + .ews-poll-radio:after{content:"";position:absolute;inset:3px;background:#3158c8;border-radius:50%}.ews-poll-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;color:#667085;font-size:11px}.ews-poll-footer .ews-btn{min-width:90px}.ews-poll-success{background:#ecfdf3;color:#15803d;border:1px solid #bbf7d0;border-radius:10px;padding:9px 11px;margin-top:12px;font-size:12px;font-weight:700}.ews-poll-voted{font-size:12px;color:#667085;margin:15px 0 10px}.ews-poll-results{display:grid;gap:10px}.ews-poll-result{background:#fff;border:1px solid #eaecf0;border-radius:11px;padding:10px}.ews-poll-result-top{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#344054}.ews-poll-result-top b{color:#3158c8}.ews-poll-bar{height:7px;background:#eef2f6;border-radius:99px;overflow:hidden;margin-top:7px}.ews-poll-bar i{display:block;height:100%;background:#3158c8;border-radius:99px}.ews-poll-result small{display:block;margin-top:5px;color:#98a2b3;font-size:10px}.ews-poll-total{margin-top:10px;color:#667085;font-size:11px;font-weight:700}.ews-poll-card + .ews-dash-grid{margin-top:0}
.ews-poll-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;color:#667085;font-size:12px;font-weight:600}
.ews-poll-error{background:#fef3f2;color:#b42318;border:1px solid #fecdca;border-radius:10px;padding:9px 11px;margin-top:12px;font-size:12px;font-weight:700}
.ews-poll-note{background:#f9fafb;border:1px solid #eaecf0;border-radius:10px;padding:10px 12px;margin-top:14px;font-size:12px;color:#475467;font-weight:600}
.ews-poll-result.is-mine{border-color:#b8c8f7;background:#f5f8ff}
.ews-poll-result-top em{font-style:normal;color:#3158c8;font-weight:700}
.ews-poll-form.is-change details{margin-top:12px}
.ews-poll-form.is-change summary{cursor:pointer;font-size:12px;font-weight:700;color:#3158c8}
.ews-poll-more{display:inline-block;margin-top:12px;font-size:12px;font-weight:700;color:#3158c8;text-decoration:none}
.ews-poll-more:hover{text-decoration:underline}
.ews-poll-card.is-past{background:#fff;border-color:#eaecf0}
.ews-polls-page h2{font-size:18px;margin:6px 0 12px;color:#101828}
.ews-polls-page h2:not(:first-child){margin-top:26px}
.ews-polls-empty{color:#667085}
@media(max-width:700px){.ews-poll-options{grid-template-columns:1fr}.ews-poll-card{padding:15px}.ews-poll-head h3{font-size:18px}.ews-poll-footer{align-items:flex-end}}

/* V3.23.0 People Directory */
.wfo-people-head{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}.wfo-people-muted{margin:5px 0 0;color:var(--muted);font-size:13px}.wfo-people-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wfo-people-filters input,.wfo-people-filters select{padding:9px 10px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;min-width:170px}.wfo-people-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.wfo-person-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;text-decoration:none;color:inherit;transition:.15s ease}.wfo-person-card:hover{border-color:#c7d2fe;box-shadow:0 5px 18px rgba(16,24,40,.07);transform:translateY(-1px)}.wfo-person-avatar,.wfo-profile-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#eef2ff;color:#3158c8;font-weight:800;flex:0 0 48px}.wfo-person-avatar img,.wfo-profile-avatar img{width:100%;height:100%;object-fit:cover}.wfo-person-main{min-width:0;display:flex;flex-direction:column;gap:3px}.wfo-person-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wfo-person-main span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wfo-person-arrow{margin-left:auto;color:#98a2b3;font-size:22px}.wfo-profile-back{margin:0 0 10px}.wfo-profile-back a{font-size:13px;color:#475467;text-decoration:none}.wfo-employee-hero{display:flex;align-items:center;gap:16px}.wfo-profile-avatar{width:72px;height:72px;flex-basis:72px;font-size:20px}.wfo-employee-hero h2{margin:0;font-size:24px}.wfo-employee-hero p{margin:5px 0 0;color:var(--muted)}.wfo-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wfo-profile-fields div{padding:13px;border:1px solid var(--line);border-radius:10px;background:#fafafa}.wfo-profile-fields span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.wfo-profile-fields strong{font-size:13px}@media(max-width:900px){.wfo-people-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.wfo-people-grid{grid-template-columns:1fr}.wfo-people-filters{width:100%}.wfo-people-filters input,.wfo-people-filters select{flex:1;min-width:130px}.wfo-profile-fields{grid-template-columns:1fr}}

/* Sign In page: Face / QR / Presence cards (moved from inline <style> in time_content). */
.ews-face-lab{margin:18px 0;padding:18px;border:1px solid #e6e8ec;border-radius:16px;background:#fff}
.ews-face-lab-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ews-face-lab h3{margin:0;font-size:17px}.ews-face-lab p{margin:6px 0 0;color:#667085;font-size:13px}
.ews-face-lab-btn{margin-top:14px;border:0;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer;background:#111827;color:#fff}
.ews-face-modal{display:none;position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.68);align-items:center;justify-content:center;padding:18px}
.ews-face-modal.is-open{display:flex}.ews-face-card{width:min(520px,100%);background:#fff;border-radius:18px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.ews-face-top{display:flex;justify-content:space-between;align-items:center}.ews-face-close{border:0;background:#f2f4f7;border-radius:9px;width:34px;height:34px;font-size:20px;cursor:pointer}
.ews-face-stage{margin-top:14px;position:relative;background:#0b1220;border-radius:14px;overflow:hidden;aspect-ratio:4/3}
.ews-face-stage video{width:100%;height:100%;object-fit:cover;display:block;transform:scaleX(-1)}
.ews-face-guide{position:absolute;inset:17% 25%;border:2px solid rgba(255,255,255,.85);border-radius:50%}
.ews-face-status{margin-top:12px;padding:10px 12px;border-radius:10px;background:#f2f4f7;font-size:13px}
.ews-face-actions{display:flex;gap:8px;margin-top:12px}.ews-face-actions button{flex:1;border:0;border-radius:10px;padding:11px;font-weight:700;cursor:pointer}
.ews-face-enroll{background:#111827;color:#fff}.ews-face-verify{background:#e9d5ff;color:#581c87}.ews-face-clear{background:#f2f4f7;color:#344054}
/* Employee app → Attendance Insights (templates/app/attendance-insights.php) */
.ews-fi{max-width:1480px}.ews-fi *{box-sizing:border-box}.ews-fi-card{background:#fff;border:1px solid #e4e7ec;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(16,24,40,.045);margin-bottom:18px}.ews-fi-head{padding:18px 20px 14px;border-bottom:1px solid #edf0f4}.ews-fi-head h2{margin:0 0 4px;font-size:18px;color:#172033}.ews-fi-head p{margin:0;color:#667085;font-size:12px}.ews-fi-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.ews-fi-controls a,.ews-fi-controls select,.ews-fi-controls input{min-height:40px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#172033;padding:8px 11px;text-decoration:none}.ews-fi-controls .nav{width:40px;text-align:center;font-size:20px;padding:5px}.ews-fi-controls form{display:flex;gap:8px;align-items:center}.ews-fi-date-label{font-size:11px;font-weight:700;color:#667085}.ews-fi-day-title{font-size:14px;font-weight:800;color:#172033;padding:0 4px}.ews-fi-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;padding:18px 20px}.ews-fi-tile{border:1px solid #e4e7ec;border-radius:12px;padding:13px 12px;background:#fff;cursor:pointer;text-align:left}.ews-fi-tile:hover{border-color:#c4b5fd;box-shadow:0 3px 10px rgba(91,33,182,.08)}.ews-fi-tile b{display:block;font-size:23px;color:#172033;line-height:1}.ews-fi-tile small{display:block;margin-top:5px;color:#667085;font-size:10px;font-weight:700}.ews-fi-office{background:#eff6ff;border-color:#bfdbfe}.ews-fi-wfh{background:#f5f3ff;border-color:#ddd6fe}.ews-fi-leave{background:#fffbeb;border-color:#fde68a}.ews-fi-trip{background:#ecfeff;border-color:#a5f3fc}.ews-fi-absent{background:#fff7ed;border-color:#fed7aa}.ews-fi-notset{background:#f8fafc}.ews-fi-other{background:#f2f4f7;border-color:#e4e7ec}.ews-fi-att{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:18px 20px}.ews-fi-att button{min-height:70px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;text-align:left;padding:12px;cursor:pointer}.ews-fi-att button:hover{border-color:#c4b5fd}.ews-fi-att b{display:block;font-size:22px;color:#172033}.ews-fi-att span{font-size:11px;color:#667085;font-weight:700}.ews-fi-missing{background:#fff7ed!important;border-color:#fed7aa!important}.ews-fi-week{overflow:auto}.ews-fi-week table{width:100%;border-collapse:separate;border-spacing:0;min-width:720px}.ews-fi-week th{padding:11px 9px;background:#f8fafc;border-bottom:1px solid #e4e7ec;text-align:left;font-size:11px;color:#475467}.ews-fi-week td{padding:8px 9px;border-bottom:1px solid #edf0f4}.ews-fi-week tr:last-child td{border-bottom:0}.ews-fi-week td:first-child,.ews-fi-week th:first-child{position:sticky;left:0;background:#fff;z-index:1}.ews-fi-week th:first-child{background:#f8fafc}.ews-fi-count{width:100%;min-height:42px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;font-weight:800;cursor:pointer;color:#344054}.ews-fi-count:hover{border-color:#a78bfa}.ews-fi-rowlabel{font-weight:700;color:#344054;white-space:nowrap}.ews-fi-drawer{position:fixed;inset:0;z-index:100000;display:none;background:rgba(16,24,40,.35)}.ews-fi-drawer.open{display:block}.ews-fi-panel{position:absolute;right:0;top:0;height:100%;width:min(430px,94vw);background:#fff;box-shadow:-12px 0 35px rgba(16,24,40,.18);padding:24px;overflow:auto}.ews-fi-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}.ews-fi-panel-head h2{margin:0;font-size:20px;color:#172033}.ews-fi-panel-head p{margin:4px 0 0;color:#667085;font-size:12px}.ews-fi-close{border:0;background:#f2f4f7;border-radius:8px;width:34px;height:34px;font-size:20px;cursor:pointer}.ews-fi-names{display:flex;flex-direction:column;gap:7px}.ews-fi-name{padding:10px 12px;border:1px solid #edf0f4;border-radius:9px;background:#f8fafc;font-weight:600;color:#344054}.ews-fi-empty{padding:18px 20px;color:#667085;text-align:center}.ews-fi-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:11px;font-weight:700}
@media(max-width:1000px){.ews-fi-grid,.ews-fi-att{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.ews-fi-grid,.ews-fi-att{grid-template-columns:repeat(2,minmax(0,1fr))}.ews-fi-controls form{width:100%}.ews-fi-controls input,.ews-fi-controls select{flex:1}}
/* Employee app → Leave (templates/app/leave.php) */
.ews-vac{max-width:1050px;margin:0 auto}.ews-vac-hero{background:linear-gradient(135deg,#f7f4ff,#fff);border:1px solid #e7e1f7;border-radius:20px;padding:24px 26px;margin-bottom:18px}.ews-vac-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#7c5cff;text-transform:uppercase}.ews-vac-hero h2{margin:4px 0;font-size:28px}.ews-vac-hero p{margin:7px 0;color:#667085}.ews-vac-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.ews-vac-card{background:#fff;border:1px solid #eaecf0;border-radius:18px;padding:22px;box-shadow:0 5px 18px rgba(16,24,40,.05)}.ews-vac-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.ews-vac-field label{display:block;font-size:12px;font-weight:700;color:#344054;margin-bottom:6px}.ews-vac-field input,.ews-vac-field select,.ews-vac-field textarea{box-sizing:border-box;width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;background:#fff}.ews-vac-count{margin-top:14px;padding:13px 14px;border-radius:12px;background:#f7f4ff;border:1px solid #e7e1f7;color:#4c3a9e;font-weight:700}.ews-vac-submit{width:100%;margin-top:16px!important;justify-content:center}.ews-bal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.ews-bal{padding:12px;border-radius:12px;background:#f8fafc;border:1px solid #eaecf0}.ews-bal strong{display:block;font-size:20px;color:#101828}.ews-bal span{font-size:11px;color:#667085}.ews-vac-row{padding:15px 0;border-top:1px solid #eaecf0;display:flex;justify-content:space-between;gap:15px;align-items:center}.ews-vac-date{font-weight:800}.ews-vac-meta{font-size:12px;color:#667085;margin-top:4px}.ews-vac-status{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.ews-modal-backdrop{position:fixed;inset:0;z-index:99999;background:rgba(16,24,40,.48);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.ews-modal-card{position:relative;width:min(440px,100%);background:#fff;border-radius:18px;padding:28px 26px 24px;box-shadow:0 24px 70px rgba(16,24,40,.25);text-align:center}.ews-modal-card h3{margin:12px 0 8px;font-size:21px;color:#101828}.ews-modal-card p{margin:0;color:#475467;font-size:14px;line-height:1.6}.ews-modal-icon{width:42px;height:42px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f04438;color:#fff;font-weight:800;font-size:20px}.ews-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#667085;font-size:26px;line-height:1;cursor:pointer}.ews-modal-ok{margin-top:20px;min-width:100px;border:0;border-radius:10px;padding:10px 20px;background:#2563eb;color:#fff;font-weight:700;cursor:pointer}.ews-modal-ok:hover{filter:brightness(.96)}.ews-inline-alert{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px;padding:14px 16px;border-radius:12px;border:1px solid}.ews-inline-alert-error{background:#fff7f7;border-color:#fecdca;color:#b42318}.ews-inline-alert-icon{display:flex;align-items:center;justify-content:center;flex:0 0 22px;height:22px;border-radius:50%;background:#f04438;color:#fff;font-size:13px;font-weight:800}.ews-inline-alert strong{display:block;margin-bottom:3px;color:#912018}.ews-inline-alert div div{color:#7a271a;font-size:13px;line-height:1.5}.ews-vac-pending{background:#fff7ed;color:#9a3412}.ews-vac-approved{background:#ecfdf3;color:#027a48}.ews-vac-rejected{background:#fef3f2;color:#b42318}.ews-vac-cancel{background:#fff7ed;color:#9a3412}.ews-vac-actions{display:flex;gap:7px;margin-top:9px}.ews-vac-actions form{margin:0}@media(max-width:760px){.ews-vac-grid{grid-template-columns:1fr}.ews-vac-fields{grid-template-columns:1fr}.ews-bal-grid{grid-template-columns:1fr}}.ews-vac-cancelled{background:#f2f4f7;color:#475467}
/* Employee app → Overtime (templates/app/overtime.php) */
.ews-ot{max-width:980px;margin:0 auto}.ews-ot-hero{background:linear-gradient(135deg,#eef8ff 0%,#fff 65%);border:1px solid #d9edf9;border-radius:20px;padding:24px 26px;margin-bottom:18px}.ews-ot-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#0875b1;text-transform:uppercase;margin-bottom:6px}.ews-ot-hero h2{margin:0;font-size:28px}.ews-ot-hero p{margin:7px 0 0;color:#667085}.ews-ot-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px}.ews-ot-card{background:#fff;border:1px solid #eaecf0;border-radius:18px;padding:22px;box-shadow:0 5px 18px rgba(16,24,40,.05)}.ews-ot-card h3{margin:0 0 6px;font-size:18px}.ews-ot-muted{color:#667085;font-size:13px}.ews-ot-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:18px}.ews-ot-field label{display:block;font-size:12px;font-weight:700;color:#344054;margin-bottom:6px}.ews-ot-field input,.ews-ot-field textarea{box-sizing:border-box;width:100%;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;background:#fff}.ews-ot-field input:focus,.ews-ot-field textarea:focus{outline:none;border-color:#0875b1;box-shadow:0 0 0 3px rgba(8,117,177,.12)}.ews-ot-count{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px 14px;border-radius:12px;background:#eef8ff;border:1px solid #d9edf9;color:#075985;font-weight:700}.ews-ot-submit{width:100%;margin-top:16px!important;justify-content:center}.ews-ot-list{margin-top:18px}.ews-ot-row{padding:15px 0;border-top:1px solid #eaecf0;display:flex;justify-content:space-between;gap:15px;align-items:center}.ews-ot-date{font-weight:800;color:#101828}.ews-ot-meta{font-size:13px;color:#667085;margin-top:4px}.ews-ot-status{padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.ews-ot-pending{background:#fff7ed;color:#9a3412}.ews-ot-approved{background:#ecfdf3;color:#027a48}.ews-ot-rejected{background:#fef3f2;color:#b42318}.ews-ot-empty{text-align:center;padding:28px 12px;color:#667085}@media(max-width:760px){.ews-ot{max-width:none}.ews-ot-hero{padding:20px;border-radius:16px}.ews-ot-hero h2{font-size:24px}.ews-ot-grid{grid-template-columns:1fr}.ews-ot-fields{grid-template-columns:1fr}.ews-ot-row{align-items:flex-start}.ews-ot-status{display:inline-block;margin-top:2px}}
/* Employee app → My Profile (templates/app/my-profile.php) */
.ews-my-profile{max-width:1100px}.ews-my-profile-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:8px 0 20px;padding:22px 24px;border:1px solid #e0e7ff;border-radius:18px;background:linear-gradient(135deg,#eef4ff 0%,#f7f5ff 58%,#eef2ff 100%);position:relative;overflow:hidden}.ews-my-profile-head:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;top:-120px;background:rgba(99,102,241,.10)}.ews-my-profile-person{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1}.ews-my-profile-avatar{width:84px;height:84px;border-radius:24px;background:#eef2ff;border:1px solid #dbe4ff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:#3158c8;overflow:hidden;position:relative;flex:0 0 auto;box-shadow:0 8px 22px rgba(49,88,200,.10)}.ews-my-profile-avatar img{width:100%;height:100%;object-fit:cover}.ews-profile-avatar-edit{position:absolute;right:4px;bottom:4px;width:28px;height:28px;border-radius:50%;border:2px solid #fff;background:#3158c8;color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;cursor:pointer}.ews-my-profile-title{min-width:0}.ews-my-profile-title h2{margin:0 0 7px;font-size:29px;line-height:1.15;color:#101828}.ews-my-profile-title p{margin:0;color:#667085;overflow-wrap:anywhere}.ews-my-profile-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.ews-my-profile-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid #e4e7ec;background:rgba(255,255,255,.78);color:#475467;font-size:12px}.ews-my-profile-pill.active{color:#067647;background:#ecfdf3;border-color:#abefc6}.ews-my-profile-quote{margin-left:auto;position:relative;z-index:1;text-align:right;color:#475467;font-size:13px;line-height:1.5;padding-right:8px}.ews-my-profile-quote:after{content:"";display:block;width:52px;height:2px;background:#635bff;margin:7px 0 0 auto;border-radius:2px}.ews-my-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.ews-my-profile-card,.ews-my-profile-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px}.ews-my-profile-card{padding:16px;display:flex;align-items:center;gap:12px;min-width:0;box-shadow:0 4px 14px rgba(16,24,40,.035)}.ews-my-profile-card.planned{background:linear-gradient(180deg,#fff 0%,#f7f8ff 100%)}.ews-my-profile-card.attendance{background:linear-gradient(180deg,#fff 0%,#fffaf2 100%)}.ews-my-profile-card.hours{background:linear-gradient(180deg,#fff 0%,#f5fcf8 100%)}.ews-my-profile-card-icon{width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto;background:#eef2ff;color:#3158c8}.attendance .ews-my-profile-card-icon{background:#fff0db;color:#9a4f00}.hours .ews-my-profile-card-icon{background:#e7f8ee;color:#087443}.ews-my-profile-card .label{font-size:12px;color:#667085}.ews-my-profile-card .value{font-size:21px;font-weight:800;color:#101828;margin-top:5px}.ews-my-profile-card .sub{font-size:12px;color:#667085;margin-top:4px}.ews-my-profile-panel{overflow:hidden;margin-bottom:16px;box-shadow:0 3px 12px rgba(16,24,40,.025)}.ews-my-profile-card,.ews-my-profile-panel{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ews-my-profile-card:hover,.ews-my-profile-panel:hover{border-color:#d9def0;box-shadow:0 8px 22px rgba(16,24,40,.055)}.ews-my-profile-section-link{transition:background .15s ease,color .15s ease;padding:6px 8px;border-radius:8px}.ews-my-profile-section-link:hover{background:#eef2ff;color:#2448b8}.ews-profile-security-btn,.ews-profile-photo-btn,.ews-profile-avatar-edit{transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.ews-profile-security-btn:hover,.ews-profile-photo-btn:hover{box-shadow:0 5px 12px rgba(49,88,200,.12);transform:translateY(-1px)}.ews-profile-avatar-edit:hover{transform:scale(1.06);box-shadow:0 3px 8px rgba(49,88,200,.22)}.ews-my-day{transition:transform .15s ease,box-shadow .15s ease}.ews-my-day:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(16,24,40,.06)}.ews-my-day.current-day{box-shadow:inset 0 0 0 2px #635bff,0 4px 12px rgba(99,91,255,.10);position:relative}.ews-my-day.current-day:after{content:"Today";position:absolute;top:6px;right:7px;font-size:8px;font-weight:800;color:#635bff;text-transform:uppercase;letter-spacing:.03em}.ews-achievements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ews-achievement-card{display:flex;gap:11px;align-items:flex-start;border:1px solid #eaecf0;border-radius:12px;padding:12px;background:#fcfcfd}.ews-achievement-icon{width:42px;height:42px;border-radius:12px;background:#fff7e6;display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto}.ews-achievement-name{font-weight:800;color:#101828;font-size:13px}.ews-achievement-desc{font-size:11px;color:#667085;margin-top:3px;line-height:1.45}.ews-achievement-date{font-size:10px;color:#98a2b3;margin-top:6px}.wfo-kudos-action{margin-bottom:12px}.wfo-kudos-form{border:1px solid #e4e7ec;border-radius:12px;background:#fcfcfd;padding:14px;margin-bottom:14px}.wfo-kudos-form label{display:block;font-size:12px;font-weight:700;color:#344054;margin-bottom:10px}.wfo-kudos-form select,.wfo-kudos-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d0d5dd;border-radius:9px;padding:10px;background:#fff;font:inherit;font-size:13px}.wfo-kudos-optional{font-weight:400;color:#98a2b3}.wfo-kudos-form-actions{display:flex;gap:8px}.wfo-kudos-form-actions .secondary{background:#fff}.wfo-recognition-list{display:grid;gap:10px}.wfo-recognition-item{display:flex;gap:11px;align-items:flex-start;border:1px solid #eaecf0;border-radius:12px;padding:12px;background:#fcfcfd}.wfo-recognition-icon{width:40px;height:40px;border-radius:12px;background:#fff7e6;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 auto}.wfo-recognition-title{font-size:12px;color:#475467}.wfo-recognition-title strong{color:#101828}.wfo-recognition-message{font-size:12px;color:#344054;margin-top:4px;line-height:1.45}.wfo-recognition-date{font-size:10px;color:#98a2b3;margin-top:5px}.wfo-recognition-notice{border-radius:9px;padding:9px 11px;font-size:12px;margin-bottom:12px}.wfo-recognition-notice.success{background:#ecfdf3;border:1px solid #abefc6;color:#067647}.wfo-recognition-notice.error{background:#fef3f2;border:1px solid #fecdca;color:#b42318}.ews-my-profile-table tbody tr{transition:background .12s ease}.ews-my-profile-table tbody tr:hover{background:#f8f9fd}.ews-profile-notice{animation:ews-profile-notice-in .2s ease}@keyframes ews-profile-notice-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.ews-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #eef0f3}.ews-section-head h3{font-size:16px;margin:0;color:#101828}.ews-section-head p{margin:3px 0 0;color:#667085;font-size:11px}.ews-section-head-icon{width:34px;height:34px;border-radius:10px;background:#eef2ff;color:#3158c8;display:flex;align-items:center;justify-content:center}.ews-my-profile-section-link{color:#3158c8;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap}.ews-my-profile-body{padding:16px 18px}.ews-my-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 34px}.ews-my-profile-field .k{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#98a2b3}.ews-my-profile-field .v{font-size:14px;color:#344054;margin-top:4px;word-break:break-word}.ews-my-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.ews-my-day{border:1px solid #eaecf0;border-radius:11px;padding:12px;text-align:center;background:#fafbff}.ews-my-day.wfh{background:#f2f6ff;border-color:#dbe5ff}.ews-my-day.office{background:#f5f9ff;border-color:#dbe8f5}.ews-my-day .d{font-size:11px;color:#667085}.ews-my-day .s{font-weight:800;margin-top:6px;font-size:13px;color:#101828}.ews-my-profile-table{width:100%;border-collapse:collapse}.ews-my-profile-table th,.ews-my-profile-table td{padding:10px 12px;border-bottom:1px solid #f0f2f5;text-align:left;font-size:12px}.ews-my-profile-table th{background:#fafbfc;color:#667085;font-weight:600}.ews-att-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:700}.ews-att-status.present{background:#ecfdf3;color:#067647}.ews-att-status.incomplete{background:#fff7ed;color:#b54708}.ews-profile-security{display:flex;align-items:center;justify-content:space-between;gap:16px}.ews-profile-security-main{display:flex;align-items:center;gap:12px}.ews-profile-security-icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:flex;align-items:center;justify-content:center;font-size:19px}.ews-profile-security-title{font-weight:800;color:#101828}.ews-profile-security-sub{font-size:12px;color:#667085;margin-top:2px}.ews-profile-security-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;border:1px solid #3158c8;background:#f8f8ff;color:#3158c8;font-size:12px;font-weight:800;cursor:pointer}.ews-leave-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ews-leave-card{border:1px solid #eaecf0;border-radius:12px;padding:14px;background:#fcfcfd}.ews-leave-top{display:flex;justify-content:space-between;gap:12px}.ews-leave-card .k{font-size:12px;color:#667085}.ews-leave-card .v{font-size:14px;color:#344054;margin-top:4px}.ews-leave-percent{font-size:11px;color:#667085;white-space:nowrap}.ews-leave-bar{height:7px;background:#e7ebf3;border-radius:999px;overflow:hidden;margin-top:12px}.ews-leave-bar span{display:block;height:100%;background:#3158c8;border-radius:999px;min-width:0}.ews-profile-notice{margin:0 0 14px;padding:10px 12px;border-radius:10px;font-size:13px;border:1px solid #abefc6;background:#ecfdf3;color:#067647}.ews-profile-notice.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.ews-profile-modal-backdrop{position:fixed;inset:0;background:rgba(16,24,40,.48);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.ews-profile-modal{width:min(560px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(16,24,40,.25)}.ews-profile-modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eef0f3}.ews-profile-modal-head h3{margin:0;font-size:17px}.ews-profile-modal-close{border:0;background:#f2f4f7;width:32px;height:32px;border-radius:9px;font-size:20px;cursor:pointer}.ews-profile-modal-body{padding:18px}.ews-profile-modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.ews-profile-photo-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:9px;border:1px solid #3158c8;background:#3158c8;color:#fff;font-size:12px;font-weight:700;cursor:pointer}.ews-profile-photo-btn.secondary{background:#fff;color:#3158c8}.ews-profile-photo-help{font-size:12px;color:#667085;margin-top:8px}.ews-profile-picture-preview{display:flex;align-items:center;gap:14px}.ews-profile-picture-preview .ews-my-profile-avatar{width:76px;height:76px;border-radius:20px;font-size:24px}.ews-avatar-picker{margin-top:14px;border:1px solid #e4e7ec;border-radius:12px;padding:14px;background:#fcfcfd}.ews-avatar-picker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.ews-avatar-filters{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.ews-avatar-filter{border:1px solid #e4e7ec;background:#fff;color:#475467;border-radius:999px;padding:6px 10px;font-size:12px;cursor:pointer}.ews-avatar-filter.active{background:#3158c8;color:#fff;border-color:#3158c8}.ews-avatar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}.ews-avatar-choice{position:relative;border:1px solid #e4e7ec;background:#fff;border-radius:12px;padding:4px;cursor:pointer;aspect-ratio:1}.ews-avatar-choice img{width:100%;height:100%;display:block}.ews-avatar-choice.selected{border:2px solid #3158c8;padding:3px}.ews-avatar-check{display:none;position:absolute;right:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#3158c8;color:#fff;font-size:12px;line-height:20px}.ews-avatar-choice.selected .ews-avatar-check{display:block}.ews-photo-upload-panel{margin-top:10px;padding:10px;border:1px dashed #d0d5dd;border-radius:10px;background:#fff}.ews-avatar-picker[hidden],.ews-photo-upload-panel[hidden],.ews-profile-modal-backdrop[hidden]{display:none}.ews-password-form{display:grid;gap:12px}.ews-password-field{display:grid;gap:6px}.ews-password-field label{font-size:12px;font-weight:600;color:#344054}.ews-password-field input{width:100%;box-sizing:border-box;padding:10px 11px;border:1px solid #d0d5dd;border-radius:9px;font-size:14px}.ews-password-requirements{background:#f8f9fc;border:1px solid #eaecf0;border-radius:10px;padding:11px 12px;font-size:12px;color:#667085}.ews-password-requirements strong{display:block;color:#344054;margin-bottom:5px}.ews-password-requirements ul{margin:0;padding-left:18px}.ews-password-submit{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}
            @media(max-width:900px){.ews-my-profile-grid{grid-template-columns:1fr 1fr}.ews-my-week{grid-template-columns:repeat(5,minmax(110px,1fr));overflow:auto}.ews-my-profile-quote{display:none}.ews-my-profile-head{padding:18px}}
            @media(max-width:700px){.ews-my-profile{width:100%;max-width:none;box-sizing:border-box}.ews-my-profile-head{align-items:flex-start;margin-bottom:12px;padding:14px;border-radius:15px;gap:10px}.ews-my-profile-head:after{width:150px;height:150px;right:-55px;top:-85px}.ews-my-profile-person{gap:10px;min-width:0}.ews-my-profile-avatar{width:60px;height:60px;min-width:60px;border-radius:16px;font-size:21px}.ews-profile-avatar-edit{width:23px;height:23px;font-size:10px;right:2px;bottom:2px}.ews-my-profile-title h2{font-size:21px;white-space:nowrap}.ews-my-profile-title p{display:none}.ews-my-profile-meta{gap:5px;margin-top:6px}.ews-my-profile-pill{padding:5px 8px;font-size:10px}.ews-my-profile-quote{display:none!important}.ews-my-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ews-my-profile-card{padding:9px 7px;display:block}.ews-my-profile-card-icon{width:32px;height:32px;border-radius:9px;font-size:16px;margin-bottom:6px}.ews-my-profile-card .label{font-size:8.5px;white-space:nowrap}.ews-my-profile-card .value{font-size:13px;line-height:1.2;white-space:nowrap;letter-spacing:-.02em}.ews-my-profile-card .sub{font-size:8.5px;white-space:nowrap}.ews-my-profile-card.attendance .value{font-size:12px}.ews-my-profile-card.hours .value{font-size:12px}.ews-my-profile-panel{border-radius:12px;margin-bottom:12px}.ews-section-head{padding:12px 14px}.ews-section-head h3{font-size:15px}.ews-section-head p{font-size:10px}.ews-section-head-icon{display:none}.ews-my-profile-body{padding:12px 14px}.ews-my-profile-fields{grid-template-columns:1fr;gap:11px}.ews-my-profile-field .v{font-size:13px}.ews-my-week{grid-template-columns:repeat(5,minmax(84px,1fr));gap:6px;overflow:auto;padding-bottom:2px}.ews-my-day{padding:10px 7px}.ews-my-day .s{font-size:12px}.ews-achievements-grid{grid-template-columns:1fr}.ews-leave-grid{grid-template-columns:1fr;gap:8px}.ews-profile-security{align-items:flex-start}.ews-profile-security-btn{white-space:nowrap}.ews-profile-modal-backdrop{padding:10px;align-items:flex-end}.ews-profile-modal{max-height:92vh;border-radius:16px 16px 10px 10px}.ews-profile-modal-body{padding:14px}.ews-avatar-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.ews-avatar-filter{flex:0 0 auto;white-space:nowrap}.ews-avatar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ews-profile-picture-preview .ews-my-profile-avatar{width:64px;height:64px}.ews-password-submit .ews-profile-photo-btn{flex:1}.ews-my-profile-table{min-width:620px}.ews-my-profile-table th,.ews-my-profile-table td{padding:9px 7px;font-size:10.5px}}
/* Employee app → a colleague's profile (templates/app/employee.php) */
.wfo-employee-profile-head{display:flex;align-items:center;gap:16px;margin:0 0 16px;padding:22px 24px;border:1px solid #e0e7ff;border-radius:18px;background:linear-gradient(135deg,#eef4ff 0%,#f7f5ff 58%,#eef2ff 100%);position:relative;overflow:hidden}.wfo-employee-profile-head:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;top:-125px;background:rgba(99,102,241,.10)}.wfo-employee-profile-person{display:flex;align-items:center;gap:16px;min-width:0;position:relative;z-index:1}.wfo-employee-profile-avatar{width:84px;height:84px;border-radius:24px;background:#eef2ff;border:1px solid #dbe4ff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;color:#3158c8;overflow:hidden;flex:0 0 84px;box-shadow:0 8px 22px rgba(49,88,200,.10)}.wfo-employee-profile-avatar img{width:100%;height:100%;object-fit:cover}.wfo-employee-profile-title{min-width:0}.wfo-employee-profile-title h2{margin:0;font-size:29px;line-height:1.15;color:#101828}.wfo-employee-profile-empty-head{min-height:18px}.wfo-employee-profile-work{margin-bottom:16px}.wfo-employee-profile-work h3{margin-bottom:14px}.wfo-employee-profile-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.wfo-employee-profile-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid #e4e7ec;background:rgba(255,255,255,.78);color:#475467;font-size:12px}.ews-my-profile-panel{background:#fff;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;margin-bottom:16px;box-shadow:0 3px 12px rgba(16,24,40,.025)}.ews-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #eef0f3}.ews-section-head h3{font-size:16px;margin:0;color:#101828}.ews-section-head p{margin:3px 0 0;color:#667085;font-size:11px}.ews-my-profile-section-link{color:#3158c8;text-decoration:none;font-size:12px;font-weight:700;white-space:nowrap;padding:6px 8px;border-radius:8px}.ews-my-profile-body{padding:16px 18px}.ews-achievements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ews-achievement-card{display:flex;gap:11px;align-items:flex-start;border:1px solid #eaecf0;border-radius:12px;padding:12px;background:#fcfcfd}.ews-achievement-icon{width:42px;height:42px;border-radius:12px;background:#fff7e6;display:flex;align-items:center;justify-content:center;font-size:22px;flex:0 0 auto}.ews-achievement-name{font-weight:800;color:#101828;font-size:13px}.ews-achievement-desc{font-size:11px;color:#667085;margin-top:3px;line-height:1.45}.ews-achievement-date{font-size:10px;color:#98a2b3;margin-top:6px}.wfo-kudos-action{margin-bottom:12px}.wfo-kudos-form{border:1px solid #e4e7ec;border-radius:12px;background:#fcfcfd;padding:14px;margin-bottom:14px}.wfo-kudos-form label{display:block;font-size:12px;font-weight:700;color:#344054;margin-bottom:10px}.wfo-kudos-form select,.wfo-kudos-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d0d5dd;border-radius:9px;padding:10px;background:#fff;font:inherit;font-size:13px}.wfo-kudos-optional{font-weight:400;color:#98a2b3}.wfo-kudos-form-actions{display:flex;gap:8px}.wfo-kudos-form-actions .secondary{background:#fff}.wfo-recognition-list{display:grid;gap:10px}.wfo-recognition-item{display:flex;gap:11px;align-items:flex-start;border:1px solid #eaecf0;border-radius:12px;padding:12px;background:#fcfcfd}.wfo-recognition-icon{width:40px;height:40px;border-radius:12px;background:#fff7e6;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 auto}.wfo-recognition-title{font-size:12px;color:#475467}.wfo-recognition-title strong{color:#101828}.wfo-recognition-message{font-size:12px;color:#344054;margin-top:4px;line-height:1.45}.wfo-recognition-date{font-size:10px;color:#98a2b3;margin-top:5px}.wfo-recognition-notice{border-radius:9px;padding:9px 11px;font-size:12px;margin-bottom:12px}.wfo-recognition-notice.success{background:#ecfdf3;border:1px solid #abefc6;color:#067647}.wfo-recognition-notice.error{background:#fef3f2;border:1px solid #fecdca;color:#b42318}
            @media(max-width:700px){.wfo-employee-profile-head{padding:18px}.wfo-employee-profile-avatar{width:68px;height:68px;flex-basis:68px;border-radius:20px}.wfo-employee-profile-title h2{font-size:23px}.ews-achievements-grid{grid-template-columns:1fr}.ews-section-head{padding:12px 14px}.ews-section-head h3{font-size:15px}.ews-my-profile-body{padding:12px 14px}}
/* Employee app → login (templates/app/login.php) */
.ews-login-wrap{min-height:620px;background:#f6f8fb;display:flex;align-items:center;justify-content:center;padding:35px 15px;font-family:Inter,Arial,sans-serif}
.ews-login-card{width:100%;max-width:430px;background:#fff;border:1px solid #e6eaf0;border-radius:20px;padding:38px;box-shadow:0 15px 45px rgba(16,24,40,.10)}
.ews-login-logo{font-size:25px;font-weight:800;color:#172033;margin-bottom:25px;text-align:center}
.ews-login-card h1{text-align:center;margin:0;color:#172033;font-size:28px}.ews-login-sub{text-align:center;color:#667085;margin:8px 0 25px}
.ews-login-card form p{margin:0 0 15px}.ews-login-card label{display:block;font-size:13px;font-weight:700;color:#344054;margin-bottom:6px}
.ews-login-card input[type=text],.ews-login-card input[type=password]{width:100%;padding:12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;font-size:15px}
.ews-login-card input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ews-login-card .login-remember{display:flex;align-items:center;gap:7px;font-size:13px;color:#475467;margin:12px 0 18px}
.ews-login-card .login-remember input{width:auto}.ews-login-card .login-submit{margin-top:8px}
.ews-login-card input[type=submit],.ews-login-btn{width:100%;display:inline-block;text-align:center;border:0;background:#2563eb;color:#fff;text-decoration:none;border-radius:9px;padding:12px;font-size:15px;font-weight:800;cursor:pointer}
.ews-login-error{background:#fef2f2;color:#b42318;border:1px solid #fecdca;border-radius:9px;padding:10px 12px;margin-bottom:15px;font-size:13px}
.ews-login-success{background:#ecfdf3;color:#027a48;border:1px solid #abefc6;border-radius:9px;padding:10px 12px;margin-bottom:15px;font-size:13px}
.ews-login-forgot{text-align:center;margin-top:18px}.ews-login-forgot a,.ews-login-link{color:#2563eb;text-decoration:none;font-size:13px}
.ews-pwa-help{display:none;margin:0 0 12px;padding:11px 13px;border:1px solid #d0d5dd;border-radius:12px;background:#f8fafc;font-size:12px;color:#475467}
/* Employee app → Report Center (templates/app/reports.php, report-summary.php) */
.ews-rc-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:12px}
.ews-rc-kpi{border:1px solid #e4e7ec;border-radius:12px;padding:12px 14px;background:#fff;display:grid;gap:2px}
.ews-rc-kpi small{color:#667085;font-size:12px;font-weight:600}
.ews-rc-kpi b{font-size:24px;line-height:1.2;color:#101828;font-variant-numeric:tabular-nums}
.ews-rc-delta{font-size:12px;font-weight:600;color:#667085}
.ews-rc-delta.good{color:#027a48}.ews-rc-delta.bad{color:#b42318}
.ews-rc-summary td,.ews-rc-summary th{white-space:nowrap;font-variant-numeric:tabular-nums}
.ews-rc-summary th[data-sort]{cursor:pointer;user-select:none}
.ews-rc-summary th[aria-sort=ascending]:after{content:" ▲";font-size:9px}
.ews-rc-summary th[aria-sort=descending]:after{content:" ▼";font-size:9px}
.ews-rc-summary td a{font-weight:700;color:#5b21b6;text-decoration:none}
.ews-rc-summary td a:hover{text-decoration:underline}
.ews-rc-neg{color:#b42318;font-weight:700}
.ews-rc-trend{margin:14px 0 0;padding:12px 14px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}
.ews-rc-trend figcaption{font-size:13px;font-weight:700;color:#101828;margin-bottom:8px}
.ews-rc-trend figcaption small{font-weight:500;color:#667085;margin-left:6px}
.ews-rc-trend svg{display:block;width:100%;height:110px}
.ews-rc-trend-grid{stroke:#eef0f3;stroke-width:1;vector-effect:non-scaling-stroke}
.ews-rc-trend-bar{fill:#d0d5dd}.ews-rc-trend-bar.good{fill:#12b76a}.ews-rc-trend-bar.ok{fill:#f79009}.ews-rc-trend-bar.low{fill:#f04438}
.ews-rc-trend-bar:hover{opacity:.75}
.ews-rc-trend-axis{display:flex;justify-content:space-between;font-size:11px;color:#667085;margin-top:4px}
.ews-rc-views{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.ews-rc-views>span:first-child{font-size:12px;font-weight:700;color:#667085}
.ews-rc-view-chip{display:inline-flex;align-items:center;border:1px solid #d9d6fe;background:#f4f3ff;border-radius:999px;overflow:hidden}
.ews-rc-view{padding:5px 4px 5px 12px;font-size:13px;font-weight:600;color:#5b21b6;text-decoration:none}
.ews-rc-view:hover{text-decoration:underline}
.ews-rc-view-chip form{margin:0}
.ews-rc-view-chip button{border:0;background:none;color:#7a5af8;font-size:16px;line-height:1;padding:4px 10px 6px 6px;cursor:pointer}
.ews-rc-view-chip button:hover{color:#b42318}
.ews-rc-save-view{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:-4px 0 16px;padding:10px 14px;border:1px dashed #d0d5dd;border-radius:12px;background:#fcfcfd}
.ews-rc-save-view label{display:grid;gap:4px;font-size:12px;font-weight:600;color:#475467;flex:1 1 220px}
.ews-rc-save-view input[type=text]{min-height:38px;border:1px solid #d0d5dd;border-radius:8px;padding:6px 10px;font-size:14px}
.ews-rc-save-view small{flex-basis:100%;color:#667085;font-size:12px}
.ews-rc-cap-grid th,.ews-rc-cap-grid td{text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.ews-rc-cap-grid thead th small,.ews-rc-cap-grid tbody th small{display:block;font-weight:500;color:#667085;font-size:11px}
.ews-rc-cap-grid tbody th{text-align:start;position:sticky;inset-inline-start:0;background:#fff;z-index:1}
.ews-rc-cap-grid thead th.is-today{color:#5b21b6}
.ews-rc-cap{min-width:62px;border-radius:8px}
.ews-rc-cap b{font-size:16px}.ews-rc-cap small{color:#667085}
.ews-rc-cap span,.ews-rc-cap em{display:block;font-size:11px;font-style:normal;color:#475467}
.ews-rc-cap--ok{background:#ecfdf3}.ews-rc-cap--warn{background:#fffaeb}.ews-rc-cap--over{background:#fef3f2}.ews-rc-cap--none{background:#f9fafb}
.ews-rc-cap--over b{color:#b42318}.ews-rc-cap--warn b{color:#b54708}
.ews-rc-cap-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.ews-rc-cap-legend span{font-size:12px;font-weight:600;color:#344054;padding:3px 10px;border-radius:999px;border:1px solid #e4e7ec}
.ews-report-section-head .ews-report-export-csv,.ews-report-section-head .ews-report-export-xlsx{display:inline-flex;align-items:center;gap:4px;font-size:12px!important;line-height:1.2;padding:8px 12px!important;margin:10px 6px 0 0;white-space:nowrap;min-height:0}
