.hc-page{color:var(--ink,#30372d);min-width:0}.hc-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:10px 0 20px}.hc-heading h1{margin:6px 0}.hc-heading p{margin:6px 0}.hc-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.hc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:14px}.hc-area{display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:20px;background:var(--surface,#fff);border:1px solid var(--border,#ddd);border-radius:16px}.hc-area h2{font-size:1.25rem;margin:8px 0}.hc-area small{display:block;margin-top:9px;color:var(--muted,#626b5e)}.hc-status{display:inline-block;border-radius:8px;padding:7px 10px;background:#f1eddb;color:#725d2b;font-size:.85rem}.hc-status.done{background:#e8efdf;color:#526740}.hc-status.overdue{background:#f7e6df;color:#903f30}.hc-status.inactive{background:#ecebe5;color:#666}.hc-status.use{background:#edf0e7;color:#59694b}.hc-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:18px 0}.hc-filters label{flex:1;min-width:140px}.hc-filters input,.hc-filters select{min-width:0}.hc-table-wrap{overflow-x:auto}.hc-table{width:100%;border-collapse:collapse;background:var(--surface,#fff);border-radius:12px}.hc-table th,.hc-table td{padding:14px 12px;border-bottom:1px solid var(--border,#ddd);text-align:left;vertical-align:top}.hc-table small{display:block}.hc-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow:auto;background:#f8f7f2;color:#30372d;border:1px solid #dedfd4;border-radius:18px;padding:22px}.hc-dialog>header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:20px}.hc-dialog>header h2{margin:5px 0}.hc-dialog form{display:grid;gap:14px}.hc-dialog input,.hc-dialog textarea,.hc-dialog select{font-size:16px}.hc-dialog textarea{min-height:100px}.hc-instructions,.hc-note p{white-space:pre-wrap;overflow-wrap:anywhere}.hc-proof{max-width:100%;max-height:460px;object-fit:contain;border-radius:12px;margin:12px 0;background:#eeeee5}.hc-label{text-align:center;padding:16px;background:#fff;border:1px dashed #a7b497;border-radius:14px}.hc-label small{display:block;overflow-wrap:anywhere}.hc-qr{display:block;width:240px;max-width:100%;height:auto;margin:14px auto;image-rendering:pixelated}.hc-success{padding:22px;border-radius:15px;background:#e7eedf;text-align:center}.hc-success strong{font-size:1.3rem}.hc-note{padding:12px;background:#ecefe5;border-radius:12px;margin:12px 0}.hc-camera{display:block;width:100%;max-height:360px;background:#293222;border-radius:12px}.hc-dialog [role=alert]:not(:empty){padding:12px;border-radius:10px;background:#f8e5df;color:#85382c}.hc-dialog button:disabled{opacity:.55}.hc-message{color:#725d2b}
@media(max-width:720px){.hc-heading{align-items:stretch}.hc-heading>.actions{width:100%}.hc-heading>.actions button{flex:1}.hc-area{padding:16px}.hc-filters{gap:8px}.hc-filters label{min-width:120px}.hc-dialog{padding:16px}.hc-table{font-size:.8rem}.hc-table th,.hc-table td{padding:9px 6px}.hc-tabs button{flex:1}.hc-area .actions button{flex:1}.hc-table button{padding:7px;font-size:.78rem}.hc-heading h1{font-size:1.6rem}}

.hc-download{display:inline-block;padding:14px 20px;background:#71805d;color:white;border-radius:12px;font-weight:700;text-decoration:none}

.hc-staff{max-width:650px;margin:20px auto}.hc-staff h1{font-size:1.9rem}.hc-scan-start{background:#eaf0e2;border:1px solid #d3deca;border-radius:20px;padding:28px 20px;margin:24px 0;text-align:center}.hc-scan-start>span{display:block;font-size:72px;line-height:1.1;color:#63764f;margin-bottom:20px}.hc-scan-start button{width:100%;min-height:58px;font-size:1.1rem}.hc-staff-stats{display:flex;gap:16px}.hc-staff-stats>span{flex:1;padding:16px;border-radius:14px;background:white}.hc-staff-stats strong{display:block;font-size:1.8rem}.hc-qr-alert{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;border:1px solid #ddba71;background:#faf1db;border-radius:14px;margin-bottom:16px}.hc-qr-alert strong{flex:1}.hc-report-list{display:grid;gap:14px}.hc-report-list dl{display:grid;grid-template-columns:180px 1fr;gap:8px;margin:0}.hc-report-list dd{margin:0;overflow-wrap:anywhere}.hc-qr-photo{display:block;margin-top:20px}.hc-dialog small{overflow-wrap:anywhere}.hc-staff .muted{margin-top:22px}
@media(max-width:720px){.hc-staff{margin:8px auto}.hc-staff h1{font-size:1.8rem}.hc-report-list dl{grid-template-columns:1fr}.hc-report-list dt{font-weight:bold}}
.hc-viewfinder{position:relative;overflow:hidden;border-radius:18px;background:#273023;border:1px solid #45513d}.hc-viewfinder .hc-camera{width:100%;aspect-ratio:4/3;max-height:360px;object-fit:contain;border-radius:0}.hc-scan-still{display:block;width:100%;max-height:360px;object-fit:contain}.hc-viewfinder [hidden]{display:none!important}.hc-scan-guide{position:absolute;width:62%;aspect-ratio:1;max-height:76%;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:18px;box-shadow:0 0 0 200px #17211155}.hc-scan-guide i{position:absolute;width:30px;height:30px;border:4px solid #edf3e5}.hc-scan-guide i:nth-child(1){top:0;left:0;border-right:0;border-bottom:0;border-radius:14px 0 0}.hc-scan-guide i:nth-child(2){top:0;right:0;border-left:0;border-bottom:0;border-radius:0 14px 0 0}.hc-scan-guide i:nth-child(3){bottom:0;left:0;border-right:0;border-top:0;border-radius:0 0 0 14px}.hc-scan-guide i:nth-child(4){bottom:0;right:0;border-left:0;border-top:0;border-radius:0 0 14px}.hc-scan-guide>span{position:absolute;left:8%;width:84%;height:2px;top:15%;background:#d8ebbc;box-shadow:0 0 12px #d8ebbc;animation:hc-scan-sweep 2.8s ease-in-out infinite alternate}.hc-camera-label{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border-radius:20px;padding:6px 12px;background:#24301ee6;color:#fff;font-size:.75rem;white-space:nowrap}.hc-scan-outline{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.hc-scan-outline polygon{fill:#b8d99122;stroke:#d8ebbc;stroke-width:4;stroke-linejoin:round;vector-effect:non-scaling-stroke}.hc-scan-feedback{text-align:center;padding:18px 8px;min-height:92px}.hc-scan-feedback strong{display:block;font-size:1.15rem}.hc-scan-feedback p{margin:8px 0;color:#59634f}.hc-scan-confirmed .hc-scan-feedback{background:#e7eedf;border-radius:14px;margin-top:12px}.hc-confirm-icon,.hc-recognized-icon{display:grid;place-items:center;background:#63764f;color:#fff;border-radius:50%;font-size:25px;width:46px;height:46px;flex:none}.hc-confirm-icon{margin:0 auto 10px}.hc-recognized{display:flex;align-items:center;gap:14px;background:#e7eedf;border:1px solid #d0ddc4;border-radius:16px;padding:18px}.hc-recognized small{color:#526740;font-weight:600}.hc-recognized h3{margin:6px 0;font-size:1.25rem;overflow-wrap:anywhere}.hc-recognized p{margin:0;color:#59634f}.hc-steps{display:flex;list-style:none;gap:8px;padding:0;margin:18px 0;font-size:.85rem}.hc-steps li{flex:1;padding:9px 4px;text-align:center;border-bottom:2px solid #dedfd4;color:#6b7266}.hc-steps .done{color:#526740;border-color:#a6b992}.hc-steps .current{font-weight:700;color:#30372d;border-color:#63764f}.hc-photo-prompt{padding:16px;border:1px dashed #a7b497;border-radius:14px;background:#fff}.hc-photo-prompt strong,.hc-photo-prompt span{display:block;margin-bottom:8px}.hc-photo-prompt span{font-size:.85rem;color:#59634f}.hc-photo-prompt input{max-width:100%}@keyframes hc-scan-sweep{to{top:85%}}@media(prefers-reduced-motion:reduce){.hc-scan-guide>span{animation:none;top:50%}}
.hc-photo-prompt p{font-size:.9rem;color:#59634f;margin:8px 0 16px}.hc-photo-prompt .hc-take-photo{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:64px;font-size:1.1rem}.hc-take-photo svg{flex:none}.hc-photo-prompt .hc-take-photo span{display:inline;margin:0;color:inherit;font-size:inherit}.hc-photo-prompt input[hidden]{display:none!important}
