/* 🕘 Remote punch-in — the punch screen, the "Working" chip and the attendance page (Planner + Quotations) */
.pchg{position:fixed;inset:0;z-index:2147483000;background:rgba(20,27,38,.82);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
.pchc{background:#fff;color:#1c2430;border-radius:16px;padding:26px 26px 20px;width:min(430px,100%);text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.35);max-height:calc(100vh - 32px);overflow:auto}
.pchc h3{margin:0 0 2px;font-size:21px;font-weight:700;color:#1c2430;letter-spacing:0;text-transform:none}
.pchc .pchm{color:#667085;font-size:14px;line-height:1.45}
.pchc .pchk{font-size:42px;font-weight:700;line-height:1.1;margin:14px 0 2px;font-variant-numeric:tabular-nums;color:#1c2430}
.pchc .pchb{display:block;width:100%;border:0;border-radius:11px;padding:14px 18px;margin-top:16px;font:600 17px inherit;cursor:pointer;background:#1f8a4c;color:#fff}
.pchc .pchb:hover{background:#18733f}.pchc .pchb:disabled{opacity:.6;cursor:default}
.pchc .pchb.red{background:#c0392b}.pchc .pchb.red:hover{background:#a53024}
.pchc .pchb.plain{background:#fff;color:#1c2430;border:1px solid #d5d9e0;font-size:15px;padding:11px 18px;margin-top:8px}
.pchc .pchb:focus-visible,.pchl:focus-visible,.pchip button:focus-visible{outline:3px solid #f5c400;outline-offset:2px}
.pchc .pchn{background:#fff8d6;border:1px solid #efd872;border-radius:10px;padding:9px 12px;font-size:13.5px;margin-top:12px;text-align:left;color:#4a3d00;line-height:1.45}
.pchc .pche{background:#fde8e6;border:1px solid #f0b8b1;color:#8a2219;border-radius:10px;padding:9px 12px;font-size:13.5px;margin-top:12px;text-align:left}
.pchc .pchf{display:flex;justify-content:center;gap:18px;margin-top:14px;flex-wrap:wrap}
.pchl{background:none;border:0;color:#2a63cc;font:inherit;font-size:14px;cursor:pointer;text-decoration:underline;padding:4px}
.pchc label{display:block;text-align:left;font-size:14px;color:#1c2430;margin-top:14px}
.pchc input[type=time]{display:block;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #c9ced8;border-radius:9px;font:inherit;font-size:17px;background:#fff;color:#1c2430}
.pchip{position:fixed;left:14px;bottom:calc(env(safe-area-inset-bottom,0px) + 14px);z-index:2147482000;display:flex;align-items:center;gap:10px;background:#16261c;color:#d6f5e1;border:1px solid #1f8a4c;border-radius:999px;padding:6px 6px 6px 14px;font:600 13.5px "Segoe UI",system-ui,Arial,sans-serif;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.pchip i{width:9px;height:9px;border-radius:50%;background:#35d07a;flex:none}
.pchip button{border:0;border-radius:999px;background:#fff;color:#a53024;font:600 13px inherit;padding:6px 12px;cursor:pointer}
body.mob .pchip{bottom:calc(env(safe-area-inset-bottom,0px) + 74px)}
@media (prefers-reduced-motion:no-preference){.pchip i{animation:pchp 1.8s infinite}}
@keyframes pchp{50%{opacity:.35}}
@media print{.pchip,.pchg{display:none}}
/* attendance page */
.pchbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 0 12px}
.pchbar input,.pchbar select{padding:6px 8px;width:auto;max-width:100%}
.pchbar label{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;margin:0}
.pchsum{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}
.pchsum div{border:1px solid var(--line,#e3e6eb);border-radius:10px;padding:8px 14px;min-width:120px}
.pchsum b{display:block;font-size:22px;line-height:1.2}
.pchsum span{font-size:13px;color:var(--muted,#667085)}
table.pchtab{width:100%;border-collapse:collapse;font-size:14px}
table.pchtab th,table.pchtab td{padding:8px 10px;border-bottom:1px solid var(--line,#e3e6eb);text-align:left;white-space:nowrap;vertical-align:top}
table.pchtab th{font-size:12.5px;color:var(--muted,#667085);font-weight:600}
table.pchtab small{display:block;color:var(--muted,#667085);font-size:12px}
table.pchtab tr.no td{color:var(--muted,#667085)}
.pcht{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;font-weight:600}
.pcht.g{background:#e3f4ea;color:#17683a}.pcht.a{background:#fff1d6;color:#8a5a00}.pcht.x{background:#fde8e6;color:#9b2c20}.pcht.n{background:#eef0f3;color:#5b6472}

/* 📸 screen helper */
.pchtab .shotth{display:block;max-width:150px;max-height:84px;border:1px solid var(--line,#e3e6eb);border-radius:6px;object-fit:cover}
.btn.shot{background:#0f766e;color:#fff;border-color:#0f766e}.btn.shot:hover{background:#0b5c56}
.shotgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin-top:4px}
.shotc{display:block;border:1px solid var(--line,#e3e6eb);border-radius:10px;overflow:hidden;background:#fff;text-decoration:none;color:inherit}
.shotc .im{display:block;height:120px;background:#eef0f3;overflow:hidden}
.shotc .im img{width:100%;height:100%;object-fit:cover;display:block}
.shotc .cap{display:block;padding:7px 9px;font-size:12.5px}.shotc .cap b{display:block;font-weight:600}
.shotlb{align-items:center;justify-content:center}
.shotlbx{background:#111;border-radius:12px;padding:10px;max-width:96vw;max-height:94vh;display:flex;flex-direction:column;gap:8px}
.shotlbx img{max-width:94vw;max-height:84vh;object-fit:contain;border-radius:6px;background:#000}
.shotlbb{display:flex;gap:8px;justify-content:center}
.shotset label{display:block;text-align:left;font-size:13px;color:#667085;margin-top:10px}
.shotset input{display:block;width:100%;margin-top:4px;padding:9px 11px;border:1px solid #c9ced8;border-radius:8px;font:inherit;font-size:14px;background:#fff;color:#1c2430}
.shotteam{max-height:46vh;overflow:auto;margin:8px 0 12px;border:1px solid var(--line,#e3e6eb);border-radius:9px;padding:6px 10px}
.shotpick{display:flex;align-items:center;gap:9px;padding:7px 2px;font-size:14.5px;border-bottom:1px solid #f0f1f4}
.shotpick:last-child{border-bottom:0}.shotpick input{width:17px;height:17px}

/* 📄 first sign-in Terms of Use (remote staff) */
.trmov{position:fixed;inset:0;z-index:2147483600;background:#f3f2f1;display:flex;align-items:stretch;justify-content:center;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
.trmsheet{background:#fff;width:100%;max-width:760px;display:flex;flex-direction:column;box-shadow:0 0 40px rgba(0,0,0,.12)}
.trmhead{padding:20px 40px 14px;border-bottom:1px solid #e1dfdd}
.trmhead .org{font-size:12.5px;color:#605e5c}.trmhead .ttl{font-size:22px;font-weight:600;margin:3px 0 4px;color:#201f1e}
.trmhead .sub{font-size:12.5px;color:#605e5c}
.trmbody{flex:1;overflow:auto;padding:18px 40px;color:#201f1e;font-size:14.5px;line-height:1.65}
.trmbody h1{font-size:18px;font-weight:600;margin:0 0 10px}
.trmbody h2{font-size:15px;font-weight:600;margin:18px 0 4px}
.trmbody p{margin:0 0 10px}.trmbody ul{margin:0 0 10px;padding-left:20px}.trmbody li{margin:3px 0}
.trmfoot{border-top:1px solid #e1dfdd;padding:14px 40px 18px;background:#fff}
.trmchk{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin-bottom:12px;cursor:pointer}
.trmchk input{width:18px;height:18px;margin-top:1px;flex:none}
.trmbtns{display:flex;gap:12px;align-items:center}
.trmbtn{border:1px solid #e1dfdd;background:#fff;color:#201f1e;border-radius:2px;padding:9px 24px;font:600 14px inherit;cursor:pointer}
.trmbtn.primary{background:#0067b8;border-color:#0067b8;color:#fff}.trmbtn.primary:disabled{background:#c8c6c4;border-color:#c8c6c4;cursor:default}
.trmhint{font-size:11.5px;color:#605e5c;margin:8px 0 0}
@media(max-width:600px){.trmhead,.trmbody,.trmfoot{padding-left:18px;padding-right:18px}}
/* 📄 terms acceptance record (declaration) */
.pchc.decl .decltab th{text-align:left;color:#667085;font-weight:600;padding:3px 18px 3px 0;vertical-align:top;font-size:13px}
.pchc.decl .decltab td{padding:3px 0}
.pchc.decl .decldoc h1{font-size:17px;margin:0 0 8px}.pchc.decl .decldoc h2{font-size:14px;margin:14px 0 3px}
.pchc.decl .declnote{color:#555;font-size:13px}
.pchc.decl hr{border:0;border-top:1px solid var(--line,#e1dfdd);margin:12px 0}
