#calendarTable .person-actions .attendance-incident-button{height:16px!important;min-height:16px;line-height:14px!important;padding:0 5px!important;margin:0;width:92px;font-size:9px!important;border:1px solid #7a6b42!important;border-radius:4px;background:#2b2d26!important;color:#e5d7a6!important;cursor:pointer}
#calendarTable .person-actions .attendance-incident-button.has-incident{background:#59431c!important;color:#ffe2a1!important;border-color:#bc943d!important}
.person-incident{padding:8px 10px;border-left:3px solid #d9b363;background:#503e2144;border-radius:5px;white-space:normal;overflow-wrap:anywhere;min-width:210px;max-width:360px;color:#f2e5c2;font-size:12px;line-height:1.5;margin:3px 0}.person-incident strong{display:block;font-size:10px;color:#e5c67c;margin-bottom:3px}.person-incident small{display:block;font-size:9px;color:#b9b29c;margin-top:5px}.incident-muted{color:#8199aa}.incident-sync-status{font-size:10px;color:#a9bfd0}.incident-sync-status.error{color:#ffd28c}
#attendanceIncidentDialog{width:min(600px,95vw);max-height:90vh;overflow:auto;padding:20px;border:1px solid #35546e;border-radius:14px;background:#0d2438;color:#e5f0fa;box-shadow:0 20px 70px #0008;font:13px/1.5 system-ui}#attendanceIncidentDialog::backdrop{background:#020914aa}#attendanceIncidentDialog header{display:flex;height:auto;justify-content:space-between;align-items:start;gap:14px}#attendanceIncidentDialog h2{font-size:19px;margin:3px 0}#attendanceIncidentDialog header small{font-size:10px;color:#d5b978}#attendanceIncidentDialog form{display:flex;flex-direction:column;gap:10px}#attendanceIncidentDialog label{display:flex;flex-direction:column;gap:4px}#attendanceIncidentDialog p{margin:0}#attendanceIncidentDialog .incident-help{font-size:12px;color:#a5bed1}#attendanceIncidentDialog .incident-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}#attendanceIncidentDialog input,#attendanceIncidentDialog textarea{width:100%;padding:9px;border:1px solid #416179;border-radius:6px;background:#112c43;color:#e6eff8;font:inherit}#attendanceIncidentDialog textarea{resize:vertical;min-height:110px}#attendanceIncidentDialog footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}#attendanceIncidentDialog button{padding:7px 11px;border:1px solid #42657e;border-radius:6px;background:#173b56;color:#e0edf7;cursor:pointer}#attendanceIncidentDialog #incidentSave{background:#16775f;border-color:#329c7f}#attendanceIncidentDialog #incidentClose{color:#ffd29c;border-color:#997144}#incidentError{color:#ffd29c;font-size:12px}#incidentAudit{font-size:10px;color:#a1b8ca}#incidentToast{position:fixed;bottom:20px;left:20px;z-index:2147483001;background:#154d3c;color:#e1ffef;padding:12px 18px;border:1px solid #42947c;border-radius:9px;font:13px system-ui;box-shadow:0 8px 30px #0005}#incidentToast[hidden]{display:none}
