body{background:#f5f7fb}.card{border:0;box-shadow:0 3px 18px #0000000d}.brand{font-weight:800}.bigcode{font-size:3rem;letter-spacing:.3rem;font-weight:800}.status-present{color:#198754}.status-late{color:#fd7e14}.status-absent{color:#dc3545}@media(max-width:576px){.bigcode{font-size:2.3rem}}.net{font-size:.75rem;padding:.2rem .45rem;border-radius:999px}.net.online{background:#e8f7ee;color:#146c43}.net.offline{background:#fdecec;color:#b02a37}.offline{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:#f5f7fb}.offline-card{max-width:420px;background:white;border-radius:18px;padding:2rem;text-align:center;box-shadow:0 8px 30px #00000012}.offline-icon{width:72px;height:72px;border-radius:18px;margin:0 auto 1rem;display:grid;place-items:center;background:#0d6efd;color:white;font-size:2.5rem;font-weight:800}.offline-card button{border:0;border-radius:10px;padding:.75rem 1.2rem;background:#0d6efd;color:white;font-weight:700}@media(max-width:700px){.user-nav{display:none}.navbar .container{gap:.5rem}.card{border-radius:14px}}

.profile-photo-sm{width:44px;height:44px;object-fit:cover;border-radius:50%;border:1px solid #dee2e6;flex:0 0 44px}.profile-photo-lg{width:140px;height:140px;object-fit:cover;border-radius:50%;border:3px solid #dee2e6}.profile-placeholder-sm,.profile-placeholder-lg{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#e9ecef;color:#495057;font-weight:700}.profile-placeholder-sm{width:44px;height:44px;flex:0 0 44px}.profile-placeholder-lg{width:140px;height:140px;font-size:48px;margin:auto}
.profile-photo-sm{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;min-width:48px!important;object-fit:cover!important;object-position:center;border-radius:50%!important;display:block}.profile-photo-card{width:82px;height:82px;min-width:82px;object-fit:cover;object-position:center;border-radius:18px;border:1px solid #dee2e6;cursor:pointer}.profile-placeholder-card{width:82px;height:82px;min-width:82px;border-radius:18px;background:#e9ecef;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:800;color:#495057}.profile-photo-modal{max-width:100%;max-height:70vh;object-fit:contain;border-radius:14px}.min-w-0{min-width:0}

img.profile-photo-sm{width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important;object-fit:cover!important;display:block!important;}

.profile-photo-list{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;object-fit:cover!important;object-position:center;border-radius:50%;cursor:pointer;border:1px solid #dee2e6;display:block}.profile-placeholder-list{width:52px;height:52px;border-radius:50%;background:#e9ecef;display:inline-flex;align-items:center;justify-content:center;font-weight:800;color:#495057}.profile-photo-sm{cursor:pointer}.student-table thead th{background:#f8f9fa;white-space:nowrap;font-size:.85rem;color:#6c757d}.student-table td{vertical-align:middle}@media(max-width:767px){.student-table thead{display:none}.student-table,.student-table tbody,.student-table tr,.student-table td{display:block;width:100%}.student-table tr{position:relative;padding:12px 12px 12px 82px;border-bottom:1px solid #e9ecef;min-height:78px}.student-table td{border:0!important;padding:2px 0!important}.student-table td:first-child{position:absolute;left:14px;top:13px;width:52px}.student-table td:nth-child(3),.student-table td:nth-child(4),.student-table td:nth-child(5){font-size:.85rem;color:#6c757d}}

/* ASISTE Design System 2.1 */
:root{--as-primary:#1769e0;--as-primary-soft:#eaf2ff;--as-text:#172033;--as-muted:#697386;--as-border:#e7ebf2;--as-surface:#fff;--as-success:#14804a;--as-radius:18px;--as-shadow:0 8px 30px rgba(24,39,75,.07)}
body{color:var(--as-text);background:#f6f8fc;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.navbar{box-shadow:0 1px 0 rgba(20,31,50,.05)}.brand{letter-spacing:-.03em;color:var(--as-text)!important}.card{border:1px solid rgba(231,235,242,.8);border-radius:var(--as-radius);box-shadow:var(--as-shadow)}.btn{border-radius:11px;font-weight:650;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.btn:active{transform:scale(.98)}.btn-primary{background:var(--as-primary);border-color:var(--as-primary);box-shadow:0 5px 14px rgba(23,105,224,.18)}.form-control,.form-select{border-radius:11px;border-color:#dfe4ec;min-height:42px}.form-control:focus,.form-select:focus{border-color:#8eb9f5;box-shadow:0 0 0 .22rem rgba(23,105,224,.10)}h1,h2,h3,h4,h5{letter-spacing:-.025em}.text-muted{color:var(--as-muted)!important}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.6rem}.section-heading h5{margin:0}.eyebrow{display:block;font-size:.7rem;font-weight:800;letter-spacing:.11em;color:var(--as-primary);margin-bottom:.2rem}.alert{border:0;border-radius:14px}.badge{border-radius:999px}.profile-photo-sm{box-shadow:0 0 0 3px #fff,0 2px 9px rgba(0,0,0,.08)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Live projection view */
.live-body{margin:0;min-height:100vh;background:radial-gradient(circle at 15% 0%,#eaf2ff 0,transparent 28%),radial-gradient(circle at 95% 10%,#ecfbf4 0,transparent 26%),#f7f9fd;color:#142033;overflow-x:hidden}.live-shell{max-width:1500px;margin:auto;padding:clamp(24px,3vw,54px)}.live-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.live-brand{font-weight:900;font-size:clamp(18px,1.7vw,28px);letter-spacing:-.04em}.live-brand span{font-size:.45em;letter-spacing:.12em;background:#e7f7ee;color:#087443;border-radius:999px;padding:7px 10px;vertical-align:middle;margin-left:7px}.live-header h1{font-size:clamp(34px,4vw,66px);line-height:1;margin:18px 0 8px}.live-header p{font-size:clamp(16px,1.5vw,24px);color:#697386;margin:0}.live-actions{display:flex;align-items:center;gap:10px}.live-clock{font-size:clamp(20px,2vw,34px);font-weight:800;font-variant-numeric:tabular-nums}.live-icon-btn{width:48px;height:48px;border:1px solid #dfe5ee;background:#fff;border-radius:14px;display:grid;place-items:center;text-decoration:none;color:#1c2a3d;font-size:24px;box-shadow:0 6px 20px rgba(0,0,0,.05)}.live-stats{margin:34px 0 30px;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;background:rgba(255,255,255,.8);border:1px solid #e7ebf2;border-radius:20px;padding:18px 24px;box-shadow:0 10px 35px rgba(24,39,75,.06)}.live-stats div:not(.live-progress){display:flex;align-items:baseline;gap:8px}.live-stats strong{font-size:clamp(28px,3vw,48px)}.live-stats span{color:#697386}.live-progress{height:12px;background:#e8edf5;border-radius:999px;overflow:hidden}.live-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#1769e0,#21a366);border-radius:inherit;transition:width .45s ease}.live-section-title{display:flex;justify-content:space-between;align-items:center;margin:12px 0 16px}.live-section-title h2{font-size:clamp(20px,2vw,30px);margin:0}.live-status{font-weight:700;color:#14804a;background:#eaf8f1;border-radius:999px;padding:8px 12px}.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.live-person{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.92);border:1px solid #e7ebf2;border-radius:18px;padding:14px;box-shadow:0 7px 22px rgba(24,39,75,.055);animation:liveCardIn .35s ease both}.live-person.is-new{border-color:#cfe0fa}.live-avatar{width:62px;height:62px;min-width:62px;border-radius:18px;object-fit:cover;display:grid;place-items:center}.live-avatar-fallback{background:#eaf2ff;color:#1769e0;font-size:24px;font-weight:900}.live-person b{display:block;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:145px}.live-pill{display:inline-block;margin-top:5px;font-size:12px;font-weight:800;color:#14804a;background:#eaf8f1;padding:4px 8px;border-radius:999px}.live-pill.late{color:#a45a00;background:#fff2df}.live-empty{grid-column:1/-1;padding:70px;text-align:center;border:2px dashed #dfe5ee;border-radius:20px;color:#7b8495;font-size:20px;background:rgba(255,255,255,.55)}.live-spotlight{position:fixed;z-index:20;left:50%;top:50%;transform:translate(-50%,-44%) scale(.92);opacity:0;width:min(720px,calc(100vw - 40px));background:rgba(255,255,255,.97);border:1px solid #dce7f6;border-radius:30px;padding:34px;box-shadow:0 30px 90px rgba(21,44,80,.24);display:flex;align-items:center;justify-content:center;gap:28px;text-align:left;backdrop-filter:blur(15px);transition:.28s ease}.live-spotlight.show{transform:translate(-50%,-50%) scale(1);opacity:1}.live-spot-avatar{width:150px;height:150px;min-width:150px;border-radius:32px;object-fit:cover;display:grid;place-items:center;background:#eaf2ff;color:#1769e0;font-size:56px;font-weight:900}.live-check{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e7f8ef;color:#13834c;font-size:30px;font-weight:900;animation:checkPop .5s ease}.live-spotlight h2{font-size:clamp(30px,4vw,54px);margin:10px 0 4px}.live-spotlight p{font-size:22px;color:#14804a;font-weight:800;margin:0}.live-spotlight small{display:block;color:#697386;margin-top:8px}@keyframes liveCardIn{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes checkPop{0%{transform:scale(.3) rotate(-12deg)}70%{transform:scale(1.12)}100%{transform:scale(1)}}@media(max-width:700px){.live-header{flex-direction:column}.live-actions{width:100%;justify-content:space-between}.live-stats{grid-template-columns:1fr 1fr}.live-progress{grid-column:1/-1;grid-row:2}.live-grid{grid-template-columns:1fr 1fr}.live-person{padding:10px}.live-avatar{width:50px;height:50px;min-width:50px;border-radius:14px}.live-person b{font-size:14px;max-width:90px}.live-spotlight{flex-direction:column;text-align:center}.live-spot-avatar{width:120px;height:120px;min-width:120px}.live-empty{padding:45px 20px}}
