.assistance-reasons{background:#eee9df;border:1px solid #d5cbb9;border-radius:12px;padding:21px!important;margin-bottom:28px!important}.assistance-reasons legend{border:0!important;padding:0 8px!important;font-size:20px!important;margin-bottom:9px!important;width:auto!important}.assistance-reasons>p{font-size:12px;color:#85735c}.reason-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reason-choices>label{position:relative;display:flex;align-items:center;min-height:67px;cursor:pointer;background:#faf6ed;border:2px solid #dcd1bd;border-radius:9px;padding:15px;font-size:16px;font-weight:700;line-height:1.4}.reason-choices input{position:absolute;opacity:0;width:1px;height:1px}.reason-choices>label:has(input:checked){background:var(--activity-accent,#3e7153);border-color:var(--activity-accent,#3e7153);color:white}.reason-choices>label:focus-within{outline:3px solid #191918;outline-offset:3px}.advice-reasons{grid-template-columns:1fr}.assistance-other{margin-top:20px}.assistance-other textarea{min-height:110px}.assistance-other>button{margin-top:12px;min-height:55px}.assistance-other[hidden],.assistance-reasons[hidden]{display:none!important}.assistance-choice:has(input[type=radio]:checked){background:var(--activity-accent,#3e7153);border-color:var(--activity-accent,#3e7153);color:white}
@media(max-width:740px){.assistance-reasons{padding:17px 12px!important}.assistance-reasons legend{font-size:19px!important;line-height:1.3;max-width:95%}.reason-choices{gap:10px}.reason-choices>label{font-size:15px;min-height:75px;padding:13px}.advice-reasons>label{min-height:76px}.assistance-other textarea{font-size:17px}}

/* Selected choices follow the event category, independently of park activity. */
body:has(#eventForm[data-event-kind="Accident"]){--event-selection:#ff6129;--event-selection-ink:#191918;}
body:has(#eventForm[data-event-kind="Incident"]){--event-selection:#f2d77c;--event-selection-ink:#191918;}
body:has(#eventForm[data-event-kind="Intervention"]){--event-selection:#242423;--event-selection-ink:#fffaf0;}
body:has(#eventForm[data-event-kind="Signal faible"]){--event-selection:#e4e3d8;--event-selection-ink:#191918;}
body:has(#eventForm) :is(#eventForm,#modal) :is(button.selected,button[aria-pressed="true"],.assistance-choice:has(input:checked),.reason-choices>label:has(input:checked)){background:var(--event-selection);border-color:#242423;color:var(--event-selection-ink)}
body:has(#eventForm[data-event-kind="Intervention"]) .assistance-choice:has(input:checked) .selection-mark{background:#fffaf0;border-color:#fffaf0;color:#242423}
body:has(#eventForm) :is(#eventForm,#modal) input:is([type=checkbox],[type=radio]){accent-color:var(--event-selection)}
