.attendance-page{display:grid;gap:22px;min-width:0}.attendance-page>.page-heading{margin-bottom:0}.attendance-today{overflow:hidden;margin:22px 0}.attendance-page>.attendance-today{margin:0}.attendance-today-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 25px;background:linear-gradient(110deg,#e7f8ed,#f6fcf8);border-bottom:1px solid #d9ebe1}.attendance-today-head .eyebrow{font-size:11px;color:#28715a;margin-bottom:4px}.attendance-today-head h2{font-size:23px;color:#153e3d;margin:0}.attendance-today-body{padding:24px 25px}.attendance-punches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.attendance-punch-btn.btn{min-height:88px;padding:18px 22px;justify-content:flex-start;border-radius:15px;border:1px solid #148763;gap:16px;text-align:left}.attendance-punch-btn .icon{width:30px;height:30px;flex-shrink:0}.attendance-punch-copy{display:grid;gap:3px;min-width:0}.attendance-punch-copy strong{font-size:24px;line-height:1.2}.attendance-punch-copy small{font-size:13px;font-weight:500;line-height:1.5}.attendance-check-in{color:white;background:linear-gradient(110deg,#087b5c,#169d73)}.attendance-check-in:hover:not(:disabled){background:#066d51}.attendance-check-out{background:#f2faf6;color:#086b54}.attendance-check-out:hover:not(:disabled){background:#e1f4e9}.attendance-punch-btn:disabled{opacity:.65}.attendance-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.attendance-facts>div{display:grid;gap:5px;padding:13px 15px;border-radius:12px;background:#f6f9fa;border:1px solid #e1eaec;min-width:0}.attendance-facts span{font-size:10px;letter-spacing:.07em;font-weight:700;color:#58736f}.attendance-facts strong{font-size:21px;line-height:1.3;color:#163f40;overflow-wrap:anywhere}.attendance-office-note{display:flex;align-items:flex-start;gap:9px;margin-top:18px;font-size:13px;color:#536c72;line-height:1.6}.attendance-office-note .icon{width:18px;height:18px;flex-shrink:0;margin-top:2px}.attendance-today-body>.help{margin-top:10px}.attendance-today-foot{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:14px 24px;border-top:1px solid #e1ebeb;background:#fbfdfd}.attendance-today-foot .btn:first-child{margin-right:auto}.attendance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.attendance-stat{display:flex;align-items:center;gap:13px;padding:19px;border:1px solid #dce8e9;border-radius:15px;background:#fff;min-width:0}.attendance-stat-icon{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:13px;color:#16745f;background:#e6f5ed}.attendance-stat.amber .attendance-stat-icon{color:#aa6b10;background:#fff2d9}.attendance-stat.red .attendance-stat-icon{color:#b84e49;background:#ffeded}.attendance-stat>div{display:grid;gap:2px;min-width:0}.attendance-stat>div>span{color:#526b74;font-size:12px}.attendance-stat strong{font-size:28px;line-height:1.2;color:#173f48}.attendance-history{padding:20px}.attendance-mode{display:flex;gap:4px;padding:4px;border:1px solid #dce8e7;background:#f6faf9;border-radius:12px}.attendance-mode .btn{border:0;min-height:44px;box-shadow:none;border-radius:9px;padding:9px 17px;color:#365c5d;background:transparent}.attendance-mode .btn.selected{background:#087d65;color:white}.attendance-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.attendance-weekday{text-align:center;font-size:12px;font-weight:700;color:#557275;padding:8px}.attendance-day.btn{min-width:0;min-height:92px;padding:11px;align-items:stretch;text-align:left;border:1px solid #e0e9eb;border-radius:12px;background:#f7fafb;box-shadow:none;font-weight:500;color:#3d5f67}.attendance-day-copy{display:flex;flex-direction:column;justify-content:space-between;gap:13px;width:100%}.attendance-day-copy>strong{font-size:18px;font-weight:700;line-height:1.2}.attendance-day-copy>span{display:flex;align-items:center;gap:5px;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.attendance-day-copy .icon{width:13px!important;height:13px!important;flex-shrink:0}.attendance-day-present.btn,.attendance-day-checked_in.btn{background:linear-gradient(140deg,#e7f9ec,#c8eedb);border-color:#acd9c4;color:#0d654f}.attendance-day-late.btn{background:linear-gradient(140deg,#eaf8e9,#d4eedb);border-color:#b1d8ba;color:#4e6d2b}.attendance-day-absent.btn{background:#ffeded;border-color:#efc9c7;color:#a63c3a}.attendance-day-missing_checkout.btn{background:#fff3df;border-color:#e9d3a6;color:#956314}.attendance-day-leave.btn{background:#edf5ff;border-color:#c8dbef;color:#36688c}.attendance-day-day_off.btn,.attendance-day-not_tracked.btn,.attendance-day-not_required.btn{background:#f1f4f6;border-color:#e3e8eb;color:#849298}.attendance-day-upcoming.btn{background:#f5f9fd;color:#7a969f}.attendance-day.today{outline:2px solid #137960;outline-offset:-2px}.attendance-day:hover{filter:brightness(.98)}.attendance-page>.notice{margin-bottom:0}.attendance-filters{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:18px 20px}.attendance-filters>.input,.attendance-filters>select{width:auto;flex:1 1 180px;min-width:0;max-width:100%}.attendance-filters .attendance-mode{flex:0 0 auto}.attendance-results .table-wrap{border-radius:0 0 16px 16px}.attendance-results td{vertical-align:middle}.attendance-results .person-cell{min-width:185px}.attendance-detail-title{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.attendance-day-detail .attendance-facts{margin-top:0}.attendance-day-detail .notice{margin:0}.attendance-request-list{display:grid;gap:14px;padding:20px}.attendance-request-scroll{max-height:580px;overflow:auto;overscroll-behavior:contain}.attendance-request-card{padding:19px;border:1px solid #dbe7e5;border-radius:14px;background:#fff}.attendance-request-card.pending{border-color:#b6dec9;background:linear-gradient(110deg,#f0fbf4,#fff);box-shadow:inset 4px 0 #54aa7c}.attendance-request-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.attendance-request-heading .eyebrow{font-size:10px;color:#417665;margin-bottom:4px}.attendance-request-heading h3{font-size:18px;margin:0}.attendance-request-times{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:17px 0}.attendance-request-times>div{display:grid;gap:5px;padding:12px;border:1px solid #e1eae9;border-radius:10px;background:#f9fcfb}.attendance-request-times span{font-size:10px;font-weight:700;letter-spacing:.07em;color:#5d7775}.attendance-request-times strong{font-size:16px;color:#204e4c}.attendance-request-reason{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#345a61;line-height:1.6;margin-bottom:10px}.attendance-request-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:17px}.attendance-request-card .notice{margin-top:14px;margin-bottom:0}.attendance-record-preview{padding:13px 15px;border-radius:12px;border:1px solid #dce9e5;background:#f5faf7;font-size:14px;color:#365e56}.attendance-record-preview>p{margin-top:5px}.attendance-policy-form{display:flex;align-items:flex-start;flex-wrap:wrap;gap:18px}.attendance-policy-form .form-control{flex:1;min-width:200px}.attendance-policy-form>.btn{margin-top:27px}.attendance-policy-form>div:last-child:not(.form-control){width:100%}.attendance-today .error-box{margin-top:15px}.attendance-page .table-wrap .badge{white-space:normal}.attendance-page .table-wrap table{min-width:700px}.attendance-page .table-wrap .btn{white-space:nowrap}
@media(max-width:1000px){.attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-calendar{gap:5px}.attendance-day.btn{padding:9px;min-height:88px}.attendance-day-copy>span{font-size:9px}.attendance-day-copy>span .icon{display:none}.attendance-facts strong{font-size:19px}}
@media(max-width:650px){.attendance-page{gap:17px}.attendance-today-head{padding:18px;align-items:flex-start}.attendance-today-head h2{font-size:20px}.attendance-today-head .badge{font-size:11px;max-width:115px}.attendance-today-body{padding:18px}.attendance-punches{gap:10px}.attendance-punch-btn.btn{min-height:86px;padding:14px 13px;gap:9px}.attendance-punch-btn .icon{width:23px;height:23px}.attendance-punch-copy strong{font-size:21px}.attendance-punch-copy small{font-size:11px}.attendance-facts{gap:8px;margin-top:17px}.attendance-facts>div{padding:10px 8px}.attendance-facts span{font-size:8px;letter-spacing:.04em}.attendance-facts strong{font-size:15px}.attendance-office-note{font-size:12px}.attendance-today-foot{padding:12px 15px;gap:7px}.attendance-today-foot .btn{font-size:12px;padding:9px;flex:1;white-space:normal}.attendance-today-foot .btn:first-child{margin-right:0}.attendance-stat{padding:14px;gap:9px}.attendance-stat-icon{width:34px;height:34px;border-radius:10px}.attendance-stat-icon .icon{width:19px;height:19px}.attendance-stat>div>span{font-size:10px}.attendance-stat strong{font-size:25px}.attendance-history{padding:12px 9px}.attendance-weekday{font-size:10px;padding:5px 0}.attendance-calendar{gap:4px}.attendance-day.btn{min-height:75px;padding:8px 5px;border-radius:9px}.attendance-day-copy{gap:9px}.attendance-day-copy>strong{font-size:15px}.attendance-day-copy>span{font-size:8px;line-height:1.25}.attendance-filters{padding:15px}.attendance-filters .attendance-mode{width:100%;justify-content:center}.attendance-filters .attendance-mode .btn{flex:1}.attendance-filters>.input,.attendance-filters>select{flex-basis:100%;width:100%}.attendance-request-list{padding:14px}.attendance-request-card{padding:15px}.attendance-request-heading h3{font-size:16px}.attendance-request-heading .badge{font-size:11px}.attendance-request-times{gap:8px}.attendance-request-times>div{padding:10px}.attendance-request-times strong{font-size:14px}.attendance-request-actions .btn{flex:1}.attendance-request-reason{font-size:13px}.attendance-policy-form{display:grid;gap:12px}.attendance-policy-form>.btn{margin-top:0}.attendance-policy-form .form-control{min-width:0}.attendance-day-detail .attendance-facts{grid-template-columns:1fr}.attendance-day-detail .attendance-facts strong{font-size:20px}.attendance-day-detail .attendance-facts span{font-size:10px}}
.attendance-calendar-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.attendance-today-body>.notice{margin-top:15px;margin-bottom:0}
@media(max-width:650px){.attendance-calendar{min-width:332px}.attendance-day-copy>span{font-size:9px}.attendance-day.btn{min-height:82px}}
@media(prefers-reduced-motion:reduce){.attendance-day{transition:none}}
.attendance-check-in.btn,.attendance-check-in.btn:disabled{background:#087b5c;color:#fff}.attendance-check-out.btn,.attendance-check-out.btn:disabled{background:#f2faf6;color:#086b54}.attendance-punch-btn.btn:disabled{opacity:1;border-color:#adcfc1}.attendance-check-in.btn:disabled{background:#e5f3ec;color:#275e4c}

.attendance-punch-compact{display:none}
/* Compact punch controls retain clear enabled, completed and unavailable states. */
.attendance-today-head{padding:18px 22px}.attendance-today-body{padding:19px 22px}.attendance-punches{gap:12px}.attendance-punch-btn.btn{min-height:64px;padding:10px 16px;gap:11px;border-radius:11px;line-height:1.25}.attendance-punch-btn.btn>.icon{width:23px;height:23px}.attendance-punch-copy{gap:2px}.attendance-punch-btn .attendance-punch-copy strong{font-size:18px;font-weight:700;line-height:1.2;white-space:nowrap}.attendance-punch-btn .attendance-punch-copy small{font-size:12px;line-height:1.35;font-weight:500}.attendance-check-in.btn{background:linear-gradient(110deg,#07583f,#12745b);border-color:#0e654c;color:#fff}.attendance-check-out.btn{background:linear-gradient(110deg,#173c5b,#235b78);border-color:#204f6b;color:#fff}.attendance-check-in.btn:hover:not(:disabled){background:linear-gradient(110deg,#064c36,#0b664d);border-color:#084c39;color:#fff}.attendance-check-out.btn:hover:not(:disabled){background:linear-gradient(110deg,#10324e,#1b4d69);border-color:#183f59;color:#fff}.attendance-punch-btn.btn:focus-visible{outline:3px solid #78a99c;outline-offset:3px}.attendance-punch-btn.btn:disabled{opacity:1;cursor:not-allowed;box-shadow:none}.attendance-check-in.btn:disabled{background:#e6f1eb;border-color:#c3d8cd;color:#315e4b}.attendance-check-out.btn:disabled{background:#eaf0f4;border-color:#ccd9e2;color:#466274}.attendance-facts{margin-top:16px}.attendance-office-note{margin-top:14px}.attendance-today-foot{padding:11px 20px}
@media(max-width:650px){.attendance-today-head{padding:15px 17px}.attendance-today-head h2{font-size:19px}.attendance-today-body{padding:16px}.attendance-punches{gap:10px}.attendance-punch-btn.btn{min-height:64px;padding:10px;gap:8px}.attendance-punch-btn.btn>.icon{width:20px;height:20px}.attendance-punch-btn .attendance-punch-copy strong{font-size:18px}.attendance-punch-btn .attendance-punch-copy small{font-size:11px}.attendance-today-foot{padding:10px 13px}}
