:root{--primary-blue:#1d4ed8;--blue-light:#3b82f6;--blue-subtle:#eff6ff;--gold:#d97706;--gold-light:#f59e0b;--gold-subtle:#fefce8;--bg:#f8fafc;--card-bg:#ffffff;--text-main:#0f172a;--text-muted:#64748b;--border:#e2e8f0;--border-gold:#fde68a;--success:#059669;--danger:#dc2626}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f1f5f9;color:var(--text-main);min-height:100vh}.kiosk-page{justify-content:center;align-items:center;padding:24px}.kiosk-page,.kiosk-wrapper{display:flex;flex-direction:column}.kiosk-wrapper{width:100%;max-width:1080px;background:var(--card-bg);border-radius:28px;border:1.5px solid var(--border-gold);box-shadow:0 20px 45px -10px rgba(29,78,216,.08),0 0 20px rgba(245,158,11,.08);overflow:hidden}.top-bar{padding:20px 32px;background:#ffffff;border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;flex-wrap:wrap}.brand,.top-bar{display:flex;align-items:center}.brand{gap:14px}.brand-icon{width:48px;height:48px;background:var(--primary-blue);border-radius:14px;display:flex;align-items:center;justify-content:center;color:white;box-shadow:0 4px 12px rgba(29,78,216,.25)}.brand-title h1{font-size:20px;font-weight:800;color:var(--primary-blue);letter-spacing:-.5px}.brand-title p{font-size:13px;color:var(--gold);font-weight:600}.kiosk-body{display:grid;grid-template-columns:1.2fr 1fr;grid-gap:28px;gap:28px;padding:32px;background:#fafafa}@media (max-width:850px){.kiosk-body{grid-template-columns:1fr}}.welcome-icon-wrap{width:90px;height:90px;background:#eff6ff;border:2px solid var(--border-gold);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gold-light)}.btn-open-scanner{padding:16px 32px;border-radius:16px;background:var(--primary-blue);color:white;border:1.5px solid var(--primary-blue);font-size:16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:10px;box-shadow:0 8px 20px rgba(29,78,216,.25);transition:transform .15s ease}.btn-open-scanner:hover{transform:translateY(-2px)}.right-panel{display:flex;flex-direction:column;gap:20px}.section-card{background:#ffffff;border:1px solid var(--border);border-radius:20px;padding:22px}.section-title{font-size:12px;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.8px;margin-bottom:14px;gap:8px}.section-title,.status-box{display:flex;align-items:center}.status-box{padding:18px 20px;border-radius:16px;background:var(--blue-subtle);border:1px solid #bfdbfe;gap:16px}.status-box.success{background:#ecfdf5;border-color:#a7f3d0;color:var(--success)}.status-box.error{background:#fef2f2;border-color:#fecaca;color:var(--danger)}.status-box.warning{background:#fefce8;border-color:#fde68a;color:var(--gold)}.status-info h3{font-size:16px;font-weight:700;color:var(--text-main);margin-bottom:2px}.status-info p{font-size:13px;color:var(--text-muted)}.recent-list{display:flex;flex-direction:column;gap:8px;max-height:240px;overflow-y:auto}.recent-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8fafc;border-radius:12px;border:1px solid var(--border);font-size:13px}.recent-item .name{font-weight:600;color:var(--text-main);display:flex;align-items:center;gap:8px}.recent-item .time{color:var(--gold);font-weight:700;font-size:12px;background:#fefce8;padding:4px 10px;border-radius:6px;border:1px solid #fef08a}.btn-outline{padding:9px 14px;border-radius:10px;border:1px solid var(--border);background:#ffffff;color:var(--text-main);font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.btn-outline:hover{background:#f8fafc}@keyframes scanLaser{0%{top:10%}to{top:90%}}.popup-overlay{position:absolute;inset:0;background:rgba(15,23,42,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:50;padding:24px}.login-card{width:100%;max-width:420px;background:#ffffff;border-radius:24px;padding:36px 28px;border:1.5px solid var(--border-gold);box-shadow:0 20px 45px -10px rgba(29,78,216,.1)}.login-card h1{font-size:22px;font-weight:800;color:var(--primary-blue);margin-bottom:6px}.login-card p{font-size:13px;color:var(--text-muted);margin-bottom:22px}.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.form-group label{font-size:13px;font-weight:600}.form-group input{padding:12px 14px;border-radius:10px;border:1px solid var(--border);font-size:14px}.btn-audio-on{background:#ecfdf5!important;border-color:#6ee7b7!important;color:#047857!important}.btn-simulasi{background:#eff6ff!important;border-color:#93c5fd!important;color:#1d4ed8!important}.nfc-pulse-wrap{position:relative;width:112px;height:112px;display:flex;align-items:center;justify-content:center}.nfc-icon-wrap{position:relative;z-index:2;color:var(--primary-blue)!important}.nfc-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(59,130,246,.35);animation:nfcPulse 2.4s ease-out infinite}.nfc-ring.ring-2{animation-delay:1.2s}@keyframes nfcPulse{0%{transform:scale(.8);opacity:.9}to{transform:scale(1.45);opacity:0}}.nfc-uid-input{flex:1 1;padding:12px 14px;border-radius:12px;border:1.5px solid #cbd5e1;font-size:14px;outline:none}.nfc-uid-input:focus{border-color:var(--blue-light)}.btn-sm{padding:10px 16px!important;font-size:13px!important;border-radius:12px!important}.status-box.pulang{background:#eff6ff;border-color:#93c5fd;color:var(--primary-blue)}.mini-select{padding:4px 8px;border-radius:8px;border:1px solid #cbd5e1;font-size:11px;font-weight:600;color:var(--text-main);background:#ffffff}.status-pill{display:inline-block;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700}.badge-ontime{background:#dcfce7;color:#15803d}.badge-late{background:#fef3c7;color:#b45309}.badge-pulang{background:#dbeafe;color:#1d4ed8}.badge-error{background:#fee2e2;color:#b91c1c}.fixed-overlay{position:fixed!important;z-index:200!important}.manual-modal-card{background:#ffffff;border-radius:22px;padding:24px;width:94%;max-width:560px;max-height:82vh;display:flex;flex-direction:column;gap:14px;color:var(--text-main);box-shadow:0 24px 48px rgba(15,23,42,.35)}.manual-modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.manual-modal-header h3{font-size:18px;font-weight:800;color:var(--primary-blue)}.manual-modal-header p{font-size:12px;color:var(--text-muted)}.manual-search-box{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;border:1.5px solid #cbd5e1;background:#f8fafc}.manual-search-box input{border:none;background:transparent;width:100%;font-size:14px;outline:none}.manual-student-list{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:360px}.manual-student-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#f8fafc}.form-row-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}@media (max-width:600px){.form-row-2{grid-template-columns:1fr}}.form-select{padding:12px 14px;border-radius:10px;border:1px solid var(--border);font-size:14px;background:#ffffff;color:var(--text-main)}.sim-tabs-bar{display:flex;gap:10px;padding:14px 32px;background:#f8fafc;border-bottom:1px solid var(--border);flex-wrap:wrap}.sim-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px;border:1px solid var(--border);background:#ffffff;color:var(--text-muted);font-size:13px;font-weight:700;cursor:pointer}.sim-tab.active{background:var(--primary-blue);color:#ffffff;border-color:var(--primary-blue)}.hw-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}@media (max-width:720px){.hw-grid{grid-template-columns:1fr}}.hw-card{text-align:left;padding:12px;border-radius:14px;border:1.5px solid var(--border);background:#ffffff;cursor:pointer;display:flex;flex-direction:column;gap:4px}.hw-card.active{border-color:var(--primary-blue);background:#eff6ff}.hw-title{font-size:12px;font-weight:800;color:var(--primary-blue)}.hw-sub{font-size:11px;color:var(--text-main);font-weight:600}.hw-meta{font-size:11px;color:var(--text-muted);margin-top:2px}.pipeline-steps{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.pipeline-chip{padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;transition:all .2s ease}.pipeline-chip.done{background:#dcfce7;color:#166534;border-color:#86efac}.sop-guide-list{display:flex;flex-direction:column;gap:8px}.sop-guide-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid transparent}.kiosk-tv-screen{border-radius:20px;padding:28px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;border:2px solid var(--border);background:#f8fafc}.kiosk-tv-screen.tone-success{background:#ecfdf5;border-color:#10b981}.kiosk-tv-screen.tone-warning{background:#fffbeb;border-color:#f59e0b}.kiosk-tv-screen.tone-pulang{background:#eff6ff;border-color:#2563eb}.kiosk-tv-screen.tone-error{background:#fef2f2;border-color:#ef4444}.tv-badge{font-size:12px;font-weight:800;letter-spacing:.8px;color:#334155}.tv-name{font-size:24px;font-weight:800;color:var(--primary-blue)}.tv-meta{font-size:12px;color:var(--text-muted);font-weight:600}.tv-status{font-size:15px;font-weight:800;color:var(--text-main);margin-top:4px}.tv-action{font-size:12px;color:#334155;background:rgba(255,255,255,.85);padding:8px 12px;border-radius:10px;margin-top:4px;font-weight:600}.check-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--border);background:#f8fafc;font-size:13px;cursor:pointer}.check-row.checked{background:#ecfdf5;border-color:#a7f3d0;color:#065f46;text-decoration:line-through}.wa-phone-frame{border-radius:18px;overflow:hidden;border:1.5px solid #cbd5e1;background:#efeae2}.wa-phone-header{background:#075e54;color:#ffffff;padding:12px 16px;display:flex;flex-direction:column;gap:2px}.wa-phone-header strong{font-size:14px}.wa-phone-header span{font-size:11px;opacity:.85}.wa-phone-body{padding:14px;min-height:260px;max-height:400px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.wa-empty{background:rgba(255,255,255,.85);padding:14px;border-radius:12px;font-size:12px;color:#475569;text-align:center}.wa-bubble{background:#ffffff;border-radius:12px;padding:10px 12px;box-shadow:0 1px 3px rgba(15,23,42,.1)}.wa-bubble.skipped{background:#f8fafc;border:1px dashed #94a3b8}.wa-bubble-to{font-size:11px;font-weight:700;color:#075e54;margin-bottom:6px}.wa-bubble-text{font-family:inherit;font-size:12px;white-space:pre-wrap;line-height:1.45;color:#0f172a}.wa-bubble-time{text-align:right;font-size:10px;color:#64748b;margin-top:6px}.portal-result-card{margin-top:16px;padding:16px;border-radius:14px;background:#f8fafc;border:1.5px solid #bfdbfe}.brand-logo-img{width:48px;height:48px;object-fit:contain;border-radius:12px;border:1.5px solid var(--border);background:#ffffff;padding:4px}.kiosk-page{min-height:100vh;width:100%;padding:12px;justify-content:flex-start;align-items:stretch}.kiosk-wrapper{max-width:100%!important;min-height:calc(100vh - 24px);border-radius:20px}.kiosk-body{flex:1 1}.login-card{margin:auto}.kiosk-fullscreen-shell{width:100vw;height:100vh;overflow:hidden;background:#e5ebf3;display:flex;flex-direction:column;padding:10px;gap:10px}.kiosk-topbar-grid{display:grid;grid-template-columns:240px 1fr 330px;grid-gap:10px;gap:10px;height:68px;flex-shrink:0}.topbar-school{background:var(--primary-blue);color:#ffffff;border-radius:14px;padding:0 14px;display:flex;align-items:center;gap:10px;box-shadow:0 4px 14px rgba(15,23,42,.14);overflow:hidden}.topbar-school-logo{object-fit:contain;background:#ffffff;padding:3px}.topbar-school-icon,.topbar-school-logo{width:38px;height:38px;border-radius:9px;flex-shrink:0}.topbar-school-icon{background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}.topbar-school-name{font-size:14px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;line-height:1.2;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.topbar-status{background:var(--primary-blue);color:#ffffff;border-radius:14px;padding:0 18px;display:flex;align-items:center;gap:14px;box-shadow:0 4px 14px rgba(15,23,42,.12);transition:background .25s ease}.topbar-status.tone-success{background:#047857}.topbar-status.tone-warning{background:#d97706}.topbar-status.tone-pulang{background:#1d4ed8}.topbar-status.tone-error{background:#dc2626}.topbar-status-icon{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;flex-shrink:0}.topbar-status-text h2{font-size:16px;font-weight:800;line-height:1.2}.topbar-status-text p{font-size:12px;opacity:.9;margin-top:2px}.topbar-clock{background:#ffffff;border:1px solid #d5dfec;border-radius:14px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.topbar-clock-info{display:flex;flex-direction:column}.topbar-time{font-size:20px;font-weight:800;color:#0f172a;line-height:1.1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.topbar-date{font-size:10px;font-weight:600;color:#64748b;margin-top:2px}.topbar-tools{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.tool-icon-btn{width:28px;height:28px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;color:#334155;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;transition:all .15s ease}.tool-icon-btn:hover{background:#eff6ff;color:var(--primary-blue);border-color:#93c5fd}.tool-icon-btn.active-green{background:#ecfdf5;border-color:#6ee7b7;color:#059669}.tool-icon-btn.active-amber{background:#fffbeb;border-color:#fcd34d;color:#d97706}.kiosk-main-grid{flex:1 1;min-height:0;display:grid;grid-template-columns:240px 1fr 330px;grid-gap:10px;gap:10px}.kiosk-col-left{background:#ffffff;border:1px solid #d5dfec;border-radius:18px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:0;overflow:hidden}.left-brand-badge{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid var(--border);color:var(--primary-blue)}.left-brand-img{width:34px;height:34px;object-fit:contain;border-radius:8px}.left-brand-title{font-size:13px;font-weight:800;color:var(--primary-blue)}.left-brand-sub{font-size:10px;font-weight:600;color:#64748b;line-height:1.25}.left-mascot-wrap{flex:1 1;min-height:0;display:flex;align-items:center}.left-mascot-wrap,.mascot-stage{justify-content:center}.left-reader-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:10px;display:flex;flex-direction:column;gap:8px}.reader-mini-tabs{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:4px;gap:4px}.reader-mini-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 4px;border-radius:8px;border:1px solid #e2e8f0;background:#ffffff;color:#64748b;font-size:11px;font-weight:700;cursor:pointer}.reader-mini-btn.active{background:var(--primary-blue);border-color:var(--primary-blue);color:#ffffff}.left-uid-form{display:flex;flex-direction:column;gap:6px}.reader-ready-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:11px;font-weight:700;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;padding:3px 8px}.left-uid-row{display:flex;gap:4px}.left-uid-row input{flex:1 1;min-width:0;padding:7px 8px;border-radius:8px;border:1px solid #cbd5e1;font-size:12px;background:#ffffff}.left-action-btn,.left-uid-row button{padding:7px 10px;border-radius:8px;border:none;background:var(--primary-blue);color:#ffffff;font-size:11px;font-weight:700;cursor:pointer}.left-tiny-note{font-size:10px;color:#64748b;text-align:center}.left-schedule-bar{font-size:10px;font-weight:700;color:var(--primary-blue);text-align:center;padding-top:4px;border-top:1px dashed #cbd5e1}.kiosk-col-center{background:#ffffff;border:1px solid #d5dfec;border-radius:18px;padding:18px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.portrait-frame{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}.portrait-frame.hero{width:100%;height:100%;border-radius:16px;border:2px solid #e2e8f0;box-shadow:0 12px 30px rgba(15,23,42,.12)}.portrait-frame.compact{width:68px;height:86px;border-radius:10px;border:1.5px solid #e2e8f0}.portrait-img{object-fit:cover;object-position:center top}.portrait-img,.portrait-placeholder-svg{width:100%;height:100%}.portrait-initials-badge{position:absolute;top:10px;right:10px;background:rgba(15,23,42,.55);color:#ffffff;font-size:12px;font-weight:800;padding:4px 8px;border-radius:8px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.portrait-frame.compact .portrait-initials-badge{top:4px;right:4px;font-size:9px;padding:2px 5px}.portrait-caption{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.92);color:#334155;font-size:12px;font-weight:700;padding:5px 14px;border-radius:999px;box-shadow:0 4px 12px rgba(15,23,42,.15)}.hero-eyebrow{display:flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:800;letter-spacing:1.6px;color:#64748b}.eyebrow-line{width:26px;height:2px;background:#cbd5e1;border-radius:2px}.hero-student-name{font-size:clamp(24px,2.4vw,38px);font-weight:800;color:#0f172a;line-height:1.15;text-align:center}.hero-meta-table{display:flex;flex-direction:column;border-top:1px solid #e2e8f0}.hero-meta-row{display:flex;align-items:center;justify-content:space-between;padding:13px 6px;border-bottom:1px solid #e2e8f0;gap:12px}.hero-meta-label{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#64748b}.hero-meta-value{font-size:16px;font-weight:800;color:#0f172a;text-align:right}.hero-status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;font-size:13px;font-weight:800;letter-spacing:.4px}.hero-status-pill.tone-success{background:#dcfce7;color:#15803d}.hero-status-pill.tone-warning{background:#fef3c7;color:#b45309}.hero-status-pill.tone-pulang{background:#dbeafe;color:#1d4ed8}.hero-status-pill.tone-error{background:#fee2e2;color:#b91c1c}.hero-instruction-box{padding:12px 14px;border-radius:12px;font-size:13px;font-weight:600;text-align:center;background:#f8fafc;border:1px solid #e2e8f0;color:#334155}.hero-instruction-box.tone-success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.hero-instruction-box.tone-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.hero-instruction-box.tone-pulang{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.hero-instruction-box.tone-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.hero-wa-badge{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:600;color:#047857}.kiosk-col-right{background:#ffffff;border:1px solid #d5dfec;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:0;overflow:hidden}.right-history-header{padding-bottom:10px;border-bottom:1px solid #e2e8f0;flex-shrink:0}.right-history-title{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:#0f172a;letter-spacing:.4px}.history-count-pill{margin-left:auto;background:#eff6ff;color:var(--primary-blue);font-size:11px;font-weight:800;padding:2px 8px;border-radius:999px}.right-history-sub{font-size:11px;color:#64748b;margin-top:3px}.right-history-list{flex:1 1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.history-empty-box{flex:1 1;justify-content:center;text-align:center;color:#64748b;font-size:13px;padding:20px;border-radius:14px;border:1px dashed #cbd5e1}.history-empty-box,.history-student-card{display:flex;align-items:center;background:#f8fafc}.history-student-card{gap:12px;padding:10px;border-radius:14px;border:1px solid #e2e8f0;flex-shrink:0}.history-student-meta{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:4px}.history-student-name{font-size:13px;font-weight:800;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-meta-line{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#64748b;gap:6px}.history-meta-line strong{color:#0f172a;font-weight:700}@media (max-width:1024px){.kiosk-fullscreen-shell{height:auto;min-height:100vh;overflow:auto}.kiosk-main-grid,.kiosk-topbar-grid{grid-template-columns:1fr;height:auto}.hero-split-card{grid-template-columns:1fr}.portrait-frame.hero{height:320px}.left-mascot-wrap{height:160px}}.mascot-stage{position:relative;width:100%;height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-top:44px;padding-bottom:8px;overflow:hidden}.mascot-speech-bubble{position:absolute;top:4px;left:50%;transform:translateX(-50%);width:94%;max-width:220px;background:#ffffff;border:1.5px solid #cbd5e1;border-radius:14px;padding:7px 10px;font-size:11px;font-weight:700;line-height:1.3;text-align:center;color:#0f172a;box-shadow:0 6px 16px rgba(15,23,42,.08);z-index:4;animation:bubblePop .42s cubic-bezier(.34,1.56,.64,1) both}.mascot-speech-bubble:after{content:"";position:absolute;bottom:-6px;left:50%;transform:translateX(-50%) rotate(45deg);width:10px;height:10px;background:inherit;border-right-color:inherit;border-right-style:solid;border-right-width:1.5px;border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:1.5px}.mascot-speech-bubble.tone-success{background:#ecfdf5;border-color:#10b981;color:#065f46}.mascot-speech-bubble.tone-warning{background:#fffbeb;border-color:#f59e0b;color:#92400e}.mascot-speech-bubble.tone-pulang{background:#eff6ff;border-color:#3b82f6;color:#1e40af}.mascot-speech-bubble.tone-error{background:#fef2f2;border-color:#ef4444;color:#991b1b}@keyframes bubblePop{0%{opacity:0;transform:translateX(-50%) scale(.75) translateY(8px)}to{opacity:1;transform:translateX(-50%) scale(1) translateY(0)}}.mascot-character-wrap{position:relative;z-index:2;height:calc(100% - 8px);max-height:360px;display:flex;align-items:flex-end;justify-content:center;transform-origin:bottom center}.mascot-character-img{height:100%;max-height:100%;width:auto;max-width:100%;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none}.mascot-floor-shadow{position:absolute;bottom:4px;width:110px;height:10px;border-radius:50%;background:rgba(15,23,42,.1);z-index:1}.anim-idle{animation:mascotIdleBreathe 3.4s ease-in-out infinite}@keyframes mascotIdleBreathe{0%,to{transform:translateY(0) scaleY(1)}50%{transform:translateY(-4px) scaleY(1.015)}}.anim-success{animation:mascotMasukBounce .65s cubic-bezier(.34,1.56,.64,1) 1,mascotMasukWave 2.2s ease-in-out .65s infinite}@keyframes mascotMasukBounce{0%{transform:translateY(14px) scale(.92)}45%{transform:translateY(-16px) scale(1.05) rotate(-2deg)}75%{transform:translateY(2px) scale(.99) rotate(1.5deg)}to{transform:translateY(0) scale(1) rotate(0deg)}}@keyframes mascotMasukWave{0%,to{transform:translateY(0) rotate(0deg)}25%{transform:translateY(-4px) rotate(2deg)}75%{transform:translateY(-2px) rotate(-1.5deg)}}.anim-warning{animation:mascotTerlambatTilt 1.8s ease-in-out infinite}@keyframes mascotTerlambatTilt{0%,to{transform:rotate(0deg) translateY(0)}25%{transform:rotate(-3.5deg) translateY(-3px)}55%{transform:rotate(2.5deg) translateY(0)}80%{transform:rotate(-1.5deg) translateY(-2px)}}.anim-pulang{animation:mascotPulangFarewell 2.4s ease-in-out infinite}@keyframes mascotPulangFarewell{0%,to{transform:translateY(0) rotate(0deg) scale(1)}30%{transform:translateY(-6px) rotate(3.2deg) scale(1.02)}65%{transform:translateY(-3px) rotate(-2.5deg) scale(1.01)}}.anim-error{animation:mascotErrorShake .45s ease-in-out 2}@keyframes mascotErrorShake{0%,to{transform:translateX(0)}25%{transform:translateX(-6px) rotate(-1.5deg)}75%{transform:translateX(6px) rotate(1.5deg)}}.sim-tv-with-mascot{display:flex;gap:14px;align-items:stretch}.sim-mascot-col{width:190px;min-height:290px;flex-shrink:0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:6px;display:flex}@media (max-width:640px){.sim-tv-with-mascot{flex-direction:column}.sim-mascot-col{width:100%;height:240px}}.mascot-character-wrap{max-height:100%!important}.center-stage-grid{flex:1 1;min-height:0;width:100%;height:100%;display:grid;grid-gap:16px;gap:16px}.center-stage-grid.is-idle{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.center-stage-grid.has-student{grid-template-columns:1.02fr 1fr;grid-template-rows:minmax(175px,34%) 1fr;gap:12px 20px}.center-nfc-idle-pane{grid-column:1;grid-row:1;background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:16px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;min-height:0}.idle-pane-title{font-size:clamp(20px,1.9vw,28px);font-weight:800;color:#0f172a;line-height:1.2}.idle-pane-desc{font-size:14px;color:#475569;line-height:1.55;max-width:360px}.center-photo-pane{grid-column:1;grid-row:1/3;display:flex;min-height:0;height:100%}.center-camera-pane{grid-column:2;grid-row:1;background:#0f172a;border-radius:16px;border:2px solid var(--gold-light);overflow:hidden;display:flex;flex-direction:column;min-height:0;position:relative;box-shadow:0 8px 22px rgba(15,23,42,.14)}.inline-cam-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;background:rgba(15,23,42,.92);border-bottom:1px solid rgba(148,163,184,.2);flex-shrink:0;z-index:4}.inline-cam-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#fbbf24}.inline-cam-select{max-width:170px;padding:3px 6px;border-radius:6px;background:#1e293b;color:#f8fafc;border:1px solid #475569;font-size:11px;font-weight:600}.inline-cam-viewport{flex:1 1;min-height:0;position:relative;width:100%;background:#020617;overflow:hidden}.inline-cam-viewport.mirror video{transform:scaleX(-1)}#inline-qr-reader{width:100%;height:100%}#inline-qr-reader video{width:100%!important;height:100%!important;object-fit:cover!important}#inline-qr-reader__scan_region{height:100%!important}#inline-qr-reader__dashboard{display:none!important}.inline-laser{position:absolute;left:8%;width:84%;height:2.5px;background:#f59e0b;box-shadow:0 0 14px 2px #f59e0b;animation:scanLaser 2s ease-in-out infinite alternate;z-index:3;pointer-events:none}.inline-cam-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px;text-align:center;color:#cbd5e1;font-size:12px;background:#0f172a;z-index:5}.inline-cam-retry-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:9px;border:1px solid #60a5fa;background:var(--primary-blue);color:#ffffff;font-size:12px;font-weight:700;cursor:pointer}.center-identity-pane{grid-column:2;grid-row:2;display:flex;flex-direction:column;justify-content:center;gap:10px;min-height:0;overflow-y:auto;padding:2px 4px}.compact-name{font-size:clamp(20px,2vw,30px)!important}.compact-table .hero-meta-row{padding:8px 4px}.compact-table .hero-meta-label{font-size:13px}.compact-table .hero-meta-value{font-size:14px}@media (max-width:1024px){.center-stage-grid.has-student,.center-stage-grid.is-idle{grid-template-columns:1fr;grid-template-rows:auto}.center-camera-pane,.center-identity-pane,.center-nfc-idle-pane,.center-photo-pane{grid-column:1;grid-row:auto}.center-camera-pane{height:260px}}#qr-shaded-region{display:none!important}.admin-stats-grid{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:12px;gap:12px}@media (max-width:900px){.admin-stats-grid{grid-template-columns:repeat(2,1fr)!important}}.stat-card{background:#ffffff;border-radius:14px;padding:16px 18px;border:1.5px solid #e2e8f0;border-top-width:4px}.stat-card.stat-slate{border-top-color:#334155}.stat-card.stat-green{border-top-color:#059669;background:#f0fdf4}.stat-card.stat-amber{border-top-color:#d97706;background:#fffbeb}.stat-card.stat-blue{border-top-color:#1d4ed8;background:#eff6ff}.stat-card.stat-red{border-top-color:#dc2626;background:#fef2f2}.stat-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:#475569}.stat-value{font-size:28px;font-weight:800;color:#0f172a;margin-top:4px}.admin-split-2{display:grid;grid-template-columns:1.1fr 1fr;grid-gap:18px;gap:18px}@media (max-width:900px){.admin-split-2{grid-template-columns:1fr}}.quick-status-btn{padding:5px 9px;border-radius:8px;border:1px solid #cbd5e1;background:#ffffff;font-size:11px;font-weight:700;cursor:pointer;color:#334155}.quick-status-btn.quick-sakit:hover{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8}.quick-status-btn.quick-izin:hover{background:#fef3c7;border-color:#f59e0b;color:#b45309}.quick-status-btn.quick-dispensasi:hover{background:#dcfce7;border-color:#10b981;color:#047857}.quick-status-btn.quick-alpha{color:#dc2626;border-color:#fecaca}.quick-status-btn.quick-alpha:hover{background:#fee2e2;border-color:#dc2626}.pairing-spotlight-box{background:#f8fafc;border:2px solid var(--primary-blue);border-radius:16px;padding:20px}