/* Worker app: attendance screens */
.w-att { gap: 12px; } .w-clockc { text-align: center; display: grid; gap: 6px; justify-items: center; } .w-stchip { font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #EEF0F6; color: var(--w-muted); }
.w-stchip.ready, .w-stchip.working { background: var(--w-ok-s); color: var(--w-ok); } .w-stchip.late, .w-stchip.abnormalOut { background: var(--w-warn-s); color: var(--w-warn); } .w-stchip.leave, .w-stchip.done { background: var(--w-primary-s); color: var(--w-primary); }
.w-clock { font-size: 46px; font-weight: 800; letter-spacing: 1px; color: var(--w-ink); font-variant-numeric: tabular-nums; line-height: 1.1; } .w-clock small { font-size: 22px; color: var(--w-muted); font-weight: 600; }
.w-attprj { margin: 0; font-weight: 700; } .w-attshift { margin: 0; color: var(--w-muted); font-size: 12px; }
.w-loc { display: flex; gap: 8px; align-items: center; background: var(--w-ok-s); color: var(--w-ok); border-radius: 12px; padding: 8px 12px; font-size: 12px; text-align: left; width: 100%; } .w-loc.bad { background: var(--w-danger-s); color: var(--w-danger); } .w-loc span { color: var(--w-ink); } .w-loc b { margin-right: 4px; }
.w-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .w-mini { display: grid; gap: 2px; padding: 12px; } .w-mini small { color: var(--w-muted); font-size: 11px; } .w-mini b { font-size: 22px; font-variant-numeric: tabular-nums; } .w-mini span { color: var(--w-muted); font-size: 11px; }
.w-fence { display: flex !important; justify-content: space-between; align-items: center; } .w-fence small { color: var(--w-muted); display: block; font-size: 11px; } .w-fence b { color: var(--w-ok); } .w-fence.bad b { color: var(--w-danger); } .w-fence span { color: var(--w-muted); font-size: 12px; }
.w-punch { margin-top: 2px; font-size: 17px; padding: 16px; } .w-punch.warn { background: var(--w-warn); box-shadow: 0 6px 16px #B86A0040; } .w-hint { text-align: center; color: var(--w-muted); font-size: 11px; }
.w-restc { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 26px; color: var(--w-muted); } .w-restc b { color: var(--w-ink); font-size: 16px; }
.w-sim { border-style: dashed; background: #FFFDF5; border-color: #F0DFA8; } .w-sim-h { display: flex !important; align-items: center; gap: 6px; width: 100%; font-size: 13px; color: var(--w-warn); } .w-sim-h em { font-style: normal; font-size: 10px; background: var(--w-warn-s); border-radius: 999px; padding: 1px 7px; } .w-sim-h span { margin-left: auto; font-size: 18px; }
.w-simrow { display: grid; gap: 6px; margin-top: 10px; } .w-simrow label { font-size: 12px; color: var(--w-muted); } .w-simrow .w-input { padding: 9px 10px; } .w-sim .w-sub { margin: 8px 0 0; color: var(--w-muted); font-size: 12px; }
.w-tip { display: flex; gap: 12px; align-items: center; background: var(--w-primary-s); color: var(--w-primary); border-radius: 14px; padding: 14px; } .w-tip b { display: block; color: var(--w-ink); font-size: 13px; } .w-tip small { color: var(--w-muted); }
.w-sheet-dl { margin: 0; display: grid; gap: 10px; } .w-sheet-dl > div { display: flex; justify-content: space-between; gap: 12px; } .w-sheet-dl dt { color: var(--w-muted); font-size: 12px; } .w-sheet-dl dd { margin: 0; text-align: right; font-size: 13px; font-weight: 600; } .w-bad { color: var(--w-danger); font-style: normal; font-size: 11px; }
.w-facebody { align-items: center; text-align: center; gap: 14px; padding-top: 24px; } .w-face { width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#EEF0FF, #fff); border: 3px solid var(--w-primary); } .w-face-ring { color: var(--w-primary); }
.w-face.scan { animation: wpulse 1.2s infinite ease-in-out; } .w-face.ok { border-color: var(--w-ok); } .w-face.ok .w-face-ring { color: var(--w-ok); } .w-face.bad { border-color: var(--w-danger); } .w-face.bad .w-face-ring { color: var(--w-danger); } .w-facebody h2 { margin: 0; font-size: 19px; } .w-facebody .w-sub { margin: 0; color: var(--w-muted); max-width: 280px; }
@keyframes wpulse { 50% { box-shadow: 0 0 0 14px #5058F21f; } }
.w-monthbar { display: flex; justify-content: space-between; align-items: center; } .w-monthbar b { font-size: 15px; } .w-back:disabled { opacity: .3; cursor: default; }
.w-sumrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .w-sumrow > div { background: #fff; border: 1px solid var(--w-line); border-radius: 14px; padding: 10px; text-align: center; } .w-sumrow b { display: block; font-size: 15px; } .w-sumrow small { color: var(--w-muted); font-size: 11px; }
.w-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; } .w-cal i { font-style: normal; font-size: 11px; color: var(--w-muted); } .w-cal button { aspect-ratio: 1; border-radius: 10px; background: #fff; border: 1px solid var(--w-line); font-size: 12px; color: var(--w-muted); }
.w-cal button.ok { background: var(--w-ok-s); color: var(--w-ok); border-color: #BFE6D4; } .w-cal button.bad { background: var(--w-warn-s); color: var(--w-warn); border-color: #F5DFB0; } .w-cal button.lv { background: var(--w-primary-s); color: var(--w-primary); border-color: #D6D9FF; } .w-cal button.today { box-shadow: 0 0 0 2px var(--w-primary); } .w-cal button.sel { outline: 2px solid var(--w-ink); }
.w-legend { font-size: 11px; color: var(--w-muted); margin: 0; text-align: center; } .w-rec-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .w-rec-d .w-sub { margin: 2px 0 8px; color: var(--w-muted); font-size: 12px; }
.w-punches { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .w-punches li { display: flex; gap: 10px; align-items: center; } .w-punches li > div { flex: 1; } .w-punches b { display: block; font-size: 13px; } .w-punches small { color: var(--w-muted); font-size: 11px; } .w-punches em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; } .w-punches li.inv { opacity: .55; } .w-punches li.inv em { text-decoration: line-through; }
.w-app .a-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
