.attendance-view-btn{border:1px solid #d7dcf2;border-radius:9px;background:#f2f3ff;color:#4338ca;padding:8px 13px;font-weight:700;cursor:pointer;white-space:nowrap}.attendance-pending{color:#b45309;background:#fffbeb;padding:5px 9px;border-radius:9px}.attendance-detail-modal:not([hidden]){position:fixed;inset:0;z-index:99999;background:rgba(15,23,42,.68);display:flex;align-items:center;justify-content:center;padding:16px}.attendance-detail-dialog{width:min(760px,100%);max-height:90vh;overflow:auto;background:white;border-radius:18px;padding:20px;box-shadow:0 20px 70px #0004}.attendance-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.attendance-detail-head button{border:0;background:#f1f5f9;border-radius:8px;padding:8px 12px;cursor:pointer}.attendance-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.attendance-detail-card{border:1px solid #e2e8f0;border-radius:12px;padding:14px;min-width:0}.attendance-detail-card img{width:100%;height:220px;object-fit:contain;background:#f8fafc;border-radius:10px}.attendance-detail-card p{overflow-wrap:anywhere;font-size:13px}.attendance-detail-card a{color:#4338ca;font-weight:600;font-size:13px}@media(max-width:640px){.attendance-detail-grid{grid-template-columns:1fr}.attendance-detail-dialog{padding:14px}.attendance-detail-card img{height:190px}}