.emp-shell{padding:22px;display:grid;gap:16px;color:var(--text,#17243a)}.emp-shell header{display:flex;justify-content:space-between;gap:16px;align-items:center}.emp-shell h1{margin:4px 0}.emp-shell p,.emp-shell small{color:var(--muted,#64748b)}.emp-shell nav,.emp-actions{display:flex;gap:8px;flex-wrap:wrap}.emp-shell button{border:1px solid var(--border,#dce3ef);border-radius:9px;padding:10px 14px;background:var(--surface,#fff);cursor:pointer;font:inherit}.emp-shell button.active,.emp-shell button.primary{background:#245de6;color:white}.emp-card,.emp-kpis article{background:var(--surface,#fff);border:1px solid var(--border,#dfe6f0);border-radius:14px;padding:18px}.emp-card h2{font-size:17px;margin:8px 0 14px}.emp-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.emp-form label{display:grid;gap:6px;font-size:12px;font-weight:700}.emp-form input,.emp-form select{padding:10px;border:1px solid var(--border,#d5dfec);border-radius:8px;background:var(--surface,#fff);color:inherit}.emp-form button{justify-self:start}.emp-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.emp-kpis article{display:grid;gap:8px}.emp-kpis b{font-size:24px}.emp-table-wrap{overflow:auto}.emp-shell table{border-collapse:collapse;width:100%;font-size:12px}.emp-shell th,.emp-shell td{padding:10px;border-bottom:1px solid var(--border,#e5eaf1);text-align:left;white-space:nowrap}.emp-shell th{text-transform:capitalize;color:var(--muted,#64748b)}.emp-note,.emp-empty,.emp-loading{padding:12px;background:var(--subtle,#f6f8fc);border-radius:8px;color:var(--muted,#64748b)}.emp-error{padding:20px;color:#a61b1b;background:#fff4f3;border:1px solid #ffc9c5;border-radius:12px}@media(max-width:650px){.emp-shell{padding:12px}.emp-form,.emp-kpis{grid-template-columns:1fr}.emp-shell header{display:grid}}

.emp-form fieldset{border:1px solid var(--border,#d5dfec);border-radius:9px;padding:10px;min-width:0}.emp-form legend{font-size:12px;font-weight:700;padding:0 5px}.emp-weekdays{display:flex;gap:10px;flex-wrap:wrap}.emp-form .emp-check{display:flex;align-items:center;gap:6px;font-weight:600}.emp-form .emp-check input{width:auto}.emp-form label[hidden]{display:none}

.emp-header-actions{display:flex;gap:8px;flex-wrap:wrap}
.emp-column-picker{display:flex;justify-content:flex-end;position:relative;margin:0 0 8px}
.emp-column-picker>button{border:1px solid #d5deeb;background:#fff;border-radius:8px;padding:7px 12px;cursor:pointer}
.emp-column-panel{position:absolute;z-index:40;right:0;top:36px;min-width:190px;max-height:260px;overflow:auto;background:#fff;border:1px solid #d5deeb;border-radius:10px;padding:10px;box-shadow:0 8px 24px rgba(15,23,42,.14);display:grid;gap:7px}
.emp-column-panel[hidden]{display:none}
.emp-column-panel label{display:flex;align-items:center;gap:8px;font-size:12px}
.emp-table-wrap td[hidden],.emp-table-wrap th[hidden]{display:none}
.emp-modal[hidden]{display:none}
.emp-modal{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.55);display:grid;place-items:center;padding:18px}
.emp-modal-card{width:min(720px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;padding:22px;box-shadow:0 18px 50px rgba(0,0,0,.25)}
.emp-notice{padding:10px 14px;margin:10px 0;border-radius:8px;background:#e8f5ed;color:#17633a}
.emp-notice.bad{background:#fff0f0;color:#a21d2d}

/* Employee Attendance column chooser: match Apni Dukaan's readable dropdown. */
#employeeAttendanceMount .emp-column-picker{position:relative;z-index:50;overflow:visible}
#employeeAttendanceMount .emp-column-panel{width:240px;min-width:240px;max-width:min(280px,calc(100vw - 36px));max-height:min(320px,60vh);overflow-x:hidden;overflow-y:auto;box-sizing:border-box;padding:10px;gap:6px}
#employeeAttendanceMount .emp-column-panel label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:9px;width:100%;min-width:0;box-sizing:border-box;margin:0;padding:5px 3px;white-space:nowrap;line-height:1.35}
#employeeAttendanceMount .emp-column-panel input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0;accent-color:#1677f2}
#employeeAttendanceMount .emp-message-modal{position:fixed;inset:0;z-index:100200;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px}
#employeeAttendanceMount .emp-message-modal[hidden]{display:none}
.emp-message-card{width:min(440px,calc(100vw - 36px));box-sizing:border-box;background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.24);text-align:center;color:#17243a}
.emp-message-icon{width:34px;height:34px;display:grid;place-items:center;margin:0 auto 10px;border-radius:50%;background:#fff0e6;color:#b45309;font-weight:800}
.emp-message-card h2{margin:0 0 9px;font-size:18px}
.emp-message-card p{margin:0 0 18px;overflow-wrap:anywhere;color:#475569;line-height:1.5}
.emp-message-card button{min-width:90px;background:#245de6;color:#fff;border-color:#245de6}
@media(max-width:650px){.emp-message-card{padding:20px}}
