.status-Leave{color:#17324d;font-weight:700;background:#dcebfa!important}.database-error{z-index:100;color:#fff;background:#b42318;border-radius:999px;padding:10px 16px;font-size:12px;font-weight:800;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0003}.hero h1{font-size:clamp(34px,4.5vw,60px)!important}.hero-tools{gap:10px;min-width:290px;display:grid}.riyadh-clock{color:#174f3a;white-space:nowrap;text-align:center;background:#fff;border:1px solid #d5dbd7;border-radius:14px;padding:15px 16px;font:600 16px Georgia,Times New Roman,serif;display:block;box-shadow:0 4px 18px #1d2e2508}.break-adjustment{background:#eef5f1;border:1px solid #cfddd5;border-radius:12px;margin:14px 0;padding:12px}.break-adjustment h3{letter-spacing:.08em;color:#176344;margin:0 0 8px;font-size:12px}.break-adjustment label{margin-top:0}.break-add-row{grid-template-columns:1fr auto;gap:8px;display:grid}.break-add-row input{margin:0!important}.break-add-row button{color:#fff;background:#174f3a;border:0;border-radius:8px;padding:0 14px;font-size:12px;font-weight:800}.break-adjustment small{color:#68736e;margin-top:8px;line-height:1.5;display:block}.break-cell{min-width:88px}.break-cell span{margin-bottom:4px;font-weight:800;display:block}.break-cell button{color:#fff;letter-spacing:.04em;border:0;border-radius:999px;padding:4px 10px;font-size:9px;font-weight:900}.break-start{background:#16835d}.break-end{background:#c0392b;animation:1.5s infinite breakPulse}@keyframes breakPulse{50%{box-shadow:0 0 0 4px #c0392b22}}.manage-button{color:#174f3a;background:#dfeae4;border:0;border-radius:999px;padding:11px 16px;font-weight:800}.employee-management h3{letter-spacing:.08em;color:#8a4b30;border-bottom:1px solid #d7dfda;margin:0 0 10px;padding-bottom:9px;font-size:12px}.employee-management{background:#f4f6f4;border:1px solid #dce2de;border-radius:12px;margin:14px 0;padding:12px}.employee-management label{margin-top:0}.employee-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.employee-actions button{border:0;border-radius:8px;padding:10px;font-size:12px;font-weight:800}.rename-button{color:#fff;background:#174f3a}.delete-button{color:#a52820;background:#fee7e5}.delete-button:disabled{opacity:.4;cursor:not-allowed}.delete-confirm{color:#8d231d;background:#fff1ef;border:1px solid #ffc9c4;border-radius:9px;margin-top:10px;padding:11px}.delete-confirm strong,.delete-confirm span{display:block}.delete-confirm span{margin:5px 0 10px;font-size:11px;line-height:1.5}.delete-confirm>div{gap:7px;display:flex}.delete-confirm button{border:0;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:800}.delete-confirm button:first-child{color:#fff;background:#b42318}.delete-confirm button:last-child{color:#4d5752;background:#fff}.month-search{background:#fff;border:1px solid #d5dbd7;border-radius:14px;gap:7px;min-width:250px;padding:14px 16px;display:grid}.month-search span{color:#8a4b30;font-size:12px;font-weight:800}.month-search input{color:#174f3a;background:#eef2ef;border:0;border-radius:8px;padding:10px;font-weight:800}.month-search small{color:#7b8580}.login-box h2{margin:8px 0;font:500 34px Georgia}.login-box>p:not(.eyebrow){color:#68736e;line-height:1.7}.login-submit{color:#fff;background:#174f3a;border:0;border-radius:10px;width:100%;margin-top:8px;padding:13px;font-weight:800}.login-error{color:#b42318;background:#feecea;border-radius:8px;margin-bottom:8px;padding:9px}.pin-hint{text-align:center;color:#7b8580;margin-top:12px;display:block}.note-input{background:0 0;border:0;outline:none;width:150px;min-width:150px;padding:5px 7px;font-size:10px}.note-input:focus{background:#fff7d6;box-shadow:inset 0 0 0 1px #d6a600}.note-input::placeholder{color:#a2aaa6}.header-actions{align-items:center;gap:9px;display:flex}.admin-button{color:#174f3a;background:#fff;border:1px solid #bfc9c3;border-radius:999px;padding:11px 16px;font-weight:800}.workspace{display:block!important}.modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:50;background:#0d1f1788;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.admin-modal{width:min(440px,100%);max-height:92vh;overflow:auto;box-shadow:0 30px 90px #0004;display:block!important;position:relative!important;top:auto!important}.modal-close{background:#edf1ee;border:0;border-radius:50%;width:34px;height:34px;font-size:22px;position:absolute;top:13px;left:16px}.day-locked{color:#9f1f1f;background:#ffeded;border:1px solid #ffc8c8;border-radius:9px;padding:11px;font-size:12px;font-weight:800}.admin-row:hover{box-shadow:inset 0 0 0 2px var(--employee)}.editor input:disabled{color:#174f3a;cursor:not-allowed;background:#e7eee9;font-weight:800}.locked{color:#5d796c;margin-top:5px;font-weight:400;display:block}.stamp.empty{color:var(--employee);background:color-mix(in srgb,var(--employee) 7%,white);font-weight:800}.stamp.empty:hover{background:color-mix(in srgb,var(--employee) 18%,white);box-shadow:inset 0 0 0 2px var(--employee)}.stamp.stamped{color:#315d48;cursor:not-allowed;background:#e5efe9;font-weight:800}:root{--ink:#15211d;--muted:#68736e;--cream:#f4f1e8;--green:#174f3a;--line:#d8ddd8}*{box-sizing:border-box}html{background:#f4f1e8}body{background:var(--cream);color:var(--ink);margin:0;font-family:Arial,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.topbar{z-index:20;background:#f8f6ef;border-bottom:1px solid #cdd3ce;justify-content:space-between;align-items:center;height:78px;padding:0 4vw;display:flex;position:sticky;top:0}.brand{direction:ltr;align-items:center;gap:12px;display:flex}.brandmark{background:var(--green);color:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font-family:Georgia;font-size:23px;display:grid}.brand strong{letter-spacing:.12em;display:block}.brand span{color:var(--muted);direction:rtl;margin-top:3px;font-size:11px;display:block}.export{background:var(--green);color:#fff;border:0;border-radius:999px;gap:10px;padding:12px 19px;font-weight:700;display:flex}.hero{justify-content:space-between;align-items:flex-end;gap:35px;padding:64px 4vw 32px;display:flex}.eyebrow,.section-title span,.sheet-heading span{color:#8a4b30;letter-spacing:.08em;font-size:12px;font-weight:800}.hero h1{margin:12px 0 24px;font-family:Georgia,Times New Roman,serif;font-size:clamp(46px,6vw,82px);font-weight:500;line-height:.95}.hero h1 em{color:#8a4b30;font-weight:400}.hero p:not(.eyebrow){max-width:600px;color:var(--muted);font-size:17px;line-height:1.8}.month-switch{background:#e4e3db;border-radius:999px;flex-wrap:wrap;gap:5px;padding:5px;display:flex}.month-switch button{color:#59635e;background:0 0;border:0;border-radius:999px;padding:10px 15px}.month-switch .active{color:var(--green);background:#fff;font-weight:800;box-shadow:0 2px 10px #00000010}.metrics{grid-template-columns:repeat(4,1fr);gap:1px;padding:18px 4vw 38px;display:grid}.metrics article{border:1px solid var(--line);background:#fff;min-height:145px;padding:23px}.metrics article:first-child{border-radius:0 18px 18px 0}.metrics article:last-child{border-radius:18px 0 0 18px}.metrics span,.metrics small{color:var(--muted);font-size:12px;display:block}.metrics strong{margin:16px 0 7px;font-family:Georgia;font-size:40px;display:block}.metrics .accent{background:var(--green);color:#fff}.metrics .accent span,.metrics .accent small{color:#cfe0d8}.workspace{grid-template-columns:315px 1fr;align-items:start;gap:28px;padding:0 4vw 70px;display:grid}.editor{border:1px solid var(--line);background:#fff;border-radius:18px;padding:23px;position:sticky;top:98px;box-shadow:0 15px 45px #1d2e250a}.section-title,.sheet-heading{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.section-title h2,.sheet-heading h2{margin:4px 0 0;font-family:Georgia;font-size:27px}.section-title b{color:#d8ddd8;font:400 48px Georgia}.editor label{color:#3c4742;margin:13px 0;font-size:12px;font-weight:800;display:block}.editor input,.editor select,.editor textarea{background:#fafaf7;border:1px solid #ced5d0;border-radius:9px;outline:none;width:100%;margin-top:7px;padding:11px;display:block}.editor input:focus,.editor select:focus,.editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #174f3a18}.editor textarea{resize:vertical;min-height:70px}.two{grid-template-columns:1fr 1fr;gap:10px;display:grid}.calculation{background:#eef3ef;border-radius:12px;grid-template-columns:1fr auto;align-items:center;margin-top:17px;padding:16px;display:grid}.calculation strong{color:var(--green);font:700 24px Georgia}.calculation small{color:var(--muted);grid-column:1/-1;margin-top:5px}.add-person{gap:7px;margin-top:15px;display:flex}.add-person input{margin:0}.add-person button{color:var(--green);background:#dbe7df;border:0;border-radius:9px;padding:0 13px;font-weight:800}.sheet-wrap{min-width:0}.autosave{background:#e4eee8;border-radius:999px;padding:7px 11px;color:#54836d!important}.employee-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.employee-card{border:1px solid var(--line);background:#fff;border-radius:14px;min-width:0;overflow:hidden}.employee-name{background:color-mix(in srgb,var(--employee) 10%,white);border-bottom:3px solid var(--employee);justify-content:center;align-items:center;gap:9px;height:54px;display:flex}.employee-name span{color:#fff;background:var(--employee);border-radius:50%;place-items:center;width:27px;height:27px;font-size:10px;font-weight:800;display:grid}.employee-name strong{letter-spacing:.08em}table{border-collapse:collapse;direction:ltr;width:max-content;min-width:100%;font-size:10px}th,td{white-space:nowrap;text-align:center;border:1px solid #d7dcd8;padding:7px 8px}th{z-index:2;background:var(--employee);color:#fff;font-weight:700;position:sticky;top:0}tbody tr{cursor:pointer}tbody tr:hover{background:#edf5f0}td:nth-child(8){text-align:left;min-width:105px}.status-إجازة{color:#fff;font-weight:700;background:#f32626!important}.status-غياب{font-weight:700;background:#f3c83c!important}.status-مرضي{font-weight:700;background:#f9e2c7!important}footer{color:var(--muted);border-top:1px solid #cdd3ce;justify-content:space-between;padding:28px 4vw;font-size:12px;display:flex}footer strong{color:var(--green);letter-spacing:.1em}@media (width<=1100px){.employee-grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr 1fr}.metrics article{border-radius:0!important}.workspace{grid-template-columns:285px 1fr}}@media (width<=760px){.topbar{height:70px}.brand span{display:none}.hero{padding-top:40px;display:block}.hero h1{font-size:48px}.month-switch{border-radius:14px;width:100%;margin-top:28px}.month-switch button{flex:1}.metrics{grid-template-columns:1fr 1fr;padding-top:0}.metrics article{min-height:125px}.metrics strong{font-size:30px}.workspace{display:block}.editor{margin-bottom:35px;position:relative;top:0}.employee-grid{grid-template-columns:1fr}.sheet-heading{align-items:end}.export{padding:11px 14px}.export span{display:none}footer{flex-direction:column;gap:20px}}.table-scroll{max-height:none;overflow:auto visible}.vacation-controls{background:#eef6fc;border:1px solid #bfd5e8;border-radius:10px;margin-top:12px;padding:14px}.vacation-controls h3{color:#17324d;letter-spacing:.08em;margin:0 0 8px;font-size:12px}.vacation-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.vacation-actions button{color:#fff;background:#24648d;border:0;border-radius:9px;padding:10px 8px;font-size:11px;font-weight:800}.employee-card table{table-layout:fixed;width:100%;min-width:900px}.employee-card col.col-date{width:11%}.employee-card col.col-day{width:14%}.employee-card col.col-check{width:10%}.employee-card col.col-total{width:7%}.employee-card col.col-normal{width:8%}.employee-card col.col-overtime{width:9%}.employee-card col.col-break{width:15%}.employee-card col.col-note{width:16%}.employee-card thead tr,.employee-card th{height:32px}.employee-card tbody tr,.employee-card td{height:40px;min-height:40px;max-height:40px}.employee-card td{text-overflow:ellipsis;padding:4px 7px;overflow:hidden}.employee-card .note-input{width:100%;height:30px;min-height:30px;max-height:30px;margin:0;padding:4px 6px}.employee-card .break-cell{height:40px;min-height:40px;max-height:40px}.employee-card .break-cell button{height:28px;min-height:28px;max-height:28px;padding-top:0;padding-bottom:0}.modal-backdrop{align-items:flex-start;padding:20px}.admin-modal.admin-page{background:#f4f6f4;border-radius:24px;width:min(1480px,100vw - 40px);height:auto;max-height:calc(100vh - 40px);padding:0;overflow:hidden auto}.admin-modal.login-modal{width:min(440px,100%)}.admin-page .modal-close{z-index:4;color:#fff;background:#ffffff18;width:40px;height:40px;top:23px;left:auto;right:24px}.admin-dashboard{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:18px;height:auto;padding:0 28px 28px;display:grid;overflow:visible}.admin-dashboard-header{color:#fff;background:linear-gradient(120deg,#123f30,#1b644b 62%,#236f65);grid-column:1/-1;justify-content:space-between;align-items:center;gap:30px;min-height:135px;margin:0 -28px;padding:28px 86px 28px 32px;display:flex}.admin-dashboard-header span,.panel-heading small{letter-spacing:.12em;font-size:11px;font-weight:800}.admin-dashboard-header h2{margin:7px 0 6px;font:500 32px Georgia,serif}.admin-dashboard-header p{color:#d5e7df;margin:0;font-size:13px}.admin-context{text-align:center;background:#ffffff12;border:1px solid #ffffff30;border-radius:14px;min-width:205px;padding:14px 18px}.admin-context strong,.admin-context span{display:block}.admin-context span{color:#d5e7df;letter-spacing:normal;margin-top:5px}.admin-panel{background:#fff;border:1px solid #d7dfda;border-radius:18px;min-width:0;margin-top:10px;padding:22px;box-shadow:0 12px 35px #173b2a0b}.panel-heading{border-bottom:1px solid #e3e8e5;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:16px;display:flex}.panel-heading>span{color:#174f3a;background:#e4eee8;border-radius:12px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.panel-heading small{color:#8a4b30}.panel-heading h3{color:#17251f;margin:3px 0 0;font:500 21px Georgia,serif}.admin-panel h4{margin:0 0 10px;font-size:13px}.panel-divider{background:#e3e8e5;height:1px;margin:22px 0}.admin-panel .employee-actions,.admin-panel .vacation-actions{grid-template-columns:1fr 1fr}.admin-panel .calculation{min-height:105px;margin-top:18px}.admin-panel textarea{min-height:118px}.branding-panel{grid-column:1/-1}.branding-preview{background:#f5f8f6;border:1px solid #d7dfda;border-radius:12px;align-items:center;gap:12px;margin:16px 0;padding:14px;display:flex}.branding-preview strong,.branding-preview span{display:block}.branding-preview span{color:#68736e;margin-top:3px;font-size:11px}.brandmark.has-logo{background:#fff;border:1px solid #d7dfda;padding:0;overflow:hidden}.brandmark.has-logo img{object-fit:contain;width:100%;height:100%;display:block}.branding-actions{gap:9px;display:flex}.branding-actions button{color:#fff;background:#174f3a;border:0;border-radius:9px;padding:11px 16px;font-weight:800}.branding-actions .remove-logo{color:#a52820;background:#fee7e5}.branding-message{color:#176344;margin:12px 0 0;font-size:12px;font-weight:700}.branding-help{color:#68736e;margin-top:10px;display:block}@media (width<=1050px){.admin-dashboard{grid-template-columns:1fr 1fr}.adjustment-panel{grid-column:1/-1}}@media (width<=720px){.modal-backdrop{padding:0}.admin-modal.admin-page{border-radius:0;width:100vw;height:100vh}.admin-dashboard{grid-template-columns:1fr;padding:0 14px 20px}.admin-dashboard-header{margin:0 -14px;padding:24px 66px 24px 20px;display:block}.admin-dashboard-header h2{font-size:27px}.admin-context{text-align:left;min-width:0;margin-top:16px}.adjustment-panel{grid-column:auto}.admin-panel{padding:18px}}.checkout-confirm-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#102019a8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.checkout-confirm-card{text-align:center;background:#fff;border:1px solid #d6dfda;border-radius:22px;width:min(470px,100%);padding:30px;animation:.18s ease-out checkout-confirm-in;box-shadow:0 32px 90px #08130e66}.checkout-confirm-icon{color:#17543e;background:#e4eee8;border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto 18px;font-size:28px;font-weight:900;display:grid}.checkout-confirm-card>span{color:#8a4b30;letter-spacing:.12em;font-size:11px;font-weight:900}.checkout-confirm-card h2{color:#15211d;margin:8px 0 12px;font:500 30px Georgia,serif}.checkout-confirm-card p{color:#68736e;max-width:390px;margin:0 auto 24px;line-height:1.65}.checkout-confirm-actions{grid-template-columns:1fr 1.35fr;gap:10px;display:grid}.checkout-confirm-actions button{border-radius:11px;min-height:48px;font-weight:800}.checkout-cancel{color:#53605a;background:#fff;border:1px solid #cdd6d1}.checkout-approve{color:#fff;background:#174f3a;border:1px solid #174f3a}.checkout-approve:focus{outline-offset:2px;outline:3px solid #174f3a35}@keyframes checkout-confirm-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=520px){.checkout-confirm-card{padding:24px 20px}.checkout-confirm-actions{grid-template-columns:1fr}.checkout-approve{grid-row:1}}.telegram-panel{grid-column:1/-1;margin-top:0}.telegram-settings-grid{grid-template-columns:1.1fr 1fr .8fr;align-items:end;gap:16px;display:grid}.telegram-toggle{background:#fafaf7;border:1px solid #ced5d0;border-radius:9px;align-items:center;gap:11px;min-height:51px;padding:10px 13px;margin-bottom:0!important;display:flex!important}.telegram-toggle input{accent-color:#174f3a;height:20px;width:20px!important;margin:0!important}.telegram-toggle span,.telegram-toggle small{display:block}.telegram-toggle small{color:#68736e;margin-top:3px;font-weight:400}.telegram-footer{border-top:1px solid #e3e8e5;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding-top:16px;display:flex}.telegram-state{color:#8a4b30;font-size:12px;font-weight:800}.telegram-state.configured{color:#176044}.telegram-footer p{color:#176044;margin:6px 0 0;font-size:12px}.telegram-actions{gap:9px;display:flex}.telegram-actions button{color:#fff;background:#174f3a;border:1px solid #174f3a;border-radius:10px;min-height:43px;padding:0 18px;font-weight:800}.telegram-actions button+button{color:#174f3a;background:#fff}.telegram-actions button:disabled{opacity:.5;cursor:not-allowed}.telegram-help{color:#68736e;margin-top:14px;display:block}@media (width<=900px){.telegram-settings-grid{grid-template-columns:1fr}}@media (width<=620px){.telegram-footer{flex-direction:column;align-items:stretch}.telegram-actions{grid-template-columns:1fr;display:grid}}
.employee-color-control{background:#fafaf7;border:1px solid #ced5d0;border-radius:9px;display:flex;align-items:center;gap:12px;margin-top:7px;padding:7px 10px}.editor .employee-color-control input[type=color]{cursor:pointer;background:transparent;border:0;border-radius:8px;width:54px;height:38px;margin:0;padding:0;box-shadow:none}.employee-color-control span{color:#53605a;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:700;text-transform:uppercase}.employee-color-control:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #174f3a18}.employee-photo-control{background:#fafaf7;border:1px solid #ced5d0;border-radius:10px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:7px;padding:8px}.employee-photo-control>span,.employee-photo-control>img{background:var(--employee,#174f3a);color:#fff;border-radius:50%;object-fit:cover;place-items:center;width:44px;height:44px;font-size:12px;font-weight:900;display:grid}.editor .employee-photo-control input[type=file]{background:transparent;border:0;margin:0;padding:5px;width:100%;font-size:11px}.remove-employee-photo{color:#a52820;background:#fee7e5;border:0;border-radius:8px;min-height:36px;padding:0 10px;font-size:11px;font-weight:800}.remove-employee-photo:disabled{opacity:.4;cursor:not-allowed}.employee-name span.has-photo{background:#fff;padding:0;overflow:hidden}.employee-name span.has-photo img{object-fit:cover;width:100%;height:100%;display:block}