/* Existing purpose dialogs and optional creation fields. The event workspace lives in event-journey.css. */
#overviewWorkshopEntry,#workshopReturnLink{display:none!important}
.journey-purposes{display:grid;gap:10px;min-width:0;padding:0;margin:20px 0;border:0}
.journey-purposes .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.journey-purpose-option{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);cursor:pointer}
.journey-purpose-option:has(input:checked){border-color:var(--plum);background:#f5eff6;box-shadow:inset 0 0 0 1px var(--plum)}
.journey-purpose-option:has(input:disabled){opacity:.6;cursor:not-allowed}
.journey-purpose-option input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--plum)}
.journey-purpose-option>span{min-width:0;display:grid;gap:4px}
.journey-purpose-option strong{font-family:inherit;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.journey-purpose-option small{color:var(--muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.modal.journey-purpose-modal{width:min(620px,calc(100vw - 32px))}
.journey-purpose-modal [role=alert]{font-size:14px;line-height:1.5;color:var(--danger,#a6312c);padding:12px 0}
.journey-purpose-modal .modal-actions{gap:16px;padding-top:8px}
.journey-purpose-help{font-size:14px;color:var(--muted);line-height:1.5;margin:0 0 12px}
.journey-package-options{margin-top:18px;border-top:1px solid var(--line);padding-top:8px}
.journey-package-options>summary{min-height:44px;align-content:center;color:var(--plum);font-size:14px;font-weight:700;cursor:pointer}
.journey-package-options>p{font-size:13px;color:var(--muted);line-height:1.5;margin:8px 0 16px}
.create-event-form .journey-purposes{padding:0;margin:0}
.create-event-form .journey-purpose-option{background:#fff}
.create-event-form .journey-purpose-option:has(input:checked){background:#f5eff6}
.create-event-form .journey-package-options .create-quest-unavailable{margin-top:16px}
.journey-current-purpose button:focus-visible,.journey-purpose-option:focus-within,.journey-package-options summary:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
@media(max-width:760px){
 .journey-purpose-option{padding:12px;gap:10px}
 .journey-purpose-modal .modal-actions{flex-wrap:wrap}
 .journey-purpose-modal .modal-actions .button{flex:1;min-height:48px;white-space:normal}
}
