:root{color-scheme:light;--ink:#182c27;--muted:#5b6c66;--line:#dfe6e1;--green:#225b46;--green-dark:#153c32;--orange:#b65b21;--surface:#f4f7f4;--white:#fff;--r:12px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--surface)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #cc7a39;outline-offset:3px}a{color:var(--green);text-underline-offset:4px}button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 16px;font-weight:600;transition:background .15s,transform .15s}button:hover{background:#edf3ee}button:active{transform:translateY(1px)}button.primary{background:var(--green);border-color:var(--green);color:white}button.primary:hover{background:var(--green-dark)}button.text{border:0;background:transparent;padding:8px;color:var(--green)}input,select,textarea{min-height:44px;border:1px solid #bfcfc5;border-radius:7px;background:white;color:var(--ink);padding:10px 12px;max-width:100%;width:100%}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23334d40' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--green)}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem;font-weight:600}small,.small{font-size:.8125rem;line-height:1.5}.muted{color:var(--muted)}.skip{position:fixed;left:16px;top:-100px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--green-dark);color:#fff;padding:32px 20px;position:fixed;inset:0 auto 0 0;width:240px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px;border-bottom:1px solid #ffffff26}.brand img{width:68px;height:60px;object-fit:contain}.brand strong{font-size:1.125rem;display:block;line-height:1.35}.brand small{color:#d0dfd6}.nav-label{margin:28px 16px 12px;color:#bfd0c6;font-size:.8125rem}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-link{display:flex;align-items:center;gap:12px;text-decoration:none;color:#dbe8df;min-height:48px;border-radius:8px;padding:12px 16px;font-size:.9375rem;font-weight:500}.nav-link:hover{background:#ffffff0c}.nav-link[aria-current=page]{background:#ffffff16;color:white;border-left:3px solid #eaa364;padding-left:13px}.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-foot{margin-top:auto;padding:24px 12px 0;font-size:.8125rem;line-height:1.6;color:#cbdcd2}.sidebar-foot strong{display:block;color:white}.workspace{grid-column:2;min-width:0}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 40px;background:white;border-bottom:1px solid var(--line)}.breadcrumb{font-size:.875rem;color:var(--muted)}.breadcrumb b{font-weight:600;color:var(--ink)}.account{display:flex;align-items:center;gap:16px;font-size:.875rem}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf1e9;color:var(--green);font-weight:600}.menu-btn{display:none}.content{padding:36px 40px 48px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{font-size:.875rem;color:var(--muted);margin:0 0 8px}.page-head h1{font-size:1.875rem;line-height:1.2;letter-spacing:-.035em;margin:0;font-weight:650}.page-head p{margin:10px 0 0;line-height:1.5;font-size:.9375rem;color:var(--muted)}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.actions input[type=month]{width:175px}.notice{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e7d5b9;border-radius:10px;background:#fcf6eb;padding:16px 20px;margin-bottom:24px;color:#694720;font-size:.875rem;line-height:1.6}.notice strong{color:#65421c}.notice a{color:#694720;font-weight:600;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:22px 24px;background:white;border:1px solid var(--line);border-radius:var(--r);min-width:0}.stat .stat-title{font-size:.875rem;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px}.stat .value{display:block;font-size:2rem;line-height:1.25;font-weight:650;letter-spacing:-.04em;margin:16px 0 6px;font-variant-numeric:tabular-nums}.stat .sub{font-size:.8125rem;color:var(--muted)}.panels{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px;margin-bottom:24px}.panel{border:1px solid var(--line);background:white;border-radius:var(--r);min-width:0;overflow:hidden}.panel-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.panel-head h2{font-size:1rem;margin:0;font-weight:650}.panel-head p{margin:6px 0 0;font-size:.8125rem;color:var(--muted)}.panel-body{padding:24px}.chart{display:flex;align-items:flex-end;gap:8px;height:180px;padding-top:12px}.chart-bar{height:100%;display:flex;flex:1;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;min-width:0}.chart-bar .bar{width:100%;max-width:32px;min-height:3px;border-radius:4px 4px 0 0;background:#709380}.chart-bar:last-child .bar{background:var(--green)}.chart-bar span{font-size:.75rem;color:var(--muted)}.chart-bar b{font-size:.75rem;font-weight:500}.chart-legend{margin-top:20px;font-size:.8125rem;color:var(--muted);display:flex;justify-content:space-between;gap:12px}.device-card{display:flex;gap:16px;align-items:center;margin-bottom:24px}.device-illustration{width:60px;height:76px;border:3px solid #3f5048;background:#ecf2ec;border-radius:8px;padding:10px 8px;display:flex;flex-direction:column;justify-content:space-between;flex:none}.device-screen{height:27px;border-radius:2px;background:#afc7b6;border:1px solid #719780}.device-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.device-keys i{height:4px;background:#718879;border-radius:1px}.device-card h3{font-size:1rem;margin:0 0 6px}.badge{display:inline-block;border-radius:5px;background:#edf3ee;color:#315d43;padding:4px 8px;font-size:.75rem;font-weight:600;line-height:1.5;white-space:nowrap}.badge.warning{background:#fcf0dd;color:#80551c}.badge.danger{background:#f8e9e5;color:#904332}.badge.neutral{background:#eef1ef;color:#52635a}.device-details{display:flex;flex-direction:column;gap:16px}.detail-line{display:flex;justify-content:space-between;gap:16px;font-size:.875rem}.detail-line span:first-child{color:var(--muted)}.detail-line span:last-child{text-align:right}.divider{height:1px;background:var(--line);margin:24px 0}.toolbar{display:flex;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .search{max-width:300px;flex:1;min-width:180px}.toolbar select{max-width:220px}.toolbar input[type=date]{max-width:180px}.table-wrapper{overflow:auto;container-type:inline-size;max-inline-size:100%;max-block-size:620px}table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:.875rem;white-space:nowrap}th,td{padding:15px 24px;border-bottom:1px solid #eaf0eb;vertical-align:middle}thead{position:sticky;inset-block-start:0;z-index:2}thead th{background:#f8faf8;color:var(--muted);font-size:.8125rem;font-weight:500}tbody th{font-weight:500;background:white;position:sticky;inset-inline-start:0;z-index:1}tbody tr:hover td,tbody tr:hover th{background:#f8fbf8}tbody tr:last-child>*{border-bottom:0}.person{display:flex;align-items:center;gap:12px}.person-avatar{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:8px;background:#edf3ee;color:#44694f;font-size:.8125rem;font-weight:600}.person strong{font-weight:600;display:block}.person small{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.num{font-variant-numeric:tabular-nums}.table-foot{display:flex;justify-content:space-between;gap:12px;padding:16px 24px;border-top:1px solid var(--line);font-size:.8125rem;color:var(--muted);align-items:center}.pagination{display:flex;gap:8px}.pagination button{min-height:36px;padding:6px 12px;font-size:.8125rem}.empty{text-align:center;padding:48px 24px;color:var(--muted);line-height:1.7}.empty h3{color:var(--ink);margin:0 0 8px}.empty button{margin-top:16px}.setup-list{display:flex;flex-direction:column;gap:0}.setup-item{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:.875rem;text-decoration:none;color:var(--ink)}.setup-item:last-child{border:0}.setup-item .tick{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#edf2ec;color:var(--green);font-size:.75rem;flex:none}.setup-item .tick.todo{background:#fbefdc;color:#80551c}.setup-item small{display:block;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid .full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.form-note{font-size:.8125rem;color:var(--muted);line-height:1.6;margin:0}.check-row{display:flex;align-items:center;gap:10px;flex-direction:row;min-height:36px;font-weight:400}.check-group{display:flex;flex-wrap:wrap;gap:12px}.stack{display:flex;flex-direction:column;gap:24px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.report{padding:24px;display:flex;flex-direction:column;gap:16px}.report h2{font-size:1.125rem;margin:0}.report p{color:var(--muted);font-size:.875rem;line-height:1.7;margin:0;flex:1}.report .icon{width:28px;height:28px}.summary-line{padding:16px 24px;background:#f8faf8;line-height:1.6;font-size:.875rem}.salary-warnings{font-size:.75rem;color:#8b5720;max-width:240px;white-space:normal;line-height:1.6}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-day{padding:12px;min-height:90px;border:1px solid var(--line);border-radius:8px;font-size:.8125rem;line-height:1.7;background:white}.calendar-day b{display:block;font-size:.875rem}.calendar-day.attended{background:#edf5ef;border-color:#d1e4d4}.calendar-day.late{background:#fff4e5}.calendar-weekday{font-size:.8125rem;color:var(--muted);padding:8px 4px}.login{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.login-brand{background:var(--green-dark);color:white;padding:64px;display:flex;flex-direction:column;justify-content:center}.login-brand img{width:180px;height:150px;object-fit:contain;margin-bottom:40px}.login-brand h1{font-size:2.75rem;letter-spacing:-.04em;line-height:1.15;margin:0 0 24px;max-width:460px}.login-brand p{max-width:420px;color:#d3e0d6;font-size:1rem;line-height:1.8}.login-form{display:grid;place-items:center;padding:40px}.login-form form{width:100%;max-width:370px}.login-form h2{font-size:1.75rem;letter-spacing:-.035em;margin:0 0 12px}.login-form .subtitle{margin:0 0 32px;line-height:1.7;color:var(--muted)}.login-form label{margin-bottom:20px}.login-form button{width:100%;margin-top:8px}.error{color:#9e3526;font-size:.875rem;line-height:1.6;margin:12px 0}.login-footer{margin-top:32px;color:var(--muted);font-size:.8125rem}.login-logo-mobile{display:none}dialog{border:1px solid var(--line);border-radius:16px;padding:0;max-width:620px;width:calc(100% - 32px);max-height:90dvh;box-shadow:0 24px 80px #17322525;color:var(--ink)}dialog::backdrop{background:#0b221b80}dialog .modal-head{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}dialog h2{font-size:1.25rem;margin:0}dialog .modal-content{padding:24px}dialog .close{font-size:1.5rem;line-height:1;min-width:44px;padding:8px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--green-dark);color:white;padding:14px 22px;border-radius:10px;box-shadow:0 8px 32px #172f2626;z-index:100;max-width:calc(100% - 32px);display:none;font-size:.875rem}.footer{font-size:.8125rem;color:var(--muted);display:flex;justify-content:space-between;gap:16px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.loading{padding:80px;text-align:center;color:var(--muted)}.nowrap{white-space:nowrap}.profile-header{display:flex;align-items:center;gap:16px;margin-bottom:24px}.profile-header .person-avatar{width:54px;height:54px;font-size:1.125rem}.profile-header h3{margin:0 0 6px;font-size:1.25rem}.overview-attendance{margin-bottom:24px}.settings-columns{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.checkboxes{display:flex;gap:12px;flex-wrap:wrap}.page-error{padding:32px;background:#fff2ed;border:1px solid #e2b6a9;border-radius:12px}.month-note{margin-bottom:20px;font-size:.875rem;color:var(--muted)}
@media(min-width:1600px){.content{padding-top:40px}}@media(max-width:1150px){.sidebar{width:210px;padding-inline:14px}.shell{grid-template-columns:210px minmax(0,1fr)}.topbar{padding-inline:24px}.content{padding:28px 24px}.panels{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.stat{padding:20px}.stats{gap:12px}.report-grid{grid-template-columns:1fr}.settings-columns{grid-template-columns:1fr}.page-head{align-items:flex-start}.page-head h1{font-size:1.65rem}th,td{padding:14px 18px}.account .account-name{display:none}}@media(max-width:900px){.panels{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.page-head{flex-direction:column;gap:20px}.login-brand{padding:40px}.login-brand h1{font-size:2.125rem}.footer{flex-direction:column;gap:8px}.chart{height:160px}}@media(max-width:700px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;box-shadow:16px 0 40px #132e2326}.sidebar.open{transform:translateX(0)}.topbar{height:68px;padding:12px 16px}.breadcrumb{font-size:.8125rem}.account{gap:8px}.account .avatar{display:none}.account button{font-size:.8125rem;padding:8px 12px}.menu-btn{display:block;padding:8px 10px;min-width:44px}.topbar-left{display:flex;align-items:center;gap:12px}.content{padding:24px 16px 32px}.page-head{margin-bottom:24px}.page-head h1{font-size:1.65rem}.actions{width:100%}.actions button{flex:1}.actions input[type=month]{width:164px}.notice{align-items:flex-start;padding:16px;flex-direction:column;gap:8px}.stat{padding:18px 16px}.stat .value{font-size:1.75rem;margin-top:12px}.stat .stat-title{font-size:.8125rem}.stat .icon{display:none}.stat .sub{font-size:.75rem}.panel-head{padding:18px 16px}.panel-body{padding:20px 16px}.toolbar{padding:16px;gap:10px}.toolbar .search{max-width:none;flex-basis:100%}.toolbar select,.toolbar input[type=date]{max-width:none;flex:1;min-width:135px}.table-foot{padding:16px;flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.form-actions{flex-wrap:wrap}.form-actions button{flex:1}.login{display:block}.login-brand{display:none}.login-form{padding:36px 24px;min-height:100dvh}.login-logo-mobile{display:block;width:120px;height:100px;object-fit:contain;background:var(--green-dark);border-radius:12px;margin-bottom:32px}.calendar{gap:4px}.calendar-day{min-height:72px;padding:6px;font-size:.6875rem;overflow:hidden}.calendar-day b{font-size:.8125rem}.calendar-weekday{font-size:.6875rem}.chart-bar span,.chart-bar b{font-size:.6875rem}.report{padding:20px}.footer{margin-top:24px}dialog .modal-content{padding:20px}dialog .modal-head{padding:16px 20px}.profile-header{gap:12px}}
@container (width < 580px){.responsive-table,.responsive-table tbody,.responsive-table tr,.responsive-table th,.responsive-table td{display:block}.responsive-table thead{display:none}.responsive-table tr{padding:12px 16px;border-bottom:1px solid var(--line);white-space:normal}.responsive-table tbody th{position:static;padding:8px 0 12px;background:transparent;border:0}.responsive-table td{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border:0;min-height:28px;line-height:1.5;text-align:right}.responsive-table td::before{content:attr(data-label);color:var(--muted);font-weight:400;text-align:left;flex-shrink:0}.responsive-table td:last-child{padding-bottom:8px}.responsive-table td:has(button){justify-content:flex-end}.responsive-table td:has(button)::before{content:none}.responsive-table .salary-warnings{max-width:230px}.responsive-table .person{min-height:40px}.responsive-table tr:hover td,.responsive-table tr:hover th{background:transparent}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.mt16{margin-top:16px}.mt24{margin-top:24px}
