*{box-sizing:border-box}:root{font-family:Noto Sans Arabic,sans-serif;color:#1c2b25;background:#f5f7f5;font-synthesis:none}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:not-allowed;opacity:.48}.app-shell{min-height:100vh}.topbar{height:76px;background:#14251f;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(5vw,20px);box-shadow:0 3px 18px #10251c20}.brand,.top-actions,.user-chip,.top-actions button,.welcome,.section-heading,.toolbar,.date-pill,.hint,.time-icon,.feedback{display:flex;align-items:center}.brand{gap:12px}.brand strong{display:block;letter-spacing:2px;font-size:16px}.brand span{display:block;font-size:11px;color:#b8c8bf;margin-top:2px}.brand-mark{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#d8bd82,#9c7d43);display:grid;place-items:center;color:#14251f;font-weight:800;font-size:22px;box-shadow:0 8px 24px #b79b5b30}.brand-mark.small{width:42px;height:42px;border-radius:13px;font-size:16px}.top-actions{gap:14px}.user-chip{gap:7px;border:1px solid #ffffff2b;padding:8px 12px;border-radius:30px;font-size:12px}.icon-button{width:38px;height:38px;border-radius:12px;background:#ffffff16;color:#fff;display:grid;place-items:center}.content{width:min(1120px,92%);margin:38px auto 70px}.welcome{justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:2px;color:#9b814c;font-weight:800;margin:0 0 8px}.welcome h1,.login-card h1,.setup-card h1{font-size:26px;margin:0 0 7px;color:#1c2b25}.muted{color:#77827c;font-size:13px;margin:0}.date-pill{gap:8px;background:#fff;border:1px solid #e6eae6;padding:11px 15px;border-radius:13px;color:#53655b;font-size:12px}.panel{background:#fff;border:1px solid #e8ece8;border-radius:20px;padding:25px;margin-bottom:22px;box-shadow:0 8px 30px #172c1d08}.section-heading{justify-content:space-between;gap:18px;margin-bottom:22px}.section-heading h2{font-size:18px;margin:0 0 5px}.status{font-size:11px;color:#3d7658;background:#edf7ef;padding:8px 12px;border-radius:30px;white-space:nowrap}.dot{display:inline-block;width:7px;height:7px;background:#3c9a62;border-radius:50%;margin-left:7px}.time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.time-card{border:1px solid #e8ece8;border-radius:16px;padding:18px;min-height:195px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#fcfdfc}.time-card.done{background:#f3faf5;border-color:#d4e9da}.time-icon{width:38px;height:38px;border-radius:12px;background:#edf2ee;color:#526d5b;justify-content:center}.done .time-icon{background:#dcefe1;color:#398254}.time-label{font-size:13px;font-weight:700}.time-value{font-size:24px;letter-spacing:.4px;color:#1c2b25}.primary,.secondary,.done-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:11px 15px;font-size:12px;font-weight:700;transition:.2s}.primary{background:#17372a;color:#fff}.primary:hover{background:#28543f}.secondary{background:#f1f4f1;color:#30483a;border:1px solid #e4e9e4}.secondary:hover{background:#e7eee8}.done-button{background:#e3f2e7;color:#39744d}.time-card button{margin-top:auto;width:100%}.hint{gap:9px;color:#718076;font-size:12px;margin-top:20px;padding:13px;background:#f7f9f7;border-radius:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid #e8ece8;border-radius:17px;padding:19px;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:5px 10px}.stat-card svg{color:#9b814c;grid-row:span 2}.stat-card span{font-size:12px;color:#78837d}.stat-card strong{font-size:25px}.stat-card .stat-date{font-size:14px}.toolbar{gap:8px;flex-wrap:wrap}.add-form{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;background:#f7f9f7;padding:16px;border-radius:14px;margin-bottom:18px}.add-form label,.table-tools label,.stack label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#526158}.add-form input,.table-tools input,.stack input{width:100%;border:1px solid #dfe6df;border-radius:10px;background:#fff;padding:10px 12px;outline:none;font-size:13px}.add-form input:focus,.stack input:focus{border-color:#8fa994;box-shadow:0 0 0 3px #8fa99420}.add-form button{align-self:end}.table-tools{display:flex;justify-content:space-between;align-items:end;margin:8px 0 15px}.table-tools input{margin-top:6px}.table-wrap{overflow:auto;border:1px solid #e9ede9;border-radius:13px}table{width:100%;border-collapse:collapse;min-width:720px;text-align:right}th{font-size:11px;color:#67756b;background:#f6f8f6;font-weight:700;white-space:nowrap}td,th{padding:14px 15px;border-bottom:1px solid #edf0ed}td{font-size:12px;color:#3f5045}td strong,td small{display:block}td small,.employee-row small{font-size:10px;color:#8a958d;margin-top:3px}.empty{text-align:center;padding:30px;color:#8b958e}.employee-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.employee-row{display:flex;align-items:center;gap:11px;border:1px solid #edf0ed;padding:11px;border-radius:12px}.employee-row>div:nth-child(2){flex:1}.employee-row strong{font-size:12px;display:block}.avatar{width:36px;height:36px;border-radius:12px;background:#e9efe9;display:grid;place-items:center;color:#315640;font-weight:800}.active-label{font-size:10px;color:#3d8153;background:#edf7ef;border-radius:20px;padding:5px 9px}.feedback{gap:8px;padding:11px 14px;border-radius:11px;font-size:12px;margin:0 0 15px}.feedback.error{background:#fff1ef;color:#a94739}.feedback.success{background:#edf8ef;color:#327349}footer{text-align:center;color:#9aa39d;font-size:11px;padding:20px}.login-shell,.setup-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 10% 10%,#e9eee8,#f7f8f6 45%,#edf1ed)}.login-card,.setup-card{width:min(430px,100%);background:#fff;border:1px solid #e6ebe6;border-radius:24px;padding:36px;box-shadow:0 20px 70px #18352312}.login-card .brand-mark,.setup-card .brand-mark{margin-bottom:20px}.login-card h1{font-size:25px}.stack{display:grid;gap:15px;margin:25px 0 18px}.full{width:100%;padding:13px}.login-card small{display:block;text-align:center;margin-top:18px}.loading{height:100vh;display:grid;place-items:center;color:#64746a}.setup-card{width:min(620px,100%)}.setup-card p{color:#65736a;line-height:2;font-size:13px}.setup-card ol{line-height:2.2;font-size:13px;color:#344a3b}.setup-card code{direction:ltr;display:inline-block;background:#f1f4f1;padding:2px 6px;border-radius:5px}@media(max-width:850px){.time-grid,.add-form{grid-template-columns:repeat(2,1fr)}.section-heading{align-items:flex-start;flex-direction:column}.toolbar{width:100%}.toolbar button{flex:1}.stats{grid-template-columns:1fr 1fr}.stats .stat-card:last-child{grid-column:span 2}}@media(max-width:540px){.topbar{height:66px;padding:0 4%}.brand span{font-size:9px}.user-chip{font-size:10px;padding:7px}.content{margin:25px auto 45px}.welcome{align-items:flex-start;flex-direction:column;gap:12px}.welcome h1{font-size:22px}.panel{padding:17px;border-radius:16px}.time-grid{gap:9px}.time-card{padding:13px;min-height:180px}.time-label{font-size:11px}.time-value{font-size:21px}.time-card button{font-size:10px;padding:10px 5px}.stats{gap:8px}.stat-card{padding:13px}.stat-card strong{font-size:21px}.add-form,.employee-list{grid-template-columns:1fr}.login-card,.setup-card{padding:26px}.date-pill{font-size:11px}}.note-box{display:grid;gap:10px;margin-top:18px}.note-box label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;color:#526158}.note-box label small{font-weight:400;color:#8a958d}.note-box textarea{width:100%;border:1px solid #dfe6df;border-radius:12px;background:#fff;padding:12px;outline:none;font:inherit;font-size:13px;resize:vertical;color:#1c2b25}.note-box textarea:focus{border-color:#8fa994;box-shadow:0 0 0 3px #8fa99420}.note-box textarea:disabled{background:#f4f6f4}.note-box .primary{justify-self:start}.note-cell{max-width:260px;white-space:pre-wrap;word-break:break-word}.note-actions{display:flex;gap:8px;flex-wrap:wrap}.note-sent{font-style:normal;font-size:11px;color:#3d7658;background:#edf7ef;border-radius:20px;padding:3px 9px;margin-right:8px}.secondary.danger{color:#a94739;background:#fff1ef;border-color:#f3d6d1}.secondary.danger:hover{background:#fde4e0}.time-card .undo-button{margin-top:6px;background:#fff1ef;color:#a94739;border:1px solid #f3d6d1;border-radius:10px;padding:8px 6px;font-size:11px;font-weight:700}.time-card .undo-button:hover{background:#fde4e0}.notes-alert{background:#fff8e6;border:1px solid #f0dfae;border-radius:16px;padding:18px;margin-bottom:22px}.notes-alert h3{margin:0 0 4px;font-size:15px;color:#7a5b12}.note-item{padding:12px 0 2px;margin-top:10px;border-top:1px solid #f0e3bd}.note-item strong{display:block;font-size:13px;color:#3f3413}.note-item p{margin:5px 0 0;font-size:13px;line-height:1.9;white-space:pre-wrap;word-break:break-word;color:#4b4020}.note-badge{display:inline-block;margin-top:6px;font-size:10px;color:#7a5b12;background:#fff3cf;border-radius:20px;padding:3px 9px}.export-box{background:#f7f9f7;border:1px solid #e8ece8;border-radius:14px;padding:16px;margin-bottom:18px;display:grid;gap:12px}.seg{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#e9efe9;border-radius:12px;padding:4px}.seg button{background:transparent;color:#4d6355;border-radius:9px;padding:10px;font-size:12px;font-weight:700}.seg button.on{background:#17372a;color:#fff}.month-pick{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#526158}.month-pick input{width:100%;border:1px solid #dfe6df;border-radius:10px;background:#fff;padding:10px 12px;font-size:13px}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.export-grid button{min-height:46px;text-align:center}

tr.absent-row td{background:#fdecea}tr.absent-row td:first-child strong{color:#c0281b}tr.absent-row td:first-child small{color:#c0281b99}.absent-tag{display:inline-block;color:#c0281b;background:#fbe3e0;border-radius:20px;padding:3px 10px;font-weight:700;font-size:11px}
.link-button{background:none;border:0;color:#315640;font-size:13px;font-weight:700;text-decoration:underline;padding:6px;margin-top:-4px;cursor:pointer}
.removed-label{font-size:10px;color:#a13a2e;background:#fbe3e0;border-radius:20px;padding:5px 10px}.remove-btn{padding:7px 12px;font-size:12px;flex:0 0 auto}.employee-row{flex-wrap:wrap}
