:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#151515;background:#f6f7f9;font-synthesis:none;--orange: #e75125;--orange-dark: #c83f18;--black: #151515;--muted: #6b7280;--border: #e5e7eb;--surface: #ffffff;--danger: #b42318;--success: #067647}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f6f7f9}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.center-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-bg{background:radial-gradient(circle at top right,rgba(231,81,37,.16),transparent 34%),#0f0f10}.auth-card{width:min(440px,100%);background:#fff;border-radius:20px;padding:34px;box-shadow:0 24px 70px #00000038}.auth-intro{display:flex;align-items:flex-start;gap:16px}.auth-card h1{margin:4px 0 6px;font-size:27px;letter-spacing:-.02em}.auth-card p{color:var(--muted);line-height:1.55}.auth-eyebrow{margin:0;color:var(--orange)!important;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}.auth-subtitle{margin:0;font-size:14px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:28px 0 22px;background:#f2f3f5;border-radius:10px}.auth-tab{border:0;border-radius:7px;padding:9px;background:transparent;color:var(--muted);font-weight:700}.auth-tab.active{background:#fff;color:var(--black);box-shadow:0 1px 4px #0000001a}.auth-form{display:grid;gap:15px}.auth-form label{display:grid;gap:7px;color:#36383d;font-size:13px;font-weight:650}.auth-message{margin:0;padding:10px 12px;border-radius:8px;font-size:13px}.auth-message.error{color:var(--danger);background:#fef3f2}.auth-message.success{color:var(--success);background:#ecfdf3}.auth-link{display:block;margin:16px auto 0;border:0;padding:0;background:transparent;color:var(--orange-dark);font-size:13px;font-weight:700}.auth-divider{display:flex;align-items:center;gap:10px;margin:22px 0 16px;color:#9a9da5;font-size:12px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--border)}.google-btn{display:flex;align-items:center;justify-content:center;gap:10px}.google-icon{display:grid;place-items:center;width:20px;height:20px;color:#4285f4;font-size:17px;font-weight:800}.auth-note{margin:16px 0 0;text-align:center;font-size:12px}.document-status{display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:13px}.document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.document-dropzone{position:relative;min-height:178px;display:grid;place-items:center;align-content:center;gap:7px;padding:22px;border:1.5px dashed #c9cdd5;border-radius:14px;background:#fafbfc;color:#36383d;text-align:center;overflow:hidden}.document-dropzone:hover,.document-dropzone.dragging{border-color:var(--orange);background:#fff8f5}.document-dropzone>span{color:var(--muted);font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-dropzone small{color:#8b909a;font-size:11px}.document-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.document-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff0ea;font-size:21px}.profile-preview{width:min(100%,180px);height:110px;object-fit:contain;border-radius:10px;border:2px solid #ffd5c7;background:#fff}.brand-mark{width:52px;height:52px;border-radius:14px;background:var(--orange);color:#fff;display:grid;place-items:center;font-weight:800;font-size:24px}.brand-mark.small{width:38px;height:38px;border-radius:10px;font-size:18px}.sidebar-brand-logo{display:block;width:44px;height:48px;object-fit:contain;flex-shrink:0}.auth-brand-logo{display:block;width:52px;height:56px;object-fit:contain;flex-shrink:0}.shell-avatar{width:38px;height:38px;border-radius:10px;object-fit:cover}.topbar-profile{display:flex;align-items:center;gap:11px}.topbar-avatar{width:38px;height:38px;flex-shrink:0;border-radius:50%;object-fit:cover}.topbar-account,.topbar-identity{min-width:0}.topbar-identity h2,.topbar-identity p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-button{display:none;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border:1px solid var(--border);border-radius:10px;color:var(--black);background:#fff}.sidebar-backdrop{display:none}:where(button,a):focus-visible{outline:2px solid var(--orange);outline-offset:3px}.avatar-fallback{display:grid;place-items:center;background:var(--orange);color:#fff;font-weight:800}.info-box{display:grid;gap:6px;background:#fafafa;border:1px solid var(--border);padding:14px;border-radius:12px;margin:18px 0}.btn{border:1px solid var(--border);border-radius:10px;padding:10px 14px;background:#fff;color:var(--black);font-weight:650}.btn:hover{filter:brightness(.98)}.btn.primary{background:var(--orange);color:#fff;border-color:var(--orange)}.btn.primary:hover{background:var(--orange-dark)}.btn.secondary{background:#f3f4f6}.btn.ghost{background:transparent}.btn.danger{background:#fff1f0;color:var(--danger);border-color:#fecdca}.btn.full{width:100%;margin-top:18px}.btn.small{padding:7px 10px;font-size:13px}.app-layout{min-height:100vh;display:grid;grid-template-columns:275px 1fr}.sidebar{position:sticky;top:0;height:100vh;height:100dvh;overflow:hidden;background:linear-gradient(180deg,#fff7ed,#fffbf5,#fff 32%);color:#1e293b;border-right:1px solid #f1f5f9;padding:16px 14px 14px;display:flex;flex-direction:column;box-shadow:2px 0 16px #00000005;z-index:30}.sidebar,.sidebar *{scrollbar-width:none!important;-ms-overflow-style:none!important}.sidebar::-webkit-scrollbar,.sidebar *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}.brand{display:flex;align-items:center;gap:12px;padding:4px 6px 14px;margin-bottom:4px;border-bottom:1px solid rgba(226,232,240,.6);flex-shrink:0}.sidebar-brand-box{width:44px;height:44px;background:#fff;border:1.5px solid #ffedd5;border-radius:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #ea580c14;flex-shrink:0;padding:4px}.sidebar-brand-logo{display:block!important;width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;object-fit:contain!important}.sidebar-brand-text{min-width:0;display:flex;flex-direction:column}.sidebar-brand-text strong{display:block;font-size:15.5px;font-weight:750;color:#0f172a;letter-spacing:-.01em;line-height:1.25}.sidebar-brand-text span{display:block;margin-top:2px;color:#ea580c;font-size:11.5px;font-weight:600;letter-spacing:.01em;text-transform:capitalize}.sidebar nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:4px;padding:8px 2px 14px 0}.nav-section{color:#94a3b8;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.08em;margin:14px 10px 6px}.nav-link{display:flex;align-items:center;gap:12px;color:#475569;font-size:13.5px;font-weight:550;padding:7px 10px;border-radius:12px;text-decoration:none;transition:all .18s cubic-bezier(.4,0,.2,1);position:relative}.nav-link:hover{color:#0f172a;background:#f8fafc}.nav-icon{width:36px;height:36px;border-radius:10px;background:#f1f5f9;color:#64748b;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .18s ease}.nav-link:hover .nav-icon{background:#ffedd5;color:#ea580c}.nav-label{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-badge{font-size:11px;font-weight:700;padding:2px 7px;border-radius:10px;background:#ea580c;color:#fff}.nav-link.active{background:linear-gradient(135deg,#f97316,#ea580c)!important;color:#fff!important;font-weight:650;box-shadow:0 6px 16px -2px #ea580c6b}.nav-link.active .nav-icon{background:#ffffff38!important;color:#fff!important}.nav-group{display:flex;flex-direction:column;margin-bottom:2px}.nav-group-header{display:flex;align-items:center;gap:12px;width:100%;border:none;background:transparent;color:#475569;font-size:13.5px;font-weight:550;padding:7px 10px;border-radius:12px;cursor:pointer;text-align:left;transition:all .18s ease;position:relative}.nav-group-header:hover{color:#0f172a;background:#f8fafc}.nav-group-header:hover .nav-icon{background:#ffedd5;color:#ea580c}.nav-group.has-active>.nav-group-header{color:#0f172a;font-weight:650}.nav-group.has-active>.nav-group-header .nav-icon{background:#ffedd5;color:#ea580c}.nav-chevron{width:14px;height:14px;color:#94a3b8;margin-left:auto;flex-shrink:0;transition:transform .2s cubic-bezier(.4,0,.2,1)}.nav-chevron.is-open{transform:rotate(180deg);color:#ea580c}.nav-submenu{display:flex;flex-direction:column;gap:2px;margin:3px 0 6px 18px;padding-left:14px;border-left:2px solid #fed7aa;animation:navSubmenuSlide .18s ease-out}@keyframes navSubmenuSlide{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.nav-sublink{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:8px;font-size:13px;font-weight:500;color:#64748b;text-decoration:none;transition:all .15s ease}.nav-sublink:hover{color:#0f172a;background:#f8fafc}.nav-sublink.active{color:#ea580c!important;background:#fff7ed!important;font-weight:650}.nav-sublabel{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-footer{flex-shrink:0;margin-top:auto;padding-top:10px;background:transparent;border-top:1px solid rgba(226,232,240,.6)}.sidebar-profile-card{background:#fff8f0;border:1.5px solid #ffedd5;border-radius:18px;padding:8px 10px;display:flex;align-items:center;gap:10px;box-shadow:0 2px 8px #ea580c0a}.sidebar-card-avatar{width:38px;height:38px;border-radius:12px;overflow:hidden;flex-shrink:0;background:#ea580c;display:grid;place-items:center}.sidebar-card-avatar img{width:100%;height:100%;object-fit:cover}.sidebar-card-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.sidebar-card-title{font-size:13px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}.sidebar-card-badge{align-self:flex-start;background:#fff;border:1px solid #fdba74;color:#ea580c;font-size:10.5px;font-weight:650;padding:1px 7px;border-radius:6px;white-space:nowrap}.sidebar-card-logout{width:36px;height:36px;border-radius:10px;background:#fff;border:1px solid #fed7aa;display:flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0;cursor:pointer;transition:all .15s ease;box-shadow:0 1px 2px #0000000a}.sidebar-card-logout:hover{background:#fff1f0;border-color:#fecdca;color:#b42318}.content{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--border);background:#ffffffeb;display:flex;align-items:center;justify-content:flex-end;padding:0 30px}.topbar h2{font-size:14px;margin:0;text-align:right}.topbar p{font-size:12px;color:var(--muted);margin:4px 0 0}.content>section{padding:30px;max-width:1500px;margin:0 auto}.page-heading{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:end;margin-bottom:22px}.page-heading h1{margin:0;font-size:28px}.page-heading p{margin:6px 0 0;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.dashboard-section{margin-bottom:28px}.dashboard-section-title{margin:0 0 12px;font-size:16px}.dashboard-section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:12px}.dashboard-section-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:0}.attendance-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:0}.stat-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px}.clickable-stat{cursor:pointer}.clickable-stat:hover{border-color:var(--orange);transform:translateY(-1px)}.stat-card span{display:block;color:var(--muted);font-size:13px}.stat-card strong{display:block;font-size:26px;margin-top:9px}.stat-card small{display:block;color:var(--muted);margin-top:5px}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;margin-bottom:20px}.card h3{margin-top:0}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.detail-grid div{background:#fafafa;border:1px solid var(--border);padding:14px;border-radius:12px}.detail-grid span{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#36383d}input,select,textarea{width:100%;border:1px solid #d7dae0;border-radius:10px;padding:10px 12px;background:#fff;color:#151515}textarea{min-height:95px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid rgba(231,81,37,.18);border-color:var(--orange)}input[type=date]{cursor:pointer}.span-2{grid-column:span 2}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}table{width:100%;border-collapse:collapse;min-width:760px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--border);font-size:13px;vertical-align:middle}.employee-email{display:block;margin-top:4px;color:var(--muted);font-size:12px}.employee-code{color:var(--muted);font-size:12px;font-weight:600}th{color:var(--muted);font-weight:650;background:#fafafa}tbody tr:hover{background:#fcfcfd}.clickable-row{cursor:pointer}.attendance-filter{display:flex;align-items:flex-end;gap:10px;margin-bottom:18px}.employee-search{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:18px}.employee-search label{display:grid;gap:6px;flex:1 1 280px;max-width:480px;min-width:0;font-size:13px;font-weight:650}.employee-search input{width:100%;min-width:0}.employee-search>span{color:var(--muted);font-size:13px;padding-bottom:10px}.attendance-filter label{display:grid;gap:6px;color:#36383d;font-size:13px;font-weight:650}.attendance-filter input{min-width:190px}.time-selects{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:6px}.actions{display:flex;gap:7px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;background:#f3f4f6;font-size:12px;text-transform:capitalize}.badge.approved,.badge.paid,.badge.present,.badge.active{color:#067647;background:#ecfdf3}.badge.late{color:#b54708;background:#fffaeb}.badge.absent{color:#b42318;background:#fef3f2}.badge.in{color:#067647;background:#ecfdf3}.badge.out{color:#175cd3;background:#eff8ff}.badge.pending,.badge.draft{color:#b54708;background:#fffaeb}.badge.rejected,.badge.unpaid_leave,.badge.terminated{color:#b42318;background:#fef3f2}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:grid;place-items:center;padding:24px;z-index:1000}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 25px 50px -12px #00000040;position:relative;z-index:1001}.modal h3{margin-top:0}.modal-heading{align-items:flex-start;margin-bottom:16px}.field-hint{color:var(--muted);font-size:12px;font-weight:400}.modal-actions{justify-content:flex-end;margin-top:18px}@media (max-width: 1000px){.app-layout{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:min(320px,calc(100vw - 48px));z-index:40;visibility:hidden;transform:translate(-100%);padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior-y:contain}.sidebar.is-open{visibility:visible;transform:translate(0)}.sidebar .brand{padding-right:34px}.sidebar .brand strong{font-size:15px}.sidebar nav{grid-template-columns:1fr}.sidebar-close{position:absolute;top:16px;right:12px;color:#64748b;background:#fff;border:1px solid #fed7aa;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:39}.menu-button{display:inline-flex}.topbar{position:sticky;top:0;z-index:30;justify-content:space-between;gap:16px;height:70px;padding:0 22px;background:#fff!important;box-shadow:0 1px 4px #0000000f}.content>section{padding:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-filter{flex-wrap:wrap}}@media (max-width: 680px){.content>section{padding:20px 16px}.topbar{height:64px;padding:0 16px;background:#fff!important;box-shadow:0 1px 3px #0000000d}.topbar-account{max-width:calc(100% - 60px)}.topbar h2{font-size:13px}.topbar p{font-size:11px}.topbar-profile{gap:8px}.page-heading h1{font-size:24px;line-height:1.2}.page-heading p{font-size:14px;line-height:1.5}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attendance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:14px 12px;border-radius:14px;min-width:0;overflow-wrap:normal;word-break:normal}.stat-card strong{font-size:23px}.detail-grid,.form-grid,.document-grid{grid-template-columns:1fr;gap:12px}.detail-grid>div,.form-grid>*,.page-heading>div{min-width:0;overflow-wrap:anywhere}.card{padding:16px;border-radius:12px}.dashboard-section-heading{flex-wrap:wrap;gap:12px}.attendance-filter>label{flex:1 1 140px;min-width:0}.attendance-filter input{min-width:0}input,select,textarea{min-width:0;font-size:16px}.btn,.nav-link{min-height:44px}.modal-backdrop{padding:12px}.modal{padding:18px;max-height:90dvh}.center-screen{min-height:100dvh;padding:20px 16px}.auth-card{padding:24px 20px}.auth-intro{gap:12px}.auth-card h1{font-size:24px}.span-2{grid-column:span 1}}@media (max-width: 320px){.stats-grid{grid-template-columns:1fr}}.biometric-desktop-view{display:block}.biometric-desktop-view table{min-width:1100px}.biometric-mobile-view{display:none}@media (max-width: 960px){.biometric-desktop-view{display:none}.biometric-mobile-view{display:flex;flex-direction:column;gap:16px}}.biometric-user-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:14px;box-shadow:0 1px 3px #0000000a}.biometric-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.biometric-card-name{margin:0;font-size:16px;font-weight:700;color:#111827}.biometric-card-email{color:var(--muted);font-size:13px;display:block;margin-top:2px}.biometric-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;background:#f9fafb;padding:12px;border-radius:12px;border:1px solid #f3f4f6}.biometric-card-field{display:flex;flex-direction:column;gap:3px}.biometric-card-label{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;font-weight:600}.biometric-card-actions{display:flex;flex-direction:column;gap:10px;margin-top:4px}.remote-enroll-group{display:flex;align-items:center;border:1px solid #d1d5db;border-radius:10px;overflow:hidden;background:#fff;min-height:40px;box-shadow:0 1px 2px #0000000d}.remote-enroll-group select{border:none;padding:0 12px;height:100%;font-size:13px;background:transparent;cursor:pointer;color:#374151;outline:none;font-weight:600;flex:1;min-width:140px}.remote-enroll-group button{border:none;height:100%;min-height:40px;padding:0 16px;font-size:13px;font-weight:700;background:var(--orange);color:#fff;cursor:pointer;white-space:nowrap;transition:background .2s}.remote-enroll-group button:hover{background:var(--orange-dark)}.biometric-button-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.badge.present-early{background:#ecfdf3;color:#067647;border:1px solid #86efac}.badge.present-late{background:#fffbeb;color:#b45309;border:1px solid #fde047}.badge.half_day{background:#ffedd5;color:#c2410c;border:1px solid #fed7aa}@media (max-width: 768px){.content>section{padding:16px 12px}.attendance-filter{flex-direction:column!important;align-items:stretch!important;gap:10px!important}.attendance-filter>label{width:100%!important;flex:1 1 100%!important;min-width:0!important}.table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:10px}th,td{padding:10px 8px!important;font-size:12px!important}.badge{font-size:11px!important;padding:3px 8px!important}}.dashboard-hero{background:linear-gradient(135deg,#fff,#fff7ed 45%,#ffedd5);border:1px solid #fed7aa;border-radius:20px;padding:24px 28px;color:#0f172a;margin-bottom:24px;position:relative;overflow:hidden;box-shadow:0 4px 20px -2px #e7512514,0 2px 6px -1px #00000008;display:flex;flex-direction:column;gap:16px}.dashboard-hero:before{content:"";position:absolute;top:-80px;right:-80px;width:260px;height:260px;background:radial-gradient(circle,rgba(231,81,37,.15) 0%,transparent 70%);border-radius:50%;pointer-events:none}.dashboard-hero:after{content:"";position:absolute;bottom:-60px;left:20%;width:200px;height:200px;background:radial-gradient(circle,rgba(249,115,22,.1) 0%,transparent 70%);border-radius:50%;pointer-events:none}.dashboard-hero-greeting-wrap{position:relative;z-index:1;display:flex;flex-direction:column;gap:6px}.dashboard-hero-greeting{font-size:24px;font-weight:800;letter-spacing:-.02em;margin:0;color:#0f172a;display:flex;align-items:center;gap:8px}.dashboard-hero-subtitle{margin:0;color:#64748b;font-size:13.5px;line-height:1.5}.dashboard-hero-tags{position:relative;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:14px;border-top:1px solid rgba(231,81,37,.14)}.hero-tag{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #fed7aa;padding:5px 12px;border-radius:9999px;font-size:12px;font-weight:600;color:#334155;box-shadow:0 1px 2px #0000000a}.hero-tag svg{color:#ea580c;flex-shrink:0}.hero-tag.highlight{background:#fff7ed;border-color:#fdba74;color:#c2410c}.hero-tag.highlight svg{color:#ea580c}.hero-tag.presence-in{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.hero-tag.presence-in .live-dot{background:#10b981}.hero-tag.presence-out{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.hero-tag.presence-out .live-dot{background:#3b82f6}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 3px #0000000a,0 4px 12px -2px #00000005;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;position:relative;overflow:hidden}.stat-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px -4px #00000012;border-color:#d1d5db}.stat-card.clickable-stat:hover{border-color:var(--orange)}.stat-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.stat-card-label{display:block;font-size:13px;font-weight:600;color:#64748b;line-height:1.35;margin-bottom:5px;word-break:normal;overflow-wrap:normal;white-space:normal}.stat-card-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;transition:transform .2s ease}.stat-card:hover .stat-card-icon{transform:scale(1.08)}.stat-card-icon--emerald{background:#ecfdf5;color:#059669}.stat-card-icon--blue{background:#eff6ff;color:#2563eb}.stat-card-icon--orange{background:#fff7ed;color:#ea580c}.stat-card-icon--purple{background:#faf5ff;color:#7c3aed}.stat-card-icon--rose{background:#fff1f2;color:#e11d48}.stat-card-icon--amber{background:#fffbeb;color:#d97706}.stat-card-icon--teal{background:#f0fdfa;color:#0d9488}.stat-card-icon--slate{background:#f1f5f9;color:#475569}.stat-card-icon--default{background:#f3f4f6;color:#4b5563}.stat-card-badge{font-size:11px;font-weight:650;padding:3px 8px;border-radius:9999px;white-space:nowrap}.stat-card-badge--success{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.stat-card-badge--warning{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.stat-card-badge--danger{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.stat-card-badge--info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.stat-card-badge--neutral{background:#f3f4f6;color:#4b5563;border:1px solid #e5e7eb}.stat-card-body{margin-top:2px}.stat-card-value{display:block;font-size:26px;font-weight:750;color:#0f172a;letter-spacing:-.02em}.stat-card-helper{display:block;font-size:12px;color:#64748b;margin-top:5px}.stat-card-progress-wrap{margin-top:14px}.stat-card-progress-bar{height:6px;background:#f1f5f9;border-radius:9999px;overflow:hidden}.stat-card-progress-fill{height:100%;border-radius:9999px;transition:width .6s cubic-bezier(.16,1,.3,1)}.stat-card-progress-fill--emerald{background:linear-gradient(90deg,#10b981,#059669)}.stat-card-progress-fill--blue{background:linear-gradient(90deg,#3b82f6,#2563eb)}.stat-card-progress-fill--orange{background:linear-gradient(90deg,#f97316,#ea580c)}.stat-card-progress-fill--purple{background:linear-gradient(90deg,#a855f7,#7c3aed)}.stat-card-progress-fill--teal{background:linear-gradient(90deg,#14b8a6,#0d9488)}.stat-card-progress-fill--amber{background:linear-gradient(90deg,#f59e0b,#d97706)}.stat-card-progress-fill--rose{background:linear-gradient(90deg,#f43f5e,#e11d48)}.stat-card-progress-fill--default{background:#94a3b8}.stat-card-progress-text{display:block;font-size:11px;font-weight:600;color:#64748b;margin-top:5px}.today-attendance-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000000a,0 6px 18px -3px #00000008}.today-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;gap:12px}.today-card-title{margin:0;font-size:18px;font-weight:750;color:#0f172a;display:flex;align-items:center;gap:10px}.today-card-subtitle{margin:4px 0 0;font-size:13px;color:#64748b}.live-indicator{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:9999px;font-size:12px;font-weight:650}.live-indicator.in{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.live-indicator.out{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.live-indicator.none{background:#f3f4f6;color:#64748b;border:1px solid #e5e7eb}.live-dot{width:8px;height:8px;border-radius:50%;background:currentColor;position:relative}.live-dot.pulse:after{content:"";position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border-radius:50%;border:2px solid currentColor;opacity:.7;animation:pulse-ring 1.8s cubic-bezier(.24,0,.38,1) infinite}@keyframes pulse-ring{0%{transform:scale(.8);opacity:.8}to{transform:scale(2.2);opacity:0}}.today-header-badges{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.today-status-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:9999px;font-size:12px;font-weight:650;text-transform:capitalize}.today-status-badge.present{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.today-status-badge.late{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.today-status-badge.absent{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.today-status-badge.half_day,.today-status-badge.half-day{background:#fefce8;color:#a16207;border:1px solid #fef08a}.today-status-badge.neutral{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}.punch-flow{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:16px;padding:20px 24px;margin-bottom:0}.punch-box{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 1px 3px #00000008}.punch-box-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-size:20px;flex-shrink:0}.punch-box-icon.in{background:#ecfdf5;color:#059669}.punch-box-icon.out{background:#eff6ff;color:#2563eb}.punch-box-info{display:flex;flex-direction:column;min-width:0}.punch-box-label{font-size:11px;font-weight:650;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.punch-box-time{font-size:20px;font-weight:750;color:#0f172a;margin:3px 0 2px}.punch-box-tag{font-size:11px;font-weight:600}.punch-flow-connector{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 10px}.punch-connector-line{display:flex;align-items:center;gap:6px;color:#94a3b8;font-size:18px}.punch-duration-badge{background:#fff;border:1px solid #cbd5e1;padding:6px 14px;border-radius:9999px;font-size:12px;font-weight:700;color:#0f172a;box-shadow:0 1px 3px #0000000d;white-space:nowrap}.today-highlights-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.today-highlight-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.today-highlight-label{font-size:12px;color:#64748b;font-weight:600}.today-highlight-value{font-size:15px;font-weight:700;color:#0f172a;display:flex;align-items:center;gap:6px}.quick-services-section{margin-top:24px;margin-bottom:24px}.quick-services-header{margin-bottom:14px}.quick-services-header h3{margin:0;font-size:17px;font-weight:750;color:#0f172a}.quick-services-header p{margin:3px 0 0;font-size:13px;color:#64748b}.quick-actions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.quick-action-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;text-decoration:none;color:inherit;transition:all .2s cubic-bezier(.16,1,.3,1);box-shadow:0 1px 3px #0000000a}.quick-action-card:hover{transform:translateY(-3px);border-color:var(--orange);box-shadow:0 10px 24px -4px #e751251f}.quick-action-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px}.quick-action-icon.attendance{background:#eff6ff;color:#2563eb}.quick-action-icon.leaves{background:#fff7ed;color:#ea580c}.quick-action-icon.payslips{background:#ecfdf5;color:#059669}.quick-action-icon.holidays{background:#faf5ff;color:#7c3aed}.quick-action-title{font-size:15px;font-weight:700;color:#0f172a;margin:0}.quick-action-desc{font-size:12px;color:#64748b;margin:0;line-height:1.4}.quick-action-link-text{font-size:12px;font-weight:700;color:var(--orange);display:flex;align-items:center;gap:4px;margin-top:4px}@media (max-width: 1100px){.punch-flow{grid-template-columns:1fr;gap:14px}.punch-flow-connector{flex-direction:row;justify-content:center}.today-highlights-grid,.quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 680px){.dashboard-hero{padding:16px 14px;border-radius:16px;margin-bottom:18px;gap:10px}.dashboard-hero-greeting-wrap{width:100%}.dashboard-hero-greeting{font-size:19px}.dashboard-hero-subtitle{font-size:12px;line-height:1.45}.dashboard-hero-tags{padding-top:10px;margin-top:0;gap:6px;border-top:1px solid rgba(231,81,37,.14);width:100%}.hero-tag{font-size:11px;padding:4px 9px}.stat-card{padding:12px 10px;border-radius:14px}.stat-card-top{margin-bottom:6px}.stat-card-icon{width:28px;height:28px;border-radius:7px}.stat-card-icon svg{width:15px;height:15px}.stat-card-badge{font-size:9.5px;padding:2px 5px}.stat-card-label{font-size:11.5px;line-height:1.3;margin-bottom:3px}.stat-card-value{font-size:20px}.stat-card-helper{font-size:10px;margin-top:2px;line-height:1.25}.stat-card-progress-wrap{margin-top:8px}.stat-card-progress-text{font-size:10px}.today-attendance-card{padding:16px 12px;border-radius:16px;margin-bottom:18px}.today-card-header{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:12px;padding-bottom:12px}.today-card-title{font-size:16px}.today-header-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%}.today-status-badge,.live-indicator{font-size:11px;padding:4px 10px}.punch-flow{grid-template-columns:1fr;gap:8px;padding:12px 10px;border-radius:12px}.punch-box{padding:10px 12px;border-radius:10px;gap:10px}.punch-box-icon{width:36px;height:36px}.punch-box-icon svg{width:18px;height:18px}.punch-box-time{font-size:17px}.punch-flow-connector{flex-direction:row;justify-content:center;padding:2px 0}.punch-connector-line{display:none}.punch-duration-badge{font-size:11px;padding:4px 10px}.quick-services-section{margin-top:16px;margin-bottom:20px}.quick-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-action-card{padding:12px;border-radius:12px;gap:6px}.quick-action-icon{width:34px;height:34px;border-radius:8px}.quick-action-icon svg{width:18px;height:18px}.quick-action-title{font-size:13px;margin-top:6px!important}.quick-action-desc{display:none}.quick-action-link-text{font-size:11px;margin-top:2px}}.month-picker-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:16px}.month-selector-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.month-nav-group{display:inline-flex;align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:3px;box-shadow:0 1px 3px #0000000a}.month-nav-btn{width:32px;height:32px;display:grid;place-items:center;border:none;background:transparent;color:#374151;border-radius:8px;cursor:pointer;transition:all .15s ease}.month-nav-btn:hover:not(:disabled){background:#f3f4f6;color:#111827}.month-nav-btn:disabled{opacity:.35;cursor:not-allowed}.month-input-wrapper{position:relative;display:flex;align-items:center;padding:0 8px}.month-calendar-icon{color:var(--orange);margin-right:6px;pointer-events:none;flex-shrink:0}.month-picker-input{border:none;background:transparent;padding:4px 2px;font-size:13px;font-weight:700;color:#111827;cursor:pointer;outline:none;width:auto}.month-picker-input:focus{outline:none}.reset-month-btn{font-size:12px;padding:6px 12px;border-radius:10px;font-weight:650;background:#fff;border:1px solid #d1d5db;color:#374151;cursor:pointer;transition:all .15s ease}.reset-month-btn:hover{background:#f9fafb;border-color:#9ca3af}@media (max-width: 680px){.month-picker-heading{flex-direction:column;align-items:flex-start;gap:10px}.month-selector-toolbar{width:100%;justify-content:space-between}.month-nav-group{flex:1;justify-content:space-between}.month-input-wrapper{flex:1;justify-content:center}}.period-toggle-tabs{display:inline-flex;align-items:center;background:#f1f5f9;border-radius:12px;padding:3px;gap:3px;border:1px solid #e2e8f0}.period-toggle-tab{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:9px;font-size:13px;font-weight:650;color:#64748b;background:transparent;border:none;cursor:pointer;transition:all .15s cubic-bezier(.16,1,.3,1)}.period-toggle-tab:hover{color:#0f172a}.period-toggle-tab.active{background:#fff;color:var(--orange, #ea580c);box-shadow:0 1px 3px #00000014,0 1px 2px #0000000a}.week-display-label{font-size:13px;font-weight:700;color:#111827;padding:4px 10px;white-space:nowrap}.perf-status-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;margin-bottom:20px;padding:10px 18px;border-radius:12px;font-size:13px;flex-wrap:wrap;transition:all .2s ease;box-shadow:0 1px 3px #0000000a}.perf-status-bar.emerald{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border:1px solid #a7f3d0;color:#065f46}.perf-status-bar.amber{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fde68a;color:#92400e}.perf-status-bar.rose{background:linear-gradient(135deg,#fff1f2,#fee2e2);border:1.5px solid #fecdd3;color:#991b1b}.perf-status-bar-left{display:flex;align-items:center;gap:12px;min-width:0}.perf-live-pulse{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;flex-shrink:0;position:relative}.perf-live-pulse.emerald{background:#d1fae5;color:#10b981}.perf-live-pulse.amber{background:#fde68a;color:#f59e0b}.perf-live-pulse.rose{background:#fecdd3;color:#ef4444}.perf-live-pulse .live-dot{width:9px;height:9px}@keyframes badge-blink{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.97)}}.perf-status-badge{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;margin-right:8px}.perf-status-bar.rose .perf-status-badge{animation:badge-blink 1.8s ease-in-out infinite;color:#dc2626}.perf-status-bar.amber .perf-status-badge{animation:badge-blink 2.2s ease-in-out infinite;color:#d97706}.perf-status-summary-text{font-size:13px;font-weight:550;opacity:.95}.perf-status-metrics{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.perf-metric-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:8px;font-size:12px;font-weight:600;background:#fff;box-shadow:0 1px 3px #0000000d}.perf-metric-chip.emerald{color:#047857;border:1px solid #a7f3d0}.perf-metric-chip.amber{color:#b45309;border:1px solid #fde68a}.perf-metric-chip.rose{color:#b91c1c;border:1px solid #fecdd3}.perf-metric-label{font-size:11px;font-weight:600;opacity:.75;text-transform:uppercase;letter-spacing:.3px}.perf-metric-tag{font-size:11px;opacity:.8;font-weight:500}.perf-summary-strip{display:flex;flex-direction:column;gap:10px;margin-top:10px;margin-bottom:18px;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;font-size:13px}.perf-summary-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.perf-summary-title{display:flex;align-items:center;gap:6px;font-weight:700;color:#1e293b;font-size:13px}.perf-summary-icon{font-size:14px}.perf-summary-note{font-size:11.5px;color:#64748b;font-style:normal}.perf-summary-pills{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.perf-summary-pill{display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:8px;font-weight:500;font-size:12px;box-shadow:0 1px 2px #00000005}.perf-summary-pill strong{font-weight:700}.perf-pill-badge{font-size:11.5px;font-weight:600;opacity:.85}.perf-summary-pill.emerald{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.perf-summary-pill.amber{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.perf-summary-pill.rose{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.admin-perf-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:16px;padding:18px 20px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 1px 3px #0000000a}.admin-emp-select-wrap{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.admin-emp-select-label{font-size:13px;font-weight:700;color:#334155;display:flex;align-items:center;gap:6px;white-space:nowrap}.admin-selected-emp-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:8px;font-size:12px;font-weight:600;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;white-space:nowrap}.admin-emp-dropdown-container{position:relative;min-width:320px}.admin-emp-select-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:8px 14px;border-radius:10px;border:1.5px solid #cbd5e1;background:#f8fafc;font-size:13.5px;font-weight:650;color:#0f172a;outline:none;cursor:pointer;text-align:left;transition:all .2s ease;box-sizing:border-box}.admin-emp-select-btn:hover{background:#fff;border-color:#94a3b8}.admin-emp-select-btn[aria-expanded=true]{background:#fff;border-color:var(--orange, #ea580c);box-shadow:0 0 0 3px #ea580c26}.admin-emp-select-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-emp-code-badge{color:var(--orange, #ea580c);margin-right:6px}.admin-emp-desig{color:#64748b;font-weight:400;margin-left:6px}.admin-emp-arrow{flex-shrink:0;transition:transform .2s ease}.admin-emp-arrow.open{transform:rotate(180deg)}.admin-emp-dropdown-menu{position:absolute;top:calc(100% + 6px);left:0;width:100%;min-width:320px;max-width:440px;background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 12px 28px -4px #0000001f,0 4px 10px -2px #0000000d;z-index:50;overflow:hidden;box-sizing:border-box}.admin-emp-search-header{padding:8px 12px;border-bottom:1px solid #f1f5f9;background:#f8fafc;display:flex;align-items:center;gap:8px}.admin-emp-search-input{width:100%;border:none;background:transparent;outline:none;font-size:13px;font-weight:500;color:#0f172a;padding:4px 0}.admin-emp-search-clear{border:none;background:none;color:#94a3b8;cursor:pointer;padding:2px 6px;font-size:14px;line-height:1}.admin-emp-listbox{max-height:250px;overflow-y:auto;padding:4px}.admin-emp-option{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-radius:8px;cursor:pointer;background:transparent;color:#1e293b;font-size:13px;font-weight:500;transition:background .15s ease;margin:2px 0}.admin-emp-option:hover{background:#f8fafc}.admin-emp-option.selected{background:#fff7ed;color:#c2410c;font-weight:650}.admin-emp-option-info{display:flex;align-items:center;gap:8px;overflow:hidden}.admin-emp-option-code{font-size:11px;font-weight:700;padding:2px 6px;border-radius:4px;background:#f1f5f9;color:#475569;flex-shrink:0}.admin-emp-option.selected .admin-emp-option-code{background:#ffedd5;color:#ea580c}.admin-emp-option-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-emp-option-desig{color:#94a3b8;font-size:12px;font-weight:400;flex-shrink:0}.admin-emp-check{flex-shrink:0;margin-left:8px}.admin-emp-empty{padding:16px;text-align:center;color:#94a3b8;font-size:12.5px}@media (max-width: 768px){.admin-perf-header{flex-direction:column;align-items:stretch;padding:14px 16px;gap:12px}.admin-emp-select-wrap{flex-direction:column;align-items:stretch;gap:8px;width:100%}.admin-emp-select-label{width:100%;justify-content:flex-start}.admin-emp-dropdown-container,.admin-emp-select-btn{width:100%;min-width:0!important}.admin-emp-dropdown-menu{width:100%!important;min-width:0!important;max-width:100%!important;left:0!important;right:0!important}.admin-selected-emp-badge{width:100%;justify-content:center;box-sizing:border-box;padding:6px 10px;font-size:11.5px}.month-selector-toolbar{width:100%;justify-content:space-between}.month-nav-group{width:100%;display:flex;justify-content:space-between}.month-input-wrapper{flex:1;min-width:0;justify-content:center}.perf-status-bar{flex-direction:column;align-items:flex-start;gap:12px;padding:12px 14px;margin-top:6px;margin-bottom:16px}.perf-status-metrics{width:100%;justify-content:flex-start}.perf-summary-strip{padding:12px 14px;gap:10px;margin-top:8px;margin-bottom:16px}.perf-summary-header{flex-direction:column;align-items:flex-start;gap:4px}.perf-summary-title{font-size:12.5px;font-weight:700}.perf-summary-note{font-size:11px;color:#94a3b8}.perf-summary-pills{flex-direction:column;align-items:stretch;gap:8px;width:100%}.perf-summary-pill{width:100%;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 12px;font-size:12px;border-radius:8px}.perf-pill-badge{font-size:11px;white-space:nowrap}}.admin-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172aa6;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000;animation:adminModalFadeIn .2s cubic-bezier(.16,1,.3,1)}@keyframes adminModalFadeIn{0%{opacity:0}to{opacity:1}}.admin-modal-card{width:min(720px,100%);max-height:88vh;background:#fff;border-radius:20px;box-shadow:0 20px 40px -15px #00000040,0 0 0 1px #0000000d;display:flex;flex-direction:column;overflow:hidden;animation:adminModalSlideUp .25s cubic-bezier(.16,1,.3,1)}@keyframes adminModalSlideUp{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.admin-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #f1f5f9;background:#fff;gap:16px}.admin-modal-title-group{display:flex;align-items:flex-start;gap:14px}.admin-modal-badge-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.admin-modal-badge-icon.present{background:#ecfdf5;color:#059669}.admin-modal-badge-icon.late,.admin-modal-badge-icon.early,.admin-modal-badge-icon.timing{background:#fffbeb;color:#d97706}.admin-modal-badge-icon.absent{background:#fff1f2;color:#e11d48}.admin-modal-badge-icon.inOffice{background:#f0fdfa;color:#0d9488}.admin-modal-badge-icon.outOffice{background:#eff6ff;color:#2563eb}.admin-modal-title{margin:0;font-size:19px;font-weight:750;color:#0f172a;letter-spacing:-.01em}.admin-modal-subtitle{margin:3px 0 0;font-size:13px;color:#64748b}.admin-modal-count-pill{font-size:12px;font-weight:700;padding:2px 9px;border-radius:9999px}.admin-modal-count-pill.present{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}.admin-modal-count-pill.late,.admin-modal-count-pill.early,.admin-modal-count-pill.timing{background:#fffbeb;color:#b45309;border:1px solid #fde68a}.admin-modal-count-pill.absent{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.admin-modal-count-pill.inOffice{background:#f0fdfa;color:#0d9488;border:1px solid #99f6e4}.admin-modal-count-pill.outOffice{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.admin-modal-close-btn{width:36px;height:36px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;display:grid;place-items:center;cursor:pointer;transition:all .15s ease;flex-shrink:0}.admin-modal-close-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#cbd5e1}.admin-modal-search-wrap{position:relative;display:flex;align-items:center;padding:12px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0;gap:10px}.admin-modal-search-input{flex:1;border:none;background:transparent;font-size:13.5px;color:#0f172a;outline:none;font-weight:500}.admin-modal-search-input::placeholder{color:#94a3b8}.admin-modal-clear-search{border:none;background:#e2e8f0;color:#64748b;width:20px;height:20px;border-radius:9999px;font-size:11px;display:grid;place-items:center;cursor:pointer}.admin-modal-body{flex:1;overflow-y:auto;padding:16px 24px;background:#fff;-webkit-overflow-scrolling:touch}.admin-modal-items-list{display:flex;flex-direction:column;gap:10px}.admin-modal-item-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-radius:14px;border:1px solid #e2e8f0;background:#fff;transition:all .15s cubic-bezier(.16,1,.3,1)}.admin-modal-item-card:hover{border-color:#cbd5e1;background:#f8fafc;box-shadow:0 2px 6px #00000008}.admin-modal-item-left{display:flex;align-items:center;gap:12px;min-width:0}.admin-modal-avatar{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:14px;font-weight:700;flex-shrink:0}.admin-modal-avatar.present{background:#d1fae5;color:#047857}.admin-modal-avatar.late,.admin-modal-avatar.early,.admin-modal-avatar.timing{background:#fef3c7;color:#b45309}.admin-modal-avatar.absent{background:#ffe4e6;color:#be123c}.admin-modal-avatar.inOffice{background:#ccfbf1;color:#0f766e}.admin-modal-avatar.outOffice{background:#dbeafe;color:#1d4ed8}.admin-modal-emp-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-modal-emp-name{font-size:14px;font-weight:700;color:#0f172a}.admin-modal-code-badge{font-size:11px;font-weight:700;background:#f1f5f9;color:#475569;padding:1px 7px;border-radius:6px;border:1px solid #e2e8f0}.admin-modal-emp-subtext{display:flex;align-items:center;gap:6px;font-size:12px;color:#64748b;margin-top:2px;flex-wrap:wrap}.dot-sep{color:#cbd5e1}.admin-modal-email{color:#64748b}.admin-modal-item-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.admin-modal-punch-badge{display:flex;flex-direction:column;align-items:flex-end;gap:2px;padding:6px 12px;border-radius:10px;text-align:right}.admin-modal-punch-badge.present{background:#ecfdf5;border:1px solid #a7f3d0}.admin-modal-punch-badge.present .badge-title{font-size:12px;font-weight:700;color:#059669}.admin-modal-punch-badge.present .badge-subtitle{font-size:11px;font-weight:600;color:#047857}.admin-modal-punch-badge.late{background:#fffbeb;border:1px solid #fde68a}.admin-modal-punch-badge.late .badge-title{font-size:12px;font-weight:700;color:#b45309}.admin-modal-punch-badge.late .badge-subtitle{font-size:11px;font-weight:600;color:#92400e}.admin-modal-punch-badge.absent{background:#fff1f2;border:1px solid #fecdd3}.admin-modal-punch-badge.absent .badge-title{font-size:12px;font-weight:700;color:#be123c}.admin-modal-punch-badge.absent .badge-subtitle{font-size:11px;font-weight:600;color:#9f1239}.admin-modal-punch-badge.in-office{background:#f0fdfa;border:1px solid #99f6e4;position:relative}.admin-modal-punch-badge.in-office .badge-title{font-size:12px;font-weight:700;color:#0d9488}.admin-modal-punch-badge.in-office .badge-subtitle{font-size:11px;font-weight:600;color:#0f766e}.admin-modal-punch-badge.out-office{background:#eff6ff;border:1px solid #bfdbfe}.admin-modal-punch-badge.out-office .badge-title{font-size:12px;font-weight:700;color:#1d4ed8}.admin-modal-punch-badge.out-office .badge-subtitle{font-size:11px;font-weight:600;color:#1e40af}.live-dot-mini{width:6px;height:6px;background:#10b981;border-radius:9999px;display:inline-block;margin-right:4px}.admin-modal-inspect-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:9px;border:1px solid #cbd5e1;background:#fff;color:#334155;font-size:12px;font-weight:650;cursor:pointer;transition:all .15s ease;white-space:nowrap}.admin-modal-inspect-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#94a3b8}.admin-modal-empty-state{text-align:center;padding:40px 20px;color:#64748b;display:flex;flex-direction:column;align-items:center;gap:10px}.admin-modal-empty-state p{margin:0;font-size:14px;font-weight:500}@media (max-width: 640px){.admin-modal-backdrop{padding:10px;align-items:flex-end}.admin-modal-card{max-height:90vh;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.admin-modal-header{padding:16px}.admin-modal-search-wrap{padding:10px 16px}.admin-modal-body{padding:12px 16px 24px}.admin-modal-item-card{flex-direction:column;align-items:flex-start;padding:12px 14px;gap:10px}.admin-modal-item-left{width:100%}.admin-modal-item-right{width:100%;justify-content:space-between;padding-top:8px;border-top:1px dashed #f1f5f9}.admin-modal-punch-badge{align-items:flex-start;text-align:left;padding:4px 8px}.admin-modal-inspect-btn{padding:7px 14px}}.students-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px 20px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;box-shadow:0 1px 3px #00000008}.students-filter-left{display:flex;align-items:center;gap:12px;flex:1 1 320px;flex-wrap:wrap}.students-search-wrap{position:relative;flex:1 1 240px;max-width:400px}.students-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#94a3b8;pointer-events:none;display:flex;align-items:center}.students-search-input{width:100%;padding:9px 34px 9px 38px;font-size:13.5px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f172a;outline:none;transition:all .2s ease}.students-search-input:focus{background:#fff;border-color:var(--orange);box-shadow:0 0 0 3px #f973161f}.students-search-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#94a3b8;cursor:pointer;padding:4px;font-size:13px;line-height:1;border-radius:50%;display:flex;align-items:center;justify-content:center}.students-search-clear:hover{color:#334155;background:#f1f5f9}.students-batch-filter{padding:9px 14px;font-size:13.5px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#334155;font-weight:500;outline:none;cursor:pointer;transition:all .2s ease}.students-batch-filter:focus{border-color:var(--orange);box-shadow:0 0 0 3px #f973161f;background:#fff}.students-filter-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.students-pill-filter{padding:6px 12px;font-size:12px;font-weight:600;border-radius:20px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;transition:all .15s ease}.students-pill-filter:hover{background:#f8fafc;color:#0f172a}.students-pill-filter.active{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.student-desktop-view{display:block}.student-mobile-view{display:none}.student-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 1px 3px #0000000a}.student-table-card table{width:100%;border-collapse:separate;border-spacing:0}.student-table-card th{background:#f8fafc;padding:14px 18px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#475569;border-bottom:1px solid #e2e8f0;text-align:left}.student-table-card td{padding:14px 18px;border-bottom:1px solid #f1f5f9;vertical-align:middle;font-size:13.5px;color:#1e293b}.student-table-card tr:last-child td{border-bottom:none}.student-table-card tbody tr{transition:background-color .15s ease}.student-table-card tbody tr:hover{background-color:#fafbfc}.student-user-cell{display:flex;align-items:center;gap:12px}.student-avatar{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:700;font-size:14px;flex-shrink:0;text-transform:uppercase;box-shadow:0 1px 2px #0000000d}.student-avatar.color-0{background:#e0e7ff;color:#4338ca}.student-avatar.color-1{background:#fce7f3;color:#be185d}.student-avatar.color-2{background:#ecfdf5;color:#047857}.student-avatar.color-3{background:#fff7ed;color:#c2410c}.student-avatar.color-4{background:#f3e8ff;color:#7e22ce}.student-avatar.color-5{background:#e0f2fe;color:#0369a1}.student-avatar.color-6{background:#ccfbf1;color:#0f766e}.student-user-info{display:flex;flex-direction:column;gap:2px;min-width:0}.student-name{font-weight:650;font-size:14px;color:#0f172a;display:flex;align-items:center;gap:6px}.student-email{font-size:12px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-bio-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:600;background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}.student-bio-pill.not-registered{background:#fef3c7;color:#92400e;border-color:#fde68a;font-family:inherit;font-weight:500;font-size:11.5px}.student-batch-wrapper{display:flex;align-items:center;gap:8px;position:relative}.student-batch-select{padding:8px 12px;font-size:13px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#1e293b;font-weight:500;max-width:320px;width:100%;cursor:pointer;transition:all .2s ease}.student-batch-select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #f973161f;outline:none}.student-batch-select.unassigned{border-color:#f59e0b;background:#fffbeb;color:#92400e;font-weight:600}.student-batch-saving{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#059669;font-weight:600}.student-view-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;font-size:12.5px;font-weight:600;border-radius:9px;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer;transition:all .15s ease}.student-view-btn:hover{background:#f8fafc;border-color:var(--orange);color:var(--orange);box-shadow:0 1px 3px #0000000d}.student-toast{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;border-radius:10px;font-size:13px;font-weight:500;margin-bottom:16px;animation:fadeIn .2s ease}.student-toast.success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.student-toast.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}@media (max-width: 820px){.student-desktop-view{display:none}.student-mobile-view{display:flex;flex-direction:column;gap:12px}.student-mobile-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;box-shadow:0 1px 3px #00000008;display:flex;flex-direction:column;gap:12px}.student-mobile-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.student-mobile-row{display:flex;flex-direction:column;gap:5px}.student-mobile-row-label{font-size:11px;font-weight:700;text-transform:uppercase;color:#64748b;letter-spacing:.03em}.student-mobile-actions{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px dashed #f1f5f9}.student-batch-select{max-width:100%}}.student-modal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}@media (max-width: 500px){.student-modal-summary{grid-template-columns:1fr;gap:8px}}.student-modal-stat-box{display:flex;flex-direction:column;gap:2px}.student-modal-stat-label{font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase}.student-modal-stat-value{font-size:15px;font-weight:700;color:#0f172a}.student-punch-list{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto;padding-right:4px}.student-punch-item{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:#fff;border:1px solid #f1f5f9;border-radius:10px;transition:all .15s ease}.student-punch-item:hover{background:#fafafa;border-color:#e2e8f0}.student-punch-date-wrap{display:flex;align-items:center;gap:10px}.student-punch-date-icon{width:32px;height:32px;border-radius:8px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;flex-shrink:0}.student-punch-date-text{font-size:13.5px;font-weight:600;color:#0f172a}.student-punch-weekday{font-size:11.5px;color:#64748b}.student-punch-time-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:8px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;font-weight:700;font-size:12.5px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.batch-desktop-view{display:block}.batch-mobile-view{display:none}@media (max-width: 820px){.batch-desktop-view{display:none}.batch-mobile-view{display:flex;flex-direction:column;gap:14px}.batch-mobile-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;box-shadow:0 1px 3px #00000008;display:flex;flex-direction:column;gap:12px}.batch-mobile-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.batch-mobile-title{font-size:15px;font-weight:700;color:#0f172a;line-height:1.3}.batch-mobile-details{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px 12px;background:#f8fafc;border-radius:10px;border:1px solid #f1f5f9}.batch-mobile-detail-box{display:flex;flex-direction:column;gap:2px}.batch-mobile-detail-label{font-size:11px;font-weight:600;color:#64748b;text-transform:uppercase}.batch-mobile-detail-value{font-size:12.5px;font-weight:600;color:#1e293b}.batch-mobile-actions{display:flex;align-items:center;gap:8px;padding-top:8px;border-top:1px dashed #f1f5f9}}.student-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:8px;font-size:12px;font-weight:650;white-space:nowrap}.student-status-badge.present{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.student-status-badge.absent{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.student-punch-time-tag{display:flex;align-items:center;gap:4px;font-size:11.5px;color:#059669;font-weight:600;margin-top:3px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.student-date-toolbar-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.student-day-nav-group{display:inline-flex;align-items:center;background:#fff;border:1px solid #cbd5e1;border-radius:12px;padding:3px;box-shadow:0 1px 2px #0000000a}.student-day-nav-btn{width:32px;height:32px;display:grid;place-items:center;border:none;background:transparent;color:#374151;border-radius:8px;cursor:pointer;transition:all .15s ease}.student-day-nav-btn:hover:not(:disabled){background:#f1f5f9;color:#0f172a}.student-day-nav-btn:disabled{opacity:.35;cursor:not-allowed}.student-day-input{border:none;background:transparent;padding:4px 8px;font-size:13.5px;font-weight:600;color:#0f172a;outline:none;cursor:pointer}.student-today-btn{padding:6px 12px;font-size:12px;font-weight:600;border-radius:10px;border:1px solid #cbd5e1;background:#fff;color:#334155;cursor:pointer;transition:all .15s ease}.student-today-btn:hover{background:#f8fafc;border-color:var(--orange);color:var(--orange)}
