
.raphael-app{max-width:760px;margin:24px auto;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17202a}
.raphael-brand{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:14px}
.raphael-brand>div{display:flex;align-items:center;gap:9px;font-size:22px}.raphael-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#b42318;color:white;font-size:22px}
.raphael-card,.raphael-section,.raphael-event-head{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px rgba(0,0,0,.04)}
.raphael-event-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.raphael-event-head h1{margin:3px 0 2px;font-size:25px}.raphael-event-head p{margin:0;color:#667085}.raphael-event-head small{font-weight:700;color:#b42318}
.raphael-counter{text-align:center;min-width:90px}.raphael-counter strong{display:block;font-size:32px}.raphael-counter span{font-size:12px;color:#667085}
.raphael-test{padding:10px 14px;margin-bottom:16px;border-radius:10px;background:#fff4e5;font-size:12px;font-weight:800;text-align:center}
.raphael-new{margin-bottom:16px}.raphael-new summary{cursor:pointer;list-style:none;background:#b42318;color:#fff;border-radius:14px;padding:17px 20px;text-align:center;font-weight:800;font-size:17px}.raphael-new[open] summary{border-radius:14px 14px 0 0}
.raphael-new .raphael-section{border-radius:0 0 14px 14px;border-top:0}.raphael-form label{display:block;font-weight:650;margin:14px 0 6px}.raphael-form label small{font-weight:400;color:#667085}
.raphael-form input[type=text],.raphael-form input:not([type]),.raphael-form select,.raphael-form textarea{box-sizing:border-box;width:100%;padding:13px;border:1px solid #cfd4dc;border-radius:10px;font-size:16px;background:#fff}
.raphael-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.raphael-options label{margin:0}.raphael-options input{position:absolute;opacity:0}.raphael-options span{display:block;border:1px solid #cfd4dc;border-radius:10px;padding:14px;text-align:center}.raphael-options input:checked+span{border:2px solid #b42318;background:#fff6f5}
.raphael-save{width:100%;border:0;border-radius:12px;padding:16px;margin-top:18px;background:#17202a;color:#fff;font-weight:800;font-size:16px;cursor:pointer}
.raphael-case{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding:13px 0}.raphael-case:first-of-type{border-top:0}.raphael-case div span{display:block;color:#667085;font-size:14px}.raphael-status{font-size:12px;background:#ecfdf3;color:#067647;padding:5px 8px;border-radius:999px}
.raphael-success{background:#ecfdf3;color:#067647;border-radius:10px;padding:12px 14px;margin-bottom:14px;font-weight:700}
.raphael-event-list{display:grid;gap:10px}.raphael-event{display:block;text-decoration:none!important;border:1px solid #e5e7eb;border-radius:12px;padding:14px;color:inherit!important}.raphael-event span{display:block;color:#667085;font-size:14px;margin-top:3px}
.raphael-admin-grid{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:20px}.raphael-admin-grid .raphael-card{background:white;padding:20px;border:1px solid #ddd;border-radius:8px}
@media(max-width:640px){.raphael-app{margin:12px}.raphael-event-head{align-items:flex-start}.raphael-options{grid-template-columns:1fr 1fr}.raphael-admin-grid{grid-template-columns:1fr}}

.raphael-error{background:#fef3f2;color:#b42318;border-radius:10px;padding:12px 14px;margin-bottom:14px;font-weight:700}

.raphael-privacy-note{font-size:12px;line-height:1.45;background:#fff4e5;padding:10px;border-radius:8px;color:#7a2e0e}

.raphael-sites{grid-template-columns:repeat(3,1fr)}
@media(max-width:520px){.raphael-sites{grid-template-columns:1fr 1fr 1fr}.raphael-sites span{padding:13px 6px;font-size:14px}}

.raphael-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(max-width:520px){.raphael-two{grid-template-columns:1fr 1fr}}

.raphael-case-edit{border-top:1px solid #eee;padding:0}.raphael-case-edit summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;list-style:none}
.raphael-case-edit summary div span{display:block;color:#667085;font-size:13px;margin-top:3px}.raphael-edit-form{padding:4px 0 20px}.raphael-meta{font-size:12px;color:#667085;background:#f8fafc;padding:10px;border-radius:8px}

.raphael-form input,.raphael-form select,.raphael-form textarea{text-transform:uppercase}
.raphael-form input::placeholder,.raphael-form textarea::placeholder{text-transform:uppercase}
.raphael-switch{text-align:center;margin:-5px 0 16px}.raphael-switch a{font-size:12px;font-weight:800;text-decoration:none}

.raphael-view-tools{text-align:right;margin:8px 0}.raphael-fullscreen{border:0;border-radius:8px;padding:9px 12px;font-weight:800;cursor:pointer}
.raphael-injury-thumb{width:58px;height:58px;object-fit:cover;border-radius:8px;margin-right:10px;flex:0 0 auto}

.raphael-training-checkin .raphael-card{max-width:760px;margin-left:auto;margin-right:auto}
.raphael-checkin-list>div,.raphael-progress-row{display:flex;justify-content:space-between;gap:14px;padding:12px;border-top:1px solid #e5e7eb}
.raphael-checkin-list span,.raphael-progress-row small{display:block;font-size:12px;color:#667085}
.raphael-progress-course{margin-top:22px}.raphael-progress-row.done{font-weight:600}.raphael-progress-row.missing{opacity:.72}
.raphael-secondary{display:inline-block;padding:10px 14px;text-decoration:none;font-weight:800}
