*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100vh;margin:0}body{background:#f5f7fb;font-family:Arial,Helvetica,sans-serif}.registration-page{box-sizing:border-box;background:#f5f7fb;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:40px 20px;display:flex}.registration-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:460px;padding:40px;box-shadow:0 10px 30px #00000014}.registration-card h1{text-align:center;color:#1f2937;margin:0 0 32px;font-size:28px;font-weight:700}.form-group{margin-bottom:22px}.form-group label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.form-group input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:13px 14px;font-size:15px;transition:border-color .2s,box-shadow .2s}.form-group input::placeholder{color:#9ca3af}.form-group input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.form-group input[type=file]{cursor:pointer;padding:10px}.register-button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;width:100%;margin-top:8px;padding:14px;font-size:15px;font-weight:600;transition:background .2s,transform .1s}.register-button:hover{background:#4338ca}.register-button:active{transform:scale(.99)}.registration-message{color:#374151;text-align:center;background:#f3f4f6;border-radius:8px;margin-top:22px;padding:12px 14px;font-size:14px}.attendance-container{box-sizing:border-box;color:#1f2937;background:#f5f7fb;width:100%;min-height:100vh;padding:40px}.attendance-header{max-width:1100px;margin:0 auto 30px}.attendance-header h1{color:#111827;margin:0;font-size:30px;font-weight:700}.attendance-header p{color:#6b7280;margin-top:8px;font-size:15px}.attendance-form{background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:1fr 1fr;gap:22px;max-width:1100px;margin:0 auto;padding:28px;display:grid;box-shadow:0 6px 20px #0000000f}.attendance-form .form-group{margin:0}.attendance-form .form-group.full-width{grid-column:1/-1}.attendance-form label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.attendance-form input,.attendance-form select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:13px 14px;font-size:15px}.attendance-form input:focus,.attendance-form select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}.attendance-form input[type=file]{cursor:pointer;padding:10px}.recognize-button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;grid-column:1/-1;width:100%;padding:14px;font-size:15px;font-weight:600}.recognize-button:hover{background:#4338ca}.recognize-button:disabled{cursor:not-allowed;background:#9ca3af}.error{color:#b91c1c;text-align:center;background:#fef2f2;border-radius:8px;grid-column:1/-1;margin:0;padding:12px}.attendance-results,.results{background:#fff;border:1px solid #e5e7eb;border-radius:14px;max-width:1100px;margin:30px auto 0;padding:28px;box-shadow:0 6px 20px #0000000f}.attendance-results h2,.results h2{color:#111827;margin:0 0 22px;font-size:21px}.summary-card{text-align:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.summary-card span{color:#6b7280;margin-bottom:8px;font-size:14px;display:block}.summary-card strong{color:#111827;font-size:28px}.attendance-results table,.results table{border-collapse:collapse;width:100%}.attendance-results th,.attendance-results td,.results th,.results td{text-align:left;border-bottom:1px solid #e5e7eb;padding:13px 14px}.attendance-results th,.results th{color:#374151;background:#f9fafb;font-size:14px}@media (width<=700px){.attendance-container{padding:20px}.attendance-form{grid-template-columns:1fr}.attendance-form .form-group.full-width,.recognize-button,.error{grid-column:auto}.summary{grid-template-columns:1fr}.attendance-results,.results{overflow-x:auto}}.selected-images{grid-column:1/-1}.selected-images h3{color:#374151;margin:0 0 14px;font-size:16px}.image-preview-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.image-preview-card img{object-fit:cover;width:100%;height:150px;display:block}.image-preview-info{justify-content:space-between;align-items:center;gap:8px;padding:10px;display:flex}.image-preview-info span{color:#374151;font-size:13px;font-weight:600}.image-preview-info button{color:#dc2626;cursor:pointer;background:0 0;border:none;font-size:12px}.recognition-image-section{margin-bottom:30px}.recognition-image-section h3{color:#374151;margin:0 0 14px;font-size:16px}.recognition-image-wrapper{background:#111827;border:1px solid #e5e7eb;border-radius:10px;width:100%;position:relative;overflow:visible}.face-box{box-sizing:border-box;pointer-events:none;border:3px solid #22c55e;position:absolute}.face-box.unknown{border-color:#ef4444}.face-label{color:#fff;white-space:nowrap;background:#22c55e;border-radius:5px 5px 0 0;flex-direction:column;gap:2px;padding:5px 8px;font-size:12px;display:flex;position:absolute;top:0;left:-3px;transform:translateY(-100%)}.face-box.unknown .face-label{background:#ef4444}.face-label strong{font-size:12px}.face-label span{font-size:11px}@media (width<=900px){.image-preview-list{grid-template-columns:repeat(2,1fr)}}@media (width<=500px){.image-preview-list{grid-template-columns:1fr}}.angle-section label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.photo-preview{text-align:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-top:12px;padding:10px}.angle-section{margin-bottom:22px}.angle-section>label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.angle-actions{align-items:center;gap:10px;display:flex}.angle-actions input[type=file]{flex:1;min-width:0}.camera-button{color:#4f46e5;cursor:pointer;background:#fff;border:1px solid #4f46e5;border-radius:8px;flex-shrink:0;padding:11px 16px;font-size:14px;font-weight:600}.camera-button:hover{background:#eef2ff}.photo-preview{text-align:center;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;width:100%;margin-top:12px;padding:10px}.photo-preview img{object-fit:contain;background:#111827;border-radius:6px;width:100%;height:180px;display:block}.photo-preview span{color:#16a34a;margin-top:8px;font-size:13px;font-weight:600;display:block}.camera-modal{z-index:1000;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.camera-card{background:#fff;border-radius:16px;width:100%;max-width:480px;padding:28px;box-shadow:0 20px 50px #00000040}.camera-card h2{text-align:center;color:#1f2937;margin:0;font-size:21px;font-weight:700}.camera-instruction{text-align:center;color:#6b7280;margin:8px 0 20px;font-size:14px}.camera-preview{aspect-ratio:1;background:#111827;border-radius:12px;width:100%;overflow:hidden}.camera-preview video{object-fit:cover;width:100%;height:100%;display:block}.camera-actions{gap:12px;margin-top:20px;display:flex}.capture-button,.cancel-button{cursor:pointer;border:none;border-radius:8px;flex:1;padding:13px;font-size:14px;font-weight:600}.capture-button{color:#fff;background:#4f46e5}.capture-button:hover{background:#4338ca}.cancel-button{color:#374151;background:#e5e7eb}.cancel-button:hover{background:#d1d5db}@media (width<=600px){.angle-actions{flex-direction:column;align-items:stretch}.camera-button{width:100%}.camera-card{padding:20px}}.camera-progress{justify-content:space-between;gap:8px;margin-bottom:18px;display:flex}.camera-progress span{color:#9ca3af;text-align:center;background:#f3f4f6;border-radius:6px;flex:1;padding:8px 4px;font-size:12px;font-weight:600}.camera-progress span.active{color:#4f46e5;background:#eef2ff}.camera-progress span.completed{color:#16a34a;background:#dcfce7}.dashboard-selection{box-sizing:border-box;background:#f5f7fb;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:100vh;padding:40px 20px;display:flex}.dashboard-selection h1{color:#111827;text-align:center;margin:0;font-size:32px;font-weight:700}.dashboard-selection p{color:#6b7280;text-align:center;margin:10px 0 30px;font-size:16px}.dashboard-options{gap:24px;width:100%;max-width:700px;display:flex}.dashboard-options button{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:16px;flex:1;min-height:180px;padding:30px;font-size:20px;font-weight:600;transition:transform .2s,box-shadow .2s,border-color .2s;box-shadow:0 8px 24px #0000000f}.dashboard-options button:hover{border-color:#4f46e5;transform:translateY(-4px);box-shadow:0 14px 30px #0000001a}@media (width<=600px){.dashboard-options{flex-direction:column;max-width:400px}.dashboard-options button{min-height:140px}.dashboard-selection h1{font-size:26px}}.app-navbar{z-index:100;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:30px;width:100%;min-height:70px;padding:0 40px;display:flex;position:sticky;top:0;box-shadow:0 2px 10px #0000000a}.app-title{color:#111827;white-space:nowrap;font-size:18px;font-weight:700}.app-navigation{align-items:center;gap:6px;display:flex}.nav-button{color:#6b7280;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600;transition:background .2s,color .2s}.nav-button:hover{color:#374151;background:#f3f4f6}.nav-button.active{color:#4f46e5;background:#eef2ff}@media (width<=800px){.app-navbar{flex-direction:column;align-items:stretch;gap:12px;padding:16px 20px}.app-title{text-align:center}.app-navigation{flex-wrap:wrap;justify-content:center}}@media (width<=500px){.app-navigation{grid-template-columns:1fr;width:100%;display:grid}.nav-button{width:100%}}.attendance-container{--dashboard-ink:#172033;--dashboard-muted:#68758a;--dashboard-border:#e4e9f2;--dashboard-primary:#4f46e5;--dashboard-primary-hover:#4338ca;min-height:100vh;color:var(--dashboard-ink);background:radial-gradient(at 100% 0,#e9edff 0,#0000 34%),#f5f7fc;padding:36px clamp(16px,4vw,56px) 56px;font-family:Inter,Segoe UI,Arial,sans-serif}.attendance-container *{box-sizing:border-box}.attendance-header{border-bottom:1px solid #e1e7f1;max-width:1180px;margin:0 auto 28px;padding:8px 0 24px}.attendance-header h1{color:#172033;letter-spacing:-1px;margin:0;font-size:clamp(26px,3vw,34px);font-weight:750;line-height:1.25}.attendance-header p{color:#68758a;margin:10px 0 0;font-size:15px;line-height:1.7}.attendance-form{border:1px solid var(--dashboard-border);background:#fff;border-radius:20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1180px;margin:0 auto;padding:clamp(20px,3vw,32px);display:grid;box-shadow:0 8px 30px #1f2d500e}.attendance-form .form-group{min-width:0;margin:0}.attendance-form .form-group.full-width,.attendance-form .selected-images,.attendance-form .recognize-button,.attendance-form .error{grid-column:1/-1}.attendance-form label{color:#28344a;letter-spacing:.15px;margin-bottom:9px;font-size:13px;font-weight:700;display:block}.attendance-form input:not([type=file]),.attendance-form select{color:#202b40;width:100%;min-height:48px;font:inherit;background-color:#fbfcff;border:1px solid #dce3ef;border-radius:11px;outline:none;padding:12px 14px;font-size:14px;transition:border-color .2s,box-shadow .2s,background .2s}.attendance-form input:focus,.attendance-form select:focus{background:#fff;border-color:#818cf8;box-shadow:0 0 0 4px #6366f11f}.attendance-form input[type=file]{color:#536177;cursor:pointer;background:#f8faff;border:1px dashed #b8c4dc;border-radius:12px;width:100%;min-width:0;padding:14px;font-size:13px;display:block}.attendance-form input[type=file]:hover{background:#f5f6ff;border-color:#818cf8}.recognize-button{color:#fff;letter-spacing:.1px;cursor:pointer;background:linear-gradient(135deg,#5b55ed,#4338ca);border:0;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:50px;margin-top:2px;padding:14px 20px;font-size:14px;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s;display:flex;box-shadow:0 5px 12px #4f46e52e}.recognize-button:hover:not(:disabled){background:linear-gradient(135deg,#4f46e5,#3730a3);transform:translateY(-1px);box-shadow:0 8px 18px #4f46e53d}.recognize-button:active:not(:disabled){transform:translateY(0)}.recognize-button:disabled{opacity:.65;cursor:wait;box-shadow:none}.selected-images{min-width:0;padding-top:2px}.selected-images h3{color:#28344a;margin:0 0 14px;font-size:15px;font-weight:700}.image-preview-list{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px;display:grid}.image-preview-card{background:#fff;border:1px solid #e4e9f2;border-radius:13px;min-width:0;transition:transform .18s,box-shadow .18s;overflow:hidden}.image-preview-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px #1f2d5014}.image-preview-card img{object-fit:cover;background:#eef1f7;width:100%;height:125px;display:block}.image-preview-info{justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:11px;display:flex}.image-preview-info span{color:#3a465b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.image-preview-info button{color:#c33e4c;cursor:pointer;background:#fff0f0;border:0;border-radius:6px;flex-shrink:0;padding:5px 7px;font-size:11px;font-weight:650}.image-preview-info button:hover{background:#ffe1e3}.attendance-form .error{color:#b42332;text-align:left;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;margin:0;padding:13px 15px;font-size:13px;line-height:1.6}.attendance-results,.results{border:1px solid var(--dashboard-border);background:#fff;border-radius:20px;max-width:1180px;margin:26px auto 0;padding:clamp(20px,3vw,30px);box-shadow:0 8px 30px #1f2d500b}.attendance-results h2,.results h2{color:#172033;letter-spacing:-.35px;margin:0 0 22px;font-size:21px;font-weight:750}.summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px;display:grid}.summary-card{text-align:left;background:#f8faff;border:1px solid #e6ebf5;border-radius:15px;min-width:0;padding:22px;position:relative;overflow:hidden}.summary-card:first-child{background:#f0fdf7;border-color:#d0f1df}.summary-card:nth-child(2){background:#fff7f4;border-color:#ffe2d7}.summary-card:nth-child(3){background:#f3f5ff;border-color:#dfe4ff}.summary-card span{color:#68758a;margin-bottom:10px;font-size:13px;font-weight:600;display:block}.summary-card strong{color:#202b40;font-size:clamp(27px,3vw,34px);font-weight:750;line-height:1.2;display:block}.attendance-results table,.results table{border-collapse:separate;border-spacing:0;width:100%}.attendance-results th,.attendance-results td,.results th,.results td{text-align:left;vertical-align:middle;border-bottom:1px solid #edf0f6;padding:15px 16px}.attendance-results th,.results th{color:#66738a;letter-spacing:.65px;text-transform:uppercase;background:#f8faff;font-size:11px;font-weight:750}.attendance-results th:first-child,.results th:first-child{border-radius:9px 0 0 9px}.attendance-results th:last-child,.results th:last-child{border-radius:0 9px 9px 0}.attendance-results td,.results td{color:#354157;font-size:13px}.attendance-results tbody tr:hover,.results tbody tr:hover{background:#fafbff}.attendance-results tbody tr:last-child td,.results tbody tr:last-child td{border-bottom:0}.recognition-image-section{border-bottom:1px solid #edf0f6;margin-bottom:28px;padding-bottom:24px}.recognition-image-section:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}.recognition-image-section h3{color:#344057;overflow-wrap:anywhere;margin:0 0 13px;font-size:14px;font-weight:700}.recognition-image-wrapper{background:#edf1f7;border:1px solid #e1e6f0;border-radius:14px;width:100%;overflow:hidden}.recognition-image-wrapper img{width:100%;height:auto;display:block}@media (width<=700px){.attendance-container{padding:22px 14px 36px}.attendance-header{margin-bottom:20px;padding-bottom:18px}.attendance-form{border-radius:16px;grid-template-columns:minmax(0,1fr);gap:20px;padding:20px}.attendance-form .form-group.full-width,.attendance-form .selected-images,.attendance-form .recognize-button,.attendance-form .error{grid-column:1}.summary{gap:10px}.summary-card{padding:15px 12px}.attendance-results,.results{border-radius:16px;padding:18px}.attendance-results table,.results table{min-width:340px}.attendance-results,.results{overflow-x:auto}}@media (width<=420px){.summary{grid-template-columns:1fr}.summary-card{padding:15px 17px}.image-preview-list{grid-template-columns:repeat(2,minmax(0,1fr))}.image-preview-card img{height:105px}}.guided-registration{background:radial-gradient(at 100% 0,#e8edff 0,#0000 38%),#f5f7fc;align-items:flex-start;padding:38px 20px 60px;font-family:Inter,Segoe UI,Arial,sans-serif}.guided-registration,.guided-registration *{box-sizing:border-box}.guided-registration .registration-card-wide{border:1px solid #e3e8f2;border-radius:20px;width:100%;max-width:1120px;padding:clamp(20px,3vw,36px);box-shadow:0 12px 36px #1f2d5012}.guided-registration .registration-heading{border-bottom:1px solid #edf0f6;margin-bottom:28px;padding-bottom:24px}.guided-registration .registration-eyebrow{color:#5b55df;letter-spacing:1.3px;margin-bottom:8px;font-size:11px;font-weight:800;display:inline-block}.guided-registration .registration-heading h1{text-align:left;color:#172033;letter-spacing:-.8px;margin:0;font-size:clamp(25px,3vw,32px)}.guided-registration .registration-heading p{color:#68758a;margin:10px 0 0;font-size:14px;line-height:1.7}.guided-registration .registration-identity{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.guided-registration .form-group{min-width:0;margin-bottom:20px}.guided-registration .form-group label{color:#29354a;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.guided-registration .form-group input{color:#202b40;background:#fbfcff;border:1px solid #dce3ef;border-radius:10px;width:100%;min-height:47px;padding:12px 14px;font-size:14px}.guided-registration .form-group input:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 4px #6366f11f}.guided-registration .capture-overview{justify-content:space-between;align-items:center;gap:20px;margin-top:8px;display:flex}.guided-registration .capture-overview h2{color:#202b40;margin:0;font-size:19px}.guided-registration .capture-overview p{color:#68758a;max-width:650px;margin:7px 0 0;font-size:13px;line-height:1.6}.guided-registration .capture-count{text-align:right;flex-shrink:0}.guided-registration .capture-count strong{color:#4f46e5;font-size:23px;display:block}.guided-registration .capture-count span{color:#68758a;font-size:11px}.guided-registration .capture-progress-track{background:#e8ebf4;border-radius:20px;height:6px;margin:17px 0 25px;overflow:hidden}.guided-registration .capture-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#6366f1,#4f46e5);height:100%;transition:width .25s;display:block}.guided-registration .pose-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.guided-registration .pose-card{background:#fff;border:1px solid #e4e9f2;border-radius:15px;min-width:0;padding:17px;transition:border-color .2s,box-shadow .2s;box-shadow:0 3px 12px #1f2d5006}.guided-registration .pose-card:hover{border-color:#c9cffc;box-shadow:0 8px 22px #1f2d500f}.guided-registration .pose-card-complete{background:#fcfffd;border-color:#b7e8ca}.guided-registration .pose-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.guided-registration .pose-number{color:#4f46e5;background:#eef0ff;border-radius:9px;place-items:center;width:32px;height:32px;font-size:12px;font-weight:800;display:grid}.guided-registration .pose-status{color:#be3448;background:#fff1f2;border-radius:20px;padding:5px 8px;font-size:10px;font-weight:750}.guided-registration .pose-status-complete{color:#15803d;background:#dcfce7}.guided-registration .pose-status-optional{color:#64748b;background:#f1f5f9}.guided-registration .pose-card h3{color:#202b40;margin:15px 0 6px;font-size:15px}.guided-registration .pose-instruction{color:#68758a;min-height:39px;margin:0 0 13px;font-size:12px;line-height:1.55}.guided-registration .pose-placeholder{color:#8a96aa;background:#f8faff;border:1px dashed #d7deeb;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:145px;font-size:12px;display:flex}.guided-registration .pose-placeholder-icon{color:#a3acd0;font-size:34px}.guided-registration .pose-preview{background:#f8faff;border:1px solid #e4e9f2;border-radius:11px;width:100%;min-width:0;margin:0;padding:0;overflow:hidden}.guided-registration .pose-preview img{object-fit:contain;background:#eef1f7;width:100%;height:145px;display:block}.guided-registration .pose-preview-caption{color:#15803d;align-items:center;gap:7px;padding:10px 10px 4px;font-size:12px;font-weight:700;display:flex}.guided-registration .pose-check{background:#dcfce7;border-radius:50%;place-items:center;width:17px;height:17px;display:inline-grid}.guided-registration .pose-remove-button{color:#b42332;cursor:pointer;background:0 0;border:0;margin:4px 10px 10px;padding:5px 0;font-size:11px;font-weight:700}.guided-registration .pose-buttons{grid-template-columns:1fr;gap:8px;margin-top:13px;display:grid}.guided-registration .pose-camera-button,.guided-registration .pose-upload-button{color:#414c63;text-align:center;cursor:pointer;background:#fff;border:1px solid #dfe4f1;border-radius:9px;justify-content:center;align-items:center;min-height:39px;padding:9px 10px;font-size:12px;font-weight:700;transition:background .18s,border-color .18s;display:flex}.guided-registration .pose-camera-button{color:#fff;background:#4f46e5;border-color:#4f46e5}.guided-registration .pose-camera-button:hover:not(:disabled){background:#4338ca}.guided-registration .pose-camera-button:disabled{opacity:.55;cursor:wait}.guided-registration .pose-upload-button:hover{background:#f5f6ff;border-color:#9ba5f9}.guided-registration .pose-file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.guided-registration .registration-tips{color:#59667b;background:#f8faff;border:1px solid #e4e9f2;border-radius:12px;margin:25px 0 20px;padding:17px 19px;font-size:12px;line-height:1.7}.guided-registration .registration-tips strong{color:#28344a;font-size:13px}.guided-registration .registration-tips ul{margin:8px 0 0;padding-left:19px}.guided-registration .register-button{background:linear-gradient(135deg,#5b55ed,#4338ca);border-radius:11px;min-height:49px;margin-top:2px;box-shadow:0 5px 12px #4f46e52b}.guided-registration .register-button:disabled{opacity:.6;cursor:wait}.guided-registration .registration-message{text-align:left;line-height:1.6}.guided-registration .registration-message-success{color:#166534;background:#f0fdf4;border:1px solid #b7e8ca}.guided-registration .registration-message-error{color:#b42332;background:#fff1f2;border:1px solid #fecdd3}.guided-registration .registration-model-note{color:#68758a;text-align:center;margin:14px 0 0;font-size:12px}.camera-card-large{width:min(100%,600px);max-width:600px;max-height:calc(100vh - 30px);padding:23px;overflow-y:auto}.camera-dialog-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.camera-dialog-heading h2{text-align:left;color:#172033;margin:0;font-size:22px}.camera-close-button{color:#536177;cursor:pointer;background:#f8faff;border:1px solid #e4e9f2;border-radius:9px;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:24px;display:grid}.camera-card-large .camera-instruction{text-align:left;margin:8px 0 15px;line-height:1.6}.guided-camera-frame{aspect-ratio:4/3;background:#111827;border:4px solid #ef4444;border-radius:15px;width:100%;transition:border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.guided-camera-frame-good{border-color:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.guided-camera-frame video{object-fit:cover;width:100%;height:100%;display:block;transform:scaleX(-1)}.face-guide-overlay{pointer-events:none;position:absolute;inset:0}.face-guide-overlay svg{width:100%;height:100%;overflow:visible}.face-guide-overlay path{fill:none;stroke:#fffc;stroke-width:1.6px;stroke-dasharray:5 6}.guided-camera-frame-good .face-guide-overlay path{stroke:#86efac;stroke-dasharray:none}.camera-guidance-pill{color:#fff;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f172ad4;border:1px solid #ffffff2e;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:9px 12px;font-size:12px;font-weight:650;display:flex;position:absolute;bottom:12px;left:12px;right:12px}.camera-guidance-dot{background:#f87171;border-radius:50%;flex-shrink:0;width:9px;height:9px}.camera-guidance-dot-good{background:#4ade80;box-shadow:0 0 0 4px #4ade8024}.camera-face-warning{color:#fff;white-space:nowrap;background:#7f1d1de6;border-radius:7px;padding:7px 11px;font-size:11px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.camera-card-large .camera-hold-progress{margin-top:17px}.camera-hold-progress>div:first-child{color:#59667b;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;display:flex}.camera-hold-progress strong{color:#4f46e5}.camera-hold-track{background:#e8ebf4;border-radius:20px;height:6px;overflow:hidden}.camera-hold-track span{border-radius:inherit;background:#22c55e;height:100%;transition:width .1s linear;display:block}.camera-card-large .camera-live-tip{color:#68758a;margin:12px 0 0;font-size:11px;line-height:1.6}.camera-card-large .camera-actions{margin-top:17px}.camera-card-large .capture-button:disabled{cursor:not-allowed;box-shadow:none;background:#a5a8c8}@media (width<=850px){.guided-registration .pose-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.guided-registration{padding:18px 10px 32px}.guided-registration .registration-card-wide{border-radius:15px;padding:18px}.guided-registration .registration-identity{grid-template-columns:minmax(0,1fr);gap:0}.guided-registration .pose-grid{grid-template-columns:minmax(0,1fr)}.guided-registration .pose-instruction{min-height:0}.guided-registration .capture-overview{align-items:flex-start}.camera-modal{padding:8px}.camera-card-large{border-radius:13px;padding:16px}.guided-camera-frame{aspect-ratio:3/4;max-height:48vh}}.guided-registration .camera-card-large .camera-actions{flex-wrap:wrap;gap:10px;display:flex}.guided-registration .camera-card-large .camera-actions button{min-width:0}.guided-registration .skip-optional-button{color:#4b5568;cursor:pointer;background:#f8faff;border:1px solid #d9def0;border-radius:9px;flex:100%;padding:12px 14px;font-size:13px;font-weight:650}.guided-registration .skip-optional-button:hover{background:#eef2ff;border-color:#a5b4fc}@media (width<=600px){.guided-registration .camera-card-large .camera-actions{flex-direction:column}.guided-registration .camera-card-large .camera-actions button{width:100%}}.attendance-container video{background:#111}.attendance-container .image-preview-card img{object-fit:cover;width:100%;height:180px}.attendance-container button:disabled{opacity:.6;cursor:not-allowed}@media (width<=600px){.attendance-container .image-preview-list{grid-template-columns:1fr}}.remove-all-photos-button:hover{color:#fff;background:#dc2626;border-color:#dc2626;box-shadow:0 3px 8px #dc26262e}.remove-all-photos-button:active{transform:scale(.97)}.remove-all-photos-button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}@media (width<=600px){.remove-all-photos-button{width:100%}}@media (width<=480px){.photo-action-buttons{gap:8px}.photo-action-buttons .photo-action-button{padding:8px 10px;font-size:12px}}.photo-action-buttons{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-bottom:16px;display:flex}.photo-action-buttons .photo-action-button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:auto;min-width:0;margin:0;padding:9px 14px;font-size:13px;font-weight:600;line-height:1.4;transition:background .2s;display:inline-flex}.photo-action-buttons .camera-action-button{color:#3730a3;background:#e0e7ff;border-color:#c7d2fe}.photo-action-buttons .camera-action-button:hover{background:#c7d2fe}.photo-action-buttons .upload-action-button{color:#065f46;background:#d1fae5;border-color:#a7f3d0}.photo-action-buttons .upload-action-button:hover{background:#a7f3d0}.photo-action-buttons .photo-action-button:disabled{opacity:.55;cursor:not-allowed}.selected-photo-count{color:#64748b;margin-top:8px;font-size:13px}.remove-all-photos-button{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin-top:14px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.remove-all-photos-button:hover{color:#fff;background:#dc2626;border-color:#dc2626}.remove-all-photos-button:disabled{opacity:.5;cursor:not-allowed}.teacher-camera-overlay{z-index:9999;background:#000000c7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.teacher-camera-dialog{box-sizing:border-box;background:#fff;border-radius:16px;width:100%;max-width:760px;padding:20px}.teacher-camera-video{background:#111;border-radius:12px;width:100%;margin-top:12px;overflow:hidden}.teacher-camera-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.recognition-results-grid{width:100%;margin-top:28px}.recognition-results-header{margin-bottom:20px}.recognition-results-header h2{margin-bottom:6px}.recognition-results-header p{color:#64748b;margin:0;font-size:14px}.recognition-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;display:grid}.recognition-result-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;min-width:0;padding:16px;transition:box-shadow .2s,transform .2s;overflow:hidden;box-shadow:0 4px 14px #0f172a0f}.recognition-result-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #0f172a1a}.recognition-card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.recognition-card-heading h3{color:#1e293b;overflow-wrap:anywhere;margin:0;font-size:16px}.recognition-face-count{color:#475569;background:#f1f5f9;border-radius:20px;flex-shrink:0;padding:5px 9px;font-size:12px;font-weight:600}.recognition-file-name{color:#64748b;overflow-wrap:anywhere;margin:8px 0 12px;font-size:12px}.recognition-card-image{background:#f1f5f9;border-radius:10px;justify-content:center;align-items:center;width:100%;height:260px;display:flex;overflow:hidden}.recognition-card-image img{object-fit:contain;width:100%;height:100%;display:block}.recognition-card-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.recognition-stat{border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;display:flex}.recognition-stat span{font-size:12px;font-weight:600}.recognition-stat strong{font-size:19px}.recognized-stat{color:#047857;background:#ecfdf5}.unknown-stat{color:#be123c;background:#fff1f2}.recognition-face-list{border-top:1px solid #e2e8f0;margin-top:16px;padding-top:12px}.recognition-face-list h4{color:#334155;margin:0 0 10px;font-size:13px}.recognition-person-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:13px;display:flex}.recognition-person-row:last-child{border-bottom:none}.recognition-person-row>div{overflow-wrap:anywhere;align-items:center;gap:8px;min-width:0;display:flex}.person-status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.recognized-dot{background:#22c55e}.unknown-dot{background:#ef4444}.person-match{flex-shrink:0;font-size:12px;font-weight:700}.recognized-match{color:#047857}.unknown-match{color:#be123c}.no-faces-message{color:#64748b;margin-top:14px;font-size:13px}@media (width<=700px){.recognition-cards-grid{grid-template-columns:1fr;gap:16px}.recognition-card-image{height:240px}}@media (width<=480px){.photo-action-buttons{gap:8px}.photo-action-buttons .photo-action-button{padding:8px 10px;font-size:12px}.teacher-camera-dialog{padding:14px}.teacher-camera-actions{flex-direction:column}.recognition-result-card{padding:12px}.recognition-card-image{height:210px}}.teacher-camera-video{background:#111827;border-radius:12px;width:100%;overflow:hidden}.teacher-camera-video video{object-fit:contain;width:100%;max-height:65vh;display:block}.video-preview-container{background:#f8faff;border:1px solid #e4e9f2;border-radius:12px;margin-top:16px;padding:14px}.attendance-video-preview{object-fit:contain;background:#111827;border-radius:10px;width:100%;max-height:420px;display:block}.video-preview-container p{color:#59667b;overflow-wrap:anywhere;margin:12px 0 0;font-size:13px}.attendance-export-buttons{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.attendance-export-buttons .recognize-button{flex:220px;width:auto}.video-recognition-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.video-frame-result{background:#fff;border:1px solid #e4e9f2;border-radius:12px;min-width:0;padding:15px}.video-frame-result h3{color:#28344a;margin:0 0 12px;font-size:14px}.video-recognized-face{color:#354157;border-bottom:1px solid #edf0f6;align-items:center;gap:9px;padding:9px 0;font-size:13px;display:flex}.video-recognized-face:last-child{border-bottom:none}.video-recognized-face .person-match{margin-left:auto}.attendance-results td select{color:#354157;max-width:140px;font:inherit;background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:8px 10px}@media (width<=700px){.video-recognition-results{grid-template-columns:1fr}.attendance-export-buttons{flex-direction:column}.attendance-export-buttons .recognize-button{width:100%}}.attendance-container .photo-action-buttons{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-bottom:16px;display:flex}.attendance-container .photo-action-buttons .photo-action-button{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:auto;min-width:0;margin:0;padding:9px 14px;font-size:13px;font-weight:600;line-height:1.4;transition:background .2s;display:inline-flex}.attendance-container .photo-action-buttons .camera-action-button{color:#3730a3;background:#e0e7ff;border-color:#c7d2fe}.attendance-container .photo-action-buttons .camera-action-button:hover{background:#c7d2fe}.attendance-container .photo-action-buttons .upload-action-button{color:#065f46;background:#d1fae5;border-color:#a7f3d0}.attendance-container .photo-action-buttons .upload-action-button:hover{background:#a7f3d0}.attendance-container .photo-action-buttons .photo-action-button:disabled{opacity:.55;cursor:not-allowed}.attendance-container .video-preview-container{background:#f8faff;border:1px solid #e4e9f2;border-radius:12px;margin-top:16px;padding:14px}.attendance-container .attendance-video-preview{object-fit:contain;background:#111827;border-radius:10px;width:100%;max-height:420px;display:block}.attendance-container .video-preview-container p{color:#59667b;overflow-wrap:anywhere;margin:12px 0 0;font-size:13px}.attendance-container .teacher-camera-overlay{z-index:9999;background:#000000c7;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.attendance-container .teacher-camera-dialog{box-sizing:border-box;background:#fff;border-radius:16px;width:100%;max-width:760px;padding:20px}.attendance-container .teacher-camera-video{background:#111827;border-radius:12px;width:100%;margin-top:12px;overflow:hidden}.attendance-container .teacher-camera-video video{object-fit:contain;width:100%;max-height:65vh;display:block}.attendance-container .teacher-camera-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}@media (width<=480px){.attendance-container .photo-action-buttons{gap:8px}.attendance-container .photo-action-buttons .photo-action-button{padding:8px 10px;font-size:12px}.attendance-container .teacher-camera-dialog{padding:14px}.attendance-container .teacher-camera-actions{flex-direction:column}.attendance-container .teacher-camera-actions .recognize-button{width:100%}}.recognition-clickable-preview{cursor:zoom-in;outline-offset:3px;position:relative}.recognition-clickable-preview:focus-visible{outline:3px solid #3b82f6}.recognition-clickable-preview .preview-zoom-hint{z-index:2;color:#fff;opacity:0;pointer-events:none;background:#000000c7;border-radius:6px;padding:6px 9px;font-size:12px;line-height:1.3;transition:opacity .2s;position:absolute;bottom:8px;right:8px}.recognition-clickable-preview:hover .preview-zoom-hint,.recognition-clickable-preview:focus-visible .preview-zoom-hint{opacity:1}.recognition-modal-backdrop{animation:.15s ease-out recognitionModalFadeIn}.recognition-modal-content{animation:.18s ease-out recognitionModalScaleIn}@keyframes recognitionModalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes recognitionModalScaleIn{0%{opacity:.7;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@media (width<=600px){.recognition-modal-backdrop{padding:8px!important}.recognition-modal-content{width:100%!important;max-height:98vh!important;padding:10px!important}.recognition-modal-content h2{font-size:14px!important}}.guided-registration .registration-mode-switch{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:16px;justify-content:center;align-items:center;gap:12px;width:fit-content;max-width:100%;margin:24px auto 30px;padding:6px;display:flex}.guided-registration .registration-mode-switch .mode-button{color:#475569;white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;padding:13px 24px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;transition:background .25s,color .25s,box-shadow .25s,transform .25s;position:relative}.guided-registration .registration-mode-switch .mode-button:not(.active):hover:not(:disabled){color:#4338ca;background:#e0e7ff;transform:translateY(-1px)}.guided-registration .registration-mode-switch .mode-button.active{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-color:#0000;box-shadow:0 4px 10px #4f46e540}.guided-registration .registration-mode-switch .mode-button.active:hover:not(:disabled){background:linear-gradient(135deg,#4338ca,#6d28d9);transform:translateY(-1px);box-shadow:0 6px 15px #4f46e552}.guided-registration .registration-mode-switch .mode-button:focus-visible{outline-offset:3px;outline:3px solid #a5b4fc}.guided-registration .registration-mode-switch .mode-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}@media (width<=480px){.guided-registration .registration-mode-switch{gap:6px;width:100%;margin:20px auto 24px;padding:5px}.guided-registration .registration-mode-switch .mode-button{white-space:normal;flex:1;min-width:0;padding:11px 10px;font-size:12px}}.auth-container{box-sizing:border-box;background:linear-gradient(135deg,#eef2ff,#f8fafc);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{box-sizing:border-box;background:#fff;border-radius:16px;flex-direction:column;gap:12px;width:100%;max-width:430px;padding:32px;display:flex;box-shadow:0 12px 36px #0f172a1f}.auth-card h1{color:#172554;text-align:center;margin:0;font-size:28px}.auth-card>p{color:#64748b;text-align:center;line-height:1.5}.auth-card label{color:#334155;font-size:14px;font-weight:600}.auth-card input,.auth-card select{color:#0f172a;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;min-height:44px;padding:10px 12px;font-size:15px}.auth-card input:focus,.auth-card select:focus{outline-offset:1px;border-color:#6366f1;outline:2px solid #818cf8}.auth-card>button[type=submit]{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:8px;min-height:46px;margin-top:8px;font-size:16px;font-weight:600}.auth-card>button[type=submit]:hover{background:#4338ca}.auth-card>button[type=submit]:disabled{opacity:.65;cursor:not-allowed}.auth-card .auth-link{color:#4f46e5;cursor:pointer;background:0 0;border:none;font-weight:600}.auth-card .auth-error{color:#b91c1c;font-size:14px}.auth-card .auth-success{color:#166534;font-size:14px}@media (width<=480px){.auth-container{padding:14px}.auth-card{padding:22px}}.student-dashboard-page{color:#1e293b;box-sizing:border-box;background:#f5f7fb;width:100%;min-height:100vh;padding:32px 24px}.student-dashboard-page *{box-sizing:border-box}.student-dashboard-container{width:100%;max-width:1200px;margin:0 auto}.student-dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px;display:flex}.student-dashboard-eyebrow{color:#4f46e5;letter-spacing:1.5px;margin:0 0 8px;font-size:12px;font-weight:800}.student-dashboard-header h1{color:#172033;overflow-wrap:anywhere;margin:0;font-size:30px;font-weight:750;line-height:1.3}.student-dashboard-subtitle{color:#64748b;margin:9px 0 0;font-size:14px;line-height:1.6}.student-refresh-button{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:10px;justify-content:center;align-items:center;min-height:44px;padding:11px 18px;font-size:14px;font-weight:650;transition:background .2s,border-color .2s;display:inline-flex}.student-refresh-button:hover:not(:disabled){background:#4338ca;border-color:#4338ca}.student-refresh-button:disabled{opacity:.65;cursor:not-allowed}.student-profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;align-items:center;gap:22px;margin-bottom:24px;padding:26px;display:flex;box-shadow:0 4px 16px #0f172a0a}.student-profile-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex:0 0 72px;justify-content:center;align-items:center;width:72px;height:72px;font-size:28px;font-weight:750;display:flex}.student-profile-details{flex-direction:column;gap:8px;min-width:0;display:flex}.student-profile-details h2{color:#1e293b;overflow-wrap:anywhere;margin:0 0 2px;font-size:21px;font-weight:750}.student-profile-details p{color:#64748b;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.5}.student-profile-details p strong{color:#334155;font-weight:650}.student-dashboard-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;padding:16px 18px;display:flex}.student-dashboard-error p{flex:1;margin:0;font-size:14px;line-height:1.6}.student-dashboard-error button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:8px;min-height:38px;padding:8px 14px;font-size:13px;font-weight:650}.student-dashboard-error button:hover:not(:disabled){background:#fee2e2}.student-dashboard-error button:disabled{opacity:.6;cursor:not-allowed}.student-attendance-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.student-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;justify-content:space-between;gap:16px;min-width:0;min-height:132px;padding:22px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 14px #0f172a09}.student-summary-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a12}.student-summary-card span{color:#64748b;font-size:13px;font-weight:600;line-height:1.5}.student-summary-card strong{color:#4f46e5;overflow-wrap:anywhere;font-size:32px;font-weight:750;line-height:1.2}.student-summary-card .student-present-number{color:#16a34a}.student-summary-card .student-absent-number{color:#dc2626}.student-attendance-progress{background:#fff;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:26px;padding:24px;box-shadow:0 4px 14px #0f172a09}.student-progress-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.student-progress-heading span{color:#334155;font-size:14px;font-weight:650}.student-progress-heading strong{color:#4f46e5;font-size:20px;font-weight:750}.student-progress-track{background:#e2e8f0;border-radius:999px;width:100%;height:11px;overflow:hidden}.student-progress-fill{border-radius:inherit;background:linear-gradient(90deg,#6366f1,#4f46e5);min-width:0;height:100%;transition:width .35s}.student-attendance-progress>p{color:#64748b;margin:12px 0 0;font-size:12px;line-height:1.7}.student-attendance-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:26px;box-shadow:0 4px 16px #0f172a0a}.student-attendance-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;display:flex}.student-attendance-section-heading h2{color:#1e293b;margin:0;font-size:21px;font-weight:750}.student-attendance-section-heading p{color:#64748b;margin:7px 0 0;font-size:13px;line-height:1.6}.student-record-count{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #e0e7ff;border-radius:999px;justify-content:center;align-items:center;padding:7px 12px;font-size:12px;font-weight:700;display:inline-flex}.student-attendance-table-wrapper{border:1px solid #e2e8f0;border-radius:11px;width:100%;overflow-x:auto}.student-attendance-table{border-collapse:collapse;background:#fff;width:100%;min-width:680px}.student-attendance-table thead{background:#f8fafc}.student-attendance-table th{color:#475569;text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:15px 17px;font-size:12px;font-weight:750}.student-attendance-table td{color:#475569;text-align:left;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:16px 17px;font-size:13px;line-height:1.6}.student-attendance-table tbody tr{transition:background .15s}.student-attendance-table tbody tr:hover{background:#f8faff}.student-attendance-table tbody tr:last-child td{border-bottom:none}.student-attendance-table td strong{color:#1e293b;font-weight:650}.student-status-badge{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:6px 11px;font-size:11px;font-weight:750;line-height:1.3;display:inline-flex}.student-status-present{color:#166534;background:#dcfce7}.student-status-absent{color:#991b1b;background:#fee2e2}.student-status-unknown{color:#475569;background:#f1f5f9}.student-attendance-empty{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:36px 20px;font-size:14px;line-height:1.7}.student-attendance-empty h3{color:#334155;margin:0 0 8px;font-size:17px;font-weight:700}.student-attendance-empty p{color:#64748b;max-width:480px;margin:0 auto}.student-registration-link{background:#eef2ff;border:1px solid #e0e7ff;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:20px 22px;display:flex}.student-registration-link span{color:#3730a3;font-size:14px;line-height:1.6}.student-registration-link button{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:9px;min-height:41px;padding:10px 16px;font-size:13px;font-weight:650;transition:background .2s}.student-registration-link button:hover{background:#4338ca}.student-refresh-button:focus-visible,.student-dashboard-error button:focus-visible,.student-registration-link button:focus-visible{outline-offset:3px;outline:3px solid #a5b4fc}@media (width<=1000px){.student-attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.student-dashboard-page{padding:26px 20px}}@media (width<=600px){.student-dashboard-page{padding:20px 14px}.student-dashboard-header{align-items:stretch;gap:18px}.student-dashboard-header h1{font-size:25px}.student-refresh-button{width:100%}.student-profile-card{align-items:flex-start;gap:16px;padding:20px 16px}.student-profile-avatar{flex-basis:54px;width:54px;height:54px;font-size:22px}.student-profile-details h2{font-size:18px}.student-profile-details p{font-size:13px}.student-attendance-summary{gap:12px}.student-summary-card{gap:12px;min-height:112px;padding:16px}.student-summary-card span{font-size:12px}.student-summary-card strong{font-size:27px}.student-attendance-progress{padding:18px}.student-attendance-section{padding:18px 14px}.student-attendance-section-heading{flex-direction:column;align-items:flex-start;gap:12px}.student-attendance-section-heading h2{font-size:19px}.student-attendance-table{min-width:650px}.student-registration-link{flex-direction:column;align-items:stretch;padding:18px}.student-registration-link button{width:100%}}@media (width<=360px){.student-attendance-summary{grid-template-columns:1fr}.student-profile-card{flex-direction:column}.student-dashboard-error{flex-direction:column;align-items:stretch}.student-dashboard-error button{width:100%}}.camera-switcher{box-sizing:border-box;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:14px;gap:10px;width:100%;margin:16px 0;padding:6px;display:flex}.camera-switch-button{color:#475569;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:2px solid #0000;border-radius:10px;flex:1;min-height:46px;padding:12px 16px;font-size:14px;font-weight:600;transition:background .2s,color .2s,box-shadow .2s,transform .2s}.camera-switch-button:hover{color:#0f172a;background:#e2e8f0}.camera-switch-button:active{transform:scale(.98)}.camera-switch-button.active{color:#fff;background:#2563eb;border-color:#1d4ed8;box-shadow:0 3px 8px #2563eb38}.camera-switch-button:focus-visible{outline-offset:3px;outline:3px solid #93c5fd}@media (width<=480px){.camera-switcher{border-radius:12px;gap:8px;padding:5px}.camera-switch-button{min-height:48px;padding:11px 8px;font-size:13px}}
