*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;background:#f8f9fa;color:#1f2937;line-height:1.5}.container{max-width:400px;margin:0 auto;min-height:100vh;background:#fff;box-shadow:0 0 10px #0000001a}.header{background:#fff;padding:2rem 1.5rem;text-align:center;border-bottom:1px solid #e5e7eb}.header .logo{max-width:200px;height:auto;margin-bottom:1rem;border-radius:8px}.header h1{font-size:1.5rem;font-weight:600;color:#1f2937;margin-bottom:.5rem}.header p{font-size:1rem;color:#6b7280}.content{padding:2rem 1.5rem}.step{display:none}.step.active{display:block}.status-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:2rem;margin-bottom:1.5rem;text-align:center}.status-card.compact{padding:1rem;margin-bottom:1rem}.status-card.compact .status-icon{font-size:1.5rem;margin-bottom:.5rem}.status-card.compact .status-text{font-size:1.25rem;margin-bottom:.25rem}.status-card.compact .status-description{font-size:.875rem;margin-bottom:0}.status-card.mini{padding:.75rem 1rem;margin-bottom:.75rem}.status-card.mini .status-icon{font-size:1.25rem;margin-bottom:.25rem}.status-card.mini .status-text{font-size:1rem;margin-bottom:.125rem}.status-card.mini .status-description{font-size:.75rem;margin-bottom:0;color:#6b7280}.status-card.success{border-color:#10b981;background:#f0fdf4}.status-card.error{border-color:#ef4444;background:#fef2f2}.status-card.loading{border-color:#f59e0b;background:#fffbeb}.status-icon{font-size:3rem;margin-bottom:1rem;display:block}.status-text{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;color:#1f2937}.status-description{font-size:1rem;color:#6b7280;line-height:1.5}.form-group{margin-bottom:1.5rem}#details-step .form-group{margin-bottom:1rem}#details-step .form-group:last-of-type{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.875rem}.form-group input,.form-group select{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#2d5a27;box-shadow:0 0 0 3px #2d5a271a}.checkbox-group{display:flex;align-items:flex-start;gap:.75rem;margin:1.5rem 0;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}#photo-step .checkbox-group{margin:1rem 0;padding:.75rem}#photo-step .checkbox-group label{font-size:.875rem;line-height:1.4}.checkbox-group input[type=checkbox]{width:auto;margin:2px 0 0}.checkbox-group label{margin:0;font-weight:400;font-size:.875rem;line-height:1.4;color:#374151}.camera-container{background:#000;border-radius:1rem;overflow:hidden;margin-bottom:1.5rem;position:relative}#video{width:100%;height:200px;object-fit:cover}#canvas{display:none}@media (max-height: 700px){#video{height:160px}.camera-container{margin-bottom:1rem}}.photo-preview{width:100%;object-fit:cover;border-radius:12px;margin-bottom:0;border:1px solid #e5e7eb;height:auto;display:block;border-radius:1rem}.btn{width:100%;padding:1rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;transition:background-color .2s}.btn-primary{background:#2d5a27;color:#fff}.btn-primary:hover{background:#1e3d1b}.btn-secondary{background:#6b7280;color:#fff;margin-bottom:.75rem}.btn-secondary:hover{background:#4b5563}.btn:disabled{background:#d1d5db;color:#9ca3af;cursor:not-allowed}.btn-group{display:flex;gap:.75rem;margin-bottom:1.5rem}.btn-group .btn{flex:1;margin-bottom:0}#photo-step .btn-group{margin-bottom:1rem}#photo-step .btn{padding:.75rem 1rem;font-size:.875rem}.progress-bar{width:100%;height:4px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin:1rem 0}.progress-fill{height:100%;background:#2d5a27;border-radius:4px;transition:width .3s ease}.loading-spinner{display:inline-block;width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;color:#fff}.loading-overlay p{margin-top:1rem;font-size:1.125rem}.success-checkmark{width:60px;height:60px;margin:0 auto 1rem;border-radius:50%;display:block;stroke-width:2;stroke:#10b981;stroke-miterlimit:10;box-shadow:inset 0 0 #10b981;animation:fill .4s ease-in-out .4s forwards,scale .3s ease-in-out .9s both}.success-checkmark__circle{stroke-dasharray:166;stroke-dashoffset:166;stroke-width:2;stroke-miterlimit:10;stroke:#10b981;fill:none;animation:stroke .6s cubic-bezier(.65,0,.45,1) forwards}.success-checkmark__check{transform-origin:50% 50%;stroke-dasharray:48;stroke-dashoffset:48;animation:stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards}@keyframes stroke{to{stroke-dashoffset:0}}@keyframes scale{0%,to{transform:none}50%{transform:scale3d(1.1,1.1,1)}}@keyframes fill{to{box-shadow:inset 0 0 0 30px #10b981}}#checkin-details{text-align:left;margin-top:1rem;background:#f9fafb}#checkin-details h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;color:#1f2937}#checkin-details p{margin-bottom:.5rem;font-size:.875rem;color:#6b7280}#checkin-details strong{color:#1f2937;font-weight:500}.manager-link{text-align:center;padding:1.5rem;border-top:1px solid #e5e7eb}.manager-link a{color:#6b7280;text-decoration:none;font-size:.875rem}.manager-link a:hover{color:#2d5a27;text-decoration:underline}.hidden{display:none!important}@media (max-width: 480px){.container{margin:0;border-radius:0;box-shadow:none}.content,.header{padding:1.5rem 1rem}}.back-link{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.back-link a{display:inline-flex;align-items:center;gap:.5rem;color:#6b7280;text-decoration:none;font-size:.875rem;padding:.75rem 1rem;border-radius:.5rem;transition:all .2s ease}.back-link a:hover{color:#2d5a27;background-color:#f9fafb;text-decoration:none}.back-link a:active{transform:translateY(1px)}.manager-actions{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.action-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;text-align:center}.action-card h3{color:#2d5a27;margin-bottom:.5rem;font-size:1.125rem;font-weight:600}.action-card p{color:#6b7280;font-size:.875rem;margin-bottom:1rem;line-height:1.4}.action-card .btn{width:100%}.session-info{background:#fef3cd;border:1px solid #fbbf24;border-radius:.5rem;padding:1rem;text-align:center;margin-top:1.5rem}.session-info p{color:#92400e;font-size:.875rem;margin-bottom:.75rem}.session-info #session-timer{font-weight:600;color:#b45309}.pin-input{text-align:center;font-size:1.25rem;letter-spacing:.25rem;font-weight:600}.photo-overlay{position:absolute;bottom:1rem;left:50%;transform:translate(-50%);background:#2d5a27f2;color:#fff;padding:.75rem 1.5rem;border-radius:2rem;font-size:.775rem;font-weight:600;display:flex;align-items:center;gap:.5rem;box-shadow:0 4px 12px #0000004d;backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.2);z-index:10;animation:slideUpFade .3s ease-out}@keyframes slideUpFade{0%{opacity:0;transform:translate(-50%) translateY(1rem)}to{opacity:1;transform:translate(-50%) translateY(0)}}
