:root{--primary:#0f766e;--primary-2:#14b8a6;--primary-dark:#134e4a;--primary-soft:#e6fffb;--bg:#f5f7f7;--bg-2:#eef4f3;--card:#fff;--text:#12201f;--heading:#0f172a;--muted:#667085;--line:#dbe7e5;--line-2:#eef2f2;--success:#059669;--success-soft:#dcfce7;--warning:#f59e0b;--warning-soft:#fef3c7;--danger:#ef4444;--danger-soft:#fee2e2;--info:#2563eb;--info-soft:#dbeafe;--purple:#7c3aed;--purple-soft:#ede9fe;--shadow-sm:0 6px 16px #0f172a0d;--shadow-md:0 16px 40px #0f172a14;--radius:18px}*{box-sizing:border-box}html{min-width:320px}body{background:var(--bg);color:var(--text);margin:0;font-family:Segoe UI,Roboto,Arial,sans-serif;font-size:14px;font-weight:400}button,input,select{font:inherit}button{background:linear-gradient(135deg, var(--primary), #0d9488);color:#fff;cursor:pointer;border:0;border-radius:12px;padding:11px 16px;font-weight:600;transition:transform .16s,box-shadow .16s,background .16s,opacity .16s;box-shadow:0 10px 22px #0f766e29}button:hover{transform:translateY(-1px);box-shadow:0 14px 28px #0f766e33}button:disabled{opacity:.62;cursor:wait;transform:none}button.secondary-button,button.secondary{color:var(--primary-dark);box-shadow:none;background:#e8f2f1}button.ghost-button{color:var(--primary-dark);box-shadow:none;background:#edf5f4}button.text-button{color:var(--primary);box-shadow:none;background:0 0;padding:6px 8px}button.mini-action{box-shadow:none;border-radius:9px;padding:7px 10px;font-size:12px}button.mini-action.icon-action{justify-content:center;align-items:center;width:34px;min-width:34px;height:34px;padding:0;line-height:1;display:inline-flex}button.mini-action.icon-action svg{flex:none}button.mini-action.danger{background:var(--danger)}input,select{border:1px solid var(--line);width:100%;color:var(--text);background:#fff;border-radius:12px;outline:none;padding:11px 13px;transition:border .16s,box-shadow .16s}input:focus,select:focus{border-color:var(--primary-2);box-shadow:0 0 0 4px #14b8a61f}h1,h2,h3{color:var(--heading);letter-spacing:-.02em;margin:0}p{margin:0}code{color:#334155;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9px;padding:4px 8px;font-size:12px}kbd{color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-bottom-width:2px;border-radius:7px;padding:2px 6px;font-size:11px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{min-height:100vh}.app-header{z-index:auto;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;grid-template-columns:auto auto minmax(220px,1fr) auto;align-items:center;gap:18px;height:74px;padding:12px 24px;display:grid;position:relative;top:auto}.app-shell.menu-open .app-header{z-index:60}.brand-area,.brand-lockup{align-items:center;gap:12px;display:flex}.brand-mark{object-fit:cover;object-position:center;background:#fff;border:1px solid #dbe7e5e6;border-radius:50%;flex:0 0 44px;width:44px;height:44px;display:block;box-shadow:0 12px 24px #0f172a1f}.brand-mark.large{flex-basis:64px;width:64px;height:64px}.brand-title{color:var(--heading);font-size:18px;font-weight:700}.brand-subtitle{color:var(--muted);margin-top:2px;font-size:12px}.workspace-pill{border:1px solid var(--line);box-shadow:var(--shadow-sm);white-space:nowrap;background:#fff;border-radius:14px;align-items:center;gap:8px;padding:10px 12px;display:flex}.workspace-pill strong{font-size:13px}.chevron{color:var(--muted)}.global-search{border:1px solid var(--line);width:min(560px,100%);box-shadow:var(--shadow-sm);background:#fff;border-radius:14px;justify-self:center;align-items:center;gap:8px;padding:0 10px 0 14px;display:flex}.global-search input{box-shadow:none;border:0;padding:12px 8px}.header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.view-switcher{background:#eef5f4;border-radius:14px;gap:4px;padding:4px;display:flex}.view-switcher button{color:#335b56;box-shadow:none;background:0 0;padding:8px 12px}.view-switcher button.active{background:var(--primary);color:#fff}.icon-button{width:42px;height:42px;color:var(--heading);border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#fff;padding:0;position:relative}.icon-button em{background:var(--danger);color:#fff;border-radius:99px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-style:normal;font-weight:700;display:grid;position:absolute;top:-5px;right:-5px}.user-menu{align-items:center;gap:10px;display:flex}.avatar,.mini-avatar{color:var(--primary-dark);background:linear-gradient(145deg,#ccfbf1,#99f6e4);border-radius:50%;place-items:center;font-weight:700;display:grid}.avatar{width:42px;height:42px}.mini-avatar{width:30px;height:30px;font-size:13px}.user-meta{flex-direction:column;gap:2px;display:flex}.user-meta strong{font-size:13px}.user-meta span{color:var(--muted);font-size:12px}.app-main{max-width:1460px;margin:0 auto;padding:24px}.app-main-admin{max-width:none;padding:0}.admin-workspace{grid-template-columns:278px minmax(0,1fr);min-height:calc(100vh - 74px);display:grid}.admin-sidebar{border-right:1px solid var(--line);background:#fff;height:calc(100vh - 74px);padding:18px 16px;position:sticky;top:74px;overflow:auto}.sidebar-section-title,.nav-group-label{color:#84918f;text-transform:uppercase;letter-spacing:.08em;margin:10px 0 8px 10px;font-size:11px;font-weight:600}.admin-sidebar nav{gap:3px;display:grid}.admin-sidebar nav button{color:#344b49;width:100%;box-shadow:none;text-align:left;background:0 0;border-radius:14px;align-items:center;gap:12px;padding:12px 14px;font-weight:600;display:flex}.admin-sidebar nav button:hover{background:#edf7f6;transform:none}.admin-sidebar nav button.active{background:linear-gradient(135deg, var(--primary), #0d9488);color:#fff;box-shadow:0 12px 24px #0f766e33}.nav-icon{text-align:center;width:22px}.sidebar-info-card{background:linear-gradient(145deg,#f0fdfa,#fff);border:1px solid #ccfbf1;border-radius:18px;gap:8px;margin-top:18px;padding:16px;display:grid}.sidebar-info-card span{color:var(--muted);font-size:13px;line-height:1.45}.admin-content{min-width:0;padding:24px 28px 36px}.breadcrumb{color:var(--muted);margin-bottom:14px;font-size:13px}.stack{gap:18px;display:grid}.page-title-row{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.page-title-row h1{font-size:28px;font-weight:700}.page-title-row p{color:var(--muted);max-width:760px;margin-top:6px}.page-actions,.panel-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-title-actions{justify-content:flex-end}.panel-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:18px}.panel-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.panel-header h2{font-size:18px}.panel-header p{color:var(--muted);margin-top:4px;font-size:13px}.kpi-grid{grid-template-columns:repeat(5,minmax(170px,1fr));gap:14px;display:grid}.kpi-grid.compact{grid-template-columns:repeat(3,minmax(180px,1fr))}.kpi-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);background:#fff;align-items:center;gap:14px;padding:18px;display:flex}.kpi-icon{background:var(--primary-soft);width:48px;height:48px;color:var(--primary-dark);border-radius:16px;flex:0 0 48px;place-items:center;font-size:22px;font-weight:700;display:grid}.kpi-icon svg{display:block}.kpi-card span{color:var(--muted);font-size:13px;display:block}.kpi-card strong{color:var(--heading);margin-top:3px;font-size:26px;font-weight:700;line-height:1.1;display:block}.kpi-card small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.kpi-card.success .kpi-icon{background:var(--success-soft);color:var(--success)}.kpi-card.warning .kpi-icon{background:var(--warning-soft);color:var(--warning)}.kpi-card.danger .kpi-icon{background:var(--danger-soft);color:var(--danger)}.kpi-card.purple .kpi-icon{background:var(--purple-soft);color:var(--purple)}.dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;display:grid}.span-4{grid-column:span 4}.span-5{grid-column:span 5}.span-7{grid-column:span 7}.span-8{grid-column:span 8}.side-panels{gap:18px;display:grid}.bar-chart{border-bottom:1px solid var(--line-2);align-items:flex-end;gap:18px;height:210px;padding:18px 6px 4px;display:flex}.bar-day{color:var(--muted);flex:1;align-content:end;justify-items:center;gap:8px;font-size:12px;display:grid}.bar-stack{align-items:flex-end;gap:5px;height:160px;display:flex}.bar{border-radius:999px 999px 4px 4px;width:10px;min-height:4px;display:block}.bar.present,.dot.present{background:var(--primary)}.bar.late,.dot.late{background:var(--warning)}.bar.absent,.dot.absent{background:var(--danger)}.bar.review,.dot.review{background:#94a3b8}.dot.neutral{background:#cbd5e1}.chart-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:14px;margin-top:14px;font-size:13px;display:flex}.dot{border-radius:50%;width:10px;height:10px;margin-right:4px;display:inline-block}.donut-wrap{grid-template-columns:170px 1fr;align-items:center;gap:22px;display:grid}.donut-chart{--present:0%;--late:0%;--review:0%;background:conic-gradient(var(--primary) 0 var(--present), var(--warning) var(--present) calc(var(--present) + var(--late)), #94a3b8 calc(var(--present) + var(--late)) calc(var(--present) + var(--late) + var(--review)), #e2e8f0 0);border-radius:50%;place-items:center;width:164px;height:164px;display:grid;position:relative}.donut-chart:after{content:"";box-shadow:inset 0 0 0 1px var(--line-2);background:#fff;border-radius:50%;position:absolute;inset:34px}.donut-chart strong,.donut-chart span{z-index:1;position:relative}.donut-chart strong{align-self:end;font-size:26px}.donut-chart span{color:var(--muted);align-self:start}.donut-list{gap:13px;display:grid}.donut-list div{color:var(--muted);grid-template-columns:auto 1fr auto;align-items:center;gap:6px;display:grid}.donut-list b{color:var(--heading)}.status-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.status-badge.success{background:var(--success-soft);color:#047857}.status-badge.warning{background:var(--warning-soft);color:#92400e}.status-badge.danger{background:var(--danger-soft);color:#b91c1c}.status-badge.info{background:var(--info-soft);color:#1d4ed8}.status-badge.neutral{color:#475569;background:#f1f5f9}.date-pill{border:1px solid var(--line);color:var(--muted);background:#f8fafc;border-radius:999px;align-items:center;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex}.table-shell{border:1px solid var(--line-2);border-radius:14px;overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:center;border-bottom:1px solid var(--line-2);vertical-align:middle;padding:12px 14px;font-size:13px}th{color:#475569;text-transform:uppercase;letter-spacing:.04em;z-index:1;background:#f8fafc;font-size:12px;position:sticky;top:0}tr:hover td{background:#fbfefd}tbody tr:last-child td{border-bottom:0}.person-cell{justify-content:center;align-items:center;gap:9px;min-width:180px;display:flex}.row-actions{justify-content:center;gap:6px;display:flex}.empty-state{min-height:146px;color:var(--muted);text-align:center;border:1px dashed var(--line);background:#fbfefd;border-radius:14px;align-content:center;place-items:center;gap:6px;padding:18px;display:grid}.empty-state div{width:38px;height:38px;color:var(--primary);background:#eef5f4;border-radius:50%;place-items:center;font-size:22px;display:grid}.empty-state span{font-size:13px}.empty-state.compact{min-height:94px}.empty-state.compact div{display:none}.smart-form{align-items:end;gap:12px;display:grid}.smart-form.one{grid-template-columns:1fr}.smart-form.three{grid-template-columns:1.2fr 2fr auto}.smart-form.four{grid-template-columns:repeat(4,minmax(140px,1fr))}.form-field{color:var(--text);gap:6px;font-size:13px;font-weight:600;display:grid}.form-field span{color:var(--muted)}.filter-row{grid-template-columns:repeat(4,minmax(160px,1fr));align-items:center;gap:10px;display:grid}.attendance-filter-row{grid-template-columns:minmax(300px,1fr) 118px 118px minmax(220px,280px) 136px 136px 178px;align-items:stretch}.attendance-filter-row button{white-space:nowrap;min-height:44px;padding-inline:14px}.attendance-filter-button,.attendance-export-button{width:136px}.attendance-recalculate-button{width:178px}.adjustment-filter-row{grid-template-columns:minmax(340px,1fr) 118px 118px minmax(180px,220px) 136px;align-items:stretch}.adjustment-filter-row button{white-space:nowrap;min-height:44px;padding-inline:14px}.adjustment-filter-button{width:136px}.report-page .page-actions{justify-content:flex-end}.report-period-card{padding:18px 18px 16px}.report-period-card .panel-header{margin-bottom:12px}.report-period-grid{grid-template-columns:minmax(180px,1.15fr) minmax(130px,.82fr) minmax(130px,.82fr) minmax(180px,.95fr) minmax(220px,1.35fr) minmax(180px,1.1fr);align-items:end;gap:10px;display:grid}.report-period-grid>*{min-width:0}.report-filter-actions{justify-content:flex-end;align-items:stretch;gap:10px;margin-top:10px;display:flex}.report-filter-actions button{white-space:nowrap;min-height:44px;padding-inline:20px}.report-filter-actions .secondary{flex:none}.report-filter-actions>button:first-child{min-width:180px}.report-recalculate-action{min-width:270px}.report-kpi-grid{grid-template-columns:repeat(4,minmax(190px,1fr))}.employee-filter-card{padding:18px 20px}.employee-filter-grid{grid-template-columns:minmax(260px,1fr) 240px 180px 180px minmax(290px,auto);align-items:stretch}.employee-filter-grid button{min-height:44px}.employee-filter-actions{grid-template-columns:minmax(120px,1fr) minmax(140px,1fr);align-items:stretch;gap:10px;display:grid}.employee-filter-actions button{white-space:nowrap;width:100%}.employee-create-form{border-top:1px solid var(--line-2);margin-top:16px;padding-top:16px}.employee-create-heading{border:1px solid var(--line-2);background:#f6fbfa;border-radius:14px;gap:4px;padding:12px 14px;display:grid}.employee-create-heading strong{color:var(--heading);font-size:15px}.employee-create-heading span{color:var(--muted);font-size:13px;line-height:1.45}.employee-create-actions{grid-template-columns:minmax(90px,.8fr) minmax(100px,1fr);align-items:stretch;gap:10px;display:grid}.employee-create-actions button{min-height:44px}.two-col{grid-template-columns:1fr 1fr;gap:18px;display:grid}.quick-actions{grid-template-columns:repeat(5,minmax(160px,1fr));gap:12px;display:grid}.quick-actions button{color:var(--heading);border:1px solid var(--line);box-shadow:var(--shadow-sm);text-align:left;background:#fff;align-items:center;gap:9px;display:inline-flex}.quick-actions button svg{color:var(--primary);flex:none}.quick-actions button:hover{border-color:var(--primary-2)}.list-card{gap:10px;display:grid}.list-item{border:1px solid var(--line-2);border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;display:grid}.list-item small{color:var(--muted);margin-top:3px;display:block}.round-icon{background:var(--primary-soft);width:38px;height:38px;color:var(--primary);border-radius:14px;place-items:center;font-weight:700;display:grid}.round-icon svg{display:block}.qr-code-chip{margin-top:5px;display:inline-block}.alert{border-radius:13px;padding:12px 14px;font-size:13px;font-weight:700}.alert.success{background:var(--success-soft);color:#047857;border:1px solid #bbf7d0}.alert.danger{background:var(--danger-soft);color:#b91c1c;border:1px solid #fecaca}.alert.info{background:var(--info-soft);color:#1d4ed8;border:1px solid #bfdbfe}.export-preview{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px;display:grid}.export-preview div,.setting-list div{border:1px solid var(--line-2);background:#fbfefd;border-radius:14px;gap:4px;padding:14px;display:grid}.export-preview span,.setting-list span{color:var(--muted);font-size:12px;font-weight:600}.setting-list{gap:10px;display:grid}.employee-page{gap:18px;max-width:1380px;margin:0 auto;display:grid}.employee-hero{background:radial-gradient(circle at 0 0,#14b8a62e,#0000 38%),#fff;justify-content:space-between;align-items:center;gap:20px;display:flex}.employee-hero h1{margin-top:6px;font-size:30px}.employee-hero p{color:var(--muted);margin-top:8px}.eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:.08em;font-size:18px;font-weight:700}.hero-status-card{border:1px solid var(--line);min-width:210px;box-shadow:var(--shadow-sm);background:#fff;border-radius:18px;gap:8px;padding:16px;display:grid}.hero-status-card span{color:var(--muted);font-size:13px}.hero-status-card strong{font-size:24px}.employee-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;display:grid}.employee-stats-row{grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:16px;display:grid}.employee-stat{border:1px solid var(--line-2);background:#fbfefd;border-radius:14px;gap:5px;padding:13px;display:grid}.employee-stat span{color:var(--muted);font-size:12px;font-weight:600}.employee-stat strong{color:var(--heading);font-size:16px}.employee-stat small{color:var(--muted)}.qr-workflow{grid-template-columns:1fr minmax(320px,430px);align-items:start;gap:18px;display:grid}.scanner-card{border:1px solid var(--line);background:#fbfefd;border-radius:18px;padding:14px}.scanner-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.qr-video{border:1px solid var(--line);object-fit:cover;background:#0f172a;border-radius:16px;width:100%;max-height:280px}.button-row{flex-wrap:wrap;gap:10px;margin:14px 0;display:flex}.button-row button{flex:1;min-width:130px}.login-page.upgraded{background:radial-gradient(circle at 15% 15%,#14b8a63d,#0000 28%),radial-gradient(circle at 82% 25%,#0f766e21,#0000 24%),linear-gradient(135deg,#f8fffe,#eef7f5);grid-template-columns:minmax(360px,1.15fr) minmax(340px,520px);align-items:center;gap:32px;min-height:100vh;padding:42px;display:grid}.login-page.upgraded.auth-centered{grid-template-columns:minmax(320px,480px);place-content:center}.login-page.upgraded.auth-centered .login-card.upgraded{justify-self:center}.login-visual{gap:32px;padding:30px;display:grid}.login-visual h1{font-size:42px}.login-visual p{color:var(--muted);max-width:560px;margin-top:8px;font-size:16px}.login-feature-grid{grid-template-columns:repeat(3,1fr);gap:14px;max-width:780px;display:grid}.login-feature-grid div{box-shadow:var(--shadow-sm);background:#ffffffc7;border:1px solid #dbe7e5e6;border-radius:18px;gap:8px;padding:18px;display:grid}.login-feature-grid span{color:var(--muted);font-size:13px;line-height:1.5}.login-card.upgraded{gap:14px;width:100%;padding:28px;display:grid}.login-card.upgraded h2{font-size:28px}.login-card.upgraded p{color:var(--muted)}.hint-card{border:1px dashed var(--line);color:var(--muted);background:#f8fafc;border-radius:14px;gap:6px;padding:13px;font-size:13px;display:grid}.hint-card strong{color:var(--heading)}@media (width<=1240px){.app-header{grid-template-columns:auto minmax(220px,1fr) auto}.workspace-pill{display:none}.kpi-grid{grid-template-columns:repeat(3,1fr)}.span-7,.span-5,.span-8,.span-4{grid-column:span 12}.side-panels{grid-template-columns:1fr 1fr}.employee-stats-row{grid-template-columns:repeat(3,1fr)}}@media (width<=980px){.app-header{grid-template-columns:1fr;align-items:stretch;height:auto}.header-actions,.global-search{justify-self:stretch}.admin-workspace{grid-template-columns:1fr}.admin-sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;position:static}.admin-sidebar nav{grid-template-columns:repeat(2,1fr);display:grid}.admin-content{padding:18px}.smart-form.four,.smart-form.three,.filter-row,.export-preview,.two-col,.quick-actions,.side-panels,.qr-workflow,.attendance-filter-row,.adjustment-filter-row{grid-template-columns:1fr}.attendance-filter-row button,.adjustment-filter-row button,.attendance-filter-button,.attendance-export-button,.attendance-recalculate-button,.adjustment-filter-button{width:100%}.report-period-grid,.report-filter-actions{grid-template-columns:1fr;max-width:none}.report-filter-actions{justify-content:stretch;display:grid}.report-field-employee,.report-field-status{grid-column:auto}.report-recalculate-action{min-width:0}.kpi-grid,.kpi-grid.compact{grid-template-columns:repeat(2,1fr)}.login-page.upgraded{grid-template-columns:1fr;padding:24px}.login-feature-grid{grid-template-columns:1fr}}@media (width<=640px){.app-main{padding:14px}.page-title-row,.panel-header,.employee-hero{flex-direction:column;align-items:stretch}.kpi-grid,.kpi-grid.compact,.employee-stats-row,.admin-sidebar nav{grid-template-columns:1fr}.donut-wrap{grid-template-columns:1fr;justify-items:center}.user-meta,.global-search kbd{display:none}.view-switcher{width:100%}.view-switcher button{flex:1}}.smart-form.two{grid-template-columns:repeat(2,minmax(180px,1fr))}.span-2{grid-column:span 2}.readonly-input{color:#475569;background:#f8fafc;font-weight:700}.form-note{border:1px dashed var(--line);color:var(--muted);background:#fbfefd;border-radius:12px;padding:11px 13px;font-size:13px;line-height:1.45}.action-group{flex-wrap:wrap;justify-content:center;gap:7px;display:flex}.alert.warning{background:var(--warning-soft);color:#92400e;border:1px solid #fde68a}.modal-backdrop{z-index:300;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172a75;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--line);background:#fff;border-radius:22px;gap:16px;width:min(760px,100%);max-height:min(92vh,860px);padding:22px;display:grid;overflow:auto;box-shadow:0 28px 80px #0f172a38}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.modal-header h2{margin-top:4px;font-size:22px}.icon-close{color:#334155;width:38px;height:38px;box-shadow:none;background:#f1f5f9;border:1px solid #e2e8f0;place-items:center;padding:0;font-size:24px;line-height:1;display:grid}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.account-popup{width:min(680px,100%)}.credential-card{background:linear-gradient(145deg,#f0fdfa,#fff);border:1px solid #ccfbf1;border-radius:18px;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;padding:16px;display:grid}.credential-card div{gap:5px;display:grid}.credential-card span{color:var(--muted);font-size:12px;font-weight:700}.credential-card strong{color:var(--heading);font-size:17px}.credential-password{letter-spacing:.08em;color:var(--primary-dark)!important;font-size:24px!important}.password-required-page .login-card.upgraded .ghost-button{width:100%}button{font-weight:650}.brand-title,.sidebar-section-title,.nav-group-label,.kpi-icon,.status-badge,.eyebrow{font-weight:700}.form-field{font-weight:600}@media (width<=980px){.smart-form.two,.span-2,.credential-card{grid-column:auto;grid-template-columns:1fr}.filter-row.inline,.employee-filter-grid,.employee-filter-actions,.employee-create-actions{grid-template-columns:1fr;width:100%;min-width:0}.employee-create-heading.span-4{grid-column:auto}}.filter-row.inline{grid-template-columns:minmax(210px,1fr) 210px 210px 190px;min-width:min(860px,100%)}.employee-filter-grid{grid-template-columns:minmax(260px,1fr) 240px 180px 180px minmax(290px,auto);width:100%;min-width:0}@media (width<=980px){.employee-filter-grid,.employee-filter-actions,.employee-create-actions{grid-template-columns:1fr;width:100%;min-width:0}.employee-create-heading.span-4{grid-column:auto}}.location-create-form{grid-template-columns:1.1fr 170px minmax(280px,2fr) 150px 150px minmax(230px,1fr) auto}.location-note{align-items:center;min-height:44px;display:flex}button.mini-action.secondary{color:var(--primary-dark);background:#e8f2f1}.qr-modal-card{width:min(560px,100%)}.qr-print-sheet{border:1px dashed var(--line);text-align:center;background:#fff;border-radius:20px;justify-items:center;gap:10px;padding:24px;display:grid}.qr-print-title{color:var(--heading);font-size:22px;font-weight:800}.qr-print-subtitle,.qr-print-location{color:var(--muted);font-size:13px;font-weight:600}.qr-print-image{width:min(320px,72vw);height:auto;display:block}.qr-print-code{border:1px solid var(--line);background:#f8fafc;border-radius:10px;padding:8px 10px;font-size:14px;display:inline-block}@media (width<=1180px){.location-create-form{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media print{body *{visibility:hidden!important}.qr-print-sheet,.qr-print-sheet *{visibility:visible!important}.qr-print-sheet{border:0;border-radius:0;align-content:start;width:100vw;height:100vh;padding:42px;position:fixed;inset:0}.no-print{display:none!important}}.form-actions-right{grid-column:1/-1;justify-content:flex-end;display:flex}.form-actions-right button{min-width:180px}.assignment-filter-grid{grid-template-columns:minmax(260px,1.5fr) 180px 180px auto}.cell-main{gap:4px;min-width:0;display:grid}.cell-main strong{color:var(--heading);font-weight:700}.cell-main span{color:var(--muted);font-size:12px;line-height:1.35}.assignment-actions{flex-wrap:wrap;justify-content:flex-start;min-width:320px}.assignment-employee-modal{width:min(980px,100%)}.assignment-employee-toolbar{grid-template-columns:minmax(260px,1fr) 180px auto;align-items:end}.selection-count{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#f8fafc;border-radius:12px;justify-content:center;align-items:center;gap:5px;padding:10px 12px;font-weight:600;display:flex}.selection-count strong{color:var(--heading)}.assignment-employee-list{border:1px solid var(--line-2);background:#fbfefd;border-radius:16px;gap:8px;max-height:min(54vh,520px);padding:4px;display:grid;overflow:auto}.assignment-employee-row{border:1px solid var(--line-2);cursor:pointer;background:#fff;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.assignment-employee-row input{width:18px;height:18px}.assignment-employee-row.blocked{cursor:not-allowed;background:#fff7ed;border-color:#fed7aa}.assignment-employee-row.blocked .cell-main strong{color:#9a3412}.assignment-employee-row.multi-assigned{background:#f8fafc}@media (width<=900px){.assignment-filter-grid,.assignment-employee-toolbar{grid-template-columns:1fr}.assignment-actions{min-width:0}}.attendance-month-modal{width:min(96vw,1480px);max-height:94vh}.attendance-detail-modal{width:min(94vw,1360px);max-height:92vh}.attendance-summary-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.attendance-summary-grid div{border:1px solid var(--line-2);text-align:center;background:#fbfefd;border-radius:16px;align-content:center;justify-items:center;gap:5px;padding:14px 16px;display:grid}.attendance-summary-grid span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.attendance-summary-grid strong{color:var(--heading);font-size:22px}.attendance-modal-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.attendance-toolbar-actions,.modal-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.tab-buttons{border:1px solid var(--line-2);background:#f8fafc;border-radius:999px;gap:6px;padding:5px;display:inline-flex}.tab-buttons button{min-height:34px;color:var(--muted);box-shadow:none;background:0 0;border:0;border-radius:999px;padding:7px 14px}.tab-buttons button.active{background:var(--primary);color:#fff}.attendance-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:14px;font-size:12px;font-weight:600;display:flex}.attendance-legend span{align-items:center;gap:6px;display:inline-flex}.legend-dot{border:1px solid #0000;border-radius:999px;width:10px;height:10px;display:inline-block}.legend-dot.success{background:var(--success-soft);border-color:#bbf7d0}.legend-dot.warning{background:var(--warning-soft);border-color:#fde68a}.legend-dot.danger{background:var(--danger-soft);border-color:#fecaca}.legend-dot.muted{background:#f1f5f9;border-color:#e2e8f0}.attendance-person-cell{text-align:left;min-width:240px}.attendance-day-cell{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;min-width:36px;height:30px;padding:0 7px;font-size:12px;font-weight:600;display:inline-flex}.attendance-day-cell.success{background:var(--success-soft);color:#047857;border-color:#bbf7d0}.attendance-day-cell.warning{background:var(--warning-soft);color:#92400e;border-color:#fde68a}.attendance-day-cell.danger{background:var(--danger-soft);color:#b91c1c;border-color:#fecaca}.attendance-day-cell.neutral,.attendance-day-cell.muted{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.attendance-day-cell.muted{opacity:.65}.raw-log-download{white-space:nowrap}button.mini-action.icon-action.raw-log-download{min-width:34px}.raw-log-download:disabled{color:#64748b;cursor:not-allowed;background:#e2e8f0}.log-mini-list{text-align:left;color:#475569;gap:4px;min-width:220px;font-size:12px;display:grid}@media (width<=900px){.attendance-summary-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}.attendance-month-modal{gap:10px;width:min(98.5vw,1580px);max-height:96vh;padding:14px}.attendance-month-modal .modal-header h2{margin-top:0;font-size:18px}.attendance-month-modal .modal-header p{margin:4px 0 0;font-size:12px}.attendance-month-modal .attendance-summary-grid{gap:8px}.attendance-month-modal .attendance-summary-grid div{border-radius:12px;padding:8px 10px}.attendance-month-modal .attendance-summary-grid span{font-size:10px}.attendance-month-modal .attendance-summary-grid strong{font-size:17px}.attendance-month-modal .attendance-modal-toolbar{gap:8px}.attendance-month-modal .tab-buttons{padding:3px}.attendance-month-modal .tab-buttons button{min-height:28px;padding:5px 10px;font-size:12px}.attendance-month-modal .attendance-toolbar-actions button{min-height:30px;padding:6px 10px;font-size:12px}.attendance-month-modal .attendance-legend{gap:10px;font-size:11px}.attendance-month-modal .table-shell{border-radius:12px;overflow-x:hidden}.attendance-month-modal table{table-layout:fixed;width:100%;min-width:0!important}.attendance-month-modal th,.attendance-month-modal td{padding:7px 3px;font-size:11px;line-height:1.2}.attendance-month-modal th{letter-spacing:.02em;font-size:10px}.attendance-month-modal th:first-child,.attendance-month-modal td:first-child{text-align:left;width:188px;min-width:188px;max-width:188px;padding-left:10px}.attendance-month-modal .attendance-matrix-work th:nth-last-child(3),.attendance-month-modal .attendance-matrix-work td:nth-last-child(3){width:56px;min-width:56px;max-width:56px}.attendance-month-modal .attendance-matrix-work th:nth-last-child(2),.attendance-month-modal .attendance-matrix-work td:nth-last-child(2),.attendance-month-modal .overtime-matrix th:nth-last-child(2),.attendance-month-modal .overtime-matrix td:nth-last-child(2){width:72px;min-width:72px;max-width:72px}.attendance-month-modal th:last-child,.attendance-month-modal td:last-child{width:88px;min-width:88px;max-width:88px}.attendance-month-modal .attendance-person-cell{gap:2px;min-width:0}.attendance-month-modal .attendance-person-cell strong{text-overflow:ellipsis;white-space:nowrap;max-width:168px;font-size:12px;display:block;overflow:hidden}.attendance-month-modal .attendance-person-cell span{text-overflow:ellipsis;white-space:nowrap;max-width:168px;font-size:10px;display:block;overflow:hidden}.attendance-month-modal .attendance-day-cell{border-radius:8px;min-width:24px;height:23px;padding:0 3px;font-size:10.5px;font-weight:600}.attendance-month-modal .mini-action{border-radius:8px;min-height:26px;padding:5px 7px;font-size:10.5px}@media (width<=1200px){.attendance-month-modal th:first-child,.attendance-month-modal td:first-child{width:160px;min-width:160px;max-width:160px}.attendance-month-modal .attendance-person-cell strong,.attendance-month-modal .attendance-person-cell span{max-width:142px}.attendance-month-modal th:last-child,.attendance-month-modal td:last-child{width:76px;min-width:76px;max-width:76px}.attendance-month-modal .mini-action{padding:5px 6px}}.attendance-month-modal .mini-action.icon-action{width:30px;min-width:30px;height:30px;padding:0}.qr-workflow.compact-punch{grid-template-columns:minmax(260px,1fr) minmax(280px,360px)}.punch-button-row button{min-height:48px;font-size:15px}.last-qr-box{border:1px solid var(--line);background:#fbfefd;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 12px;padding:10px 12px;display:flex}.last-qr-box span{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:700}.last-qr-box code{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.punch-guide-card{gap:10px;display:grid}.punch-guide-card ol{color:var(--text);margin:0;padding-left:19px;line-height:1.55}.punch-guide-card small{color:var(--muted);line-height:1.45}.punch-scanner-modal{width:min(640px,100%)}.punch-scanner-modal .modal-header p{color:var(--muted);margin-top:6px;line-height:1.45}.punch-scanner-modal .qr-box{gap:12px;display:grid}.punch-scanner-modal .qr-box>button{justify-self:start}.punch-scanner-modal .qr-video{width:100%;height:min(58vh,420px);max-height:none}@media (width<=980px){.qr-workflow.compact-punch{grid-template-columns:1fr}.punch-scanner-modal .qr-video{height:min(54vh,360px)}}.employee-log-list-mobile,.employee-mobile-action-bar{display:none}.employee-log-table table{min-width:720px}.employee-page .list-item>div{min-width:0}.employee-page .qr-code-chip{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.employee-page .status-badge{max-width:100%}@media (width<=720px){.app-main:not(.app-main-admin){width:100%;padding:10px 10px calc(92px + env(safe-area-inset-bottom))}.app-header{gap:8px;padding:10px}.app-header .global-search,.app-header .icon-button{display:none}.brand-area{gap:9px}.brand-mark{flex-basis:38px;width:38px;height:38px}.brand-title{font-size:15px}.header-actions{align-items:stretch;gap:7px}.header-actions>.ghost-button{border-radius:11px;padding:9px 10px}.view-switcher{flex:160px}.user-menu{margin-left:auto}.avatar{width:36px;height:36px}.employee-page{gap:10px;width:100%;max-width:none}.employee-grid{gap:10px}.employee-page .panel-card{border-radius:16px;padding:12px}.employee-page .panel-header{gap:8px;margin-bottom:10px}.employee-page .panel-header h2{font-size:16px}.employee-page .panel-header p{font-size:12px;line-height:1.4}.employee-hero{gap:10px;padding:13px 12px}.employee-hero h1{margin-top:4px;font-size:20px;line-height:1.18}.employee-hero p{margin-top:6px;font-size:13px;line-height:1.4;display:block}.employee-page .eyebrow{letter-spacing:.06em;font-size:10.5px}.hero-status-card{border-radius:14px;grid-template-columns:1fr auto;align-items:center;gap:7px 10px;width:100%;min-width:0;padding:10px 11px}.hero-status-card span{font-size:12px}.hero-status-card .status-badge{justify-self:end}.hero-status-card strong{grid-column:1/-1;font-size:20px;line-height:1.05}.employee-punch-card{order:-2}.date-pill{justify-content:center;width:100%;padding:7px 9px}.employee-stats-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.employee-stat{border-radius:13px;gap:3px;min-width:0;padding:10px}.employee-stat:first-child{grid-column:1/-1}.employee-stat span{font-size:11px}.employee-stat strong{text-overflow:ellipsis;min-width:0;font-size:15px;line-height:1.25;overflow:hidden}.employee-stat .status-badge{white-space:normal;text-align:left;justify-content:flex-start;line-height:1.25}.qr-workflow.compact-punch{gap:10px}.employee-punch-actions{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0;display:grid}.employee-punch-actions button{border-radius:13px;min-width:0;min-height:48px;padding:10px 8px;font-size:14px}.punch-guide-card{display:none}.last-qr-box{border-radius:13px;grid-template-columns:82px minmax(0,1fr);margin:8px 0 10px;padding:9px 10px;display:grid}.employee-page .alert{border-radius:12px;padding:10px 11px;font-size:12px;line-height:1.4}.employee-location-card .list-card{gap:8px}.employee-location-card .list-item{border-radius:13px;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:10px}.employee-location-card .round-icon{border-radius:12px;width:34px;height:34px}.employee-location-card .list-item strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.employee-location-card .list-item small{font-size:11.5px;line-height:1.35}.employee-location-card .qr-code-chip{padding:3px 6px;font-size:11px}.employee-log-table{display:none}.employee-log-list-mobile{gap:8px;display:grid}.employee-log-item{border:1px solid var(--line-2);background:#fbfefd;border-radius:13px;gap:9px;padding:10px;display:grid}.employee-log-item>div:first-child{gap:3px;display:grid}.employee-log-item strong{color:var(--heading)}.employee-log-item span{color:var(--muted);font-size:12px}.employee-log-item dl{grid-template-columns:1fr 1fr;gap:8px;margin:0;display:grid}.employee-log-item dl div{border:1px solid var(--line-2);background:#fff;border-radius:11px;padding:8px}.employee-log-item dt{color:var(--muted);margin:0 0 3px;font-size:11px;font-weight:700}.employee-log-item dd{color:var(--heading);margin:0;font-weight:700}.employee-adjustment-card .smart-form{gap:9px}.employee-adjustment-card button{min-height:46px}.employee-page input,.employee-page select{border-radius:11px;min-height:42px;padding:9px 11px;font-size:13px}.employee-page .form-field{gap:5px}.employee-page .form-field span{font-size:12px}.employee-mobile-action-bar{z-index:60;padding:10px 10px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;grid-template-columns:1fr 1fr;gap:8px;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 32px #0f172a1f}.employee-mobile-action-bar button{border-radius:13px;min-width:0;min-height:48px;padding:10px 8px}.punch-scanner-modal{border-radius:0;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:100dvh;max-height:100dvh;padding:12px}.punch-scanner-modal .modal-header{gap:10px}.punch-scanner-modal .modal-header h2{font-size:18px}.punch-scanner-modal .modal-header p{font-size:12px;line-height:1.35}.punch-scanner-modal .icon-close{flex:0 0 36px;width:36px;height:36px}.punch-scanner-modal .qr-box{align-content:start;min-height:0}.punch-scanner-modal .qr-box>button,.punch-scanner-modal .modal-actions button{justify-self:stretch;width:100%}.punch-scanner-modal .qr-video{border-radius:16px;height:min(64dvh,100dvh - 210px)}.punch-scanner-modal .modal-actions{justify-content:stretch}}@media (width<=380px){.employee-stats-row,.employee-log-item dl,.employee-punch-actions,.employee-mobile-action-bar{grid-template-columns:1fr}.employee-mobile-action-bar{box-shadow:none;background:0 0;border-top:0;margin-top:10px;padding:0;position:static}.app-main:not(.app-main-admin){padding-bottom:10px}}.span-12{grid-column:span 12}.compact-header{z-index:auto;grid-template-columns:auto minmax(240px,1fr) auto}.compact-header .brand-area{min-width:0}.compact-actions{justify-self:end}.header-menu-wrapper{z-index:70;position:relative}.hamburger-button{width:44px;height:44px;color:var(--primary-dark);border:1px solid var(--line);box-shadow:var(--shadow-sm);background:#eef5f4;border-radius:14px;place-content:center;gap:5px;padding:0;display:grid}.hamburger-button span{background:currentColor;border-radius:99px;width:20px;height:2px;display:block}.header-menu-card{z-index:70;border:1px solid var(--line);background:#fff;border-radius:18px;gap:6px;width:min(320px,100vw - 20px);padding:10px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 22px 60px #0f172a2e}.header-menu-card button{text-align:left;width:100%;color:var(--heading);box-shadow:none;background:0 0;border-radius:13px;justify-content:flex-start;padding:11px 12px}.header-menu-card button:hover,.header-menu-card button.active{background:var(--primary-soft);color:var(--primary-dark)}.header-menu-card .danger-menu-item{color:var(--danger)}.header-menu-card .danger-menu-item:hover{background:var(--danger-soft);color:var(--danger)}.menu-user-row{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:8px 8px 10px;display:grid}.menu-user-row strong,.menu-user-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.menu-user-row span{color:var(--muted);margin-top:2px;font-size:12px}.menu-divider{background:var(--line);height:1px;margin:4px 0}.menu-scrim{z-index:50;box-shadow:none;background:0 0;border:0;padding:0;position:fixed;inset:0}.compact-hero h1{font-size:26px}.employee-report-toolbar{grid-template-columns:minmax(180px,260px) auto auto;align-items:end;gap:10px;display:grid}.employee-report-toolbar button{min-height:44px}.employee-report-toolbar button:last-child{color:#fff;background:linear-gradient(135deg,#dc2626,#f97316);box-shadow:0 12px 24px #dc262633}.employee-report-toolbar button:last-child:hover:not(:disabled){box-shadow:0 16px 30px #dc262642}.report-summary-row{margin-bottom:0}.report-summary-row .report-stat:first-child{grid-column:auto}.report-stat{text-align:center;background:#fff;align-content:center;justify-items:center}.report-stat span,.report-stat strong,.report-stat small{text-align:center;width:100%}.report-location-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.report-location-item{border:1px solid var(--line-2);background:#fbfefd;border-radius:14px;gap:5px;padding:12px;display:grid}.report-location-item span{color:var(--muted);font-size:12px;line-height:1.4}.employee-report-table table{min-width:980px}.employee-adjustment-page-card{width:100%;max-width:860px}.span-form-full{grid-column:1/-1}.form-actions{justify-content:flex-end;display:flex}.form-actions button{min-width:180px}@media (width<=720px){.compact-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;height:auto}.compact-header .global-search{display:none}.hamburger-button{border-radius:13px;width:40px;height:40px}.header-menu-card{width:calc(100vw - 20px);position:fixed;top:62px;right:10px}.compact-hero h1{font-size:20px}.employee-report-toolbar{grid-template-columns:1fr;gap:8px}.employee-report-toolbar button,.form-actions button{width:100%}.report-summary-row{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-report-table{overflow-x:auto}.employee-adjustment-page-card{max-width:none}.employee-adjustment-page-card .smart-form.two{grid-template-columns:1fr}}.employee-current-action-card{border:1px solid var(--line-2);background:linear-gradient(135deg,#14b8a61a,#fbfefd 58%);border-radius:18px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:16px;display:flex}.employee-current-action-card h3{margin:5px 0 6px;font-size:24px}.employee-current-action-card p{color:var(--muted);margin:0;line-height:1.45}.employee-current-action-card button{white-space:nowrap;min-width:210px}.employee-stats-row.employee-stats-row-compact{grid-template-columns:repeat(7,minmax(0,1fr))}.employee-stats-row.employee-stats-row-compact .employee-stat:first-child{grid-column:span 2}.attendance-breakdown-box{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px;display:grid}.attendance-breakdown-box>div{border:1px dashed var(--line-2);background:#fff;border-radius:14px;gap:5px;padding:12px;display:grid}.attendance-breakdown-box span{color:var(--muted);font-size:12px;font-weight:700}.attendance-breakdown-box strong{color:var(--heading);font-size:15px}.attendance-breakdown-box small{color:var(--muted)}@media (width<=1100px){.employee-stats-row.employee-stats-row-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.employee-stats-row.employee-stats-row-compact .employee-stat:first-child{grid-column:1/-1}.attendance-breakdown-box{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.employee-current-action-card{gap:12px;padding:13px;display:grid}.employee-current-action-card h3{font-size:20px}.employee-current-action-card button{width:100%;min-width:0}.employee-stats-row.employee-stats-row-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-breakdown-box{grid-template-columns:1fr}}.employee-punch-summary-card{grid-template-columns:minmax(0,1fr);justify-content:stretch;place-items:stretch stretch;gap:14px;display:grid}.employee-current-action-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.current-shift-chip{background:#ffffffbd;border:1px solid #14b8a62e;border-radius:14px;gap:4px;min-width:260px;max-width:390px;padding:10px 12px;display:grid}.current-shift-chip span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:800}.current-shift-chip strong{color:var(--heading);font-size:13px;line-height:1.35}.attendance-breakdown-box.attendance-breakdown-box-full{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat{background:#ffffffe0;border-style:solid;min-width:0;padding:11px 12px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat:first-child{grid-column:auto}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat.employee-stat-span-full{grid-column:1/-1}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat.employee-stat-span-2{grid-column:span 2}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.employee-punch-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:0;display:grid}.employee-current-action-card .employee-punch-actions button{width:100%;min-width:0;min-height:48px}.employee-punch-button{letter-spacing:.01em;border:1px solid #0000;font-weight:800;position:relative;overflow:hidden}.employee-punch-button.punch-check-in{background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 12px 24px #05966938}.employee-punch-button.punch-check-in:hover:not(:disabled){box-shadow:0 16px 30px #05966947}.employee-punch-button.punch-check-out{background:linear-gradient(135deg,#dc2626,#f97316);box-shadow:0 12px 24px #dc262633}.employee-punch-button.punch-check-out:hover:not(:disabled){box-shadow:0 16px 30px #dc262642}.employee-punch-button:disabled{box-shadow:none}.employee-punch-button.is-inactive,.employee-punch-button.is-inactive:disabled{box-shadow:none;color:#94a3b8;cursor:not-allowed;opacity:.86;background:#f1f5f9;border-color:#e2e8f0}.employee-punch-button.is-active:disabled{cursor:wait;opacity:.78}@media (width<=1180px){.attendance-breakdown-box.attendance-breakdown-box-full{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=720px){.app-main:not(.app-main-admin){padding-bottom:12px}.employee-punch-summary-card{grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-self:stretch;justify-items:stretch;gap:10px;width:100%;max-width:none;margin-inline:0}.employee-punch-summary-card>.employee-current-action-header,.employee-punch-summary-card>.attendance-breakdown-box,.employee-punch-summary-card>.alert,.employee-punch-summary-card>.employee-punch-actions{justify-self:center;width:100%;max-width:390px}.employee-current-action-header{gap:10px;display:grid}.current-shift-chip{width:100%;min-width:0;max-width:none;padding:9px 10px}.attendance-breakdown-box.attendance-breakdown-box-full{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat{border-radius:12px;min-height:74px;padding:8px 7px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat span{font-size:10px;line-height:1.22}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat strong{font-size:13px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat small{font-size:10.5px;line-height:1.25}.employee-punch-actions{gap:8px}}@media (width<=380px){.attendance-breakdown-box.attendance-breakdown-box-full{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat{min-height:72px;padding:7px 6px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat span{font-size:9.6px}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat strong{font-size:12.5px}}@media (width<=340px){.attendance-breakdown-box.attendance-breakdown-box-full{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=380px){.employee-punch-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat{text-align:center;align-content:center;justify-items:center}.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat span,.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat strong,.attendance-breakdown-box.attendance-breakdown-box-full .employee-stat small{text-align:center;width:100%}@media (width>=1241px){.employee-grid{align-items:stretch}.employee-punch-summary-card{align-self:stretch;margin-bottom:0}.employee-location-card{flex-direction:column;align-self:stretch;height:100%;display:flex}.employee-location-card .list-card{flex:none}}.employee-adjustment-list-card{width:100%;max-width:860px}.employee-adjustment-list{gap:10px;display:grid}.adjustment-list-item{border:1px solid var(--line);width:100%;color:var(--heading);box-shadow:none;text-align:left;background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.adjustment-list-item:hover{background:#f8fffd;border-color:#14b8a673}.adjustment-list-item div{gap:4px;min-width:0;display:grid}.adjustment-list-item span:not(.status-badge){color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.employee-adjustment-result-modal,.adjustment-review-modal{width:min(1180px,100vw - 32px);max-height:calc(100vh - 32px);overflow:auto}.adjustment-review-modal{width:min(1280px,100vw - 32px)}.adjustment-detail-block,.adjustment-request-note{border:1px solid var(--line);background:#fbfefd;border-radius:16px;gap:10px;padding:12px;display:grid}.adjustment-detail-block span,.adjustment-request-note span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.adjustment-detail-block p,.adjustment-request-note p{color:var(--heading);white-space:pre-wrap;margin:0}.adjustment-compare-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:14px;margin-top:14px;display:grid}.adjustment-snapshot-card,.adjustment-edit-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.adjustment-snapshot-card h4,.adjustment-edit-card h4{color:var(--heading);margin:0 0 12px}.adjustment-review-column{flex-direction:column;min-height:100%;display:flex}.adjustment-review-column>.adjustment-snapshot-card,.adjustment-review-column>.compact-adjustment-form{flex:1}.adjustment-review-column>.adjustment-snapshot-card{background:#fbfefd}.adjustment-review-column>.adjustment-snapshot-card h4{font-size:14px}.adjustment-review-column .snapshot-grid{grid-template-columns:minmax(150px,1fr) minmax(120px,1.05fr);row-gap:9px}.snapshot-grid{grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);align-items:start;gap:8px 12px;display:grid}.snapshot-grid span{color:var(--muted);font-size:12px}.snapshot-grid strong{color:var(--heading);overflow-wrap:anywhere;font-size:13px}.muted-text{color:var(--muted)}.adjustment-table-text{text-overflow:ellipsis;white-space:nowrap;max-width:280px;overflow:hidden}.compact-adjustment-form{gap:10px}.adjustment-log-strip{border:1px dashed var(--line);color:var(--muted);background:#fbfefd;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;font-size:12px;display:flex}.adjustment-log-strip strong{color:var(--heading)}.adjustment-log-strip span{border:1px solid var(--line);background:#fff;border-radius:999px;padding:4px 8px}.adjustment-decision-box{border-top:1px solid var(--line);gap:12px;margin-top:14px;padding-top:14px;display:grid}@media (width<=860px){.employee-adjustment-list-card{max-width:none}.adjustment-compare-grid{grid-template-columns:1fr}.snapshot-grid{grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr)}.adjustment-list-item{flex-direction:column;align-items:flex-start}}button.danger{background:var(--danger);color:#fff}.app-shell.admin-layout-mode{background:linear-gradient(135deg,#f8fffe 0%,#eef7f5 100%);min-height:100vh}.admin-layout-mode .app-main-admin{height:100vh;min-height:100vh;overflow:hidden}.admin-layout-shell{background:linear-gradient(135deg,#f8fffe 0%,#eef7f5 100%);grid-template-columns:256px minmax(0,1fr);height:100vh;min-height:100vh;display:grid}.admin-layout-sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;width:256px;height:100vh;min-height:0;padding:0;display:flex;position:static;top:auto;overflow:hidden}.admin-sidebar-brand{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fff 0%,#f0fdfa 100%);flex:0 0 75px;align-items:center;gap:12px;height:75px;padding:0 20px;display:flex}.admin-sidebar-logo{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#fff;border-radius:12px;flex:0 0 36px;place-items:center;width:36px;height:36px;display:grid;box-shadow:0 10px 22px #0f766e2e}.admin-sidebar-logo-image{background:#fff;border:1px solid #0f766e29;overflow:hidden;box-shadow:0 10px 22px #0f766e1f}.admin-sidebar-logo-image img{object-fit:contain;width:100%;height:100%;padding:5px;display:block}.admin-sidebar-title{color:var(--primary-dark);font-size:14px;font-weight:700;line-height:1.2}.admin-sidebar-subtitle{color:#607572;margin-top:3px;font-size:12px;line-height:1.2}.admin-sidebar-nav{flex:1;align-content:start;gap:4px;min-height:0;padding:16px 12px;display:grid;overflow:auto}.admin-layout-sidebar .nav-group-label{color:#78928e;letter-spacing:.08em;text-transform:uppercase;margin:14px 8px 8px;font-size:11px;font-weight:700}.admin-layout-sidebar .admin-nav-item,.admin-sidebar nav .admin-nav-item{color:#27413e;width:100%;min-height:42px;box-shadow:none;text-align:left;background:0 0;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;font-size:14px;font-weight:600;transition:background .16s,color .16s,box-shadow .16s;display:flex}.admin-layout-sidebar .admin-nav-item:hover,.admin-sidebar nav .admin-nav-item:hover{color:var(--primary-dark);box-shadow:none;background:#e8f7f5;transform:none}.admin-layout-sidebar .admin-nav-item.active,.admin-sidebar nav .admin-nav-item.active{background:linear-gradient(135deg, var(--primary), var(--primary-2));color:#fff;box-shadow:0 12px 24px #0f766e33}.admin-layout-sidebar .nav-icon{color:currentColor;flex:0 0 20px;place-items:center;width:20px;height:20px;display:inline-grid}.admin-layout-sidebar .nav-icon svg{display:block}.admin-layout-main{background:linear-gradient(135deg,#f8fffe 0%,#eef7f5 100%);flex-direction:column;min-width:0;height:100vh;min-height:0;display:flex}.admin-layout-header{border-bottom:1px solid var(--line);background:#fff;flex:0 0 75px;justify-content:space-between;align-items:center;gap:18px;height:75px;padding:0 24px;display:flex}.admin-header-meta{min-width:0}.admin-header-title{color:var(--primary-dark);font-size:18px;font-weight:700;line-height:1.25}.admin-header-description{color:#607572;white-space:nowrap;text-overflow:ellipsis;margin-top:4px;font-size:14px;line-height:1.35;overflow:hidden}.admin-account-wrapper{flex:none;position:relative}.admin-account-button{border:1px solid var(--line);color:#27413e;min-height:42px;box-shadow:none;text-align:left;background:#fff;border-radius:12px;align-items:center;gap:12px;padding:8px 12px;display:inline-flex}.admin-account-button:hover{color:var(--primary-dark);box-shadow:none;background:#e8f7f5;transform:none}.admin-account-icon{color:var(--primary)}.admin-account-text{gap:1px;min-width:0;display:grid}.admin-account-text strong,.admin-account-text span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:180px;overflow:hidden}.admin-account-text strong{color:#27413e;font-size:14px;font-weight:700}.admin-account-text span{color:#607572;font-size:12px;font-weight:500}.admin-chevron{color:#607572;transition:transform .16s}.admin-chevron.open{transform:rotate(180deg)}.admin-account-menu{z-index:80;border:1px solid var(--line);background:#fff;border-radius:16px;width:240px;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 48px #0f766e29}.admin-account-menu button{color:#27413e;width:100%;min-height:44px;box-shadow:none;text-align:left;background:0 0;border-radius:0;align-items:center;gap:10px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.admin-account-menu button:hover{color:var(--primary-dark);box-shadow:none;background:#e8f7f5;transform:none}.admin-account-menu .danger-menu-item{color:#dc2626}.admin-account-menu .danger-menu-item:hover{color:#dc2626;background:#fef2f2}.admin-layout-main .admin-content{flex:1;min-height:0;padding:24px;overflow:auto}.admin-layout-main .breadcrumb{color:#607572;margin-bottom:14px}@media (width<=980px){.admin-layout-mode .app-main-admin{height:auto;min-height:100vh;overflow:visible}.admin-layout-shell{grid-template-columns:1fr;height:auto;min-height:100vh}.admin-layout-sidebar{border-right:0;border-bottom:1px solid var(--line);width:100%;height:auto;min-height:0}.admin-sidebar-brand{flex-basis:68px;height:68px}.admin-sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.admin-layout-main{height:auto;min-height:0}.admin-layout-header{align-items:flex-start;height:auto;min-height:72px;padding:14px 16px}.admin-header-description{white-space:normal}}@media (width<=640px){.admin-sidebar-nav{grid-template-columns:1fr}.admin-layout-header{flex-direction:column;align-items:stretch;gap:12px}.admin-account-button{justify-content:space-between;width:100%}.admin-account-text{flex:1}.admin-account-menu{width:auto;position:fixed;top:76px;left:12px;right:12px}.admin-layout-main .admin-content{padding:16px}}.overtime-filter-row{grid-template-columns:minmax(320px,1fr) 150px 150px minmax(170px,220px) 126px 116px;align-items:stretch}.overtime-filter-row button{white-space:nowrap;min-height:44px;padding-inline:14px}.overtime-filter-button{width:126px}.overtime-reset-button{width:116px}.overtime-review-stats{grid-template-columns:repeat(4,minmax(140px,1fr));gap:10px;margin-top:12px;display:grid}.overtime-review-stat{border:1px solid var(--line-2);text-align:center;background:#fbfefd;border-radius:14px;align-content:center;place-items:center;gap:4px;min-height:78px;padding:12px 14px;display:grid}.overtime-review-stat span{color:var(--muted);font-size:12px;font-weight:700}.overtime-review-stat strong{color:var(--heading);font-size:20px;line-height:1.1}.overtime-review-stat small{color:var(--muted);font-size:12px}.overtime-review-stat.warning{background:#fff9e8;border-color:#f9e7a5}.overtime-review-stat.success{background:#f1fff6;border-color:#c8f3d7}.overtime-review-stat.danger{background:#fff3f3;border-color:#ffd6d6}.overtime-review-stat.neutral{background:#fbfcfe;border-color:#e6edf5}@media (width<=1024px){.overtime-filter-row,.overtime-review-stats{grid-template-columns:1fr}.overtime-filter-button,.overtime-reset-button{width:100%}}.login-options{gap:9px;margin-top:2px;display:grid}.login-option{cursor:pointer;background:#f8fafcd1;border:1px solid #cbd5e1db;border-radius:14px;grid-template-columns:18px 1fr;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .18s,background .18s,box-shadow .18s;display:grid}.login-option:has(input:checked){background:#f0fdfaf0;border-color:#14b8a68c;box-shadow:0 10px 24px #0f766e17}.login-option input{accent-color:var(--primary);margin-top:3px}.login-option span{gap:3px;display:grid}.login-option strong{color:var(--heading);font-size:13px}.login-option small{color:var(--muted);font-weight:500;line-height:1.35}.saved-login-actions{color:#92400e;background:#fffbebeb;border:1px solid #f59e0b38;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;font-size:13px;font-weight:600;display:flex}.text-button{color:var(--primary-dark);min-height:auto;box-shadow:none;text-underline-offset:3px;background:0 0;border:0;padding:0;font-size:13px;font-weight:700;text-decoration:underline}.text-button:hover{box-shadow:none;transform:none}
