.wf{--red:#df2935;--ink:#1d2734;--line:#e5e9ef;--muted:#667488;color:var(--ink)}.wf-banner{background:linear-gradient(115deg,#b91f30,#e83b43);border-radius:20px;padding:30px;color:white;display:flex;justify-content:space-between;gap:20px;align-items:center}.wf-banner h2{font-size:30px;margin:10px 0}.wf-banner p{opacity:.88;margin:0}.wf-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px}.wf-badge{background:#ffffff20;padding:16px 24px;border:1px solid #ffffff50;border-radius:14px;font-weight:700}.wf-badge small{display:block;margin-top:7px;font-weight:400}.wf-tabs{display:flex;gap:6px;overflow:auto;margin:22px 0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px}.wf-tabs button{border:0;background:none;white-space:nowrap;padding:12px 17px;border-radius:8px;font-weight:650;color:var(--muted);cursor:pointer}.wf-tabs .on{background:var(--ink);color:white}.wf-panel{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:20px}.wf-panel h2{font-size:19px;margin:0 0 18px}.wf-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.wf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.wf-stats>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.wf-stats small{color:var(--muted);display:block;font-size:12px}.wf-stats strong{font-size:29px;display:block;margin-top:9px}.wf-note{font-size:13px;line-height:1.65;color:var(--muted)}.wf-clock{font-size:25px;font-weight:750;display:flex;align-items:center;gap:10px}.wf-dot{height:12px;width:12px;border-radius:50%;background:#b3bfcc}.wf-dot.active{background:#179965;box-shadow:0 0 0 5px #e6f6ef}.wf-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:18px 0}.wf-check input{width:20px;height:20px;flex:none;margin:0}.wf-punch{background:var(--red);color:white;border:0;border-radius:12px;padding:20px;width:100%;font-size:22px;font-weight:800;cursor:pointer}.wf-punch.out{background:var(--ink)}.wf-punch:disabled,.wf button:disabled{opacity:.55;cursor:wait}.wf-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wf-shortcuts button{text-align:left;background:#f7f9fc;border:1px solid var(--line);border-radius:12px;padding:20px;cursor:pointer;font-size:23px;color:var(--red)}.wf-shortcuts b,.wf-shortcuts span{display:block;font-size:14px;margin-top:10px;color:var(--ink)}.wf-shortcuts span{font-size:12px;font-weight:400;color:var(--muted)}.wf-url{overflow-wrap:anywhere;font-weight:700;color:var(--red)}.wf-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:13px;font-weight:600}.wf-field input,.wf-field select,.wf-field textarea{border:1px solid #ccd4df;border-radius:8px;padding:11px;background:white;font:inherit;color:var(--ink);width:100%;min-height:43px}.wf-field textarea{resize:vertical}.wf-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.wf-filters .wf-field{margin:0;min-width:160px}.wf-form{max-width:650px}.wf-table small,.wf-history small,.wf-file small{display:block;color:var(--muted);font-size:11px;margin-top:6px;max-width:220px;overflow-wrap:anywhere}.wf-table{font-size:13px}.wf-table td{vertical-align:top;min-width:85px}.wf-table td:nth-child(2){min-width:190px}.wf-tag{display:inline-block;border-radius:6px;padding:6px 9px;font-size:10px;letter-spacing:.3px;font-weight:750;background:#f1f3f7;color:#5f6c7d}.wf-tag.good{background:#e8f6ef;color:#146e4d}.wf-tag.warn{background:#fff2db;color:#8c5d16}.wf-history{border-bottom:1px solid var(--line);padding:14px 0}.wf-history pre{font-size:11px;background:#f7f9fc;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere}.wf-empty{padding:30px;border:1px dashed #d7dfe8;border-radius:12px;text-align:center;color:var(--muted);font-size:14px}.wf-week{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));overflow:auto;gap:10px;margin-top:20px}.wf-day{background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:12px}.wf-day h3{font-size:12px;color:var(--muted);margin:0 0 12px}.wf-day article{background:white;border-left:3px solid var(--red);border-radius:5px;padding:10px;margin:10px 0;font-size:12px}.wf-day article>*{display:block;margin:5px 0}.wf-day p{font-size:12px;color:var(--muted)}.wf-form-links{display:flex;flex-direction:column;gap:12px}.wf-form-links a{border:1px solid var(--line);padding:18px;border-radius:10px;font-weight:700;color:var(--ink);text-decoration:none}.wf-file{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;flex-wrap:wrap}.wf-file>div{flex:1;min-width:180px}.wf-file .wf-tag{margin-top:8px}.wf-paycards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.wf-paycards article{border:1px solid var(--line);border-radius:14px;padding:24px;max-width:460px}.wf-paycards article>small{font-size:10px;color:var(--muted);letter-spacing:1px}.wf-paycards h3{font-size:15px}.wf-paytotal{font-size:34px;font-weight:800;margin:22px 0}.wf-paytotal small{display:block;font-size:12px;font-weight:400;color:var(--muted)}.wf-payline{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:10px 0;font-size:13px}.wf-paycards details{margin:18px 0;font-size:13px}.wf-paycards details p{display:flex;justify-content:space-between}.wf-notice{border-bottom:1px solid var(--line);padding:20px 0}.wf-notice:first-child{padding-top:0}.wf-notice>small{display:block;color:var(--muted);font-size:12px;margin:10px 0}.wf-notice p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.wf-notice h3{font-size:19px}.wf-notice.archived{opacity:.6}.wf-secret{display:block;background:#fff2db;padding:20px;font-size:16px;overflow-wrap:anywhere}.wf button:focus-visible,.wf a:focus-visible{outline:3px solid #2789dd;outline-offset:3px}#wfError:not(:empty){background:#fff0f0;border:1px solid #ebacac;padding:14px;margin:12px 0;border-radius:9px;color:#9b2424}
@media(max-width:760px){.wf-banner{padding:23px;display:block}.wf-banner h2{font-size:25px}.wf-badge{display:none}.wf-two{grid-template-columns:1fr;gap:0}.wf-stats{gap:7px}.wf-stats>div{padding:12px}.wf-stats strong{font-size:22px}.wf-stats small{font-size:10px}.wf-panel{padding:18px}.wf-tabs{margin:14px 0}.wf-tabs button{padding:12px}.wf-week{grid-template-columns:1fr;overflow:visible}.wf-day{display:flex;flex-wrap:wrap;gap:8px;align-items:start}.wf-day h3{width:95px}.wf-day article{flex:1;min-width:160px;margin:0}.wf-filters .wf-field{flex:1;min-width:120px}.wf-shortcuts button{padding:15px}.wf-file .btn{font-size:12px}.wf-paycards{grid-template-columns:1fr}.wf-field input,.wf-field select,.wf-field textarea{font-size:16px}.wf-punch{min-height:64px}body.wf-mobile .shell{display:block}body.wf-mobile .sidebar{position:relative;width:auto;height:auto;padding:14px}body.wf-mobile .brand,body.wf-mobile .userbox{display:none}body.wf-mobile .sidebar .nav{display:flex;overflow:auto;gap:5px;padding:0}body.wf-mobile .sidebar .nav button{min-width:max-content;font-size:12px}body.wf-mobile .side-bottom{position:static;display:flex;justify-content:flex-end;margin-top:10px}body.wf-mobile .main{margin-left:0}body.wf-mobile .content{padding:12px}body.wf-mobile .topbar{padding:16px}body.wf-mobile .topbar h1{font-size:20px}}

.wf .hidden{display:none!important}
/* v2.17: mobile identity, exact time punches and separate work/break reporting. */
.wf-duration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.wf-duration-grid>div{padding:16px;background:#f4f7fb;border:1px solid #e5e9ef;border-radius:12px;min-width:0}.wf-duration-grid>div:last-child{background:#eaf7f0;border-color:#b8e1ca}.wf-duration-grid small,.wf-punch-times small{display:block;color:#667488;font-size:12px;margin-bottom:8px}.wf-duration-grid strong{display:block;font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wf-punch-times{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:18px 0}.wf-punch-times b{display:block;font-size:15px;line-height:1.6}.wf-clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.wf-clock-actions>:only-child,.wf-clock-actions>.wf-note{grid-column:1/-1}.wf-punch.break{background:#fff2d5;color:#6d4700;border:1px solid #e6c479}.wf-clock.on-break{color:#8a5e12}.wf-clock.on-break .wf-dot{background:#cc8e20;box-shadow:0 0 0 5px #fff2d5}.wf-break-active{padding:12px;background:#fff6e3;border-radius:10px;color:#81560e}.wf-break-list{list-style:none;padding:0;margin:14px 0;display:grid;gap:10px}.wf-break-list li{background:#f8fafc;border-left:3px solid #d5a346;padding:12px;border-radius:6px;font-size:13px}.wf-break-list span,.wf-break-list small{display:block;margin-top:6px;line-height:1.5}.wf-break-list small{color:#667488}.wf-break-list .wf-void{opacity:.6;border-left-color:#9aa6b5}.wf-day-record+.wf-day-record{border-top:1px solid #e5e9ef;padding-top:15px;margin-top:20px}.wf-employee-totals{padding:15px 0;margin-bottom:10px}.wf-mobile-report{display:none}.wf-name-warning{font-size:13px;margin-top:14px!important}.wf-live-timestamp{font-variant-numeric:tabular-nums}#modal .wf-break-list{margin:12px 0}#modal .wf-note{font-size:13px;color:#667488;line-height:1.6}body.wf-mobile .userbox b{overflow-wrap:anywhere}
@media(max-width:760px){body.wf-mobile .sidebar .userbox{display:block;margin:0 0 14px;padding:14px;border:1px solid #ffffff26;border-radius:12px}body.wf-mobile .userbox b{display:block;font-size:23px;line-height:1.3;color:#fff}body.wf-mobile .userbox>span{display:block;margin-top:7px;font-size:11px}body.wf-mobile .sidebar .nav{display:flex;flex-direction:row;margin:0}body.wf-mobile .sidebar .nav button{flex:1}body.wf-mobile .side-bottom{gap:8px;margin-top:12px}body.wf-mobile .topbar .top-actions{display:none}.wf-duration-grid{gap:6px;margin:14px 0}.wf-duration-grid>div{padding:10px}.wf-duration-grid strong{font-size:16px}.wf-duration-grid small{font-size:10px}.wf-punch-times{grid-template-columns:1fr;gap:12px}.wf-clock-actions{gap:8px}.wf-clock-actions .wf-punch{font-size:17px;padding:17px 10px;min-height:66px}.wf-attendance-table{display:none}.wf-mobile-report{display:grid;gap:15px}.wf-report-card{border:1px solid #e5e9ef;border-radius:13px;padding:14px}.wf-report-card h3{margin:0 0 5px;font-size:17px}.wf-report-card>small{font-size:11px;color:#667488}.wf-report-card p{font-size:13px;line-height:1.8}.wf-report-card .btn{margin:5px 3px 0 0}.wf-panel{min-width:0}.wf-filters .btn{min-height:44px}}

/* v2.18 employee requests */
.wf-request-list{display:grid;gap:18px;margin:22px 0}.wf-request-card{border:1px solid #dde5ed;border-radius:14px;padding:22px;background:#fff}.wf-request-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.wf-request-top h3{font-size:18px;margin:8px 0}.wf-request-top small{font-size:12px;color:#667488}.wf-request-reason{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;background:#f5f8fb;border-radius:9px;padding:13px}.wf-request-reply{border-left:3px solid #189565;padding:12px 16px;background:#edf8f1;border-radius:8px}.wf-request-reply p{white-space:pre-wrap;overflow-wrap:anywhere}.wf-request-warning{color:#845912;background:#fff5df;padding:13px;border-radius:8px;font-size:13px;line-height:1.6}.wf-request-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}.wf-request-actions details{width:100%;font-size:13px;line-height:1.6}.wf-request-paging{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.wf-request-card .wf-table{table-layout:fixed;width:100%}.wf-request-card .wf-table td{overflow-wrap:anywhere;min-width:0}#modal .wf-field textarea{width:100%;max-width:100%}@media(max-width:760px){.wf-request-card{padding:15px}.wf-request-top{flex-wrap:wrap}.wf-request-card .wf-table{font-size:11px}.wf-request-actions .btn{min-height:44px}.wf-request-paging .btn{min-height:44px}}
