:root{--blue:#2356d8;--blue-dark:#1743ac;--blue-pale:#edf3ff;--text:#172542;--muted:#71809a;--border:#e5eaf3;--bg:#f5f7fb;--white:#fff;--radius:18px}*{box-sizing:border-box}html,body{min-height:100%;color:var(--text);background:var(--bg);margin:0;font-family:Cairo,system-ui,Segoe UI,sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer;transition:background .18s,transform .18s,border .18s}button:disabled{opacity:.5;cursor:default}button:not(:disabled):active{transform:scale(.985)}input{color:var(--text);width:100%;min-width:0;min-height:45px;direction:inherit;background:#fff;border:1px solid #dfe6f2;border-radius:11px;outline:0;padding:10px 12px}input:focus{border-color:#87a5f5;box-shadow:0 0 0 3px #2356d814}input[type=date],input[type=time],input[type=number]{text-align:right;direction:ltr}input[type=checkbox]{width:auto;min-height:auto;accent-color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.8px;margin-bottom:10px;font-size:clamp(25px,3vw,34px);line-height:1.55}h2{margin-bottom:9px;font-size:19px}h3{margin-bottom:12px;font-size:16px}p{line-height:1.85}label{font-size:13px;font-weight:700;display:block}label input{margin-top:7px}small{font-size:12px}.muted{color:var(--muted);font-weight:500}.small{font-size:12px}.text-blue{color:var(--blue)}.eyebrow{color:#5579ce;letter-spacing:.2px;font-size:12px;font-weight:800}.brand,.brand-large{color:#182b57;align-items:center;gap:10px;font-size:20px;font-weight:800;display:inline-flex}.brand-large{font-size:28px}.brand-mark{background:var(--blue);color:#fff;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;box-shadow:0 7px 16px #2356d82d}.brand-large .brand-mark{border-radius:15px;width:48px;height:48px}.brand-label{color:#4568b8;background:#e9f0ff;border-radius:7px;padding:3px 9px;font-size:11px;font-weight:700}.card,.auth-card{border:1px solid var(--border);border-radius:var(--radius);background:#fff;box-shadow:0 8px 28px #273b6c08}.form{flex-direction:column;gap:16px;margin-top:19px;display:flex}.form label{line-height:1.6}.input-wrap{color:#8b9bb4;background:#fff;border:1px solid #dfe6f2;border-radius:11px;align-items:center;gap:9px;margin-top:7px;padding-inline:13px;display:flex}.input-wrap:focus-within{border-color:#87a5f5;box-shadow:0 0 0 3px #2356d814}.input-wrap input{margin:0;padding-inline:0;box-shadow:none!important;border:0!important}.button{border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 19px;font-size:13px;font-weight:800;display:inline-flex}.button.primary{background:var(--blue);color:#fff;box-shadow:0 6px 14px #2356d824}.button.primary:hover:not(:disabled){background:var(--blue-dark)}.button.light{color:#2750b3;background:#f0f4fe;border-color:#e4ecfb}.button.light:hover{background:#e7efff}.button.full{width:100%}.button.big{border-radius:13px;min-height:56px;font-size:17px}.text-button{color:var(--blue);background:0 0;border:0;align-items:center;gap:5px;padding:5px 0;font-size:12px;font-weight:800;display:inline-flex}.text-button:hover{text-decoration:underline}.icon-button{color:#64718d;background:#fff;border:1px solid #e8ebf2;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.icon-button:hover{color:var(--blue);background:#f5f8ff}.message{border-radius:11px;align-items:center;gap:8px;padding:11px 13px;font-size:13px;font-weight:600;line-height:1.7;display:flex}.message.error{color:#ba294b;background:#fff1f2;border:1px solid #ffdae1}.message.success{color:#20804a;background:#eaf8f0;border:1px solid #c8efdc}.message button{color:inherit;background:0 0;border:0;place-items:center;margin-inline-start:auto;display:grid}.footnote{text-align:center;color:#a3aec1;margin-top:20px;font-size:11px}.form-hint{color:#7b8aa0;align-items:center;gap:7px;margin-bottom:0;font-size:12px;font-weight:600;line-height:1.9;display:flex}.empty{text-align:center;color:#96a4b8;margin:0;padding:24px}.auth-shell{background:#f7f9fd;grid-template-columns:minmax(390px,55%) minmax(300px,45%);min-height:100vh;display:grid}.auth-panel{align-self:center;width:100%;max-width:720px;margin:auto;padding:54px clamp(28px,7vw,115px)}.auth-panel>.eyebrow{margin:32px 0 10px;display:block}.auth-intro{max-width:370px;margin-bottom:25px}.auth-card{max-width:425px;padding:27px 28px}.auth-card h2{font-size:19px}.auth-card p{margin-bottom:20px}.role-option{text-align:right;border:1px solid var(--border);width:100%;color:var(--text);background:#fff;border-radius:14px;align-items:center;gap:13px;margin-top:12px;padding:13px 12px;display:flex}.role-option:hover{background:#f9fbff;border-color:#bdcef9}.role-option>span:nth-child(2){flex-direction:column;flex:1;gap:3px;display:flex}.role-option small{color:var(--muted)}.role-option>svg{color:#9bacc9}.role-icon{width:42px;height:42px;color:var(--blue);background:#eaf1ff;border-radius:12px;place-items:center;display:grid}.role-icon.soft{color:#299371;background:#eaf8f2}.auth-decoration{color:#fff;isolation:isolate;background:linear-gradient(145deg,#2a5ddd,#163991);flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:relative;overflow:hidden}.auth-decoration:before,.auth-decoration:after{content:"";z-index:-1;border:1px solid #fff2;border-radius:50%;position:absolute}.auth-decoration:before{width:660px;height:660px;transform:translate(180px,200px)}.auth-decoration:after{width:520px;height:520px;transform:translate(-180px,-220px)}.auth-decoration p{text-align:center;font-size:31px;font-weight:800;line-height:2}.decor-graphic{background:#ffffff18;border:1px solid #fff5;border-radius:55px;place-items:center;width:250px;height:250px;display:grid;transform:rotate(-8deg)}.app-shell{max-width:1200px;margin:auto;padding:23px 26px 90px}.app-shell.narrow{max-width:680px}.app-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:0 0 23px;display:flex}.header-actions{align-items:center;gap:16px;display:flex}.profile{color:#5d7196;align-items:center;gap:7px;font-weight:700;display:flex}.admin-hero{justify-content:space-between;align-items:center;padding:36px 0 23px;display:flex}.admin-hero h1{margin:5px 0 3px}.admin-hero p{margin:0}.hero-symbol{width:73px;height:73px;color:var(--blue);background:#e5edff;border-radius:21px;place-items:center;display:grid}.tabs{border-bottom:1px solid var(--border);align-items:center;gap:14px;display:flex;overflow:auto}.tabs button{color:#7f8faa;white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;align-items:center;gap:9px;padding:13px 15px 15px;font-weight:800;display:inline-flex}.tabs button.active{color:var(--blue);border-color:var(--blue)}.tabs button:hover{color:var(--blue)}.global-message{margin-top:18px}.section-block{margin-top:28px}.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;display:flex}.section-title h2{align-items:center;gap:9px;margin:0 0 4px;display:flex}.section-title p{margin:0}.date-select{border:1px solid var(--border);color:#5e7198;background:#fff;border-radius:12px;align-items:center;gap:9px;padding:2px 12px;display:flex}.date-select input{border:none;width:160px;min-height:40px;margin:0;box-shadow:none!important}.stats-grid{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px;display:grid}.stat-card{border:1px solid var(--border);background:#fff;border-radius:16px;flex-direction:column;gap:5px;min-height:114px;padding:20px;display:flex;position:relative;box-shadow:0 5px 20px #21397008}.stat-card span{color:#7e8ba4;font-size:12px;font-weight:700}.stat-card strong{color:#1e3260;font-size:32px;font-weight:800;line-height:1.2}.stat-card svg{color:#adc1f3;position:absolute;bottom:22px;left:17px}.stat-card:nth-child(2) svg{color:#a1d9be}.stat-card:nth-child(3) svg{color:#f0c488}.stat-card:nth-child(4) svg{color:#e3a8b4}.table-card{overflow:hidden}.table-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:16px 19px;display:flex}.table-header h3{margin:0}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:right;white-space:nowrap;width:100%}th{color:#8492aa;background:#fafbfe;font-size:12px;font-weight:700}th,td{border-bottom:1px solid #eef1f7;padding:15px 18px}tr:last-child td{border-bottom:0}td{color:#60718e;font-weight:600}td b{color:#273955}.avatar{width:31px;height:31px;color:var(--blue);background:#e7eeff;border-radius:10px;place-items:center;margin-inline-end:9px;font-size:13px;font-weight:800;display:inline-grid}.tag{white-space:nowrap;color:#6f7d96;background:#f1f4f9;border-radius:99px;align-items:center;padding:4px 11px;font-size:11px;font-weight:800;display:inline-flex}.tag.ok{color:#218354;background:#e8f7ee}.tag.blue{color:#2c5cc9;background:#e9f0ff}.tag.warn{color:#b67920;background:#fff2e3}.tag.danger{color:#bd4c55;background:#fff0f1}.tag.neutral{color:#7c899c;background:#f1f4f8}.subheading{margin-top:29px}.events-list{padding:5px 20px}.event{border-bottom:1px solid #edf1f7;align-items:center;gap:10px;padding:13px 0;display:flex}.event:last-child{border-bottom:0}.event>span:nth-child(2){color:#6c7891;flex:1}.event b{color:#263958}.event small{color:#95a3b6}.event-dot{background:#4e8bec;border-radius:100%;flex:0 0 8px;width:8px;height:8px}.two-col{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:19px;display:grid}.pad-card{padding:22px}.pad-card h2,.pad-card h3{align-items:center;gap:9px;display:flex}.pad-card p{margin:6px 0 15px}.inline-controls{align-items:center;gap:14px;display:flex}.search-field{max-width:220px}.check-label{white-space:nowrap;color:#76849c;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.action-list{flex-wrap:wrap;gap:7px;display:flex}.small-button{color:#5e6c88;white-space:nowrap;background:#fff;border:1px solid #e6ebf4;border-radius:8px;align-items:center;gap:5px;padding:6px 10px;font-size:11px;font-weight:800;display:inline-flex}.small-button:hover{background:#f9fbff}.small-button.blue{color:#2a55b7;background:#edf3ff;border-color:#e2ebff}.small-button.danger-text{color:#b54e5c}.settings-form{flex-direction:column;gap:13px;max-width:840px;display:flex}.settings-form h3{margin:0 0 4px}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}.rule{background:var(--border);height:1px;margin:9px 0}.day-picker{flex-wrap:wrap;gap:8px;display:flex}.day-picker label{border:1px solid var(--border);color:#7b8ba4;background:#fff;border-radius:10px;align-items:center;gap:7px;padding:8px 10px;display:inline-flex}.day-picker label.selected{color:var(--blue);background:#f5f8ff;border-color:#bbd0ff}.modal-backdrop{z-index:10;background:#0d1d3b9c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.qr-modal{text-align:center;width:min(420px,100%);padding:27px;position:relative;box-shadow:0 35px 80px #0b193940}.modal-close{position:absolute;top:15px;left:15px}.illustration-icon{width:57px;height:57px;color:var(--blue);background:#e9f0ff;border-radius:17px;place-items:center;margin:0 auto 12px;display:grid}.qr-modal h2{margin:5px 0}.qr-modal p{margin:6px 0 13px}.qr-modal .button{margin-top:9px}.qr-modal .form-hint{justify-content:center}.qr-visual{border:1px solid var(--border);border-radius:13px;margin:5px auto;padding:13px;display:inline-block}.qr-visual svg{max-width:100%;display:block}.center-screen{justify-content:center;align-items:center;gap:12px;min-height:100vh;padding:22px;display:flex}.activation-card{width:100%;max-width:470px;padding:25px}.activation-card h1{text-align:center;margin:0 0 6px;font-size:23px}.activation-card>.muted{text-align:center}.activation-card .form{margin-top:18px}.activation-card .illustration-icon{margin-top:10px}.scanner{background:#071525;border-radius:16px;max-width:330px;height:245px;margin:16px auto;position:relative;overflow:hidden}.scanner video{object-fit:cover;width:100%;height:100%}.scanner-frame{pointer-events:none;border:3px solid #9ac7ff;border-radius:15px;width:150px;height:150px;margin:auto;position:absolute;inset:0;box-shadow:0 0 0 500px #00000039}.scanner .message{position:absolute;bottom:5px;left:5px;right:5px}.employee-greeting{padding:29px 0 19px}.employee-greeting h1{margin:4px 0 1px}.employee-greeting p{margin:0}.check-card{text-align:center;background:#fff;border:1px solid #dfe7f9;border-radius:23px;padding:30px 27px;box-shadow:0 15px 40px #2947780b}.status-pill{border-radius:99px;align-items:center;gap:8px;padding:6px 14px;font-size:12px;font-weight:800;display:inline-flex}.status-pill.waiting{color:#74849d;background:#f0f3fa}.status-pill.working{color:#248856;background:#eaf7f1}.status-pill.done{color:#2f61bf;background:#e9f0ff}.pulse-dot{background:currentColor;border-radius:50%;width:8px;height:8px}.clock-symbol{width:104px;height:104px;color:var(--blue);background:#edf3ff;border-radius:30px;place-items:center;margin:26px auto 14px;display:grid}.check-card h2{margin-bottom:1px;font-size:24px}.check-card .muted{margin:0}.time-grid{justify-content:center;align-items:center;gap:36px;margin:28px auto;display:flex}.time-grid div{flex-direction:column;gap:4px;display:flex}.time-grid small{color:#8999b0;font-weight:700}.time-grid b{direction:ltr;font-size:24px}.time-divider{background:#e3e9f5;width:1px;height:44px}.late-note{color:#b0782c;background:#fff5e8;border-radius:8px;margin:0 0 12px;padding:7px;font-size:12px}.check-card .message{text-align:right;margin-top:14px}.check-disclaimer{color:#98a4b4;justify-content:center;align-items:center;gap:7px;margin-top:19px;font-size:11px;font-weight:700;display:flex}.history-list{padding:0 19px}.history-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.history-row:last-child{border-bottom:0}.history-row>span:first-child{flex-direction:column;gap:3px;display:flex}.history-row small{color:#94a3b5}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-decoration{display:none}.auth-panel{padding:35px 22px}.auth-panel>.eyebrow{margin-top:35px}.auth-card{max-width:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.admin-hero{padding-top:25px}}@media (max-width:550px){.app-shell{padding:17px 15px 65px}.brand-label,.profile{display:none}.admin-hero h1{font-size:24px}.admin-hero{align-items:flex-start}.hero-symbol{border-radius:14px;width:48px;height:48px}.hero-symbol svg{width:25px}.tabs{gap:1px}.tabs button{gap:5px;padding:12px 9px;font-size:11px}.section-title{flex-direction:column;align-items:flex-start}.date-select{width:100%}.date-select input{flex:1;width:100%}.stats-grid{gap:9px}.stat-card{min-height:100px;padding:14px}.stat-card strong{font-size:26px}.stat-card span{font-size:11px}.stat-card svg{width:18px;left:10px}.inline-controls{flex-wrap:wrap}.search-field{width:100%;max-width:none}.table-header{flex-direction:column;align-items:stretch}.form-grid{grid-template-columns:1fr}.check-card{padding:24px 16px}.time-grid{gap:22px}.auth-card{padding:21px}.brand-large{font-size:25px}}
